PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.uv.phd@1.0.0
    http://hl7.org/fhir/uv/phd/StructureDefinition/PhdBaseObservation
description: Observation elements that are common to all the Continua PHD Observation profiles
package_name: rs/hl7.fhir.uv.phd
derivation: constraint
name: PhdBaseObservation
type: Observation
elements:
  meta:
    index: 0
    elements:
      security:
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          - {path: code, type: value}
          min: null
          slices:
            PhdHtest:
              match: {system: 'http://terminology.hl7.org/CodeSystem/v3-ActReason', code: HTEST}
              schema:
                short: Security value set to HTEST when measurement status indicates demo or test data
                index: 2
                elements:
                  system:
                    pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActReason'}
                    type: uri
                    index: 3
                  code:
                    pattern: {type: code, value: HTEST}
                    type: code
                    index: 4
                required: [code, system]
  derivedFrom: {short: Reference to the Coincident Time Stamp Observation and/or Source-Handle-Reference Observation, index: 35}
  interpretation:
    elements:
      coding:
        index: 29
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            MsmtStatusInterpretation:
              match: {system: 'http://hl7.org/fhir/uv/pocd/CodeSystem/measurement-status'}
              schema:
                short: Measurement status interpretation when questionable, calibration-ongoing, validated, early-indication, threshold exceeded, alarm inhibited
                _required: true
                index: 30
                elements:
                  system:
                    pattern: {type: uri, value: 'http://hl7.org/fhir/uv/pocd/CodeSystem/measurement-status'}
                    type: uri
                    index: 31
                  code: {index: 32}
                required: [code, system]
  component:
    index: 36
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        supplementalTypesComponent:
          match: {code: null}
          schema:
            short: 'Supplemental Type: A further description of the measurement type.'
            index: 37
            elements:
              code:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/phd/ValueSet/CodeableConcept11073MDC'}
                index: 38
                elements:
                  coding:
                    index: 39
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: 1
                      slices:
                        MdcType:
                          match: {system: 'urn:iso:std:iso:11073:10101'}
                          schema:
                            short: The 11073-10101 MDC code for the measurement
                            _required: true
                            index: 40
                            elements:
                              system:
                                pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                                type: uri
                                index: 41
                              code:
                                pattern: {type: code, value: '68193'}
                                type: code
                                index: 42
                            required: [code, system]
                  text: {index: 43}
                required: [coding]
              value:
                choices: [valueCodeableConcept]
                index: 45
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        _required: true
                        index: 45
                      min: 1
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 46
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        type: CodeableConcept
                        choiceOf: value
                        _required: true
                        index: 46
                        elements:
                          coding:
                            index: 47
                            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: 48
                                    elements:
                                      system:
                                        pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                                        type: uri
                                        index: 49
                                      code: {index: 50}
                                    required: [code, system]
                        required: [coding]
              dataAbsentReason: {index: 51}
            required: [value, valueCodeableConcept]
        relativeTimeComponent:
          match: {code: null}
          schema:
            short: Relative time stamp of the measurement reported by the PHD.
            index: 52
            elements:
              code:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/phd/ValueSet/Quantity11073MDC'}
                index: 53
                elements:
                  coding:
                    index: 54
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: 1
                      slices:
                        MdcType:
                          match: {system: 'urn:iso:std:iso:11073:10101'}
                          schema:
                            short: The 11073-10101 MDC code for the measurement
                            _required: true
                            index: 55
                            elements:
                              system:
                                pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                                type: uri
                                index: 56
                              code:
                                pattern: {type: code, value: '67985'}
                                type: code
                                index: 57
                            required: [code, system]
                  text: {index: 58}
                required: [coding]
              value:
                choices: [valueQuantity]
                index: 60
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        choices: [valueQuantity]
                        _required: true
                        index: 60
                      min: 1
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 61
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        type: Quantity
                        choiceOf: value
                        _required: true
                        index: 61
                        elements:
                          value: {index: 62}
                          system:
                            pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                            type: uri
                            index: 63
                          code:
                            pattern: {type: code, value: us}
                            type: code
                            index: 64
                        required: [code, system, value]
              dataAbsentReason: {index: 65}
            required: [value, valueQuantity]
        hiresRelativeTimeComponent:
          match: {code: null}
          schema:
            short: Hi-Resolution Relative time stamp of the measurement reported by the PHD.
            index: 66
            elements:
              code:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/phd/ValueSet/Quantity11073MDC'}
                index: 67
                elements:
                  coding:
                    index: 68
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: 1
                      slices:
                        MdcType:
                          match: {system: 'urn:iso:std:iso:11073:10101'}
                          schema:
                            short: The 11073-10101 MDC code for the measurement
                            _required: true
                            index: 69
                            elements:
                              system:
                                pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                                type: uri
                                index: 70
                              code:
                                pattern: {type: code, value: '68073'}
                                type: code
                                index: 71
                            required: [code, system]
                  text: {index: 72}
                required: [coding]
              value:
                choices: [valueQuantity]
                index: 74
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        choices: [valueQuantity]
                        _required: true
                        index: 74
                      min: 1
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 75
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        type: Quantity
                        choiceOf: value
                        _required: true
                        index: 75
                        elements:
                          value: {short: Numerical value, index: 76}
                          system:
                            pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                            type: uri
                            index: 77
                          code:
                            pattern: {type: code, value: us}
                            type: code
                            index: 78
                        required: [code, system, value]
              dataAbsentReason: {index: 79}
            required: [value, valueQuantity]
  extension:
    short: Extension for the PHG
    index: 5
    elements:
      url:
        short: Url indicating this is the gateway device extension
        pattern: {type: uri, value: 'http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice'}
        type: uri
        index: 6
      valueReference: {type: Reference, short: Reference to the Personal Health Gateway (PHG) Device, index: 7}
    required: [valueReference]
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 27}
  status: {index: 13}
  effective:
    choices: [effectiveDateTime, effectivePeriod]
    index: 26
  code:
    index: 14
    elements:
      coding:
        index: 15
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            MDCType:
              match: {system: 'urn:iso:std:iso:11073:10101'}
              schema:
                short: The 11073-10101 MDC code for the measurement
                _required: true
                index: 16
                elements:
                  system:
                    pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                    type: uri
                    index: 17
                  code: {index: 18}
                required: [code, system]
            LoincCoding:
              match: {system: 'http://loinc.org'}
              schema:
                short: The LOINC code for the measurement
                index: 19
                elements:
                  system:
                    pattern: {type: uri, value: 'http://loinc.org'}
                    type: uri
                    index: 20
                  code: {index: 21}
                required: [code, system]
      text: {short: It is recommended to display at least the reference identifier for the MDC code, index: 22}
    required: [coding]
  identifier:
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: value, type: exists}
      - {path: system, type: exists}
      - {path: type, type: exists}
      min: null
      slices:
        conditionalCreate:
          match: {}
          schema:
            short: Unique identifier of this measurement for a given patient and device
            index: 9
            elements:
              type: {index: 10}
              system: {index: 11}
              value: {index: 12}
            required: [value]
  device:
    index: 33
    elements:
      reference: {short: Reference to the device responsible for the measurement, index: 34}
    required: [reference]
  subject:
    index: 23
    elements:
      reference: {index: 24}
    required: [reference]
  effectivePeriod: {type: Period, choiceOf: effective, index: 28}
package_version: 1.0.0
extensions: {}
class: profile
kind: resource
url: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdBaseObservation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0
required: [device, effective, effectiveDateTime, effectivePeriod, meta, subject]