{
  "resourceType": "StructureDefinition",
  "url": "https://cloudconnect.cognisantmd.com/fhir/StructureDefinition/Task",
  "name": "Task",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Task",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Task",
  "description": "Used to post follow-up Tasks regarding Ocean interventions. Note: these constraints extend the Canadian Baseline profile as a baseDefinition but avoid using it directly, due to a broken link in the Canadian registry.",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Task.identifier",
        "path": "Task.identifier",
        "min": 1
      },
      {
        "id": "Task.priority",
        "path": "Task.priority",
        "min": 1
      },
      {
        "id": "Task.code",
        "path": "Task.code",
        "min": 1
      },
      {
        "id": "Task.authoredOn",
        "path": "Task.authoredOn",
        "min": 1
      },
      {
        "id": "Task.lastModified",
        "path": "Task.lastModified",
        "min": 1
      },
      {
        "id": "Task.requester",
        "path": "Task.requester",
        "min": 1
      },
      {
        "id": "Task.owner",
        "path": "Task.owner",
        "min": 1
      },
      {
        "id": "Task.intent",
        "path": "Task.intent",
        "mustSupport": true
      },
      {
        "id": "Task.code",
        "path": "Task.code",
        "comment": "The title for the task (e.g. 'Review Note') is associated with the code.",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "http://ehealthontario.ca/fhir/ValueSet/ereferral-ontario/task-code"
        }
      },
      {
        "id": "Task.code.coding",
        "path": "Task.code.coding",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "http://ehealthontario.ca/fhir/ValueSet/task-code"
        }
      },
      {
        "id": "Task.code.coding.system",
        "path": "Task.code.coding.system",
        "fixedUri": "https://ehealthontario.ca/fhir/CodeSystem/task-code",
        "mustSupport": true
      },
      {
        "id": "Task.code.coding.code",
        "path": "Task.code.coding.code",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "http://ehealthontario.ca/fhir/ValueSet/ereferral-ontario/task-code"
        }
      },
      {
        "id": "Task.code.coding.display",
        "path": "Task.code.coding.display",
        "mustSupport": true
      }
    ]
  }
}