set_profile
Create or update a user's health profile with date of birth, sex, and optional details so age- and sex-dependent reference ranges, screening, and risk tools work correctly.
Instructions
Create or update the user's profile. Needed by age/sex-dependent features: reference ranges, screening calendar, risk calculators. date_of_birth: YYYY-MM-DD; sex: male / female; blood_type: e.g. A+ (optional); height_cm (optional); emergency_contact: name and phone of a trusted person (optional — crisis_resources shows it). Calling again overwrites the profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sex | Yes | ||
| height_cm | No | ||
| blood_type | No | ||
| date_of_birth | Yes | ||
| emergency_contact | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |