PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@2.1.5
    http://nictiz.nl/fhir/StructureDefinition/zib-PainScore
description: 'This profile is derived from the HL7 Observation profile in order to add mappings from the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) PainScore version 3.1, release 2017 and to provide extensions for missing concepts if needed.\r\n\r\nThe pain score is a general measurement for pain experience, not a description of specific, localized pain.'
package_name: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: Zib PainScore
type: Observation
elements:
  identifier: {index: 0}
  code:
    elements:
      coding:
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          - {path: code, type: value}
          min: 1
          slices:
            PainScoreCode:
              match: {system: 'http://snomed.info/sct', code: '225908003'}
              schema:
                _required: true
                index: 2
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 3
                  code:
                    pattern: {type: Code, value: '225908003'}
                    index: 4
                  display: {defaultValueString: Pain score (observable entity), index: 5}
                required: [system, code]
    required: [coding]
  subject:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
    index: 6
  effectiveDateTime:
    type: dateTime
    index: 7
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, _required: true, index: 7}
          min: 1
  valueQuantity:
    type: Quantity
    index: 8
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            type: Quantity
            _required: true
            index: 8
            elements:
              value: {index: 9}
            required: [value]
  comment: {index: 10}
  bodySite:
    label: AnatomicalLocation
    index: 11
    extensions:
      Laterality:
        url: h
        type: Extension
        index: 13
        elements:
          valueCodeableConcept:
            index: 14
            slicing:
              slices:
                valueCodeableConcept:
                  match: {}
                  schema: {index: 14}
    elements:
      extension:
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Laterality:
              match: {url: null}
              schema:
                type: Extension
                url: h
                index: 13
                elements:
                  valueCodeableConcept:
                    index: 14
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {index: 14}
  method: {label: PainMeasuringMethod, index: 15}
package_version: 2.1.5
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-PainScore
base: http://fhir.nl/fhir/StructureDefinition/nl-core-observation
version: 1.0.1
required: [effectiveDateTime, method, valueQuantity]