Safeguard API for Smart FOX
4.2.3-current - ci-build

Safeguard API for Smart FOX - Local Development build (v4.2.3-current) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## : Example of a FHIR-Document Bundle - XML Representation

Raw xml | Download

    <Bundle xmlns="http://hl7.org/fhir">
      <id value="ex-fhir-document-bundle"/>
      <meta>
        <lastUpdated value="2013-05-28T22:12:21Z"/>
      </meta>
      <identifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0"/>
      </identifier>
      <type value="document"/>
      <timestamp value="2013-05-28T22:12:21Z"/>
      <entry>
        <fullUrl
                 value="http://example.org/fhir/Composition/180f219f-97a8-486d-99d9-ed631fe4fc57"/>
        <resource>
          <Composition>
            <id value="180f219f-97a8-486d-99d9-ed631fe4fc57"/>
            <meta>
              <lastUpdated value="2013-05-28T22:12:21Z"/>
            </meta>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Composition_180f219f-97a8-486d-99d9-ed631fe4fc57"> </a><p class="res-header-id"><b>Generated Narrative: Composition 180f219f-97a8-486d-99d9-ed631fe4fc57</b></p><a name="180f219f-97a8-486d-99d9-ed631fe4fc57"> </a><a name="hc180f219f-97a8-486d-99d9-ed631fe4fc57"> </a><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">Last updated: 2013-05-28 22:12:21+0000</p></div><p><b>status</b>: Final</p><p><b>type</b>: <span title="Codes:{http://loinc.org 28655-9}">Discharge Summary from Responsible Clinician</span></p><p><b>encounter</b>: <a href="Bundle-ex-fhir-document-bundle.html#http-//example.org/fhir/Encounter/doc-example">Bundle: identifier = UUID:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0; type = document; timestamp = 2013-05-28 22:12:21+0000</a></p><p><b>date</b>: 2013-02-01 12:30:02+0000</p><p><b>author</b>: <a href="Practitioner-ex-practitioner.html">Practitioner: telecom = JohnMoehrke@gmail.com</a></p><p><b>title</b>: Discharge Summary</p><p><b>confidentiality</b>: normal</p></div>
            </text>
            <status value="final"/>
            <type>
              <coding>
                <system value="http://loinc.org"/>
                <code value="28655-9"/>
              </coding>
              <text value="Discharge Summary from Responsible Clinician"/>
            </type>
            <subject>
              <reference value="http://example.org/fhir/Patient/ex-patient"/>
            </subject>
            <encounter>
              <reference value="http://example.org/fhir/Encounter/doc-example"/>
            </encounter>
            <date value="2013-02-01T12:30:02Z"/>
            <author>🔗
              <reference value="Practitioner/ex-practitioner"/>
            </author>
            <title value="Discharge Summary"/>
            <confidentiality value="N"/>
            <section>
              <title value="Reason for admission"/>
              <code>
                <coding>
                  <system value="http://loinc.org"/>
                  <code value="29299-5"/>
                  <display value="Reason for visit Narrative"/>
                </coding>
              </code>
              <text>
                <status value="additional"/>
                <div xmlns="http://www.w3.org/1999/xhtml">

                  <table>

                    <thead>

                      <tr>

                        <td>Details</td>

                        <td/>

                      </tr>

                    </thead>

                    <tbody>

                      <tr>

                        <td>Acute Asthmatic attack. Was wheezing for days prior to admission.</td>

                        <td/>

                      </tr>

                    </tbody>

                  </table>

                </div>
              </text>
              <entry>
                <reference value="urn:uuid:541a72a8-df75-4484-ac89-ac4923f03b81"/>
              </entry>
            </section>
            <section>
              <title value="Medications on Discharge"/>
              <code>
                <coding>
                  <system value="http://loinc.org"/>
                  <code value="10183-2"/>
                  <display value="Hospital discharge medications Narrative"/>
                </coding>
              </code>
              <text>
                <status value="additional"/>
                <div xmlns="http://www.w3.org/1999/xhtml">

                  <table>

                    <thead>

                      <tr>

                        <td>Medication</td>

                        <td>Last Change</td>

                        <td>Last ChangeReason</td>

                      </tr>

                    </thead>

                    <tbody>

                      <tr>

                        <td>Theophylline 200mg BD after meals</td>

                        <td>continued</td>

                      </tr>

                      <tr>

                        <td>Ventolin Inhaler</td>

                        <td>stopped</td>

                        <td>Getting side effect of tremor</td>

                      </tr>

                    </tbody>

                  </table>

                </div>
              </text>
              <mode value="working"/>
              <entry>
                <reference value="urn:uuid:124a6916-5d84-4b8c-b250-10cefb8e6e86"/>
              </entry>
              <entry>
                <reference value="urn:uuid:673f8db5-0ffd-4395-9657-6da00420bbc1"/>
              </entry>
            </section>
            <section>
              <title value="Known allergies"/>
              <code>
                <coding>
                  <system value="http://loinc.org"/>
                  <code value="48765-2"/>
                  <display value="Allergies and adverse reactions Document"/>
                </coding>
              </code>
              <text>
                <status value="additional"/>
                <div xmlns="http://www.w3.org/1999/xhtml">

                  <table>

                    <thead>

                      <tr>

                        <td>Allergen</td>

                        <td>Reaction</td>

                      </tr>

                    </thead>

                    <tbody>

                      <tr>

                        <td>Doxycycline</td>

                        <td>Hives</td>

                      </tr>

                    </tbody>

                  </table>

                </div>
              </text>
              <entry>
                <reference value="urn:uuid:47600e0f-b6b5-4308-84b5-5dec157f7637"/>
              </entry>
            </section>
          </Composition>
        </resource>
      </entry>
      <entry>
        <fullUrl value="http://example.org/fhir/Practitioner/ex-practitioner"/>
        <resource>
          <Practitioner>
            <id value="ex-practitioner"/>
            <meta>
              <lastUpdated value="2013-05-05T16:13:03Z"/>
            </meta>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Practitioner_ex-practitioner"> </a>

                <p>Dr Adam Careful</p>

              </div>
            </text>
            <identifier>
              <system value="http://www.acme.org/practitioners"/>
              <value value="23"/>
            </identifier>
            <name>
              <family value="Careful"/>
              <given value="Adam"/>
              <prefix value="Dr"/>
            </name>
          </Practitioner>
        </resource>
      </entry>
      <entry>
        <fullUrl value="http://example.org/fhir/Patient/ex-patient"/>
        <resource>
          <Patient>
            <id value="ex-patient"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_ex-patient"> </a>

                <h1>Eve Everywoman</h1>

              </div>
            </text>
            <active value="true"/>
            <name>
              <text value="Eve Everywoman"/>
              <family value="Everywoman1"/>
              <given value="Eve"/>
            </name>
            <telecom>
              <system value="phone"/>
              <value value="555-555-2003"/>
              <use value="work"/>
            </telecom>
            <gender value="female"/>
            <birthDate value="1955-01-06"/>
            <address>
              <use value="home"/>
              <line value="2222 Home Street"/>
            </address>
          </Patient>
        </resource>
      </entry>
      <entry>
        <fullUrl value="http://example.org/fhir/Encounter/doc-example"/>
        <resource>
          <Encounter>
            <id value="doc-example"/>
            <meta>
              <lastUpdated value="2013-05-05T16:13:03Z"/>
            </meta>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Encounter_doc-example"> </a> Admitted to Orthopedics Service,
                            Middlemore Hospital between Jan 20 and Feb ist 2013 </div>
            </text>
            <identifier>
              <value value="S100"/>
            </identifier>
            <status value="finished"/>
            <class>
              <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
              <code value="IMP"/>
              <display value="inpatient encounter"/>
            </class>
            <type>
              <text value="Orthopedic Admission"/>
            </type>
            <subject>
              <reference value="http://example.org/fhir/Patient/ex-patient"/>
            </subject>
            <period>
              <start value="2013-01-20T12:30:02Z"/>
              <end value="2013-02-01T12:30:02Z"/>
            </period>
            <hospitalization>
              <dischargeDisposition>
                <text value="Discharged to care of GP"/>
              </dischargeDisposition>
            </hospitalization>
          </Encounter>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:541a72a8-df75-4484-ac89-ac4923f03b81"/>
        <resource>
          <Observation>
            <meta>
              <lastUpdated value="2013-05-05T16:13:03Z"/>
            </meta>
            <text>
              <status value="additional"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Observation_null"> </a> Acute Asthmatic attack. Was wheezing
                            for days prior to admission. </div>
            </text>
            <status value="final"/>
            <code>
              <coding>
                <system value="http://loinc.org"/>
                <code value="46241-6"/>
              </coding>
              <text value="Reason for admission"/>
            </code>
            <subject>
              <reference value="http://example.org/fhir/Patient/ex-patient"/>
            </subject>
            <encounter>
              <reference value="http://example.org/fhir/Encounter/doc-example"/>
            </encounter>
            <valueString
                         value="Acute Asthmatic attack. Was wheezing for days prior to admission."/>
          </Observation>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:124a6916-5d84-4b8c-b250-10cefb8e6e86"/>
        <resource>
          <MedicationRequest>
            <meta>
              <lastUpdated value="2013-05-05T16:13:03Z"/>
            </meta>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="MedicationRequest_null"> </a>

                <p>Theophylline 200mg twice a day</p>

              </div>
            </text>
            <status value="unknown"/>
            <intent value="order"/>
            <medicationCodeableConcept>
              <coding>
                <system value="http://snomed.info/sct"/>
                <code value="66493003"/>
              </coding>
              <text value="Theophylline 200mg"/>
            </medicationCodeableConcept>
            <subject>
              <reference value="http://example.org/fhir/Patient/ex-patient"/>
            </subject>
            <requester>
              <reference
                         value="http://example.org/fhir/Practitioner/ex-practitioner"/>
            </requester>
            <reasonCode>
              <text value="Management of Asthma"/>
            </reasonCode>
            <dosageInstruction>
              <additionalInstruction>
                <text value="Take with Food"/>
              </additionalInstruction>
              <timing>
                <repeat>
                  <frequency value="2"/>
                  <period value="1"/>
                  <periodUnit value="d"/>
                </repeat>
              </timing>
              <route>
                <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="394899003"/>
                  <display value="oral administration of treatment"/>
                </coding>
              </route>
              <doseAndRate>
                <type>
                  <coding>
                    <system
                            value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
                    <code value="ordered"/>
                    <display value="Ordered"/>
                  </coding>
                </type>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="tablet"/>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/>
                  <code value="TAB"/>
                </doseQuantity>
              </doseAndRate>
            </dosageInstruction>
          </MedicationRequest>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:673f8db5-0ffd-4395-9657-6da00420bbc1"/>
        <resource>
          <MedicationStatement>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="MedicationStatement_null"> </a>

                <p>Ventolin inhaler discontinued</p>

              </div>
            </text>
            <status value="active"/>
            <statusReason>
              <text value="Management of Asthma"/>
            </statusReason>
            <medicationCodeableConcept>
              <text value="Ventolin Inhaler"/>
            </medicationCodeableConcept>
            <subject>
              <reference value="http://example.org/fhir/Patient/ex-patient"/>
            </subject>
            <dateAsserted value="2013-05-05T16:13:03Z"/>
          </MedicationStatement>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:47600e0f-b6b5-4308-84b5-5dec157f7637"/>
        <resource>
          <AllergyIntolerance>
            <meta>
              <lastUpdated value="2013-05-05T16:13:03Z"/>
            </meta>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="AllergyIntolerance_null"> </a>Sensitivity to Doxycycline :
                            Hives</div>
            </text>
            <clinicalStatus>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
                <code value="active"/>
                <display value="Active"/>
              </coding>
            </clinicalStatus>
            <verificationStatus>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/>
                <code value="confirmed"/>
                <display value="Confirmed"/>
              </coding>
            </verificationStatus>
            <type value="allergy"/>
            <criticality value="high"/>
            <code>
              <text value="Doxycycline"/>
            </code>
            <patient>
              <reference value="http://example.org/fhir/Patient/ex-patient"/>
            </patient>
            <recordedDate value="2012-09-17"/>
            <reaction>
              <manifestation>
                <text value="Hives"/>
              </manifestation>
            </reaction>
          </AllergyIntolerance>
        </resource>
      </entry>
      <signature>
        <type>
          <system value="urn:iso-astm:E1762-95:2013"/>
          <code value="1.2.840.10065.1.12.1.1"/>
          <display value="Author's Signature"/>
        </type>
        <when value="2015-08-31T07:42:33+10:00"/>
        <who>🔗
          <reference value="Device/ex-device"/>
        </who>
        <onBehalfOf>🔗
          <reference value="Organization/ex-organization"/>
        </onBehalfOf>
        <sigFormat value="image/jpg"/>
        <data
              value=" "/>
      </signature>
    </Bundle>