description: A task resource describes an activity that can be performed and tracks the state of completion of that activity. It is a representation that an activity should be or has been initiated, and eventually, represents the successful or unsuccessful completion of that activity. package_name: ca.on.oh-ereferral-econsult derivation: constraint name: EReferralTask type: Task elements: meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} required: [profile] authoredOn: {mustSupport: true, index: 25} output: mustSupport: true index: 33 elements: value: mustSupport: true choices: [valueReference] index: 35 valueReference: type: Reference mustSupport: true choiceOf: value refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Communication'] index: 36 businessStatus: binding: {strength: example, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/task-business-status'} mustSupport: true index: 13 elements: coding: binding: {strength: example, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/task-business-status'} mustSupport: true index: 14 elements: system: pattern: {type: Uri, value: 'https://ehealthontario.ca/fhir/CodeSystem/task-business-status'} mustSupport: true index: 15 code: {mustSupport: true, index: 16} display: {mustSupport: true, index: 17} text: {mustSupport: true, index: 18} extension: index: 2 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: PatientNeedsToBeSeen: match: {url: null} schema: {type: Extension, isModifier: false, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eConsult-ext-patient-needs-to-be-seen', index: 3} min: 0 max: 1 lastModified: {mustSupport: true, index: 26} status: {mustSupport: true, index: 12} code: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-ontario/task-code'} mustSupport: true index: 20 elements: coding: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/task-code'} mustSupport: true index: 21 elements: system: pattern: {type: Uri, value: 'https://ehealthontario.ca/fhir/CodeSystem/task-code'} mustSupport: true index: 22 code: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-ontario/task-code'} mustSupport: true index: 23 display: {mustSupport: true, index: 24} identifier: mustSupport: true index: 4 elements: system: {mustSupport: true, index: 5} value: {mustSupport: true, index: 6} intent: {mustSupport: true, index: 19} input: {mustSupport: false, index: 32} basedOn: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest'] index: 7 elements: reference: {mustSupport: true, index: 8} identifier: mustSupport: true index: 9 elements: system: {mustSupport: true, index: 10} value: {mustSupport: true, index: 11} owner: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/PractitionerRole'] index: 27 elements: reference: {mustSupport: true, index: 28} identifier: mustSupport: true index: 29 elements: system: {mustSupport: true, index: 30} value: {mustSupport: true, index: 31} package_version: 0.11.0-alpha1.0.6 extensions: PatientNeedsToBeSeen: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eConsult-ext-patient-needs-to-be-seen', min: 0, max: 1, type: Extension, isModifier: false, index: 3} class: profile kind: resource url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Task base: http://hl7.org/fhir/StructureDefinition/Task version: 1.0.1 required: [basedOn, meta]