PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@5.0.0
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation
description: null
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-observation
type: Observation
elements:
  referenceRange:
    elements:
      type:
        binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/reference-range-type'}
        index: 19
  valueQuantity: {type: Quantity, choiceOf: value, index: 15}
  value:
    choices: [valueQuantity, valueCodeableConcept]
    index: 14
  component:
    elements:
      code:
        binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/observation-codes'}
        index: 20
      value:
        choices: [valueQuantity, valueCodeableConcept]
        index: 22
      valueQuantity: {type: Quantity, choiceOf: value, index: 23}
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 24}
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        episodeOfCare:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
            index: 1
            elements:
              value:
                choices: [valueReference]
                index: 3
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
                index: 4
        quality:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality', index: 5}
          min: 0
        resolvedTiming:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', index: 6}
          min: 1
          max: 1
  effective:
    choices: []
    index: 11
  code:
    binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/observation-codes'}
    index: 8
  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 16}
  device:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
    index: 18
  basedOn:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
    index: 7
  subject:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient']
    index: 9
  performer:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
    index: 12
  dataAbsentReason:
    binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/data-absent-reason'}
    index: 17
package_version: 5.0.0
extensions:
  episodeOfCare:
    url: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
    type: Extension
    index: 1
    elements:
      value:
        choices: [valueReference]
        index: 3
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        index: 4
  quality: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality', min: 0, type: Extension, index: 5}
  resolvedTiming: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', min: 1, max: 1, type: Extension, index: 6}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 5.0.0
required: [basedOn, effective, performer, subject]