Structured Data Capture
4.0.0-ballot - STU 4 ballot International flag

Structured Data Capture, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 4.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/sdc/ and changes regularly. See the Directory of published versions

: SDC Map population source bundle example - XML Representation

Raw xml | Download


<Bundle xmlns="http://hl7.org/fhir">
  <id value="map-population-example"/>
  <type value="batch-response"/>
  <entry>
    <resource>
      <Bundle>
        <id value="2c256377-0dbf-4311-a123-14d87f22c5"/>
        <meta>
          <lastUpdated value="2021-12-24T20:45:02.548Z"/>
        </meta>
        <type value="searchset"/>
        <total value="1"/>
        <link>
          <relation value="self"/>
          <url
               value="http://example.org/fhir/Patient?_format=application/fhir+xml&amp;search-id=6d767ae9-7ce7-434e-b148-0603d44788&amp;&amp;_id=a0df9da6%2D3157%2D4b72%2D95f1%2D729853718c09&amp;_sort=_id"/>
        </link>
        <entry>
          <fullUrl
                   value="http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09"/>
          <resource>
            <Patient>
              <id value="a0df9da6-3157-4b72-95f1-729853718c09"/>
              <meta>
                <versionId value="3"/>
                <lastUpdated value="2021-11-09T22:00:59.865Z"/>
              </meta>
              <identifier>
                <use value="official"/>
                <type>
                  <coding>
                    <system
                            value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                    <code value="JHN"/>
                  </coding>
                </type>
                <system
                        value="https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn"/>
                <value value="1234567890"/>
              </identifier>
              <name>
                <family value="Doe"/>
                <given value="Jane"/>
              </name>
              <telecom>
                <system value="phone"/>
                <value value="1 (555) 867 5309"/>
                <rank value="1"/>
              </telecom>
              <telecom>
                <system value="email"/>
                <value value="janedoe@example.com"/>
                <rank value="2"/>
              </telecom>
              <gender value="female"/>
              <birthDate value="1951-02-19"/>
              <address>
                <use value="home"/>
                <type value="physical"/>
                <line value="123 Any Street"/>
                <city value="Waterloo"/>
                <state value="ON"/>
                <postalCode value="N2L 3G1"/>
              </address>
              <contact>
                <relationship>
                  <coding>
                    <system
                            value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
                    <code value="SPS"/>
                    <display value="spouse"/>
                  </coding>
                  <text value="Emergency Contact"/>
                </relationship>
                <name>
                  <family value="Doe"/>
                  <given value="John"/>
                </name>
                <telecom>
                  <system value="phone"/>
                  <value value="(555) 555 1212"/>
                  <rank value="1"/>
                </telecom>
                <address>
                  <line value="50 Another St."/>
                  <line value="Unit 2"/>
                  <city value="Waterloo"/>
                  <state value="ON"/>
                  <postalCode value="N2L 3G2"/>
                </address>
              </contact>
              <communication>
                <language>
                  <coding>
                    <system value="urn:ietf:bcp:47"/>
                    <code value="en"/>
                  </coding>
                  <text value="English"/>
                </language>
              </communication>
              <generalPractitioner>
                <reference
                           value="http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2"/>
              </generalPractitioner>
            </Patient>
          </resource>
          <search>
            <mode value="match"/>
          </search>
        </entry>
      </Bundle>
    </resource>
    <response>
      <status value="200"/>
      <etag value="W/"/>
      <lastModified value="1899-12-30T00:00:00.000Z"/>
    </response>
  </entry>
  <entry>
    <resource>
      <Bundle>
        <id value="7b29ddd9-fdbf-4e6c-81f3-38f2d51934"/>
        <meta>
          <lastUpdated value="2021-12-24T20:45:02.610Z"/>
        </meta>
        <type value="searchset"/>
        <total value="1"/>
        <link>
          <relation value="self"/>
          <url
               value="http://example.org/fhir/Condition?_format=application/fhir+xml&amp;search-id=91f69619-1772-4f74-9560-7748c900b1&amp;&amp;patient=Patient/a0df9da6%2D3157%2D4b72%2D95f1%2D729853718c09&amp;clinical-status=active&amp;_sort=_id"/>
        </link>
        <entry>
          <fullUrl
                   value="http://example.org/fhir/Condition/7cd8b889-5456-43d4-935c-abc10791ebd6"/>
          <resource>
            <Condition>
              <id value="7cd8b889-5456-43d4-935c-abc10791ebd6"/>
              <meta>
                <versionId value="3"/>
                <lastUpdated value="2021-11-09T22:00:59.965Z"/>
              </meta>
              <clinicalStatus>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
                  <code value="active"/>
                  <display value="Active"/>
                </coding>
              </clinicalStatus>
              <verificationStatus>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
                  <code value="confirmed"/>
                </coding>
              </verificationStatus>
              <category>
                <coding>
                  <system value="http://loinc.org"/>
                  <code value="75326-9"/>
                  <display value="Problem"/>
                </coding>
              </category>
              <code>
                <coding>
                  <system value="http://snomed.info/sct"/>
                  <version value="http://snomed.info/sct/20611000087101"/>
                  <code value="95651005"/>
                  <display value="Chronic progressive paraparesis"/>
                </coding>
                <text value="Chronic Progressive Paraparesis"/>
              </code>
              <subject>
                <reference
                           value="http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09"/>
              </subject>
              <onsetDateTime value="2014"/>
              <asserter>
                <reference
                           value="http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2"/>
              </asserter>
            </Condition>
          </resource>
          <search>
            <mode value="match"/>
          </search>
        </entry>
      </Bundle>
    </resource>
    <response>
      <status value="200"/>
      <etag value="W/"/>
      <lastModified value="1899-12-30T00:00:00.000Z"/>
    </response>
  </entry>
  <entry>
    <resource>
      <Bundle>
        <id value="94e7a07b-0f81-4586-ad73-ef8ce3b7b7"/>
        <meta>
          <lastUpdated value="2021-12-24T20:45:02.719Z"/>
        </meta>
        <type value="searchset"/>
        <total value="1"/>
        <link>
          <relation value="self"/>
          <url
               value="http://example.org/fhir/MedicationStatement?_format=application/fhir+xml&amp;search-id=27c5cc22-a00c-499f-b217-a60cb94df7&amp;&amp;patient=Patient/a0df9da6%2D3157%2D4b72%2D95f1%2D729853718c09&amp;status=active&amp;_include=MedicationStatement%3Amedication&amp;_sort=_id"/>
        </link>
        <entry>
          <fullUrl
                   value="http://example.org/fhir/MedicationStatement/fe376aa6-83fb-4d0e-be60-ad959c57114f"/>
          <resource>
            <MedicationStatement>
              <id value="fe376aa6-83fb-4d0e-be60-ad959c57114f"/>
              <meta>
                <versionId value="3"/>
                <lastUpdated value="2021-11-09T22:01:00.007Z"/>
              </meta>
              <status value="active"/>
              <medicationReference>
                <reference
                           value="http://example.org/fhir/Medication/c6222017-94f6-4dbc-8958-fcdf9df3356a"/>
              </medicationReference>
              <subject>
                <reference
                           value="http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09"/>
              </subject>
              <effectivePeriod>
                <start value="2014"/>
              </effectivePeriod>
              <informationSource>
                <reference
                           value="http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2"/>
              </informationSource>
              <dosage>
                <text value="40 mg/day"/>
                <timing>
                  <repeat>
                    <frequency value="1"/>
                    <period value="1"/>
                    <periodUnit value="d"/>
                  </repeat>
                </timing>
                <doseAndRate>
                  <doseQuantity>
                    <value value="40"/>
                    <unit value="mg"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="mg"/>
                  </doseQuantity>
                </doseAndRate>
              </dosage>
            </MedicationStatement>
          </resource>
          <search>
            <mode value="match"/>
          </search>
        </entry>
        <entry>
          <fullUrl
                   value="http://example.org/fhir/MedicationStatement/01e65f9e-5412-4ac9-a1c2-c408ed485702"/>
          <resource>
            <MedicationStatement>
              <id value="01e65f9e-5412-4ac9-a1c2-c408ed485702"/>
              <meta>
                <versionId value="3"/>
                <lastUpdated value="2021-11-09T22:01:00.007Z"/>
              </meta>
              <status value="active"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://example.org/medications"/>
                </coding>
                <coding>
                  <system value="http://example.org/medications2"/>
                  <display value="Another med"/>
                </coding>
              </medicationCodeableConcept>
              <subject>
                <reference
                           value="http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09"/>
              </subject>
              <effectivePeriod>
                <start value="2014"/>
              </effectivePeriod>
              <informationSource>
                <reference
                           value="http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2"/>
              </informationSource>
              <dosage>
                <text value="40 mg/day"/>
                <timing>
                  <repeat>
                    <frequency value="1"/>
                    <period value="1"/>
                    <periodUnit value="d"/>
                  </repeat>
                </timing>
                <doseAndRate>
                  <doseQuantity>
                    <value value="40"/>
                    <unit value="mg"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="mg"/>
                  </doseQuantity>
                </doseAndRate>
              </dosage>
            </MedicationStatement>
          </resource>
          <search>
            <mode value="match"/>
          </search>
        </entry>
        <entry>
          <fullUrl
                   value="http://example.org/fhir/MedicationStatement/f59e4516-d2c6-4a2f-936b-d2c460bb92c6"/>
          <resource>
            <MedicationStatement>
              <id value="f59e4516-d2c6-4a2f-936b-d2c460bb92c6"/>
              <meta>
                <versionId value="3"/>
                <lastUpdated value="2021-11-09T22:01:00.007Z"/>
              </meta>
              <status value="active"/>
              <medicationCodeableConcept>
                <text value="SomeMed"/>
              </medicationCodeableConcept>
              <subject>
                <reference
                           value="http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09"/>
              </subject>
              <effectivePeriod>
                <start value="2014"/>
              </effectivePeriod>
              <informationSource>
                <reference
                           value="http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2"/>
              </informationSource>
              <dosage>
                <text value="40 mg/day"/>
                <timing>
                  <repeat>
                    <frequency value="1"/>
                    <period value="1"/>
                    <periodUnit value="d"/>
                  </repeat>
                </timing>
                <doseAndRate>
                  <doseQuantity>
                    <value value="40"/>
                    <unit value="mg"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="mg"/>
                  </doseQuantity>
                </doseAndRate>
              </dosage>
            </MedicationStatement>
          </resource>
          <search>
            <mode value="match"/>
          </search>
        </entry>
        <entry>
          <fullUrl
                   value="http://example.org/fhir/Medication/c6222017-94f6-4dbc-8958-fcdf9df3356a"/>
          <resource>
            <Medication>
              <id value="c6222017-94f6-4dbc-8958-fcdf9df3356a"/>
              <meta>
                <versionId value="3"/>
                <lastUpdated value="2021-11-09T22:01:00.033Z"/>
              </meta>
              <text>
                <status value="generated"/>
                <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: c6222017-94f6-4dbc-8958-fcdf9df3356a</p><p><b>meta</b>:</p><p><b>code</b>: Simvastatin 40 mg oral tablet <span style="background: LightGoldenRodYellow">(Details : {SNOMED CT code "320000009" := "320000009", given as "Simvastatin 40 mg oral tablet"})</span></p><p><b>form</b>: Film-coated tablet <span style="background: LightGoldenRodYellow">(Details : {SNOMED CT code "385057009" := "385057009", given as "Film-coated tablet"})</span></p></div>
              </text>
              <code>
                <coding>
                  <system value="http://snomed.info/sct"/>
                  <version value="http://snomed.info/sct/20611000087101"/>
                  <code value="320000009"/>
                  <display value="Simvastatin 40 mg oral tablet"/>
                </coding>
                <text value="Simvastatin 40 mg oral tablet"/>
              </code>
              <form>
                <coding>
                  <system value="http://snomed.info/sct"/>
                  <version value="http://snomed.info/sct/20611000087101"/>
                  <code value="385057009"/>
                  <display value="Film-coated tablet"/>
                </coding>
              </form>
              <ingredient>
                <itemCodeableConcept>
                  <coding>
                    <system value="http://snomed.info/sct"/>
                    <version value="http://snomed.info/sct/20611000087101"/>
                    <code value="387584000"/>
                    <display value="Simvastatin"/>
                  </coding>
                </itemCodeableConcept>
                <strength>
                  <numerator>
                    <value value="40"/>
                    <unit value="mcg"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="mg"/>
                  </numerator>
                  <denominator>
                    <value value="1"/>
                    <unit value="dose"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="1"/>
                  </denominator>
                </strength>
              </ingredient>
            </Medication>
          </resource>
          <search>
            <mode value="include"/>
          </search>
        </entry>
      </Bundle>
    </resource>
    <response>
      <status value="200"/>
      <etag value="W/"/>
      <lastModified value="1899-12-30T00:00:00.000Z"/>
    </response>
  </entry>
</Bundle>