PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-elm@1.14.0
    http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-patient
description: This CH ELM base profile constrains the Patient resource for the purpose of laboratory orders and test reports.
package_name: ch.fhir.ig.ch-elm
derivation: constraint
name: ChElmPatient
type: Patient
elements:
  identifier:
    mustSupport: true
    array: true
    max: 2
    index: 0
    slicing:
      slices:
        EPR-SPID:
          match: {}
          schema: {index: 1}
          max: 0
        AHVN13:
          match: {}
          schema: {short: OASI Number Switzerland, mustSupport: true, index: 2}
          max: 1
        LocalPid:
          match: {}
          schema: {index: 3}
          max: 1
        insuranceCardNumber:
          match: {}
          schema: {index: 4}
          max: 0
        IDN:
          match: {}
          schema:
            short: IDN Liechtenstein
            type: Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value: {system: 'urn:oid:2.16.438.10.20.10.10.1.2.1'}
            index: 5
          min: 0
          max: 1
  name:
    type: HumanName
    short: Whether the personal data is transmitted by using initials, full name or a special combination is described under 'Guidance - Personal Data (Patient Name)'
    index: 6
    elements:
      family: {short: masked when using HIV/VCT-extensions or unknown (see IG guidance)., maxLength: 100, index: 7}
      given: {short: masked when using HIV/VCT-extensions or unknown (see IG guidance)., maxLength: 100, index: 8}
    required: [given, family]
  telecom:
    index: 9
    slicing:
      slices:
        phone:
          match: {}
          schema:
            index: 9
            elements:
              value: {maxLength: 25, index: 10}
  gender: {index: 11}
  birthDate:
    index: 12
    extensions:
      dataabsentreason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.3.0', min: 0, max: 1, type: Extension, index: 14}
    elements:
      extension:
        index: 13
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            dataabsentreason:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.3.0', index: 14}
              min: 0
              max: 1
  address:
    mustSupport: true
    index: 15
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: null
      max: 1
      slices:
        home:
          match: {use: home}
          schema:
            short: Residential address
            mustSupport: true
            index: 16
            elements:
              use:
                pattern: {type: Code, value: home}
                index: 17
              line:
                index: 18
                extensions:
                  streetName:
                    url: null
                    index: 19
                    elements:
                      value:
                        maxLength: 100
                        choices: []
                        index: 21
                  houseNumber:
                    url: null
                    index: 22
                    elements:
                      value:
                        maxLength: 10
                        choices: []
                        index: 24
                elements:
                  extension:
                    index: 19
                    slicing:
                      slices:
                        streetName:
                          match: {}
                          schema:
                            index: 19
                            elements:
                              value:
                                maxLength: 100
                                choices: []
                                index: 21
                        houseNumber:
                          match: {}
                          schema:
                            index: 22
                            elements:
                              value:
                                maxLength: 10
                                choices: []
                                index: 24
              city: {maxLength: 50, mustSupport: true, index: 25}
              state: {short: sub-unit of country. canton-abbreviation is expected for a Swiss or Liechtenstein address., mustSupport: true, index: 26}
              postalCode: {maxLength: 10, mustSupport: true, index: 27}
              country:
                mustSupport: true
                index: 28
                extensions:
                  countrycode:
                    url: null
                    index: 29
                    elements:
                      value:
                        choices: []
                        index: 31
                  country-deprecated:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding|5.3.0
                    type: Extension
                    index: 32
                    elements:
                      value:
                        choices: []
                        index: 34
                elements:
                  extension:
                    index: 29
                    slicing:
                      slices:
                        countrycode:
                          match: {}
                          schema:
                            index: 29
                            elements:
                              value:
                                choices: []
                                index: 31
                        country-deprecated:
                          match: {}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding|5.3.0
                            index: 32
                            elements:
                              value:
                                choices: []
                                index: 34
            required: [use]
package_version: 1.14.0
class: profile
kind: resource
url: http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-patient
base: http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-patient
version: 1.14.0
required: [gender, name, birthDate]