PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.uv.phd@0.2.0
    http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCoincidentTimeStampObservation
description: StructureDefinition for Observation Resources representing the coincident time stamp. This report is a measurement of the current time of the sensor at the current time of the PHG. The purpose of this observation is to record the difference in the time lines between the PHG and PHD and to be able to recover the original measurement time stamps reported by the PHD should the PHG correct them because the sensor clock is in error.
package_name: rs/hl7.fhir.uv.phd
derivation: constraint
name: PhdCoincidentTimeStampObservation
type: Observation
elements:
  meta:
    index: 0
    elements:
      profile:
        short: Element that contains the coincident time stamp profile
        pattern: {type: uri, value: 'http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCoincidentTimeStampObservation'}
        type: uri
        index: 1
  valueQuantity:
    type: Quantity
    short: Value when PHD reports a relative type of time.
    index: 18
    slicing:
      slices:
        relativeTime:
          match: {}
          schema:
            type: Quantity
            short: Value when PHD reports a relative type of time.
            index: 18
            elements:
              value: {index: 19}
              system:
                pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                type: uri
                index: 20
              code:
                pattern: {type: code, value: us}
                type: code
                index: 21
            required: [code, system, value]
  value:
    short: Time line of PHD. Absent if a time fault; dataAbsentReason will have 'unknown'
    choices: [valueDateTime, valueQuantity]
    index: 14
  valueDateTime:
    type: dateTime
    short: Value when PHD reports an absolute or base offset time.
    index: 17
    slicing:
      slices:
        wallClockTime:
          match: {}
          schema: {type: dateTime, short: Value when PHD reports an absolute or base offset time., index: 17}
  extension:
    short: Extension for the PHG
    index: 2
    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: 3
      valueReference: {type: Reference, short: Reference to the Personal Health Gateway (PHG) Device, index: 4}
    required: [valueReference]
  effectiveDateTime: {type: dateTime, short: The current time of the PHG at the current time of the PHD. Absent if PHD is better synchronized, index: 12}
  status:
    pattern: {type: code, value: final}
    type: code
    index: 5
  code:
    elements:
      coding:
        index: 6
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            MDCType:
              match: {system: 'urn:iso:std:iso:11073:10101'}
              schema:
                short: The required MDC code for the type of time clock used by the PHD
                _required: true
                index: 7
                elements:
                  system:
                    pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                    type: uri
                    index: 8
                  code: {index: 9}
                required: [code, system]
    required: [coding]
  device:
    index: 27
    elements:
      reference: {short: Reference to the device responsible for the measurement, index: 28}
    required: [reference]
  subject:
    index: 10
    elements:
      reference: {index: 11}
    required: [reference]
  dataAbsentReason:
    short: Populated when the PHD has a time fault
    index: 22
    elements:
      coding:
        index: 23
        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: 24
                elements:
                  system:
                    pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
                    type: uri
                    index: 25
                  code:
                    pattern: {type: code, value: unknown}
                    type: code
                    index: 26
                required: [code, system]
    required: [coding]
package_version: 0.2.0
extensions: {}
class: profile
kind: resource
url: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCoincidentTimeStampObservation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.2.0
required: [device, extension, meta, subject]