PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.uv.phd@1.0.0
    http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCodedEnumerationObservation
description: StructureDefinition for Observation Resources representing measurement data coming from a medical device where the measurement itself is an enumerated code.
package_name: rs/hl7.fhir.uv.phd
derivation: constraint
name: PhdCodedEnumerationObservation
type: Observation
elements:
  meta:
    index: 0
    elements:
      profile:
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: value, type: value}
          min: 1
          slices:
            phdProfile:
              match: {value: null}
              schema:
                pattern: {type: canonical, value: 'http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCodedEnumerationObservation'}
                _required: true
                type: canonical
                index: 2
              min: 1
              max: 1
    required: [profile]
  valueCodeableConcept:
    type: CodeableConcept
    index: 3
    elements:
      coding:
        index: 4
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            MDCType:
              match: {system: 'urn:iso:std:iso:11073:10101'}
              schema:
                short: Required MDC code entry
                _required: true
                index: 5
                elements:
                  system:
                    pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                    type: uri
                    index: 6
                required: [system]
    required: [coding]
  dataAbsentReason:
    short: Populated when the Measurement-Status or an Enum-Observed-Value status indicates invalid, not unavailable, or msmt ongoing
    index: 7
    elements:
      coding:
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            FhirDefault:
              match: {system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
              schema:
                _required: true
                index: 9
                elements:
                  system:
                    pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
                    type: uri
                    index: 10
                  code: {index: 11}
                required: [code, system]
    required: [coding]
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCodedEnumerationObservation
base: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdBaseObservation
version: 1.0.0
required: [meta]