PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-core@3.0.0
    http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient
description: Core patient definition in the swiss context. Relevant are definitions by the eCH-0010 V7.0 data standard mailing address and eCH-0011 V8.1 data standard pesond data and CDA-CH V2 definitions. The CH Core Patient is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements in Switzerland.  See also [BFS](https://www.bfs.admin.ch/bfs/de/home/register/personenregister/registerharmonisierung/nomenklaturen.html) for further information
package_name: ch.fhir.ig.ch-core
derivation: constraint
name: CHCorePatient
type: Patient
elements:
  address: {type: Address, index: 20}
  deceasedDateTime: {type: dateTime, choiceOf: deceased, index: 19}
  deceasedBoolean: {type: boolean, choiceOf: deceased, index: 18}
  name: {type: HumanName, index: 12}
  birthDate: {index: 15}
  deceased:
    choices: [deceasedBoolean, deceasedDateTime]
    index: 17
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        placeOfBirth:
          match: {url: null}
          schema: {type: Extension, short: Place of birth of patient, url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeofbirth', index: 1}
          min: 0
          max: 1
        placeOfOrigin:
          match: {url: null}
          schema: {type: Extension, short: Place of origin(s) of patient, url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin', index: 2}
          min: 0
        citizenship:
          match: {url: null}
          schema:
            constraint:
              ch-pat-3: {human: ISO Country Alpha-2 or ISO Country Alpha-3 code, severity: error, expression: '((extension.where(url=''code'').valueCodeableConcept.coding.code.length()=2) and extension.where(url=''code'').valueCodeableConcept.coding.code.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-2'')) or ((extension.where(url=''code'').valueCodeableConcept.coding.code.length() = 3) and extension.where(url=''code'').valueCodeableConcept.coding.code.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-3''))'}
            short: Citizenship(s) of patient
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-citizenship
            index: 3
          min: 0
        religion:
          match: {url: null}
          schema: {type: Extension, short: Religion of patient, url: 'http://hl7.org/fhir/StructureDefinition/patient-religion', index: 4}
          min: 0
          max: 1
  communication:
    index: 36
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: preferred, type: value}
      min: null
      slices:
        languageOfCorrespondence:
          match: {preferred: true}
          schema:
            short: Language of correspondence
            index: 37
            elements:
              language: {index: 38}
              preferred:
                pattern: {type: Boolean, value: true}
                index: 39
            required: [preferred]
  identifier:
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        EPR-SPID:
          match: {system: 'urn:oid:2.16.756.5.30.1.127.3.10.3'}
          schema:
            short: EPR-SPID
            type: Identifier
            pattern:
              type: Identifier
              value: {system: 'urn:oid:2.16.756.5.30.1.127.3.10.3'}
            index: 6
          min: 0
          max: 1
        AHVN13:
          match: {system: 'urn:oid:2.16.756.5.32'}
          schema:
            short: AHVN13 / NAVS13
            type: Identifier
            pattern:
              type: Identifier
              value: {system: 'urn:oid:2.16.756.5.32'}
            index: 7
            elements:
              value: {short: 'AHVN13 / NAVS13 of the patient (13 digits starting with 756, no separation points)', index: 8}
            required: [value]
        LocalPid:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Local patient identifier(s)
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            array: true
            index: 9
            elements:
              system: {index: 10}
              value: {index: 11}
            required: [value, system]
  telecom: {index: 13}
  gender: {short: male | female | other, index: 14}
  maritalStatus:
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-core/ValueSet/ch-core-maritalstatus'}
    index: 21
    extensions:
      maritalDataSeparation: {url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-maritaldata-separation', min: 0, max: 1, type: Extension, short: MaritalData Separation, index: 23}
    elements:
      extension:
        index: 22
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            maritalDataSeparation:
              match: {url: null}
              schema: {type: Extension, short: MaritalData Separation, url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-maritaldata-separation', index: 23}
              min: 0
              max: 1
  contact:
    index: 24
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: relationship, type: value}
      min: null
      slices:
        contact:
          match:
            relationship:
              coding:
              - {code: contactData, system: 'http://fhir.ch/ig/ch-core/CodeSystem/ech-11'}
          schema:
            short: Contact data if it is not address of patient
            index: 25
            elements:
              relationship:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: contactData, system: 'http://fhir.ch/ig/ch-core/CodeSystem/ech-11'}
                index: 26
              name: {index: 27}
              telecom: {index: 28}
              address: {type: Address, index: 29}
            required: [address]
        nameOfFather:
          match:
            relationship:
              coding:
              - {code: FTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
          schema:
            short: Name of father
            index: 30
            elements:
              relationship:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: FTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                index: 31
              name: {index: 32}
            required: [name]
        nameOfMother:
          match:
            relationship:
              coding:
              - {code: MTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
          schema:
            short: Name of mother
            index: 33
            elements:
              relationship:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                index: 34
              name: {index: 35}
            required: [name]
package_version: 3.0.0
extensions:
  placeOfBirth: {url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeofbirth', min: 0, max: 1, type: Extension, short: Place of birth of patient, index: 1}
  placeOfOrigin: {url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin', min: 0, type: Extension, short: Place of origin(s) of patient, index: 2}
  citizenship:
    url: http://hl7.org/fhir/StructureDefinition/patient-citizenship
    min: 0
    constraint:
      ch-pat-3: {human: ISO Country Alpha-2 or ISO Country Alpha-3 code, severity: error, expression: '((extension.where(url=''code'').valueCodeableConcept.coding.code.length()=2) and extension.where(url=''code'').valueCodeableConcept.coding.code.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-2'')) or ((extension.where(url=''code'').valueCodeableConcept.coding.code.length() = 3) and extension.where(url=''code'').valueCodeableConcept.coding.code.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-3''))'}
    short: Citizenship(s) of patient
    type: Extension
    index: 3
  religion: {url: 'http://hl7.org/fhir/StructureDefinition/patient-religion', min: 0, max: 1, type: Extension, short: Religion of patient, index: 4}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 3.0.0