PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.7.0-Expansions
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Pain_Scale_Score
description: Dieses Profil bildet einen Score für einen Schmerz anhand einer Skala ab.
package_name: kbv.basis
derivation: constraint
name: KBV_PR_Base_Observation_Pain_Scale_Score
type: Observation
elements:
  category:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        survey:
          match:
            coding:
            - {code: survey, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: survey, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            _required: true
            index: 1
          min: 1
          max: 1
  referenceRange:
    index: 50
    elements:
      low:
        index: 51
        elements:
          value: {index: 52}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 53
      high:
        index: 54
        elements:
          value: {index: 55}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 56
      type:
        index: 57
        elements:
          coding: {index: 58}
      text: {index: 59}
  value[x]:
    elements:
      coding: {index: 28}
  interpretation:
    index: 29
    elements:
      coding: {index: 30}
      text: {index: 31}
  method:
    index: 46
    elements:
      coding: {index: 47}
      text: {index: 48}
  specimen: {index: 49}
  valueQuantity:
    type: Quantity
    pattern:
      type: Quantity
      value: {code: '1', system: 'http://unitsofmeasure.org'}
    choiceOf: value
    index: 20
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            type: Quantity
            pattern:
              type: Quantity
              value: {code: '1', system: 'http://unitsofmeasure.org'}
            choiceOf: value
            index: 20
          min: 0
          max: 1
  value:
    choices: [valueCodeableConcept]
    index: 26
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 26
          min: 0
          max: 1
  component:
    index: 60
    elements:
      code: {index: 61}
      value:
        choices: []
        index: 63
      interpretation: {index: 64}
      referenceRange:
        index: 65
        elements:
          low:
            index: 66
            elements:
              value: {index: 67}
          high:
            index: 68
            elements:
              value: {index: 69}
          text:
            pattern: {type: String, value: Hier wird ein Freitext eingetragen.}
            index: 70
  note:
    index: 32
    elements:
      author:
        choices: [authorString]
        index: 39
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 39
              min: 0
              max: 1
      authorReference:
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.7.0']
        type: Reference
        choiceOf: author
        index: 37
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.7.0']
                type: Reference
                choiceOf: author
                index: 37
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 40
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 40}
              min: 0
              max: 1
      time: {index: 41}
      text: {index: 42}
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 13}
  effective:
    choices: [effectiveDateTime]
    index: 12
  code:
    index: 2
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Pain_Scale_SNOMED_CT'}
                array: true
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 5
                  version: {index: 6}
                  code: {index: 7}
                  display: {index: 8}
                required: [version, display, system, code]
      text: {index: 9}
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 27
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 27}
          min: 0
          max: 1
  bodySite:
    index: 43
    elements:
      coding: {index: 44}
      text: {index: 45}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Patient', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Device|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0']
    index: 10
package_version: 1.7.0-Expansions
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Pain_Scale_Score
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.7.0
required: [subject, category]