2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

4.3.5 Resource Condition - Examples

Example Index:

General Condition ExampleXMLJSON
2nd ExampleXMLJSON
Real-word condition example (fever)XMLJSON
Real-word condition example (malignancy)XMLJSON
Real-word condition example (sepsis)XMLJSON
Real-word condition example (renal insufficiency)XMLJSON
Real-word condition example (Bacterial Infection)XMLJSON
Real-word condition example (heart)XMLJSON
Real-word condition example (lung)XMLJSON
Real-word condition example (abscess)XMLJSON
Stroke example (for prognosis)XMLJSON
USLab Condition Profile Canonical Example: Lead ExposureXMLJSON
USLab Reason for Study Profile Canonical Example: Lead ExposureXMLJSON

4.3.5.1 General

XML

General Condition Example (id = "example")

Raw XML

<Condition xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <subject>
    <reference value="Patient/example"/>
  </subject>
  <code>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="39065001"/>
      <display value="Burn of ear"/>
    </coding>
    <text value="Burnt Ear"/>
  </code>
  <category>
    <coding>
      <system value="http://hl7.org/fhir/condition-category"/>
      <code value="diagnosis"/>
      <display value="Diagnosis"/>
    </coding><!--    and also a SNOMED CT coding    -->
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="439401001"/>
      <display value="Diagnosis"/>
    </coding>
  </category>
  <status value="confirmed"/>
  <severity>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="24484000"/>
      <display value="Severe"/>
    </coding>
  </severity>
  <onsetDateTime value="2012-05-24"/>
  <location>
    <code>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="49521004"/>
        <display value="Left external ear structure"/>
      </coding>
      <text value="Left Ear"/>
    </code>
  </location>
</Condition>

JSON

General Condition Example

Raw JSON (Canonical)

{
  "resourceType": "Condition",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "subject": {
    "reference": "Patient/example"
  },
  "code": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "39065001",
        "display": "Burn of ear"
      }
    ],
    "text": "Burnt Ear"
  },
  "category": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/condition-category",
        "code": "diagnosis",
        "display": "Diagnosis"
      },
      {
        "system": "http://snomed.info/sct",
        "code": "439401001",
        "display": "Diagnosis"
      }
    ]
  },
  "status": "confirmed",
  "severity": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "24484000",
        "display": "Severe"
      }
    ]
  },
  "onsetDateTime": "2012-05-24",
  "location": [
    {
      "code": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "49521004",
            "display": "Left external ear structure"
          }
        ],
        "text": "Left Ear"
      }
    }
  ]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.