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

<Bundle xmlns="http://hl7.org/fhir">
  <id value="Konsulta-RequestforAuthorizationTransactionCode"/>
  <identifier>
    <system value="http://nhdr.gov.ph/fhir/ValueSet-form-type"/>
    <value value="Request-for-Authorization-Transaction-Code"/>
  </identifier>
  <type value="transaction"/>
  <entry>
    <fullUrl value="urn:uuid:patient-2"/>
    <resource>
      <Patient>
        <id value="K1-Patient"/>
        <meta>
          <profile value="https://nhdr.gov.ph/fhir/StructureDefinition/PH-Patient"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_K1-Patient"> </a><p class="res-header-id"><b>Generated Narrative: Patient K1-Patient</b></p><a name="K1-Patient"> </a><a name="hcK1-Patient"> </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-PH-Patient.html">PH Patient</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Quinn Ry Senilla  (no stated gender), DoB: 1990-05-10 ( PhilHealth ID: PH-00001)</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Ways to contact the Patient">Contact Detail</td><td colspan="3"><ul><li>ph: 09456469323</li><li></li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Patient Links">Links:</td><td colspan="3"><ul><li>General Practitioner: <a href="Bundle-Konsulta-Availment-Slip.html#Organization_K1-Organization">Organization 6th General Hospital</a></li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Patient Type"><a href="StructureDefinition-PatientType.html">Patient Type</a></td><td colspan="3"><span title="Codes:{https://nhdr.gov.ph/fhir/ValueSet/PatientTypeVS MM}">Member</span></td></tr></table></div>
        </text>
        <extension url="https://nhdr.gov.ph/fhir/StructureDefinition/PatientType">
          <valueCodeableConcept>
            <coding>
              <system value="https://nhdr.gov.ph/fhir/ValueSet/PatientTypeVS"/>
              <code value="MM"/>
              <display value="Member"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <identifier>
          <type>
            <text value="PhilHealth ID"/>
          </type>
          <system value="http://nhdr.gov.ph/fhir/Identifier/philhealth-id"/>
          <value value="PH-00001"/>
        </identifier>
        <name>
          <family value="Senilla"/>
          <given value="Quinn"/>
          <given value="Ry"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="09456469323"/>
        </telecom>
        <birthDate value="1990-05-10"/>
        <address>
          <extension url="https://nhdr.gov.ph/fhir/StructureDefinition/Province">
            <valueCoding>
              <system value="https://psa.gov.ph/classification/psgc"/>
              <code value="036900000"/>
              <display value="Tarlac"/>
            </valueCoding>
          </extension>
          <extension url="https://nhdr.gov.ph/fhir/StructureDefinition/CityMunicipality">
            <valueCoding>
              <system value="https://psa.gov.ph/classification/psgc"/>
              <code value="036916000"/>
              <display value="Tarlac City"/>
            </valueCoding>
          </extension>
          <extension url="https://nhdr.gov.ph/fhir/StructureDefinition/Barangay">
            <valueCoding>
              <system value="https://psa.gov.ph/classification/psgc"/>
              <code value="036916001"/>
              <display value="San Roque"/>
            </valueCoding>
          </extension>
        </address>
        <generalPractitioner>
          <reference value="Organization/K1-Organization"/>
        </generalPractitioner>
      </Patient>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Patient"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:organization-2"/>
    <resource>
      <Organization>
        <id value="K2-Organization"/>
        <meta>
          <profile value="https://nhdr.gov.ph/fhir/StructureDefinition/PH-Organization"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Organization_K2-Organization"> </a><p class="res-header-id"><b>Generated Narrative: Organization K2-Organization</b></p><a name="K2-Organization"> </a><a name="hcK2-Organization"> </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-PH-Organization.html">PH Organization</a></p></div><p><b>name</b>: Philippine Health Insurance Corporation</p><h3>Contacts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Name</b></td></tr><tr><td style="display: none">*</td><td>Dr. Maria Santos</td></tr></table></div>
        </text>
        <name value="Philippine Health Insurance Corporation"/>
        <contact>
          <name>
            <text value="Dr. Maria Santos"/>
          </name>
        </contact>
      </Organization>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Organization"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:provenance-2"/>
    <resource>
      <Provenance>
        <id value="K1-Provenance"/>
        <meta>
          <profile value="https://nhdr.gov.ph/fhir/StructureDefinition/PH-Provenance"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Provenance_K1-Provenance"> </a><p class="res-header-id"><b>Generated Narrative: Provenance K1-Provenance</b></p><a name="K1-Provenance"> </a><a name="hcK1-Provenance"> </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-PH-Provenance.html">PH Provenance</a></p></div><p>Provenance for <a href="Bundle-Konsulta-Availment-Slip.html#Patient_K1-Patient">Patient</a></p><p>Summary</p><table class="grid"><tr><td>Recorded</td><td>2026-02-03 09:00:00+0800</td></tr></table><p><b>Agents</b></p><table class="grid"><tr><td><b>who</b></td></tr><tr><td><a href="Bundle-ClaimsForm1-1.html#Organization_CF1-Organization">Organization</a></td></tr></table></div>
        </text>
        <target>
          <reference value="Patient/K1-Patient"/>
          <display value="Patient"/>
        </target>
        <recorded value="2026-02-03T09:00:00+08:00"/>
        <agent>
          <who>
            <reference value="Organization/CF1-Organization"/>
            <display value="Organization"/>
          </who>
        </agent>
        <signature>
          <type>
            <system value="urn:iso-astm:E1762-95:2013"/>
            <code value="1.2.840.10065.1.12.1.20"/>
            <display value="Electronic Signature"/>
          </type>
          <when value="2026-02-03T10:30:00+08:00"/>
          <who>
            <reference value="Patient/K1-Patient"/>
            <display value="Patient"/>
          </who>
          <data value="QkFTRTY0X1NJR05BVFVSRV9QQVRJRU5U"/>
        </signature>
        <signature>
          <type>
            <system value="urn:iso-astm:E1762-95:2013"/>
            <code value="1.2.840.10065.1.12.1.20"/>
            <display value="Electronic Signature"/>
          </type>
          <when value="2026-02-03T10:30:00+08:00"/>
          <who>
            <reference value="Practitioner/K1-Practitioner"/>
            <display value="Practitioner"/>
          </who>
          <data value="QkFTRTY0X1NJR05BVFVSRV9QQVRJRU5U"/>
        </signature>
      </Provenance>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Provenance"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:appointment-2"/>
    <resource>
      <Appointment>
        <id value="K2-Appointment"/>
        <meta>
          <profile value="https://nhdr.gov.ph/fhir/StructureDefinition/PH-Appointment"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Appointment_K2-Appointment"> </a><p class="res-header-id"><b>Generated Narrative: Appointment K2-Appointment</b></p><a name="K2-Appointment"> </a><a name="hcK2-Appointment"> </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-PH-Appointment.html">PH Appointment</a></p></div><p><b>identifier</b>: <code>https://nhdr.gov.ph/fhir/Identifier/appointment-id</code>/K2-APPT-0001</p><p><b>status</b>: Booked</p><p><b>created</b>: 2026-03-01 08:30:00+0800</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><a href="Bundle-Konsulta-Availment-Slip.html#Patient_K1-Patient">Patient</a></td><td>Accepted</td></tr></table></div>
        </text>
        <identifier>
          <system value="https://nhdr.gov.ph/fhir/Identifier/appointment-id"/>
          <value value="K2-APPT-0001"/>
        </identifier>
        <status value="booked"/>
        <created value="2026-03-01T08:30:00+08:00"/>
        <participant>
          <actor>
            <reference value="Patient/K1-Patient"/>
            <display value="Patient"/>
          </actor>
          <status value="Accepted"/>
        </participant>
      </Appointment>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Appointment"/>
    </request>
  </entry>
</Bundle>