PH Core Implementation Guide
0.1.0 - ci-build Philippines flag

PH Core Implementation Guide, published by UP Manila SILab. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/UP-Manila-SILab/ph-core/ and changes regularly. See the Directory of published versions

: transaction-ex - XML Representation

Raw xml | Download


<Bundle xmlns="http://hl7.org/fhir">
  <id value="transaction-ex"/>
  <type value="transaction"/>
  <entry>
    <fullUrl value="urn:uuid:64eb2d39-8da6-4c1d-b4c7-a6d3e916cd5b"/>
    <resource>
      <Patient>
        <id value="example-patient"/>
        <meta>
          <profile
                   value="urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">Juan Dela Cruz is a male patient born on 1 January 1980, residing in Manila, NCR, Philippines.</div>
        </text>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/patient-nationality">
          <extension url="code">
            <valueCodeableConcept>
              <coding>
                <system value="urn:iso:std:iso:3166"/>
                <code value="PH"/>
                <display value="Philippines"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <extension url="period">
            <valuePeriod>
              <start value="2020-01-01"/>
              <end value="2023-01-01"/>
            </valuePeriod>
          </extension>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/patient-religion">
          <valueCodeableConcept>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"/>
              <code value="1007"/>
              <display value="Atheism"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="urn://example.com/ph-core/fhir/StructureDefinition/indigenous-people">
          <valueBoolean value="true"/>
        </extension>
        <extension
                   url="urn://example.com/ph-core/fhir/StructureDefinition/indigenous-group">
          <valueCodeableConcept>
            <coding>
              <system
                      value="urn://example.com/ph-core/fhir/CodeSystem/indigenous-groups"/>
              <code value="Ilongots"/>
              <display value="Ilongots"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="urn://example.com/ph-core/fhir/StructureDefinition/race">
          <valueCodeableConcept>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v3-Race"/>
              <code value="2036-2"/>
              <display value="Filipino"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <identifier>
          <system
                  value="urn://example.com/ph-core/fhir/NamingSystem/philhealth-id-ns"/>
          <value value="63-584789845-5"/>
        </identifier>
        <active value="true"/>
        <name>
          <family value="Dela Cruz"/>
          <given value="Juan Jane"/>
          <given value="Dela Fuente"/>
        </name>
        <gender value="male"/>
        <birthDate value="1985-06-15"/>
        <address>
          <extension
                     url="urn://example.com/ph-core/fhir/StructureDefinition/city-municipality">
            <valueCoding>
              <system value="urn://example.com/ph-core/fhir/CodeSystem/PSGC"/>
              <code value="1380200000"/>
              <display value="City of Las PiƱas"/>
            </valueCoding>
          </extension>
          <extension
                     url="urn://example.com/ph-core/fhir/StructureDefinition/city-municipality">
            <valueCoding>
              <system value="urn://example.com/ph-core/fhir/CodeSystem/PSGC"/>
              <code value="1380100000"/>
              <display value="City of Caloocan"/>
            </valueCoding>
          </extension>
          <extension
                     url="urn://example.com/ph-core/fhir/StructureDefinition/province">
            <valueCoding>
              <system value="urn://example.com/ph-core/fhir/CodeSystem/PSGC"/>
              <code value="0402100000"/>
              <display value="Cavite"/>
            </valueCoding>
          </extension>
          <extension
                     url="urn://example.com/ph-core/fhir/StructureDefinition/province">
            <valueCoding>
              <system value="urn://example.com/ph-core/fhir/CodeSystem/PSGC"/>
              <code value="0403400000"/>
              <display value="Laguna"/>
            </valueCoding>
          </extension>
          <extension
                     url="urn://example.com/ph-core/fhir/StructureDefinition/province">
            <valueCoding>
              <system value="urn://example.com/ph-core/fhir/CodeSystem/PSGC"/>
              <code value="0405800000"/>
              <display value="Rizal"/>
            </valueCoding>
          </extension>
          <extension
                     url="urn://example.com/ph-core/fhir/StructureDefinition/province">
            <valueCoding>
              <system value="urn://example.com/ph-core/fhir/CodeSystem/PSGC"/>
              <code value="1704000000"/>
              <display value="Marinduque"/>
            </valueCoding>
          </extension>
          <extension
                     url="urn://example.com/ph-core/fhir/StructureDefinition/province">
            <valueCoding>
              <system value="urn://example.com/ph-core/fhir/CodeSystem/PSGC"/>
              <code value="0402100000"/>
              <display value="Cavite"/>
            </valueCoding>
          </extension>
          <extension
                     url="urn://example.com/ph-core/fhir/StructureDefinition/province">
            <valueCoding>
              <system value="urn://example.com/ph-core/fhir/CodeSystem/PSGC"/>
              <code value="1705100000"/>
              <display value="Occidental Mindoro"/>
            </valueCoding>
          </extension>
          <line value="123 Mabini Street"/>
          <line value="Barangay Malinis"/>
          <city value="Quezon City"/>
          <district value="NCR"/>
          <postalCode value="1100"/>
          <country value="PH"/>
        </address>
      </Patient>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Patient"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:60b7132e-7cfd-44bc-83c2-de140dc8aaae"/>
    <resource>
      <Encounter>
        <id value="example-encounter"/>
        <meta>
          <profile
                   value="urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">An ambulatory encounter for Juan Dela Cruz that has been completed.</div>
        </text>
        <status value="finished"/>
        <class>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
          <code value="AMB"/>
          <display value="ambulatory"/>
        </class>
        <subject>
          <reference value="urn:uuid:64eb2d39-8da6-4c1d-b4c7-a6d3e916cd5b"/>
        </subject>
      </Encounter>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Encounter"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:1a391d1e-a068-479a-88e3-e3d52c3a6f64"/>
    <resource>
      <Condition>
        <id value="example-condition"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">Juan Dela Cruz has an active diagnosis of Type 2 Diabetes Mellitus.</div>
        </text>
        <clinicalStatus>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
            <code value="active"/>
            <display value="Active"/>
          </coding>
        </clinicalStatus>
        <code>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="44054006"/>
            <display value="Diabetes mellitus type 2"/>
          </coding>
        </code>
        <subject>
          <reference value="urn:uuid:64eb2d39-8da6-4c1d-b4c7-a6d3e916cd5b"/>
        </subject>
        <encounter>
          <reference value="urn:uuid:60b7132e-7cfd-44bc-83c2-de140dc8aaae"/>
        </encounter>
      </Condition>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Condition"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:024dcb47-cc23-407a-839b-b4634e95abae"/>
    <resource>
      <Medication>
        <id value="example-medication"/>
        <meta>
          <profile
                   value="urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">A medication resource has been created, but no specific details are provided.</div>
        </text>
      </Medication>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Medication"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:013f46df-f245-4a2f-beaf-9eb2c47fb1a3"/>
    <resource>
      <Observation>
        <id value="blood-pressure"/>
        <meta>
          <profile
                   value="urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation"/>
          <profile
                   value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/bp"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">On 17 September 2012, a blood pressure observation was recorded for Juan Dela Cruz. The systolic pressure was 107 mmHg (Normal), and the diastolic pressure was 60 mmHg (Below low normal). The measurement was taken from the right arm and performed by a practitioner.</div>
        </text>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:uuid:187e0c12-8dd2-67e2-99b2-bf273c878281"/>
        </identifier>
        <basedOn>
          <identifier>
            <system value="https://acme.org/identifiers"/>
            <value value="1234"/>
          </identifier>
        </basedOn>
        <status value="final"/>
        <category>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <code value="vital-signs"/>
            <display value="Vital Signs"/>
          </coding>
        </category>
        <code>
          <coding>
            <system value="http://loinc.org"/>
            <code value="85354-9"/>
            <display value="Blood pressure panel with all children optional"/>
          </coding>
          <text value="Blood pressure systolic &amp; diastolic"/>
        </code>
        <subject>
          <reference value="urn:uuid:64eb2d39-8da6-4c1d-b4c7-a6d3e916cd5b"/>
        </subject>
        <effectiveDateTime value="2012-09-17"/>
        <performer>
          <reference value="urn:uuid:a036fd4c-c950-497b-8905-0d2c5ec6f1d4"/>
        </performer>
        <interpretation>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>
            <code value="L"/>
            <display value="Low"/>
          </coding>
          <text value="Below low normal"/>
        </interpretation>
        <bodySite>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="368209003"/>
            <display value="Right arm"/>
          </coding>
        </bodySite>
        <component>
          <code>
            <coding>
              <system value="http://loinc.org"/>
              <code value="8480-6"/>
              <display value="Systolic blood pressure"/>
            </coding>
          </code>
          <valueQuantity>
            <value value="107"/>
            <unit value="mmHg"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mm[Hg]"/>
          </valueQuantity>
          <interpretation>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>
              <code value="N"/>
              <display value="Normal"/>
            </coding>
            <text value="Normal"/>
          </interpretation>
        </component>
        <component>
          <code>
            <coding>
              <system value="http://loinc.org"/>
              <code value="8462-4"/>
              <display value="Diastolic blood pressure"/>
            </coding>
          </code>
          <valueQuantity>
            <value value="60"/>
            <unit value="mmHg"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mm[Hg]"/>
          </valueQuantity>
          <interpretation>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>
              <code value="L"/>
              <display value="Low"/>
            </coding>
            <text value="Below low normal"/>
          </interpretation>
        </component>
      </Observation>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Observation"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:b43c67e7-d9c4-48bb-a1b4-55769eeb9066"/>
    <resource>
      <AllergyIntolerance>
        <id value="example-allergy"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">Juan Dela Cruz has a high criticality, active allergy to Benethamine penicillin.</div>
        </text>
        <clinicalStatus>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
            <code value="active"/>
            <display value="Active"/>
          </coding>
        </clinicalStatus>
        <criticality value="high"/>
        <code>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="294494002"/>
            <display value="Benethamine penicillin allergy"/>
          </coding>
        </code>
        <patient>
          <reference value="urn:uuid:64eb2d39-8da6-4c1d-b4c7-a6d3e916cd5b"/>
        </patient>
      </AllergyIntolerance>
    </resource>
    <request>
      <method value="POST"/>
      <url value="AllergyIntolerance"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:a036fd4c-c950-497b-8905-0d2c5ec6f1d4"/>
    <resource>
      <Practitioner>
        <id value="example-practitioner"/>
        <meta>
          <profile
                   value="urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">Dr. Maria Clara Santos is a female practitioner born on May 15, 1985. She resides at 1234 Mabini Street, Manila, NCR, 1000, Philippines. She can be contacted via mobile at +63-912-345-6789 or by email at maria.santos@example.ph.</div>
        </text>
        <name>
          <family value="Santos"/>
          <given value="Maria"/>
          <given value="Clara"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="+63-912-345-6789"/>
          <use value="mobile"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="maria.santos@example.ph"/>
          <use value="work"/>
        </telecom>
        <address>
          <use value="home"/>
          <line value="1234 Mabini Street"/>
          <city value="Manila"/>
          <state value="NCR"/>
          <postalCode value="1000"/>
          <country value="PH"/>
        </address>
        <gender value="female"/>
        <birthDate value="1985-05-15"/>
      </Practitioner>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Practitioner"/>
    </request>
  </entry>
</Bundle>