Condition
The Condition resource represents a health problem, diagnosis, or clinical finding. This includes diseases, injuries, and other health concerns affecting a patient.
API convention: the patient and encounter references are sent as flat string id fields (
subjectId,encounterId). All resource ids are raw UUIDs (v4).
Creating a Condition
curl -X POST https://api.esus.health/fhir/Condition \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/fhir+json" \
-d '{
"subjectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clinicalStatus": {
"coding": [{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active",
"display": "Active"
}]
},
"verificationStatus": {
"coding": [{ "code": "confirmed", "display": "Confirmed" }]
},
"code": {
"coding": [{
"system": "http://snomed.info/sct",
"code": "38341003",
"display": "Hypertension"
}],
"text": "Essential hypertension"
}
}'
Clinical Status
| Code | Description |
|---|---|
active | Currently present and requires attention |
recurrence | Has recurred after a period of remission |
inactive | Not currently active |
remission | In remission |
resolved | No longer present |
Verification Status
| Code | Description |
|---|---|
unconfirmed | Initial diagnosis, not yet verified |
provisional | Tentative diagnosis |
differential | Considered but ruled out |
confirmed | Fully verified |
refuted | Definitely ruled out |
Linking to an Encounter
{
"subjectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"encounterId": "c1a2e3d4-5b6f-7890-abcd-ef1234567890",
"code": {
"coding": [{ "code": "38341003", "display": "Hypertension" }]
}
}