PackagesCanonicalsLogsProblems
    Packages
    hl7se.fhir.base@1.1.0
    http://hl7.se/fhir/ig/base/StructureDefinition/SEBasePatient
description: This is the base Patient profile to be used when profiling on Patient in a Swedish context
package_name: hl7se.fhir.base
derivation: constraint
name: SEBasePatient
type: Patient
elements:
  meta:
    elements:
      security:
        elements:
          code:
            binding: {strength: extensible, valueSet: 'http://hl7.se/fhir/ig/base/ValueSet/SecurityLabelVS'}
            index: 0
  identifier:
    index: 1
    slicing:
      rules: open
      description: Slice for Swedish patient identifier types
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        personnummer:
          match: {system: 'http://electronichealth.se/identifier/personnummer'}
          schema:
            index: 2
            elements:
              system:
                pattern: {type: uri, value: 'http://electronichealth.se/identifier/personnummer'}
                type: uri
                index: 3
            required: [system]
        samordningsnummer:
          match: {system: 'http://electronichealth.se/identifier/samordningsnummer'}
          schema:
            index: 4
            elements:
              system:
                pattern: {type: uri, value: 'http://electronichealth.se/identifier/samordningsnummer'}
                type: uri
                index: 5
            required: [system]
        nationelltReservnummer:
          match: {system: 'http://electronichealth.se/identifier/nationelltReservnummer'}
          schema:
            index: 6
            elements:
              system:
                pattern: {type: uri, value: 'http://electronichealth.se/identifier/nationelltReservnummer'}
                type: uri
                index: 7
            required: [system]
  name: {type: HumanName, index: 8}
  address:
    extensions:
      officialAddressType: {url: 'http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseAddressPersonExtension', min: 0, max: 1, type: Extension, index: 9}
    elements:
      extension:
        type: Extension
        url: http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseAddressPersonExtension
        index: 9
        slicing:
          slices:
            officialAddressType:
              match: {}
              schema: {type: Extension, url: 'http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseAddressPersonExtension', index: 9}
              min: 0
              max: 1
  maritalStatus:
    binding: {strength: extensible, valueSet: 'http://hl7.se/fhir/ig/base/ValueSet/SEBaseMaritalStatusVS'}
    index: 10
package_version: 1.1.0
class: profile
kind: resource
url: http://hl7.se/fhir/ig/base/StructureDefinition/SEBasePatient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.0