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 Provide Bundle with a FHIR-Document - XML Representation

Raw xml | Download

    <Bundle xmlns="http://hl7.org/fhir">
      <id value="ex-comprehensiveProvideDocumentBundleDocument"/>
      <meta>
        <profile
                 value="https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle"/>
        <security>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
          <code value="HTEST"/>
        </security>
      </meta>
      <type value="transaction"/>
      <timestamp value="2004-10-25T23:50:50-05:00"/>
      <entry>
        <fullUrl value="urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00333300001"/>
        <resource>
          <List>
            <id value="aaaaaaaa-bbbb-cccc-dddd-e00333300001"/>
            <meta>
              <profile
                       value="https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.SubmissionSet"/>
              <security>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
                <code value="HTEST"/>
              </security>
            </meta>
            <text>
              <status value="extensions"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="List_aaaaaaaa-bbbb-cccc-dddd-e00333300001"> </a>SubmissionSet with Patient</div>
            </text>
            <extension
                       url="https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType">
              <valueCodeableConcept>
                <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="225728007"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <extension
                       url="https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId">
              <valueIdentifier>
                <value value="urn:oid:1.2.3.4"/>
              </valueIdentifier>
            </extension>
            <identifier>
              <use value="official"/>
              <system value="urn:ietf:rfc:3986"/>
              <value value="urn:uuid:5d3d3a7d-82a6-4fe0-8d87-ee2cb87fa219"/>
            </identifier>
            <identifier>
              <use value="usual"/>
              <system value="urn:ietf:rfc:3986"/>
              <value value="urn:oid:1.2.129.6.58.92.88337.1"/>
            </identifier>
            <status value="current"/>
            <mode value="working"/>
            <code>
              <coding>
                <system
                        value="https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes"/>
                <code value="submissionset"/>
              </coding>
            </code>
            <subject>🔗
              <reference value="Patient/ex-patient"/>
            </subject>
            <date value="2004-10-25T23:50:50-05:00"/>
            <entry>
              <item>
                <reference value="urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00333300002"/>
              </item>
            </entry>
          </List>
        </resource>
        <request>
          <method value="POST"/>
          <url value="List"/>
        </request>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00333300002"/>
        <resource>
          <DocumentReference>
            <id value="aaaaaaaa-bbbb-cccc-dddd-e00333300002"/>
            <meta>
              <profile
                       value="https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.DocumentReference"/>
              <security>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
                <code value="HTEST"/>
              </security>
            </meta>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="DocumentReference_aaaaaaaa-bbbb-cccc-dddd-e00333300002"> </a><p class="res-header-id"><b>Generated Narrative: DocumentReference aaaaaaaa-bbbb-cccc-dddd-e00333300002</b></p><a name="aaaaaaaa-bbbb-cccc-dddd-e00333300002"> </a><a name="hcaaaaaaaa-bbbb-cccc-dddd-e00333300002"> </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"/><p style="margin-bottom: 0px">Profile: <code>https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.DocumentReference</code></p><p style="margin-bottom: 0px">Security Label: test health data (Details: ActReason code HTEST = 'test health data')</p></div><p><b>masterIdentifier</b>: <a href="http://terminology.hl7.org/5.5.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt

    This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid:

    Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

    This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0 (use: official, )</p><p><b>identifier</b>: <a href="http://terminology.hl7.org/5.5.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt

    This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid:

    Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

    This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:uuid:7d5bb8ac-68ee-4926-85e7-b8aac8e1f09d (use: official, )</p><p><b>status</b>: Current</p><p><b>type</b>: <span title="Codes:{http://loinc.org 28655-9}">Attending Discharge summary</span></p><p><b>category</b>: <span title="Codes:{http://loinc.org 11369-6}">History of Immunization note</span></p><p><b>subject</b>: <a href="Patient-ex-patient.html">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>date</b>: 2020-02-01 23:50:50-0500</p><p><b>author</b>: <a href="#hcaaaaaaaa-bbbb-cccc-dddd-e00333300002/aaaaaaaa-bbbb-cccc-dddd-e00333300006">Practitioner Adam Careful </a></p><p><b>securityLabel</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-Confidentiality N}">normal</span></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class="grid"><tr><td style="display: none">-</td><td><b>ContentType</b></td><td><b>Language</b></td><td><b>Url</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style="display: none">*</td><td>application/fhir+json</td><td>English</td><td><a href="Bundle-ex-comprehensiveProvideDocumentBundleDocument.html#urn-uuid-aaaaaaaa-bbbb-cccc-dddd-e00333300003">Bundle: type = transaction; timestamp = 2004-10-25 23:50:50-0500</a></td><td>Discharge Summary from Responsible Clinician</td><td>2013-05-28 22:12:21+0000</td></tr></table><p><b>format</b>: <a href="https://profiles.ihe.net/fhir/ihe.formatcode.fhir/1.3.0/CodeSystem-formatcode.html#formatcode-urn.58ihe.58iti.58xds.582017.58mimeTypeSufficient">IHE Format Code set for use with Document Sharing urn:ihe:iti:xds:2017:mimeTypeSufficient</a>: mimeType Sufficient</p></blockquote><h3>Contexts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Encounter</b></td><td><b>FacilityType</b></td><td><b>PracticeSetting</b></td><td><b>SourcePatientInfo</b></td></tr><tr><td style="display: none">*</td><td><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></td><td><span title="Codes:{http://snomed.info/sct 82242000}">Children's hospital</span></td><td><span title="Codes:{http://snomed.info/sct 408467006}">Adult mental illness - specialty (qualifier value)</span></td><td><a href="#hcaaaaaaaa-bbbb-cccc-dddd-e00333300002/aaaaaaaa-bbbb-cccc-dddd-e00333300004">Dee Schmidt  (no stated gender), DoB Unknown ( http://example.org/patients#mrn-1234)</a></td></tr></table><hr/><blockquote><p class="res-header-id"><b>Generated Narrative: Patient #aaaaaaaa-bbbb-cccc-dddd-e00333300004</b></p><a name="aaaaaaaa-bbbb-cccc-dddd-e00333300002/aaaaaaaa-bbbb-cccc-dddd-e00333300004"> </a><a name="hcaaaaaaaa-bbbb-cccc-dddd-e00333300002/aaaaaaaa-bbbb-cccc-dddd-e00333300004"> </a><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Dee Schmidt  (no stated gender), DoB Unknown ( http://example.org/patients#mrn-1234)</p><hr/></blockquote><hr/><blockquote><p class="res-header-id"><b>Generated Narrative: Practitioner #aaaaaaaa-bbbb-cccc-dddd-e00333300006</b></p><a name="aaaaaaaa-bbbb-cccc-dddd-e00333300002/aaaaaaaa-bbbb-cccc-dddd-e00333300006"> </a><a name="hcaaaaaaaa-bbbb-cccc-dddd-e00333300002/aaaaaaaa-bbbb-cccc-dddd-e00333300006"> </a><p><b>identifier</b>: <code>http://www.acme.org/practitioners</code>/23</p><p><b>name</b>: Adam Careful </p></blockquote></div>
            </text>
            <contained>
              <Patient>
                <id value="aaaaaaaa-bbbb-cccc-dddd-e00333300004"/>
                <identifier>
                  <system value="http://example.org/patients"/>
                  <value value="mrn-1234"/>
                </identifier>
                <name>
                  <family value="Schmidt"/>
                  <given value="Dee"/>
                </name>
              </Patient>
            </contained>
            <contained>
              <Practitioner>
                <id value="aaaaaaaa-bbbb-cccc-dddd-e00333300006"/>
                <identifier>
                  <system value="http://www.acme.org/practitioners"/>
                  <value value="23"/>
                </identifier>
                <name>
                  <family value="Careful"/>
                  <given value="Adam"/>
                  <prefix value="Dr"/>
                </name>
              </Practitioner>
            </contained>
            <masterIdentifier>
              <use value="official"/>
              <system value="urn:ietf:rfc:3986"/>
              <value value="urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0"/>
            </masterIdentifier>
            <identifier>
              <use value="official"/>
              <system value="urn:ietf:rfc:3986"/>
              <value value="urn:uuid:7d5bb8ac-68ee-4926-85e7-b8aac8e1f09d"/>
            </identifier>
            <status value="current"/>
            <type>
              <coding>
                <system value="http://loinc.org"/>
                <code value="28655-9"/>
              </coding>
            </type>
            <category>
              <coding>
                <system value="http://loinc.org"/>
                <code value="11369-6"/>
              </coding>
            </category>
            <subject>🔗
              <reference value="Patient/ex-patient"/>
            </subject>
            <date value="2020-02-01T23:50:50-05:00"/>
            <author>
              <reference value="#aaaaaaaa-bbbb-cccc-dddd-e00333300006"/>
            </author>
            <securityLabel>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
                <code value="N"/>
              </coding>
            </securityLabel>
            <content>
              <attachment>
                <contentType value="application/fhir+json"/>
                <language value="en"/>
                <url value="urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00333300003"/>
                <title value="Discharge Summary from Responsible Clinician"/>
                <creation value="2013-05-28T22:12:21Z"/>
              </attachment>
              <format>
                <system
                        value="http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode"/>
                <code value="urn:ihe:iti:xds:2017:mimeTypeSufficient"/>
              </format>
            </content>
            <context>
              <encounter>
                <reference value="http://example.org/fhir/Encounter/doc-example"/>
              </encounter>
              <facilityType>
                <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="82242000"/>
                </coding>
              </facilityType>
              <practiceSetting>
                <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="408467006"/>
                </coding>
              </practiceSetting>
              <sourcePatientInfo>
                <reference value="#aaaaaaaa-bbbb-cccc-dddd-e00333300004"/>
              </sourcePatientInfo>
            </context>
          </DocumentReference>
        </resource>
        <request>
          <method value="POST"/>
          <url value="DocumentReference"/>
        </request>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00333300003"/>
        <resource>
          <Bundle>
            <id value="father"/>
            <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>
                  <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">

                <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">

                <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"> 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"> 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">

                <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">

                <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">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>
          </Bundle>
        </resource>
        <request>
          <method value="POST"/>
          <url value="Bundle"/>
        </request>
      </entry>
    </Bundle>