Condition — the diagnosis
Problems, diagnoses, and health concerns. Resolved vs active.
What's wrong — or was wrong — with this patient?
That's the question Condition answers. Hypertension. Type 2 diabetes. A broken wrist from last October. Post-operative atrial fibrillation that resolved by discharge. Anything that belongs on a problem list, a discharge summary, or an insurance claim as a diagnosis — this is the resource.
A natural question: haven't we already done this with Observation? No — and the distinction matters. An Observation is a measurement: a thermometer said 38.6°C, a lab said the glucose was 11.2 mmol/L. A Condition is a judgment: a clinician looked at those measurements, plus the history, plus the exam, and concluded "this person has diabetes." Data vs assessment. FHIR separates them on purpose.
Anatomy of a Condition
subject— the only strictly required field. A reference, almost always to aPatient. A Condition without a subject is meaningless.clinicalStatus— is this condition currently going on?active,recurrence,relapse,inactive,remission,resolved.verificationStatus— how sure are we that it's real?unconfirmed,provisional,differential,confirmed,refuted,entered-in-error.code— what the condition actually is. A CodeableConcept, usually SNOMED CT or ICD-10.category— how it's being tracked:problem-list-item(an ongoing problem) orencounter-diagnosis(the reason for one specific visit).onset[x]andabatement[x]— when it began and when it ended. Polymorphic:onsetDateTime,onsetAge,onsetPeriod, or just aonsetStringlike "in childhood."
Why two status fields?
This trips everyone up the first time. Clinicians distinguish two independent things: are we sure of the diagnosis, and is it currently happening. A patient can have verificationStatus: confirmed hypertension that's now clinicalStatus: inactive because medication is keeping it under control. A patient can have verificationStatus: provisional pneumonia that's very much clinicalStatus: active while we wait for the chest X-ray. Collapsing them into one field would lose information every clinician needs.
1 · Create a Condition
Press Run. You're recording that this patient has confirmed, active hypertension, tracked as an ongoing problem. The code is SNOMED CT 38341003 — the universal code for "Hypertensive disorder." The subject points at Patient/example; swap in an id from the first lesson if you kept one.
meta.tag: loading is added automatically so you can find this resource later.In the JSONPath tab, try$.clinicalStatus.coding[0].codeand$.code.coding[0].display. Those two paths, combined, express the entire clinical intent of the resource.
2 · Read it back
The id from the response above auto-fills below. Press Run to fetch the same Condition back by its canonical URL.
{ID}). Create a Condition first above, or paste an id here.3 · A resolved condition
Conditions have a lifecycle. A sprained ankle heals. A chest infection clears. Even a chronic condition can enter remission. When that happens you don't delete the Condition — you update its status and fill in abatementDateTime. Here's what the same resource looks like after the clinician marks it resolved:
{
"resourceType": "Condition",
"clinicalStatus": {
"coding": [{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "resolved",
"display": "Resolved"
}]
},
"verificationStatus": {
"coding": [{
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"code": "confirmed",
"display": "Confirmed"
}]
},
"code": {
"coding": [{
"system": "http://snomed.info/sct",
"code": "38341003",
"display": "Hypertensive disorder"
}]
},
"subject": { "reference": "Patient/example" },
"onsetDateTime": "2024-03-14",
"abatementDateTime": "2026-09-02"
}Same code, same subject — only the status flipped and abatementDateTime appeared. A clean audit trail of a clinical story, start to finish, in one JSON document.
4 · Find all your Conditions
Same learner-tag trick as the earlier lessons. Every Condition you POST through the course gets stamped so you can fish them back out of the shared sandbox.
{UID}). Waiting for your anonymous ID…Try $.entry[*].resource.code.coding[0].display in the JSONPath tab for a quick list of diagnoses, or $.entry[*].resource.clinicalStatus.coding[0].code to see which are still active.
What just happened
- You recorded a clinical judgment, not a measurement — the difference between
ConditionandObservation. - You used two orthogonal status fields —
clinicalStatusandverificationStatus— because real clinicians need to separate "is it happening" from "are we sure." - You cited SNOMED CT for the diagnosis and the HL7 terminology server for the status codes. That URL-first vocabulary discipline is how FHIR keeps a problem list portable across continents.
Up next: Practitioner. Someone had to make the judgment you just recorded — and in a real system, who made it matters for audit, billing, and liability. We'll meet the resource that names the clinician behind every entry so far.