PackagesCanonicalsLogsProblems
    Packages
    rs/hl7se.fhir.base@1.0.0
    http://hl7.se/fhir/ig/base/StructureDefinition/SEBasePractitionerRole
description: This is the base Practitioner Role profile to be used when profiling on Practitioner Role in a Swedish context
package_name: rs/hl7se.fhir.base
derivation: constraint
name: SEBasePractitionerRole
type: PractitionerRole
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      description: Slice for swedish practitioner role ID (Medarbetaruppdrag)
      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]
  code:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        sosnyk:
          match: {system: null}
          schema:
            binding: {strength: required, valueSet: 'http://hl7.se/fhir/ig/base/ValueSet/SEBaseSOSNYKVS'}
            index: 5
          min: 0
          max: 1
        skr-yrke:
          match: {system: null}
          schema:
            binding: {strength: required, valueSet: 'http://hl7.se/fhir/ig/base/ValueSet/SEBaseSKRYrkeVS'}
            index: 6
          min: 0
          max: 1
        hsa-befattning:
          match: {system: null}
          schema:
            binding: {strength: required, valueSet: 'http://hl7.se/fhir/ig/base/ValueSet/SEBaseHSABefattningVS'}
            index: 7
          min: 0
          max: 1
  specialty:
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        sosnyk:
          match: {system: null}
          schema: {index: 9}
          min: 0
          max: 1
        skr-yrke:
          match: {system: null}
          schema:
            binding: {strength: required, valueSet: 'http://hl7.se/fhir/ig/base/ValueSet/SEBaseSKRYrkeSpecialtyVS'}
            index: 10
          min: 0
          max: 1
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.se/fhir/ig/base/StructureDefinition/SEBasePractitionerRole
base: http://hl7.org/fhir/StructureDefinition/PractitionerRole
version: 1.0.0