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 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: [valueCodeableConcept] index: 9 slicing: slices: valueCodeableConcept: match: {} schema: choices: [valueCodeableConcept] index: 9 max: 0 valueQuantity: {type: Quantity, choiceOf: value, index: 7} valueCodeableConcept: type: CodeableConcept choiceOf: value index: 10 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 10} max: 0 component: index: 11 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: 12 elements: code: pattern: type: CodeableConcept value: coding: - {code: DeviceActivePercentage, system: 'http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes'} index: 13 value: choices: [valueQuantity] index: 15 valueQuantity: {type: Quantity, choiceOf: value, index: 16} value[x]: elements: value: {mustSupport: true, index: 17} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 18 code: pattern: {type: Code, value: '%'} index: 19 required: [value] package_version: activity-1.0.0 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