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 businessStatus: binding: {strength: extensible, valueSet: 'https://www.alberta.ca/fhir/ValueSet/referral-business-status-ab'} index: 4 extensions: BusinessStatusReason: url: null index: 5 elements: value: choices: [] index: 7 elements: extension: index: 5 slicing: slices: BusinessStatusReason: match: {} schema: index: 5 elements: value: choices: [] index: 7 code: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/ca-taskcode'} index: 8 owner: type: Reference refers: ['https://www.alberta.ca/fhir/aberec/StructureDefinition/HealthcareServiceABeReC', 'https://www.alberta.ca/fhir/aberec/StructureDefinition/PractitionerRoleABeReC'] index: 9 note: elements: author: mustSupport: true choices: [] index: 11 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: authorReference: match: {} schema: choices: [authorReference] index: 13 min: 0 max: 1 authorReference: type: Reference choiceOf: author refers: ['https://www.alberta.ca/fhir/aberec/StructureDefinition/PractitionerABeReC'] index: 14 slicing: slices: authorReference: match: {} schema: type: Reference choiceOf: author refers: ['https://www.alberta.ca/fhir/aberec/StructureDefinition/PractitionerABeReC'] index: 14 min: 0 max: 1 time: {mustSupport: true, index: 15} text: {mustSupport: true, index: 16} required: [author, time] package_version: 1.1.0-pre3 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.0.4 required: [owner, identifier]