SIL HIE Implementation Guide
0.1.0 - sil-hie-active

SIL HIE Implementation Guide, published by Kathurima Kimathi. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/savannahghi/hie-fhir-ig-profile/ and changes regularly. See the Directory of published versions

: Example HIE DocumentReference - XML Representation

Raw xml | Download


<DocumentReference xmlns="http://hl7.org/fhir">
  <id value="HIEDocumentReference-example"/>
  <meta>
    <profile
             value="https://nshr.dha.go.ke/fhir/StructureDefinition/hie-documentreference"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>DocumentReference</b></p><p>Discharge summary available as a PDF. Authored by Acme Health, authenticated by Dr. John Clinician, and linked to the referenced encounter and patient.</p><table><thead><tr><th align="left">Field</th><th align="left">Value</th></tr></thead><tbody><tr><td>Status</td><td>current</td></tr><tr><td>Doc Status</td><td>final</td></tr><tr><td>Type</td><td>Discharge summary (LOINC 18842-5)</td></tr><tr><td>Subject</td><td>Jane Patient (Patient/p-001)</td></tr><tr><td>Date</td><td>2025-11-12T11:20:00+03:00</td></tr><tr><td>Author</td><td>Acme Health (Organization/org-001)</td></tr><tr><td>Authenticator</td><td>Dr. John Clinician (HIEPractitioner/pr-001)</td></tr><tr><td>Encounter</td><td>Outpatient visit (Encounter/enc-001)</td></tr><tr><td>Attachment</td><td>application/pdf, 256 KB, title &quot;Discharge Summary&quot;, URL Binary/bin-001</td></tr></tbody></table></div>
  </text>
  <identifier>
    <use value="official"/>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="ACSN"/>
        <display value="Accession ID"/>
      </coding>
    </type>
    <system value="http://example.org/docrefs"/>
    <value value="DOC-2025-0001"/>
  </identifier>
  <status value="current"/>
  <docStatus value="final"/>
  <type>
    <coding>
      <system value="http://loinc.org"/>
      <code value="18842-5"/>
      <display value="Discharge summary"/>
    </coding>
  </type>
  <category>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0074"/>
      <code value="ADR"/>
      <display value="Administrative/summary report"/>
    </coding>
  </category>
  <subject>
    <reference value="Patient/p-001"/>
    <display value="Jane Patient"/>
  </subject>
  <date value="2025-11-12T11:20:00+03:00"/>
  <author>
    <reference value="Organization/org-001"/>
    <display value="Acme Health"/>
  </author>
  <authenticator>
    <reference value="HIEPractitioner/pr-001"/>
    <display value="Dr. John Clinician"/>
  </authenticator>
  <custodian>
    <reference value="Organization/org-001"/>
    <display value="Acme Health"/>
  </custodian>
  <relatesTo>
    <code value="replaces"/>
    <target>
      <reference value="DocumentReference/doc-older-0001"/>
      <display value="Prior discharge summary"/>
    </target>
  </relatesTo>
  <securityLabel>
    <coding>
      <system
              value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
      <code value="N"/>
      <display value="normal"/>
    </coding>
  </securityLabel>
  <content>
    <attachment>
      <contentType value="application/pdf"/>
      <url value="Binary/bin-001"/>
      <size value="262144"/>
      <hash value="3q2+7w=="/>
      <title value="Discharge Summary"/>
      <creation value="2025-11-12T11:15:00+03:00"/>
    </attachment>
  </content>
  <context>
    <encounter>
      <reference value="Encounter/enc-001"/>
      <display value="Outpatient visit 2025-11-12"/>
    </encounter>
    <facilityType>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="OUTPHARM"/>
        <display value="Outpatient facility"/>
      </coding>
    </facilityType>
    <practiceSetting>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="408443003"/>
        <display value="General medical practice"/>
      </coding>
    </practiceSetting>
    <sourcePatientInfo>
      <reference value="Patient/p-001"/>
      <display value="Jane Patient"/>
    </sourcePatientInfo>
  </context>
</DocumentReference>