PackagesCanonicalsLogsProblems
    Packages
    fhir.ph.core@0.2.1
    https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-relatedperson
description: This profile localizes the FHIR R4 RelatedPerson resource to the Philippine context.
package_name: fhir.ph.core
derivation: constraint
name: PHCoreRelatedPerson
type: RelatedPerson
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        genderIdentity:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/individual-genderIdentity|5.3.0', index: 1}
          min: 0
        individualPronouns:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/individual-pronouns|5.3.0', index: 2}
          min: 0
        sex:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender|5.3.0', index: 3}
          min: 0
  identifier:
    index: 4
    slicing:
      rules: open
      ordered: false
      description: Slicing based on identifier system
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        PHCorePhilHealthID:
          match: {system: 'http://philhealth.gov.ph/fhir/Identifier/philhealth-id'}
          schema:
            short: PhilHealth ID
            mustSupport: true
            array: true
            index: 5
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: NH, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 6
              system:
                pattern: {type: Uri, value: 'http://philhealth.gov.ph/fhir/Identifier/philhealth-id'}
                index: 7
              value: {index: 8}
            required: [system]
        PHCorePhilSysID:
          match: {system: 'http://philsys.gov.ph/fhir/Identifier/philsys-id'}
          schema:
            short: PhilSys ID
            mustSupport: true
            array: true
            index: 9
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: NI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 10
              system:
                pattern: {type: Uri, value: 'http://philsys.gov.ph/fhir/Identifier/philsys-id'}
                index: 11
              value: {index: 12}
            required: [system]
  name:
    mustSupport: true
    index: 13
    elements:
      given: {short: 'First name (given[0]) and Middle Name (given[1]).', index: 14}
  telecom: {mustSupport: true, index: 15}
  address: {type: Address, mustSupport: true, index: 16}
package_version: 0.2.1
extensions:
  genderIdentity: {url: 'http://hl7.org/fhir/StructureDefinition/individual-genderIdentity|5.3.0', min: 0, type: Extension, index: 1}
  individualPronouns: {url: 'http://hl7.org/fhir/StructureDefinition/individual-pronouns|5.3.0', min: 0, type: Extension, index: 2}
  sex: {url: 'http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender|5.3.0', min: 0, type: Extension, index: 3}
class: profile
kind: resource
url: https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-relatedperson
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: 0.2.1