PackagesCanonicalsLogsProblems
    Packages
    medcom.fhir.dk.homecareobservation@1.0.0
    http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homeCare-observation
description: This profile is intended to be used in HomeCareObservation to hold information about the observation results.
package_name: medcom.fhir.dk.homecareobservation
derivation: constraint
name: MedComHomeCareObservation
type: Observation
elements:
  code:
    elements:
      coding:
        index: 0
        elements:
          display: {mustSupport: true, index: 1}
        slicing:
          slices:
            LOINC:
              match: {}
              schema:
                index: 2
                elements:
                  display: {mustSupport: true, index: 3}
            SNOMEDCT:
              match: {}
              schema:
                index: 4
                elements:
                  display: {mustSupport: true, index: 5}
            NPU:
              match: {}
              schema:
                index: 6
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://medcomfhir.dk/ig/terminology/ValueSet/NPUObservationCodesValueSet'}
                    index: 7
                  display: {mustSupport: true, index: 8}
            IEEE:
              match: {}
              schema:
                index: 9
                elements:
                  display: {mustSupport: true, index: 10}
            MedCom:
              match: {}
              schema:
                index: 11
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://medcomfhir.dk/ig/terminology/ValueSet/MedComObservationValueSet'}
                    index: 12
                  display: {mustSupport: true, index: 13}
            SKS:
              match: {}
              schema:
                index: 14
                elements:
                  display: {mustSupport: true, index: 15}
  value:
    maxLength: 12
    mustSupport: true
    choices: [valueString]
    index: 20
    slicing:
      slices:
        valueString:
          match: {}
          schema:
            maxLength: 12
            mustSupport: true
            choices: [valueString]
            index: 20
          min: 0
          max: 1
  valueQuantity:
    type: Quantity
    maxLength: 12
    mustSupport: true
    choiceOf: value
    index: 18
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, maxLength: 12, mustSupport: true, choiceOf: value, index: 18}
  valueString:
    type: string
    mustSupport: true
    maxLength: 12
    choiceOf: value
    index: 21
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, mustSupport: true, maxLength: 12, choiceOf: value, index: 21}
          min: 0
          max: 1
  interpretation:
    binding: {strength: required, valueSet: 'http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-core-interpretation-codes'}
    mustSupport: true
    index: 22
    elements:
      coding:
        elements:
          code:
            pattern: {type: Code, value: NI}
            index: 23
package_version: 1.0.0
class: profile
kind: resource
url: http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homeCare-observation
base: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-observation
version: 1.0.0