description: This profile defines a set of constraints to the FHIR Task resource for use in Alberta eReferral and eConsult (AB:eReC). It re-profiles the CA-eReC Task profile and it includes constraints that represent the minimum expectations for the Task resource when used in the AB:eReC. package_name: ca.ab.fhir.aberec1 derivation: constraint name: TaskABeReC type: Task elements: identifier: mustSupport: true index: 0 elements: system: {mustSupport: true, index: 1} value: {mustSupport: true, index: 2} required: [value, system] basedOn: type: Reference refers: ['https://www.alberta.ca/fhir/aberec/StructureDefinition/ServiceRequestABeReC'] index: 3 status: binding: {strength: required, valueSet: 'https://www.alberta.ca/fhir/ValueSet/task-status-ab'} index: 4 businessStatus: binding: {strength: extensible, valueSet: 'https://www.alberta.ca/fhir/ValueSet/referral-business-status-ab'} index: 5 extensions: BusinessStatusReason: url: null index: 6 elements: value: choices: [] index: 8 elements: extension: index: 6 slicing: slices: BusinessStatusReason: match: {} schema: index: 6 elements: value: choices: [] index: 8 code: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/ca-taskcode'} index: 9 owner: type: Reference refers: ['https://www.alberta.ca/fhir/aberec/StructureDefinition/HealthcareServiceABeReC', 'https://www.alberta.ca/fhir/aberec/StructureDefinition/PractitionerRoleABeReC'] index: 10 note: elements: author: mustSupport: true choices: [] index: 12 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: authorReference: match: {} schema: choices: [authorReference] index: 14 min: 0 max: 1 authorReference: type: Reference choiceOf: author refers: ['https://www.alberta.ca/fhir/aberec/StructureDefinition/PractitionerABeReC'] index: 15 slicing: slices: authorReference: match: {} schema: type: Reference choiceOf: author refers: ['https://www.alberta.ca/fhir/aberec/StructureDefinition/PractitionerABeReC'] index: 15 min: 0 max: 1 time: {mustSupport: true, index: 16} text: {mustSupport: true, index: 17} required: [author, time] output: elements: type: binding: {strength: required, valueSet: 'https://www.alberta.ca/fhir/ValueSet/task-output-type-code'} index: 18 value: choices: [] index: 20 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueReference: match: {} schema: choices: [valueReference] index: 22 min: 0 max: 1 valueReference: type: Reference choiceOf: value refers: ['https://www.alberta.ca/fhir/aberec/StructureDefinition/CommunicationABeReC'] index: 23 slicing: slices: valueReference: match: {} schema: type: Reference choiceOf: value refers: ['https://www.alberta.ca/fhir/aberec/StructureDefinition/CommunicationABeReC'] index: 23 min: 0 max: 1 package_version: 1.1.1 class: profile kind: resource url: https://www.alberta.ca/fhir/aberec/StructureDefinition/TaskABeReC base: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Task version: 1.1.1 required: [owner, identifier]