This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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.5.4 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

4.5.4.1 General

XML

General Condition Example (id = "example")

Raw XML

<Condition xmlns="http://hl7.org/fhir">
  <text>
   <status value="generated"/>
   <div xmlns="http://www.w3.org/1999/xhtml">Severe burn of left ear (Date: 24-May 2012)</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>
 <onsetDate 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

{
  "resourceType": "Condition",
  "text": {
    "status": "generated",
    "div": "<div>Severe burn of left ear (Date: 24-May 2012)</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"
      }
    ]
  },
  "onsetDate": "2012-05-24",
  "location": [
    {
      "code": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "49521004",
            "display": "Left external ear structure"
          }
        ],
        "text": "Left Ear"
      }
    }
  ]
}

comments powered by Disqus