PackagesCanonicalsLogsProblems
    Packages
    fhir.ph.core@0.2.0
    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:
  identifier:
    index: 0
    elements:
      use: {mustSupport: true, index: 1}
    slicing:
      rules: open
      ordered: false
      description: Slicing based on identifier system
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        PHCorePhilHealthID:
          match: {system: null}
          schema: {type: Identifier, mustSupport: true, array: true, index: 2}
          min: 0
        PHCorePhilSysID:
          match: {system: null}
          schema: {type: Identifier, mustSupport: true, array: true, index: 3}
          min: 0
  relationship:
    mustSupport: true
    index: 4
    elements:
      coding: {mustSupport: true, index: 5}
      text: {mustSupport: true, index: 6}
  name: {type: HumanName, mustSupport: true, index: 7}
  telecom: {mustSupport: true, index: 8}
  address: {type: Address, mustSupport: true, index: 9}
  communication:
    elements:
      language:
        mustSupport: true
        index: 10
        elements:
          coding: {mustSupport: true, index: 11}
          text: {mustSupport: true, index: 12}
package_version: 0.2.0
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.0