description: Represents a request for fulfillment of a physical activity-related referral or order and supports management of the same. package_name: hl7.fhir.us.physical-activity derivation: constraint name: PATaskForReferralManagement type: Task elements: implicitRules: {index: 0} reasonCode: elements: text: {mustSupport: true, index: 15} required: [text] statusReason: mustSupport: true index: 3 elements: text: {mustSupport: true, index: 4} authoredOn: {mustSupport: true, index: 12} output: index: 22 elements: modifierExtension: {index: 23} slicing: rules: open discriminator: - {path: type, type: pattern} - {path: value, type: type} min: null slices: PerformedActivityType: match: type: coding: - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'} schema: mustSupport: true array: true index: 24 elements: type: pattern: type: CodeableConcept value: coding: - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'} index: 25 value: mustSupport: true choices: [valueCodeableConcept] index: 27 valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 28} value[x]: elements: text: {mustSupport: true, index: 29} required: [text] PerformedActivityReference: match: type: coding: - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'} schema: mustSupport: true array: true index: 30 elements: type: pattern: type: CodeableConcept value: coding: - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'} index: 31 value: mustSupport: true choices: [valueReference] index: 33 valueReference: type: Reference mustSupport: true choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-diagnosticreport'] index: 34 businessStatus: index: 5 elements: text: {mustSupport: true, index: 6} required: [text] note: mustSupport: true index: 16 elements: author: mustSupport: true choices: [authorReference] index: 18 authorReference: type: Reference mustSupport: true choiceOf: author refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner'] index: 19 time: {mustSupport: true, index: 20} text: {mustSupport: true, index: 21} required: [author, time, authorReference] for: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'] index: 11 requester: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'] index: 13 priority: {mustSupport: true, index: 8} status: binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/physical-activity/ValueSet/pa-task-status'} mustSupport: true index: 2 code: pattern: type: CodeableConcept value: coding: - {code: fulfill, system: 'http://hl7.org/fhir/CodeSystem/task-code'} index: 9 intent: short: order pattern: {type: Code, value: order} index: 7 focus: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-servicerequest'] index: 10 modifierExtension: {index: 1} owner: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'] index: 14 package_version: 1.0.0 class: profile kind: resource url: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-task-for-referral-management base: http://hl7.org/fhir/StructureDefinition/Task version: 1.0.0 required: [owner, authoredOn, requester, focus, for]