PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.erec@1.1.0-dft
    http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Task
{
  "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.",
  "_filename": "Task.StructureDefinition.json",
  "package_name": "ca.infoway.io.erec",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "Task",
  "abstract": false,
  "type": "Task",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Task",
  "package_version": "1.1.0-dft",
  "status": "draft",
  "id": "282f7f5f-7bfe-4e73-96e0-c0db02087891",
  "kind": "resource",
  "url": "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Task",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Task.meta",
      "path": "Task.meta",
      "mustSupport": true
    }, {
      "id": "Task.meta.profile",
      "path": "Task.meta.profile",
      "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.",
      "mustSupport": true
    }, {
      "id": "Task.extension",
      "path": "Task.extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Task.extension:PatientNeedsToBeSeen",
      "max": "1",
      "min": 0,
      "path": "Task.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-patient-needs-to-be-seen-EXT" ]
      } ],
      "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.",
      "sliceName": "PatientNeedsToBeSeen"
    }, {
      "id": "Task.basedOn",
      "max": "1",
      "min": 1,
      "path": "Task.basedOn",
      "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",
      "min": 1,
      "path": "Task.basedOn.identifier.use",
      "mustSupport": true
    }, {
      "id": "Task.basedOn.identifier.system",
      "min": 1,
      "path": "Task.basedOn.identifier.system",
      "mustSupport": true
    }, {
      "id": "Task.basedOn.identifier.value",
      "min": 1,
      "path": "Task.basedOn.identifier.value",
      "mustSupport": true
    }, {
      "id": "Task.status",
      "path": "Task.status",
      "mustSupport": true
    }, {
      "id": "Task.businessStatus",
      "path": "Task.businessStatus",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/ca-referralbusinessstatus"
      },
      "mustSupport": true
    }, {
      "id": "Task.businessStatus.extension:BusinessStatusReason",
      "max": "1",
      "min": 0,
      "path": "Task.businessStatus.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-task-business-status-reason-EXT" ]
      } ],
      "sliceName": "BusinessStatusReason",
      "mustSupport": true
    }, {
      "id": "Task.intent",
      "path": "Task.intent",
      "mustSupport": true,
      "patternCode": "proposal"
    }, {
      "id": "Task.code",
      "path": "Task.code",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/ca-taskcode"
      },
      "comment": "-",
      "mustSupport": true
    }, {
      "id": "Task.authoredOn",
      "path": "Task.authoredOn",
      "mustSupport": true
    }, {
      "id": "Task.owner",
      "path": "Task.owner",
      "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" ]
      } ],
      "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)",
      "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",
      "min": 1,
      "path": "Task.owner.identifier.system",
      "mustSupport": true
    }, {
      "id": "Task.owner.identifier.value",
      "min": 1,
      "path": "Task.owner.identifier.value",
      "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
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Task"
}