HIMS FHIR documentation version 1.0
The Condition resource identify a condition, diagnosis, or other clinical concept that has risen to a level of concern.
The Condition resource returns data classes and elements defined for Health Concerns in United States Core Data for Interoperability (USCDI v2). It also returns data classes and elements defined for Problems, SDOH Problems/Health Concerns, Date of Diagnosis, Date of Resolution. Examples of API calls for condition resources are shown below:
Get Health Concerns related to a specific patient
curl --request GET \
--url 'https://fhir-api.hmsfirst.com/r4/Condition?patient={patientId}' \
--header 'Accept: application/fhir+json' \
--header 'Authorization: Bearer ACCESS_TOKEN'
Examples:
GET https://fhir-api.hmsfirst.com/r4/Condition?patient=29355
Response schema
{
"resourceType": "string",
"id": "string",
"type": "string",
"total": 0,
"link": [
{
"relation": "string",
"url": "string"
}
],
"entry": [
{
"fullUrl": "string",
"resource": {
"resourceType": "string",
"id": "string",
"meta": {
"versionId": "string",
"lastUpdated": "string",
"profile": [
"string"
]
},
"extension": [
{
"url": "string",
"valueDateTime": "string"
}
],
"clinicalStatus": {
"coding": [
{
"system": "string",
"code": "string"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "string",
"code": "string"
}
]
},
"category": [
{
"coding": [
{
"system": "string",
"code": "string"
}
],
"text": "string"
}
],
"code": {
"coding": [
{
"system": "string",
"code": "string",
"display": "string"
}
],
"text": "string"
},
"subject": {
"reference": "string"
},
"onsetDateTime": "string",
"recordedDate": "string"
}
}
]
}