PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.erec@1.0.2-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.0.2-dft",
  "status": "draft",
  "id": "6dd17035-6124-483f-a1b6-4bceeda62b03",
  "kind": "resource",
  "url": "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Task",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "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",
        "aggregation": [ "referenced" ],
        "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.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": "http://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/task-business-status"
      },
      "mustSupport": true
    }, {
      "id": "Task.businessStatus.extension:StatusReason",
      "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": "StatusReason",
      "mustSupport": true
    }, {
      "id": "Task.intent",
      "path": "Task.intent",
      "mustSupport": true,
      "patternCode": "proposal"
    }, {
      "id": "Task.code",
      "path": "Task.code",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/task-code"
      },
      "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" ]
      } ],
      "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" ]
      } ],
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Task"
}