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.infoway.io.erec derivation: constraint name: Task type: Task elements: authoredOn: {mustSupport: true, index: 12} output: mustSupport: true index: 18 elements: value: mustSupport: true choices: [valueReference] index: 20 valueReference: type: Reference mustSupport: true choiceOf: value refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Communication'] index: 21 businessStatus: binding: {strength: extensible, valueSet: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/task-business-status'} mustSupport: true index: 8 extensions: StatusReason: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-task-business-status-reason-EXT', min: 0, max: 1, type: Extension, mustSupport: true, index: 9} elements: extension: type: Extension mustSupport: true url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-task-business-status-reason-EXT index: 9 slicing: slices: StatusReason: match: {} schema: {type: Extension, mustSupport: true, url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-task-business-status-reason-EXT', index: 9} min: 0 max: 1 extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: PatientNeedsToBeSeen: match: {url: null} schema: {type: Extension, url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-patient-needs-to-be-seen-EXT', index: 1} min: 0 max: 1 status: {mustSupport: true, index: 7} code: binding: {strength: extensible, valueSet: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/task-code'} mustSupport: true index: 11 intent: mustSupport: true pattern: {type: Code, value: proposal} index: 10 basedOn: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest'] index: 2 elements: reference: {mustSupport: true, index: 3} identifier: mustSupport: true index: 4 elements: system: {mustSupport: true, index: 5} value: {mustSupport: true, index: 6} required: [value, system] owner: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole'] index: 13 elements: reference: {mustSupport: true, index: 14} identifier: mustSupport: true index: 15 elements: system: {mustSupport: true, index: 16} value: {mustSupport: true, index: 17} required: [value, system] package_version: 1.0.2-dft extensions: PatientNeedsToBeSeen: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-patient-needs-to-be-seen-EXT', min: 0, max: 1, type: Extension, index: 1} class: profile kind: resource url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Task base: http://hl7.org/fhir/StructureDefinition/Task version: 1.0.0 required: [basedOn]