{
  "resourceType" : "Bundle",
  "id" : "Konsulta-RequestforAuthorizationTransactionCode",
  "identifier" : {
    "system" : "http://nhdr.gov.ph/fhir/ValueSet-form-type",
    "value" : "Request-for-Authorization-Transaction-Code"
  },
  "type" : "transaction",
  "entry" : [{
    "fullUrl" : "urn:uuid:patient-2",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "K1-Patient",
      "meta" : {
        "profile" : ["https://nhdr.gov.ph/fhir/StructureDefinition/PH-Patient"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<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:\u00a0PH-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>"
      },
      "extension" : [{
        "url" : "https://nhdr.gov.ph/fhir/StructureDefinition/PatientType",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://nhdr.gov.ph/fhir/ValueSet/PatientTypeVS",
            "code" : "MM",
            "display" : "Member"
          }]
        }
      }],
      "identifier" : [{
        "type" : {
          "text" : "PhilHealth ID"
        },
        "system" : "http://nhdr.gov.ph/fhir/Identifier/philhealth-id",
        "value" : "PH-00001"
      }],
      "name" : [{
        "family" : "Senilla",
        "given" : ["Quinn",
        "Ry"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "09456469323"
      }],
      "birthDate" : "1990-05-10",
      "address" : [{
        "extension" : [{
          "url" : "https://nhdr.gov.ph/fhir/StructureDefinition/Province",
          "valueCoding" : {
            "system" : "https://psa.gov.ph/classification/psgc",
            "code" : "036900000",
            "display" : "Tarlac"
          }
        },
        {
          "url" : "https://nhdr.gov.ph/fhir/StructureDefinition/CityMunicipality",
          "valueCoding" : {
            "system" : "https://psa.gov.ph/classification/psgc",
            "code" : "036916000",
            "display" : "Tarlac City"
          }
        },
        {
          "url" : "https://nhdr.gov.ph/fhir/StructureDefinition/Barangay",
          "valueCoding" : {
            "system" : "https://psa.gov.ph/classification/psgc",
            "code" : "036916001",
            "display" : "San Roque"
          }
        }]
      }],
      "generalPractitioner" : [{
        "reference" : "Organization/K1-Organization"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Patient"
    }
  },
  {
    "fullUrl" : "urn:uuid:organization-2",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "K2-Organization",
      "meta" : {
        "profile" : ["https://nhdr.gov.ph/fhir/StructureDefinition/PH-Organization"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "name" : "Philippine Health Insurance Corporation",
      "contact" : [{
        "name" : {
          "text" : "Dr. Maria Santos"
        }
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Organization"
    }
  },
  {
    "fullUrl" : "urn:uuid:provenance-2",
    "resource" : {
      "resourceType" : "Provenance",
      "id" : "K1-Provenance",
      "meta" : {
        "profile" : ["https://nhdr.gov.ph/fhir/StructureDefinition/PH-Provenance"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "target" : [{
        "reference" : "Patient/K1-Patient",
        "display" : "Patient"
      }],
      "recorded" : "2026-02-03T09:00:00+08:00",
      "agent" : [{
        "who" : {
          "reference" : "Organization/CF1-Organization",
          "display" : "Organization"
        }
      }],
      "signature" : [{
        "type" : [{
          "system" : "urn:iso-astm:E1762-95:2013",
          "code" : "1.2.840.10065.1.12.1.20",
          "display" : "Electronic Signature"
        }],
        "when" : "2026-02-03T10:30:00+08:00",
        "who" : {
          "reference" : "Patient/K1-Patient",
          "display" : "Patient"
        },
        "data" : "QkFTRTY0X1NJR05BVFVSRV9QQVRJRU5U"
      },
      {
        "type" : [{
          "system" : "urn:iso-astm:E1762-95:2013",
          "code" : "1.2.840.10065.1.12.1.20",
          "display" : "Electronic Signature"
        }],
        "when" : "2026-02-03T10:30:00+08:00",
        "who" : {
          "reference" : "Practitioner/K1-Practitioner",
          "display" : "Practitioner"
        },
        "data" : "QkFTRTY0X1NJR05BVFVSRV9QQVRJRU5U"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Provenance"
    }
  },
  {
    "fullUrl" : "urn:uuid:appointment-2",
    "resource" : {
      "resourceType" : "Appointment",
      "id" : "K2-Appointment",
      "meta" : {
        "profile" : ["https://nhdr.gov.ph/fhir/StructureDefinition/PH-Appointment"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "identifier" : [{
        "system" : "https://nhdr.gov.ph/fhir/Identifier/appointment-id",
        "value" : "K2-APPT-0001"
      }],
      "status" : "booked",
      "created" : "2026-03-01T08:30:00+08:00",
      "participant" : [{
        "actor" : {
          "reference" : "Patient/K1-Patient",
          "display" : "Patient"
        },
        "status" : "Accepted"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Appointment"
    }
  }]
}