FHIR IG analytics| Package | ca.infoway.io.erec |
| Resource Type | StructureDefinition |
| Id | Task.StructureDefinition.json |
| FHIR Version | R4 |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureDefinition",
"id": "CA-eReC-Task",
"url": "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Task",
"name": "Task",
"title": "Task",
"status": "draft",
"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.",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "Task",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Task",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Task.meta",
"path": "Task.meta",
"mustSupport": true
},
{
"id": "Task.meta.profile",
"path": "Task.meta.profile",
"mustSupport": true,
"comment": "Implementers should be aware that some Canadian jurisdictions require vendors to use meta.profile to declare which FHIR profile(s) and version(s) the resource conforms to."
},
{
"id": "Task.extension",
"path": "Task.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
}
},
{
"id": "Task.extension:PatientNeedsToBeSeen",
"path": "Task.extension",
"sliceName": "PatientNeedsToBeSeen",
"comment": "Used to support the eConsult use case where a patient is referred to a care provider. Used for when the care provider responds with an eConsult rather than accept the referral, but the patient wants a referral anyway.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-patient-needs-to-be-seen-EXT"
]
}
]
},
{
"id": "Task.basedOn",
"path": "Task.basedOn",
"min": 1,
"max": "1",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest"
]
}
],
"mustSupport": true
},
{
"id": "Task.basedOn.reference",
"path": "Task.basedOn.reference",
"mustSupport": true
},
{
"id": "Task.basedOn.identifier",
"path": "Task.basedOn.identifier",
"mustSupport": true
},
{
"id": "Task.basedOn.identifier.use",
"path": "Task.basedOn.identifier.use",
"min": 1,
"mustSupport": true
},
{
"id": "Task.basedOn.identifier.system",
"path": "Task.basedOn.identifier.system",
"min": 1,
"mustSupport": true
},
{
"id": "Task.basedOn.identifier.value",
"path": "Task.basedOn.identifier.value",
"min": 1,
"mustSupport": true
},
{
"id": "Task.status",
"path": "Task.status",
"mustSupport": true
},
{
"id": "Task.businessStatus",
"path": "Task.businessStatus",
"mustSupport": true,
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/ca-referralbusinessstatus"
}
},
{
"id": "Task.businessStatus.extension:BusinessStatusReason",
"path": "Task.businessStatus.extension",
"sliceName": "BusinessStatusReason",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-task-business-status-reason-EXT"
]
}
],
"mustSupport": true
},
{
"id": "Task.intent",
"path": "Task.intent",
"patternCode": "proposal",
"mustSupport": true
},
{
"id": "Task.code",
"path": "Task.code",
"comment": "-",
"mustSupport": true,
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/ca-taskcode"
}
},
{
"id": "Task.authoredOn",
"path": "Task.authoredOn",
"mustSupport": true
},
{
"id": "Task.owner",
"path": "Task.owner",
"comment": "When the owner of the task is the CAT, then HealthcareService can be used to identify the owner. (See https://simplifier.net/guide/Pan-Canadian-eReferral-eConsult-CA-eReC-iGuide/Index/FHIR-Artifacts/Messaging-Events/MessageBundle-Task-CA-eReC.page.md)",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole",
"http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-HealthcareService"
]
}
],
"mustSupport": true
},
{
"id": "Task.owner.reference",
"path": "Task.owner.reference",
"mustSupport": true
},
{
"id": "Task.owner.identifier",
"path": "Task.owner.identifier",
"mustSupport": true
},
{
"id": "Task.owner.identifier.system",
"path": "Task.owner.identifier.system",
"min": 1,
"mustSupport": true
},
{
"id": "Task.owner.identifier.value",
"path": "Task.owner.identifier.value",
"min": 1,
"mustSupport": true
},
{
"id": "Task.output",
"path": "Task.output",
"mustSupport": true
},
{
"id": "Task.output.value[x]",
"path": "Task.output.value[x]",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Communication"
]
},
{
"code": "string"
},
{
"code": "code"
}
],
"mustSupport": true
}
]
}
}