DHIN 2025Connectathon FHIR IG
0.2.0 - ci-build Nigeria flag

DHIN 2025Connectathon FHIR IG, published by DHIN. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Nigeria-FHIR-Community/2025Connectathon/ and changes regularly. See the Directory of published versions

: Apple Watch Data Upload (Transaction) - XML Representation

Raw xml | Download


<Bundle xmlns="http://hl7.org/fhir">
  <id value="NgDeviceData-AppleWatch-Transaction"/>
  <meta>
    <profile
             value="https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-device-data-bundle"/>
  </meta>
  <type value="transaction"/>
  <entry>
    <fullUrl value="urn:uuid:eeefff55-e5f6-4789-a123-456789abcdef"/>
    <resource>
      <Patient>
        <id value="NgPatient-Watch-001"/>
        <meta>
          <lastUpdated value="2025-11-06T07:00:00+01:00"/>
          <profile
                   value="https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-patient"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_NgPatient-Watch-001"> </a><p class="res-header-id"><b>Generated Narrative: Patient NgPatient-Watch-001</b></p><a name="NgPatient-Watch-001"> </a><a name="hcNgPatient-Watch-001"> </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: 2025-11-06 07:00:00+0100</p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-ng-patient.html">NG Patient</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Bola Adeleke  Female, DoB: 1991-12-02 ( mobile: 08035556666)</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Record is active">Active:</td><td colspan="3">true</td></tr><tr><td style="background-color: #f3f5da" title="Ways to contact the Patient">Contact Detail</td><td colspan="3">Rayfield Jos PL </td></tr></table></div>
        </text>
        <identifier>
          <type>
            <coding>
              <system
                      value="https://sandbox.dhin-hie.org/ig/CodeSystem/patient-identifier-cs"/>
              <code value="MOBILE"/>
              <display value="mobile"/>
            </coding>
          </type>
          <system
                  value="https://sandbox.dhin-hie.org/ig/CodeSystem/patient-identifier-cs"/>
          <value value="08035556666"/>
        </identifier>
        <active value="true"/>
        <name>
          <family value="Adeleke"/>
          <given value="Bola"/>
        </name>
        <gender value="female"/>
        <birthDate value="1991-12-02"/>
        <address>
          <line value="Rayfield"/>
          <city value="Jos"/>
          <district value="pl-jos-south"/>
          <state value="PL"/>
        </address>
      </Patient>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Patient"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:fffaaa66-e5f6-4789-a123-456789abcdef"/>
    <resource>
      <Organization>
        <id value="NgOrganization-AppVendor-001"/>
        <meta>
          <profile
                   value="https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-organization"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Organization_NgOrganization-AppVendor-001"> </a><p class="res-header-id"><b>Generated Narrative: Organization NgOrganization-AppVendor-001</b></p><a name="NgOrganization-AppVendor-001"> </a><a name="hcNgOrganization-AppVendor-001"> </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: <a href="StructureDefinition-ng-organization.html">NG Organization</a></p></div><p><b>identifier</b>: <code>https://sandbox.dhin-hie.org/ig/CodeSystem/ng-device-type-cs</code>/apple</p><p><b>active</b>: true</p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/organization-type bus}">Non-Healthcare Business or Corporation</span></p><p><b>name</b>: Wellness App Ltd.</p><p><b>telecom</b>: <a href="mailto:support@wellnessapp.ng">support@wellnessapp.ng</a></p><p><b>address</b>: Tech Hub Building Lagos LA </p></div>
        </text>
        <identifier>
          <system
                  value="https://sandbox.dhin-hie.org/ig/CodeSystem/ng-device-type-cs"/>
          <value value="apple"/>
        </identifier>
        <active value="true"/>
        <type>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/organization-type"/>
            <code value="bus"/>
            <display value="Non-Healthcare Business or Corporation"/>
          </coding>
        </type>
        <name value="Wellness App Ltd."/>
        <telecom>
          <system value="email"/>
          <value value="support@wellnessapp.ng"/>
        </telecom>
        <address>
          <line value="Tech Hub Building"/>
          <city value="Lagos"/>
          <district value="la-agege"/>
          <state value="LA"/>
        </address>
      </Organization>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Organization"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:aaabbb77-e5f6-4789-a123-456789abcdef"/>
    <resource>
      <Device>
        <id value="NgDevice-AppleWatch-001"/>
        <meta>
          <profile
                   value="https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-device"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Device_NgDevice-AppleWatch-001"> </a><p class="res-header-id"><b>Generated Narrative: Device NgDevice-AppleWatch-001</b></p><a name="NgDevice-AppleWatch-001"> </a><a name="hcNgDevice-AppleWatch-001"> </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: <a href="StructureDefinition-ng-device.html">NG Device</a></p></div><p><b>status</b>: Active</p><p><b>manufacturer</b>: Apple Inc.</p><p><b>serialNumber</b>: AW8-BOLA-2025-XYZ</p><h3>DeviceNames</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Name</b></td><td><b>Type</b></td></tr><tr><td style="display: none">*</td><td>Apple Watch Series 8</td><td>User Friendly name</td></tr></table><p><b>modelNumber</b>: Series 8</p><p><b>type</b>: <span title="Codes:{http://snomed.info/sct 706635000}">Telephone transmitter/receiver system</span></p><h3>Versions</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Value</b></td></tr><tr><td style="display: none">*</td><td>watchOS 10.1</td></tr></table></div>
        </text>
        <status value="active"/>
        <manufacturer value="Apple Inc."/>
        <serialNumber value="AW8-BOLA-2025-XYZ"/>
        <deviceName>
          <name value="Apple Watch Series 8"/>
          <type value="user-friendly-name"/>
        </deviceName>
        <modelNumber value="Series 8"/>
        <type>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="706635000"/>
            <display value="Telephone transmitter/receiver system"/>
          </coding>
        </type>
        <version>
          <value value="watchOS 10.1"/>
        </version>
      </Device>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Device"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:bbbccc88-e5f6-4789-a123-456789abcdef"/>
    <resource>
      <Observation>
        <id value="NgObservation-HeartRate-001"/>
        <meta>
          <profile
                   value="https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-observation"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Observation_NgObservation-HeartRate-001"> </a><p class="res-header-id"><b>Generated Narrative: Observation NgObservation-HeartRate-001</b></p><a name="NgObservation-HeartRate-001"> </a><a name="hcNgObservation-HeartRate-001"> </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: <a href="StructureDefinition-ng-observation.html">NG Observations</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}">Social History</span></p><p><b>code</b>: <span title="Codes:{http://loinc.org 30525-0}">Age</span></p><p><b>subject</b>: <a href="Bundle-NgDeviceData-AppleWatch-Transaction.html#urn-uuid-eeefff55-e5f6-4789-a123-456789abcdef">Bola Adeleke  Female, DoB: 1991-12-02 ( mobile: 08035556666)</a></p><p><b>effective</b>: 2025-11-06 06:50:00+0100</p><p><b>performer</b>: <a href="Bundle-NgDeviceData-AppleWatch-Transaction.html#urn-uuid-fffaaa66-e5f6-4789-a123-456789abcdef">Organization Wellness App Ltd.</a></p><p><b>note</b>: </p><blockquote><div><p>Resting heart rate recorded by wearable device</p>
</div></blockquote><p><b>device</b>: <a href="Bundle-NgDeviceData-AppleWatch-Transaction.html#urn-uuid-aaabbb77-e5f6-4789-a123-456789abcdef">Device: status = active; manufacturer = Apple Inc.; serialNumber = AW8-BOLA-2025-XYZ; modelNumber = Series 8; type = Telephone transmitter/receiver system</a></p><h3>Components</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{https://sandbox.dhin-hie.org/ig/CodeSystem/age-component-codes mn}">Months (mo)</span></td><td>444 month<span style="background: LightGoldenRodYellow"> (Details: UCUM  codemo = 'mo')</span></td></tr></table></div>
        </text>
        <status value="final"/>
        <category>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <code value="social-history"/>
            <display value="Social History"/>
          </coding>
        </category>
        <code>
          <coding>
            <system value="http://loinc.org"/>
            <code value="30525-0"/>
            <display value="Age"/>
          </coding>
        </code>
        <subject>
          <reference value="urn:uuid:eeefff55-e5f6-4789-a123-456789abcdef"/>
        </subject>
        <effectiveDateTime value="2025-11-06T06:50:00+01:00"/>
        <performer>
          <reference value="urn:uuid:fffaaa66-e5f6-4789-a123-456789abcdef"/>
        </performer>
        <note>
          <text value="Resting heart rate recorded by wearable device"/>
        </note>
        <device>
          <reference value="urn:uuid:aaabbb77-e5f6-4789-a123-456789abcdef"/>
        </device>
        <component>
          <code>
            <coding>
              <system
                      value="https://sandbox.dhin-hie.org/ig/CodeSystem/age-component-codes"/>
              <code value="mn"/>
              <display value="Months (mo)"/>
            </coding>
          </code>
          <valueQuantity>
            <value value="444"/>
            <unit value="month"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mo"/>
          </valueQuantity>
        </component>
      </Observation>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Observation"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:cccddd99-e5f6-4789-a123-456789abcdef"/>
    <resource>
      <Observation>
        <id value="NgObservation-Steps-001"/>
        <meta>
          <profile
                   value="https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-observation"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Observation_NgObservation-Steps-001"> </a><p class="res-header-id"><b>Generated Narrative: Observation NgObservation-Steps-001</b></p><a name="NgObservation-Steps-001"> </a><a name="hcNgObservation-Steps-001"> </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: <a href="StructureDefinition-ng-observation.html">NG Observations</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}">Social History</span></p><p><b>code</b>: <span title="Codes:{http://loinc.org 30525-0}">Age</span></p><p><b>subject</b>: <a href="Bundle-NgDeviceData-AppleWatch-Transaction.html#urn-uuid-eeefff55-e5f6-4789-a123-456789abcdef">Bola Adeleke  Female, DoB: 1991-12-02 ( mobile: 08035556666)</a></p><p><b>effective</b>: 2025-11-05 00:00:00+0100 --&gt; 2025-11-05 23:59:59+0100</p><p><b>performer</b>: <a href="Bundle-NgDeviceData-AppleWatch-Transaction.html#urn-uuid-fffaaa66-e5f6-4789-a123-456789abcdef">Organization Wellness App Ltd.</a></p><p><b>note</b>: </p><blockquote><div><p>Total daily step count tracked by wearable device</p>
</div></blockquote><p><b>device</b>: <a href="Bundle-NgDeviceData-AppleWatch-Transaction.html#urn-uuid-aaabbb77-e5f6-4789-a123-456789abcdef">Device: status = active; manufacturer = Apple Inc.; serialNumber = AW8-BOLA-2025-XYZ; modelNumber = Series 8; type = Telephone transmitter/receiver system</a></p><h3>Components</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{https://sandbox.dhin-hie.org/ig/CodeSystem/age-component-codes mn}">Months (mo)</span></td><td>666 month<span style="background: LightGoldenRodYellow"> (Details: UCUM  codemo = 'mo')</span></td></tr></table></div>
        </text>
        <status value="final"/>
        <category>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <code value="social-history"/>
            <display value="Social History"/>
          </coding>
        </category>
        <code>
          <coding>
            <system value="http://loinc.org"/>
            <code value="30525-0"/>
            <display value="Age"/>
          </coding>
        </code>
        <subject>
          <reference value="urn:uuid:eeefff55-e5f6-4789-a123-456789abcdef"/>
        </subject>
        <effectivePeriod>
          <start value="2025-11-05T00:00:00+01:00"/>
          <end value="2025-11-05T23:59:59+01:00"/>
        </effectivePeriod>
        <performer>
          <reference value="urn:uuid:fffaaa66-e5f6-4789-a123-456789abcdef"/>
        </performer>
        <note>
          <text value="Total daily step count tracked by wearable device"/>
        </note>
        <device>
          <reference value="urn:uuid:aaabbb77-e5f6-4789-a123-456789abcdef"/>
        </device>
        <component>
          <code>
            <coding>
              <system
                      value="https://sandbox.dhin-hie.org/ig/CodeSystem/age-component-codes"/>
              <code value="mn"/>
              <display value="Months (mo)"/>
            </coding>
          </code>
          <valueQuantity>
            <value value="666"/>
            <unit value="month"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mo"/>
          </valueQuantity>
        </component>
      </Observation>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Observation"/>
    </request>
  </entry>
</Bundle>