<?xml version="1.0" encoding="UTF-8"?>

<Appointment xmlns="http://hl7.org/fhir">
  <meta>
    <source value="https://standards.digital.health.nz/ns/hpi-facility-id/F12345-A"/>
    <profile value="https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/OnlineGPAppointment"/>
    <tag>
      <system value="https://hub.services.digital.health.nz/ns/correlation-id"/>
      <code value="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/>
    </tag>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Appointment OnlineGPAppointmentExample</b></p><a name="OnlineGPAppointmentExample"> </a><a name="hcOnlineGPAppointmentExample"> </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">Information Source: <a href="https://standards.digital.health.nz/ns/hpi-facility-id/F12345-A">https://standards.digital.health.nz/ns/hpi-facility-id/F12345-A</a></p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-OnlineGPAppointment.html">Online GP Appointment</a></p><p style="margin-bottom: 0px">Tag: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (Details: correlation-id code xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)</p></div><p><b>identifier</b>: <code>https://provider-org-name.co.nz/ns/appointment-identifier</code>/APT123456 (use: official, )</p><p><b>status</b>: Fulfilled</p><p><b>reasonCode</b>: <span title="Codes:{http://snomed.info/sct 266934004}">Transport problem (finding)</span></p><p><b>start</b>: 2025-01-01 10:00:00+1300</p><p><b>end</b>: 2025-01-01 10:17:00+1300</p><p><b>created</b>: 2025-01-01 09:30:00+1300</p><h3>Participants</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Actor</b></td><td><b>Status</b></td></tr><tr><td style="display: none">*</td><td>Identifier: <a href="http://fhir.org.nz/ig/base/NamingSystem-nhi.html" title="NHI number">NHI</a>/ZZZ0008</td><td>Accepted</td></tr></table></div>
  </text>
  <identifier>
    <use value="official"/>
    <system value="https://provider-org-name.co.nz/ns/appointment-identifier"/>
    <value value="APT123456"/>
  </identifier>
  <status value="fulfilled"/>
  <reasonCode>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="266934004"/>
      <display value="Transport problem (finding)"/>
    </coding>
  </reasonCode>
  <start value="2025-01-01T10:00:00+13:00"/>
  <end value="2025-01-01T10:17:00+13:00"/>
  <created value="2025-01-01T09:30:00+13:00"/>
  <participant>
    <actor>
      <type value="Patient"/>
      <identifier>
        <system value="https://standards.digital.health.nz/ns/nhi-id"/>
        <value value="ZZZ0008"/>
      </identifier>
    </actor>
    <status value="accepted"/>
  </participant>
</Appointment>