PackagesCanonicalsLogsProblems
    Packages
    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: 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'}
        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'}
                index: 20
              code:
                pattern: {type: Code, value: us}
                index: 21
            required: [value, system, code]
  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'}
        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}
    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'}
                    index: 8
                  code: {index: 9}
                required: [system, code]
    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'}
                    index: 25
                  code:
                    pattern: {type: Code, value: unknown}
                    index: 26
                required: [system, code]
    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, subject, meta]