PackagesCanonicalsLogsProblems
    Packages
    rs/hl7se.fhir.base@1.0.0
    http://hl7.se/fhir/ig/base/StructureDefinition/SEBasePractitioner
description: This is the base Practitioner profile to be used when profiling on Practitioner in a Swedish context
package_name: rs/hl7se.fhir.base
derivation: constraint
name: SEBasePractitioner
type: Practitioner
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      description: Slice for swedish practitioner ID
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        hsaid:
          match: {system: 'urn:oid:1.2.752.29.4.19'}
          schema:
            index: 1
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PRN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                type: CodeableConcept
                index: 2
              system:
                pattern: {type: uri, value: 'urn:oid:1.2.752.29.4.19'}
                type: uri
                index: 3
            required: [system]
  name: {type: HumanName, index: 4}
  address:
    extensions:
      officialAddressType: {url: 'http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseAddressPersonExtension', min: 0, max: 1, type: Extension, index: 5}
    elements:
      extension:
        type: Extension
        url: http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseAddressPersonExtension
        index: 5
        slicing:
          slices:
            officialAddressType:
              match: {}
              schema: {type: Extension, url: 'http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseAddressPersonExtension', index: 5}
              min: 0
              max: 1
  qualification:
    elements:
      identifier:
        index: 6
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            prescriber:
              match: {system: 'urn:oid:1.2.752.116.3.1.2'}
              schema:
                index: 7
                elements:
                  system:
                    pattern: {type: uri, value: 'urn:oid:1.2.752.116.3.1.2'}
                    type: uri
                    index: 8
                required: [system]
            legitimation:
              match: {system: 'urn:oid:1.2.752.116.3.1.1'}
              schema:
                index: 9
                elements:
                  system:
                    pattern: {type: uri, value: 'urn:oid:1.2.752.116.3.1.1'}
                    type: uri
                    index: 10
                required: [system]
      code:
        elements:
          coding:
            index: 11
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                hosp:
                  match: {system: null}
                  schema:
                    index: 12
                    elements:
                      code:
                        binding: {strength: required, valueSet: 'http://hl7.se/fhir/ig/base/ValueSet/SEBaseHOSPLegitimationsYrkeVS'}
                        index: 13
                sosnyk:
                  match: {system: null}
                  schema:
                    index: 14
                    elements:
                      code:
                        binding: {strength: required, valueSet: 'http://hl7.se/fhir/ig/base/ValueSet/SEBaseSOSNYKVS'}
                        index: 15
                skr-yrke:
                  match: {system: null}
                  schema:
                    index: 16
                    elements:
                      code:
                        binding: {strength: extensible, valueSet: 'http://hl7.se/fhir/ig/base/ValueSet/SEBaseSKRYrkeVS'}
                        index: 17
                hsa-befattning:
                  match: {system: null}
                  schema:
                    binding: {strength: required, valueSet: 'http://hl7.se/fhir/ig/base/ValueSet/SEBaseHSABefattningVS'}
                    index: 18
                  min: 0
                  max: 1
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.se/fhir/ig/base/StructureDefinition/SEBasePractitioner
base: http://hl7.org/fhir/StructureDefinition/Practitioner
version: 1.0.0