PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.phd@1.0.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:
        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/PhdCoincidentTimeStampObservation'}
                _required: true
                index: 2
              min: 1
              max: 1
    required: [profile]
  valueQuantity: {type: Quantity, short: 'The current time of the PHD as a wallclock time (dateTime), relative time (Quantity), or if a time fault a dataAbsentReason', choiceOf: value, index: 17}
  value:
    short: The current time of the PHD as a wallclock time (dateTime), relative time (Quantity), or if a time fault a dataAbsentReason
    choices: [valueDateTime, valueQuantity]
    index: 15
  valueDateTime: {type: dateTime, short: 'The current time of the PHD as a wallclock time (dateTime), relative time (Quantity), or if a time fault a dataAbsentReason', choiceOf: value, index: 16}
  extension:
    short: Extension for the PHG
    index: 3
    elements:
      url:
        short: Url indicating this is the gateway device extension
        pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice'}
        index: 4
      valueReference: {type: Reference, short: Reference to the Personal Health Gateway (PHG) Device, index: 5}
    required: [valueReference]
  effectiveDateTime: {short: The current time of the PHG at the current time of the PHD. Absent if PHD is better synchronized, index: 13}
  status:
    pattern: {type: Code, value: final}
    index: 6
  code:
    elements:
      coding:
        index: 7
        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: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:iso:std:iso:11073:10101'}
                    index: 9
                  code: {index: 10}
                required: [system, code]
    required: [coding]
  device:
    index: 23
    elements:
      reference: {short: Reference to the device responsible for the measurement, index: 24}
    required: [reference]
  subject:
    index: 11
    elements:
      reference: {index: 12}
    required: [reference]
  dataAbsentReason:
    short: Populated when the PHD has a time fault
    index: 18
    elements:
      coding:
        index: 19
        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: 20
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
                    index: 21
                  code:
                    pattern: {type: Code, value: unknown}
                    index: 22
                required: [system, code]
    required: [coding]
package_version: 1.0.0
extensions: {}
class: profile
kind: resource
url: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCoincidentTimeStampObservation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0
required: [device, extension, subject, meta]