{
  "resourceType" : "Patient",
  "id" : "ERefPatientExample",
  "meta" : {
    "profile" : ["urn://example.com/ph-ereferral/fhir/StructureDefinition/ereferral-patient"]
  },
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Juan Dela Cruz is a male patient born on 15 June 1985, residing in Barangay Malinis, Quezon City, NCR, Philippines. Contact: +639171234567. PWD ID: PWD-NCR-QC-123456 (expires 2027-03-15). Father contact: Roberto Dela Cruz.</div>"
  },
  "extension" : [{
    "extension" : [{
      "url" : "code",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "urn:iso:std:iso:3166",
          "code" : "PH",
          "display" : "Philippines"
        }]
      }
    }],
    "url" : "http://hl7.org/fhir/StructureDefinition/patient-nationality"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/patient-religion",
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation",
        "code" : "1025",
        "display" : "Jehovah's Witnesses"
      }]
    }
  },
  {
    "url" : "https://fhir.doh.gov.ph/phcore/StructureDefinition/race",
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-Race",
        "code" : "2036-2",
        "display" : "Filipino"
      }]
    }
  },
  {
    "extension" : [{
      "url" : "pwdId",
      "valueString" : "PWD-NCR-QC-123456"
    },
    {
      "url" : "disabilityType",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "urn://example.com/ph-ereferral/fhir/CodeSystem/pwd-disability-type-cs",
          "code" : "physical",
          "display" : "Physical/Orthopedic Disability"
        }]
      }
    },
    {
      "url" : "idExpirationDate",
      "valueDate" : "2027-03-15"
    }],
    "url" : "urn://example.com/ph-ereferral/fhir/StructureDefinition/ereferral-pwd-disability"
  }],
  "identifier" : [{
    "system" : "http://philhealth.gov.ph/fhir/Identifier/philhealth-id",
    "value" : "63-584789845-5"
  },
  {
    "system" : "http://philsys.gov.ph/fhir/Identifier/philsys-id",
    "value" : "1234-5678-9012-3456"
  }],
  "active" : true,
  "name" : [{
    "use" : "official",
    "family" : "Dela Cruz",
    "given" : ["Juan",
    "Dela Fuente"]
  }],
  "telecom" : [{
    "system" : "phone",
    "value" : "+639171234567",
    "use" : "mobile"
  },
  {
    "system" : "email",
    "value" : "juandelacruz@example.com",
    "use" : "home"
  }],
  "gender" : "male",
  "birthDate" : "1985-06-15",
  "address" : [{
    "extension" : [{
      "url" : "https://fhir.doh.gov.ph/phcore/StructureDefinition/barangay",
      "valueCoding" : {
        "system" : "https://psa.gov.ph/classification/psgc",
        "code" : "1380100001",
        "display" : "Barangay 1"
      }
    },
    {
      "url" : "https://fhir.doh.gov.ph/phcore/StructureDefinition/city-municipality",
      "valueCoding" : {
        "system" : "https://psa.gov.ph/classification/psgc",
        "code" : "1380200000",
        "display" : "City of Las Piñas"
      }
    },
    {
      "url" : "https://fhir.doh.gov.ph/phcore/StructureDefinition/province",
      "valueCoding" : {
        "system" : "https://psa.gov.ph/classification/psgc",
        "code" : "0402100000",
        "display" : "Cavite"
      }
    }],
    "use" : "home",
    "type" : "physical",
    "line" : ["123 Mabini Street"],
    "postalCode" : "1100",
    "country" : "PH"
  }],
  "contact" : [{
    "relationship" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
        "code" : "FTH",
        "display" : "Father"
      }]
    }],
    "name" : {
      "use" : "official",
      "family" : "Dela Cruz",
      "given" : ["Roberto"]
    },
    "telecom" : [{
      "system" : "phone",
      "value" : "+639189876543",
      "use" : "mobile"
    }]
  }]
}