PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-epr-mhealth@1.0.0
    http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-pixm-patient
description: The patient demographics and identifier information which can be provided in the PIXm Feed according to the EPR. If the patient is already registered in a community, the MPI-PID SHALL be provided as an identifier. The EPR-SPID as an identifier MAY be added. The birthname can be added with the  ISO 21090 qualifier extension.
package_name: ch.fhir.ig.ch-epr-mhealth
derivation: constraint
name: CHPIXmPatientFeed
type: Patient
elements:
  extension:
    type: Extension
    url: http://hl7.org/fhir/StructureDefinition/patient-religion
    index: 0
    slicing:
      slices:
        religion:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-religion', index: 0}
          min: 0
          max: 0
  identifier:
    mustSupport: true
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        EPR-SPID:
          match: {}
          schema: {mustSupport: true, index: 2}
          min: 0
          max: 1
        LocalPid:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            array: true
            min: 1
            _required: true
            index: 3
          min: 1
  name:
    mustSupport: true
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: profile}
      min: 1
      slices:
        HumanName:
          match: {}
          schema: {type: HumanName, short: A name associated with the patient, mustSupport: true, array: true, min: 1, _required: true, index: 5}
          min: 1
        BirthName:
          match: {}
          schema: {short: The birthname of the patient, type: HumanName, mustSupport: true, index: 6}
          min: 0
          max: 1
  managingOrganization:
    type: Reference
    short: Provider organization of the patient
    mustSupport: true
    refers: ['http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-pixm-provider-organization']
    index: 7
package_version: 1.0.0
extensions:
  religion: {url: 'http://hl7.org/fhir/StructureDefinition/patient-religion', min: 0, max: 0, type: Extension, index: 0}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-pixm-patient
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient
version: 1.0.0
required: [name, identifier]