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: meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} authoredOn: {mustSupport: true, index: 15} output: mustSupport: true index: 21 elements: value: mustSupport: true choices: [valueReference, valueString, valueCode] index: 23 valueReference: type: Reference mustSupport: true choiceOf: value refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Communication'] index: 24 valueString: {type: string, mustSupport: true, choiceOf: value, index: 25} valueCode: {type: code, mustSupport: true, choiceOf: value, index: 26} businessStatus: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/ca-referralbusinessstatus'} mustSupport: true index: 11 extensions: BusinessStatusReason: {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: 12} elements: extension: type: Extension mustSupport: true url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-task-business-status-reason-EXT index: 12 slicing: slices: BusinessStatusReason: match: {} schema: {type: Extension, mustSupport: true, url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-task-business-status-reason-EXT', index: 12} min: 0 max: 1 extension: index: 2 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: 3} min: 0 max: 1 status: {mustSupport: true, index: 10} code: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/ca-taskcode'} mustSupport: true index: 14 intent: mustSupport: true pattern: {type: Code, value: proposal} index: 13 basedOn: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest'] index: 4 elements: reference: {mustSupport: true, index: 5} identifier: mustSupport: true index: 6 elements: use: {mustSupport: true, index: 7} system: {mustSupport: true, index: 8} value: {mustSupport: true, index: 9} required: [value, system, use] owner: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-HealthcareService', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole'] index: 16 elements: reference: {mustSupport: true, index: 17} identifier: mustSupport: true index: 18 elements: system: {mustSupport: true, index: 19} value: {mustSupport: true, index: 20} required: [value, system] package_version: 1.1.0-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: 3} 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: null required: [basedOn]