get https://api.ornament.health/medical-data-api/public/v1.0/profile/diseases
This endpoint returns a list of diseases or health conditions that were identified by a user in the Ornament mobile application
HTTP Method:
GET
Parameters
Obligatory
| Name | Type | Description |
|---|---|---|
| pid | string | User profile ID. |
Response Structure
The response is a JSON file containing one or multiple disease objects.
Disease Object Attributes
| Attribute | Type | Description |
|---|---|---|
| diseaseId | integer | Identifier of the disease. See Diseases thesaurus. |
| status | string | Disease status (default = CONFIRMED). |
| updatedAt | integer | Date/time when the disease was identified, in Unix time. |
Sample Response
{
"diseaseId": 176,
"status": "CONFIRMED",
"updatedAt": 1741629086
}
