description: A profile for observations that capture physical activity-related measures that apply over an extended period, such as a day or week. package_name: hl7.fhir.us.physical-activity.r4b derivation: constraint name: PAObservationTimeMeasure type: Observation elements: code: binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/physical-activity/ValueSet/pa-observation-code-time'} index: 0 effective: choices: [effectiveDateTime, effectivePeriod] index: 2 effectiveDateTime: {type: dateTime, choiceOf: effective, index: 3} effectivePeriod: {type: Period, choiceOf: effective, index: 4} value: choices: [valueQuantity] index: 6 valueQuantity: {type: Quantity, choiceOf: value, index: 7} valueCodeableConcept: {index: 8} component: index: 9 slicing: rules: open discriminator: - {path: code, type: pattern} min: null slices: percentActive: match: code: coding: - {code: DeviceActivePercentage, system: 'http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes'} schema: mustSupport: true index: 10 elements: code: pattern: type: CodeableConcept value: coding: - {code: DeviceActivePercentage, system: 'http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes'} index: 11 value: choices: [valueQuantity] index: 13 valueQuantity: type: Quantity choiceOf: value index: 14 elements: value: {mustSupport: true, index: 16} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 17 code: pattern: {type: Code, value: '%'} index: 18 required: [value] package_version: 1.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-time-measure base: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-base version: 1.0.0-ballot