description: patient sleep logs recorded by device or app. package_name: hl7.fhir.uv.phr derivation: constraint name: PCDSleepObservation type: Observation elements: code: binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/phr/ValueSet/pcd-sleep-observation-code'} index: 0 effective: choices: [effectiveDateTime, effectivePeriod] index: 2 effectiveDateTime: {type: dateTime, choiceOf: effective, index: 3} effectivePeriod: {type: Period, choiceOf: effective, index: 4} value: mustSupport: true choices: [valueQuantity, valueCodeableConcept] index: 6 valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 7} valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 8} package_version: 1.0.0-ballot2 class: profile kind: resource url: http://hl7.org/fhir/uv/phr/StructureDefinition/pcd-sleep-observation base: http://hl7.org/fhir/StructureDefinition/Observation version: 1.0.0-ballot2 required: [effectiveDateTime, effectivePeriod, value, valueCodeableConcept, valueQuantity, effective]