PackagesCanonicalsLogsProblems
    Packages
    kanta.sosiaalihuolto.r4@1.0.0
    https://shark.kanta.fi/fhir/StructureDefinition/extension/FunctionCode
description: Sosiaalihuollossa käytettävä laajennos, jolla ilmoitetaan sosiaalihuollon palvelutehtävä tai palvelutehtävät, joihin asiakastieto kuuluu.
package_name: kanta.sosiaalihuolto.r4
derivation: constraint
name: FunctionCode
type: Extension
elements:
  id: {index: 0}
  url:
    pattern: {type: Uri, value: 'https://shark.kanta.fi/fhir/StructureDefinition/extension/FunctionCode'}
    index: 1
  value:
    choices: [valueCodeableConcept]
    index: 3
  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 4}
  value[x]:
    elements:
      id: {index: 5}
      coding:
        short: Sosiaalihuollon palvelutehtävä
        index: 6
        slicing:
          rules: closed
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            FunctionCode:
              match: {system: 'urn:oid:1.2.246.537.6.1221.201601'}
              schema:
                short: Palvelutehtävä
                binding: {strength: required, valueSet: 'http://shark.kanta.fi/ValueSet/fishark-vs-functioncode'}
                _required: true
                index: 7
                elements:
                  id: {index: 8}
                  system:
                    pattern: {type: Uri, value: 'urn:oid:1.2.246.537.6.1221.201601'}
                    index: 9
                  version: {index: 10}
                  code: {short: Palvelutehtävän koodiarvo, index: 11}
                  display: {short: Palvelutehtävän nimi, index: 12}
                  userSelected: {index: 13}
                required: [display, system, code]
            FunctionCode2011:
              match: {system: 'urn:oid:1.2.246.537.6.1283.201101'}
              schema:
                short: Palvelutehtävä 2011
                binding: {strength: required, valueSet: 'http://shark.kanta.fi/ValueSet/fishark-vs-functioncode2011'}
                index: 14
                elements:
                  id: {index: 15}
                  system:
                    pattern: {type: Uri, value: 'urn:oid:1.2.246.537.6.1283.201101'}
                    index: 16
                  version: {index: 17}
                  code: {short: Palvelutehtävän koodiarvo, index: 18}
                  display: {short: Palvelutehtävän nimi, index: 19}
                  userSelected: {index: 20}
                required: [display, system, code]
            FunctionCode1989:
              match: {system: 'urn:oid:1.2.246.537.6.1259.201601'}
              schema:
                short: Palvelutehtävä 1989
                binding: {strength: required, valueSet: 'http://shark.kanta.fi/ValueSet/fishark-vs-functioncode1989'}
                index: 21
                elements:
                  id: {index: 22}
                  system:
                    pattern: {type: Uri, value: 'urn:oid:1.2.246.537.6.1259.201601'}
                    index: 23
                  version: {index: 24}
                  code: {short: Palvelutehtävän koodiarvo, index: 25}
                  display: {short: Palvelutehtävän nimi, index: 26}
                  userSelected: {index: 27}
                required: [display, system, code]
      text: {index: 28}
    required: [coding]
package_version: 1.0.0
class: extension
kind: complex-type
url: https://shark.kanta.fi/fhir/StructureDefinition/extension/FunctionCode
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0
required: [value, valueCodeableConcept]