description: A profile describing base requirements for all primary physical activity observations. package_name: hl7.fhir.us.physical-activity.r4b derivation: constraint name: PAObservationBase abstract: true type: Observation elements: category: array: true min: 2 index: 3 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 2 slices: Activity: match: coding: - {code: activity, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} schema: short: Activity (Required for U.S. Core) mustSupport: true _required: true pattern: type: CodeableConcept value: coding: - {code: activity, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} index: 4 min: 1 max: 1 PhysicalActivity: match: coding: - {code: PhysicalActivity, system: 'http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes'} schema: short: Physical Activity mustSupport: true _required: true pattern: type: CodeableConcept value: coding: - {code: PhysicalActivity, system: 'http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes'} index: 5 min: 1 max: 1 value[x]: elements: value: {mustSupport: true, index: 32} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 33 code: {mustSupport: true, index: 34} required: [value, system, code] specimen: {index: 41} valueQuantity: type: Quantity choiceOf: value index: 31 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 31} min: 0 max: 1 value: choices: [valueQuantity] index: 30 slicing: slices: valueQuantity: match: {} schema: choices: [valueQuantity] index: 30 min: 0 max: 1 implicitRules: {index: 0} note: mustSupport: true index: 35 elements: author: mustSupport: true choices: [authorReference] index: 37 authorReference: type: Reference mustSupport: true choiceOf: author refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 38 time: {mustSupport: true, index: 39} text: {mustSupport: true, index: 40} required: [author, time, authorReference] effective[x]: elements: start: {mustSupport: true, index: 19} end: {mustSupport: true, index: 20} required: [start, end] effectiveDateTime: type: dateTime choiceOf: effective index: 15 slicing: slices: effectiveDateTime: match: {} schema: {type: dateTime, choiceOf: effective, index: 15} min: 0 max: 1 status: short: final | amended | corrected | entered-in-error binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/observation-status'} mustSupport: true index: 2 effective: choices: [effectivePeriod] index: 17 slicing: slices: effectivePeriod: match: {} schema: choices: [effectivePeriod] index: 17 min: 0 max: 1 code: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/observation-codes'} mustSupport: true index: 6 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 28 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 28} min: 0 max: 1 focus: {index: 8} subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'] index: 7 modifierExtension: {index: 1} performer: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'] index: 21 effectivePeriod: type: Period choiceOf: effective index: 18 slicing: slices: effectivePeriod: match: {} schema: {type: Period, choiceOf: effective, index: 18} min: 0 max: 1 package_version: 1.0.0 class: profile kind: resource url: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-base base: http://hl7.org/fhir/StructureDefinition/Observation version: 1.0.0 required: [effectiveDateTime, effectivePeriod, subject, effective]