Release 4 R5 Final QA

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0-draft-final: Final QA Preview for R5 - Mixed Normative and STU see ballot notes ) in it's permanent home (it will always be available at this URL). ). 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 R3

Content Detailed Descriptions Mappings XML JSON

Example DeviceRequest/insulinpump (JSON)

Extension: Data Absent Reason URL for this extension: http://hl7.org/fhir/StructureDefinition/data-absent-reason Status: draft. Extension maintained by: Health Level Seven International (FHIR Infrastructure) Provides a reason why the expected value or elements in the element that is extended are missing. Context of Use: Use on Element ID Element Extension Content
FHIR Infrastructure Orders and Observations Work Group   Maturity Level : 1 N/A Standards Status : Informative Use Context Compartments : Any Device , Encounter , Patient , Practitioner

Summary Name Flags Card. Type Description & Constraints Data Absent Reason 0..1 code URL = http://hl7.org/fhir/StructureDefinition/data-absent-reason Data Absent Reason: Provides a reason why the expected value or elements in the element that is extended are missing. Binding: DataAbsentReason Raw JSON ( required ) Use on Element ID Element Documentation for this format Full Structure Name Flags Card. Type Description & Constraints extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/data-absent-reason Data Absent Reason: Provides a reason why the expected value or elements in the element that is extended are missing. Use on Element ID Element extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/data-absent-reason" value[x] I 1..1 code Value of extension Binding: DataAbsentReason canonical form ( required + also see JSON Format Specification ) Documentation for this format XML Template

<!-- Data Absent Reason --> < xmlns="http://hl7.org/fhir" url="" > <!-- from Element: < </extension>

JSON Template Insulin Pump request

{ // // from Element: " ] " " }
{
  "resourceType" : "DeviceRequest",
  "id" : "insulinpump",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DeviceRequest</b><a name=\"insulinpump\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource DeviceRequest &quot;insulinpump&quot; </p></div><p><b>identifier</b>: <span title=\" \t&lt;extension url=&quot;http://hl7.org/fhir/StructureDefinition/bodysitecode&quot;&gt;\n  &lt;valueCodeableConcept&gt;\n    &lt;coding&gt;\n      &lt;system value=&quot;http://snomed.info/sct&quot;/&gt;\n      &lt;code value=&quot;51185008&quot;/&gt;\n      &lt;display value=&quot;Thoracic structure&quot;/&gt;\n    &lt;/coding&gt;\n  &lt;/valueCodeableConcept&gt;\n&lt;/extension&gt;\t \">id: ip_request1.1</span></p><p><b>instantiatesCanonical</b>: <a href=\"http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set\">http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set</a></p><p><b>basedOn</b>: <span>: Homecare - DM follow-up</span></p><p><b>replaces</b>: <span>: CGM ambulatory</span></p><p><b>groupIdentifier</b>: id: ip_request1</p><p><b>status</b>: active</p><p><b>intent</b>: instance-order</p><p><b>priority</b>: routine</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Insulin delivery device panel <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#43148-6)</span></td></tr></table><p><b>subject</b>: <a href=\"patient-example-dicom.html\">Patient/dicom</a> &quot; MINT_TEST&quot;</p><p><b>encounter</b>: <span>: Encounter 1</span></p><p><b>occurrence</b>: 2013-05-08T09:33:27+07:00</p><p><b>authoredOn</b>: 2013-05-08T09:33:27+07:00</p><p><b>requester</b>: <a href=\"practitioner-example.html\">Practitioner/example: Dr. Adam Careful</a> &quot;Adam CAREFUL&quot;</p><h3>Performers</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><span>: Nurse Rossignol</span></td></tr></table><h3>Reasons</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>gastroparesis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td><td> </td></tr><tr><td>*</td><td> </td><td><span>: Gastroparesis</span></td></tr></table><p><b>supportingInfo</b>: <span>: Previous results</span></p><p><b>note</b>: this is the right device brand and model</p><p><b>relevantHistory</b>: <span>: Request for unspecified device</span></p></div>"
  },
  "identifier" : [{
    "value" : "ip_request1.1"
  }],
  "instantiatesCanonical" : ["http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set"],
  "basedOn" : [{
    "display" : "Homecare - DM follow-up"
  }],
  "replaces" : [{
    "display" : "CGM ambulatory"
  }],
  "groupIdentifier" : {
    "value" : "ip_request1"
  },
  "status" : "active",
  "intent" : "instance-order",
  "priority" : "routine",
  "code" : {
    "concept" : {
      "coding" : [{
        "system" : "http://loinc.org",
        "code" : "43148-6"
      }],
      "text" : "Insulin delivery device panel"
    }
  },
  "subject" : {
    "reference" : "Patient/dicom"
  },
  "encounter" : {
    "display" : "Encounter 1"
  },
  "occurrenceDateTime" : "2013-05-08T09:33:27+07:00",
  "authoredOn" : "2013-05-08T09:33:27+07:00",
  "requester" : {
    "reference" : "Practitioner/example",
    "display" : "Dr. Adam Careful"
  },
  "performer" : {
    "reference" : {
      "display" : "Nurse Rossignol"
    }
  },
  "reason" : [{
    "concept" : {
      "text" : "gastroparesis"
    }
  },
  {
    "reference" : {
      "display" : "Gastroparesis"
    }
  }],
  "supportingInfo" : [{
    "display" : "Previous results"
  }],
  "note" : [{
    "text" : "this is the right device brand and model"
  }],
  "relevantHistory" : [{
    "display" : "Request for unspecified device"
  }]
}

Summary Name Flags Card. Type Description & Constraints Data Absent Reason 0..1 code URL = http://hl7.org/fhir/StructureDefinition/data-absent-reason Data Absent Reason: Provides a reason why the expected value or elements in the element Usage note: every effort has been made to ensure that is extended are missing. Binding: DataAbsentReason ( required ) Use on Element ID Element Documentation for this format Full Structure Name Flags Card. Type Description & Constraints extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/data-absent-reason Data Absent Reason: Provides a reason why the expected value or elements in the element that is extended examples are missing. Use on Element ID Element extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/data-absent-reason" value[x] I 1..1 code Value correct and useful, but they are not a normative part of extension Binding: DataAbsentReason ( required ) Documentation for this format XML Template the specification.

<!-- Data Absent Reason --> < xmlns="http://hl7.org/fhir" url="" > <!-- from Element: < </extension>
JSON Template { // // from Element: " ] " " }   Constraints ele-1 : All FHIR elements must have a @value or children (xpath: @value|f:*|h:div ) ext-1 : Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) ) ele-1 : On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: @value|f:*|h:div )