PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@core-4.0.0-ballot
    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.\nThe CH Core Patient is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements in Switzerland. \nSee also [BFS](https://www.bfs.admin.ch/bfs/de/home/register/personenregister/registerharmonisierung/nomenklaturen.html) for further information
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHCorePatient
type: Patient
elements:
  address: {type: Address, index: 23}
  name: {type: HumanName, index: 12}
  birthDate: {index: 20}
  deceased:
    choices: []
    index: 22
  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, source: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient', severity: error, expression: '((extension.where(url=''code'').value.coding.code.length()=2) and extension.where(url=''code'').value.coding.code.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-2'')) or ((extension.where(url=''code'').value.coding.code.length() = 3) and extension.where(url=''code'').value.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: 37
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: preferred, type: value}
      min: null
      slices:
        languageOfCorrespondence:
          match: {preferred: true}
          schema:
            short: Language of correspondence
            index: 38
            elements:
              preferred:
                pattern: {type: Boolean, value: true}
                index: 39
            required: [preferred]
  identifier:
    index: 5
    elements:
      system: {index: 6}
      value: {index: 7}
    required: [value, system]
    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
            array: true
            pattern:
              type: Identifier
              value: {system: 'urn:oid:2.16.756.5.30.1.127.3.10.3'}
            index: 8
          min: 0
        AHVN13:
          match: {system: 'urn:oid:2.16.756.5.32'}
          schema:
            short: AHVN13 / NAVS13 of the patient (13 digits starting with 756, no separation points)
            type: Identifier
            array: true
            pattern:
              type: Identifier
              value: {system: 'urn:oid:2.16.756.5.32'}
            index: 9
          min: 0
        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: 10
          min: 0
        insuranceCardNumber:
          match: {system: 'urn:oid:2.16.756.5.30.1.123.100.1.1.1'}
          schema:
            short: Insurance card number of the patient (20 digits)
            type: Identifier
            array: true
            pattern:
              type: Identifier
              value: {system: 'urn:oid:2.16.756.5.30.1.123.100.1.1.1'}
            index: 11
          min: 0
  telecom:
    index: 13
    elements:
      system: {index: 14}
      value: {index: 15}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        email:
          match: {system: null}
          schema: {type: ContactPoint, array: true, index: 16}
          min: 0
        phone:
          match: {system: null}
          schema: {type: ContactPoint, array: true, index: 17}
          min: 0
        internet:
          match: {system: null}
          schema: {type: ContactPoint, array: true, index: 18}
          min: 0
  gender: {short: male | female | other, index: 19}
  maritalStatus:
    binding: {strength: extensible, valueSet: 'http://fhir.ch/ig/ch-core/ValueSet/ch-core-maritalstatus'}
    index: 24
    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: 25}
    elements:
      extension:
        type: Extension
        short: MaritalData Separation
        url: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-maritaldata-separation
        index: 25
        slicing:
          slices:
            maritalDataSeparation:
              match: {}
              schema: {type: Extension, short: MaritalData Separation, url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-maritaldata-separation', index: 25}
              min: 0
              max: 1
  contact:
    index: 26
    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: 27
            elements:
              relationship:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: contactData, system: 'http://fhir.ch/ig/ch-core/CodeSystem/ech-11'}
                index: 28
              telecom: {index: 29}
              address: {type: Address, index: 30}
            required: [relationship, address]
        nameOfFather:
          match:
            relationship:
              coding:
              - {code: FTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
          schema:
            short: Name of father
            index: 31
            elements:
              relationship:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: FTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                index: 32
              name: {index: 33}
            required: [relationship, name]
        nameOfMother:
          match:
            relationship:
              coding:
              - {code: MTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
          schema:
            short: Name of mother
            index: 34
            elements:
              relationship:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                index: 35
              name: {index: 36}
            required: [relationship, name]
package_version: core-4.0.0-ballot
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, source: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient', severity: error, expression: '((extension.where(url=''code'').value.coding.code.length()=2) and extension.where(url=''code'').value.coding.code.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-2'')) or ((extension.where(url=''code'').value.coding.code.length() = 3) and extension.where(url=''code'').value.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: 4.0.0-ballot