{
  "resourceType" : "Task",
  "id" : "polaris-core-clinical-task-ai-triage-001",
  "meta" : {
    "versionId" : "3",
    "lastUpdated" : "2025-07-23T11:15:00-06:00",
    "profile" : ["https://fhir.apps.health/StructureDefinition/polaris-core-clinical-task"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task polaris-core-clinical-task-ai-triage-001</b></p><a name=\"polaris-core-clinical-task-ai-triage-001\"> </a><a name=\"hcpolaris-core-clinical-task-ai-triage-001\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">version: 3; Last updated: 2025-07-23 11:15:00-0600</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-polaris-core-clinical-task.html\">Polaris Clinical Task Core</a></p></div><p><b>identifier</b>: <code>https://fhir.apps.health/identifier/task</code>/cedarbrook-task-20250723-002</p><p><b>basedOn</b>: Patient Message - BP Concerns (Identifier: <code>https://fhir.apps.health/NamingSystem/communication-identifier</code>/patient-message-bp-concern-001)</p><p><b>partOf</b>: Patient Message Triage - Parent Task (Identifier: <code>https://fhir.apps.health/NamingSystem/task-identifier</code>/polaris-emr-task-patient-triage-parent-001)</p><p><b>status</b>: In Progress</p><p><b>businessStatus</b>: <span title=\"Codes:{https://fhir.apps.health/CodeSystem/task-business-status awaiting-ai}\">AI agent processing patient message for triage recommendation</span></p><p><b>intent</b>: order</p><p><b>priority</b>: Routine</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 225399009}\">AI-Assisted Patient Message Triage</span></p><p><b>description</b>: Patient message about blood pressure concerns requires triage assessment with AI assistance. Message: 'I've been checking my BP at home and it's been running 150/90. Should I be concerned?'</p><p><b>focus</b>: Identifier: <code>https://fhir.apps.health/NamingSystem/communication-identifier</code>/patient-message-bp-concern-001</p><p><b>for</b>: Maria Gonzalez (Identifier: <code>https://fhir.apps.health/NamingSystem/cedarbrook-clinic-patient-identifier</code>/polaris-core-patient-maria-gonzalez-001)</p><p><b>executionPeriod</b>: 2025-07-23 11:10:00-0600 --&gt; (ongoing)</p><p><b>authoredOn</b>: 2025-07-23 09:45:00-0600</p><p><b>lastModified</b>: 2025-07-23 11:15:00-0600</p><p><b>requester</b>: Maria Gonzalez (Patient Portal) (Identifier: <code>https://fhir.apps.health/NamingSystem/related-person-identifier</code>/maria-gonzalez-patient-portal)</p><p><b>performerType</b>: <span title=\"Codes:{http://snomed.info/sct 224535009}\">Triage Nurse (Human Oversight Required)</span></p><p><b>owner</b>: Triage AI Assistant (Identifier: <code>https://fhir.apps.health/NamingSystem/device-identifier</code>/triage-ai-agent-001)</p><p><b>location</b>: Cedarbrook Clinic - Virtual Care (Identifier: <code>https://fhir.apps.health/NamingSystem/location-identifier</code>/cedarbrook-clinic-virtual)</p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 182836005}\">Patient-initiated message requiring clinical assessment</span></p><p><b>note</b>: @2025-07-23 11:10:00-0600, @2025-07-23 11:15:00-0600</p><blockquote><div><p>Forwarded to AI agent for initial assessment. Human oversight required for final triage decision.</p>\n</div></blockquote><blockquote><div><p>AI processing started. Analyzing patient history, current medications, and symptom description.</p>\n</div></blockquote><p><b>relevantHistory</b>: Task Assignment to AI Agent (Identifier: <code>https://fhir.apps.health/NamingSystem/provenance-identifier</code>/task-assignment-to-ai-001)</p><h3>Restrictions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Repetitions</b></td><td><b>Period</b></td><td><b>Recipient</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>?? --&gt; 2025-07-23 17:00:00-0600</td><td>Triage Nurse - Day Shift (Identifier: <code>https://fhir.apps.health/NamingSystem/cedarbrook-clinic-practitioner-identifier</code>/triage-nurse-role-001)</td></tr></table><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-input-type reference}\">Patient Message</span></p><p><b>value</b>: Identifier: <code>https://fhir.apps.health/NamingSystem/communication-identifier</code>/patient-message-bp-concern-001</p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-input-type string}\">Triage Priority</span></p><p><b>value</b>: routine</p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-input-type boolean}\">AI Assistance Requested</span></p><p><b>value</b>: true</p></blockquote></div>"
  },
  "identifier" : [{
    "system" : "https://fhir.apps.health/identifier/task",
    "value" : "cedarbrook-task-20250723-002"
  }],
  "basedOn" : [{
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/communication-identifier",
      "value" : "patient-message-bp-concern-001"
    },
    "display" : "Patient Message - BP Concerns"
  }],
  "partOf" : [{
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/task-identifier",
      "value" : "polaris-emr-task-patient-triage-parent-001"
    },
    "display" : "Patient Message Triage - Parent Task"
  }],
  "status" : "in-progress",
  "businessStatus" : {
    "coding" : [{
      "system" : "https://fhir.apps.health/CodeSystem/task-business-status",
      "code" : "awaiting-ai",
      "display" : "Awaiting AI Processing"
    }],
    "text" : "AI agent processing patient message for triage recommendation"
  },
  "intent" : "order",
  "priority" : "routine",
  "code" : {
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "225399009",
      "display" : "Triage assessment"
    }],
    "text" : "AI-Assisted Patient Message Triage"
  },
  "description" : "Patient message about blood pressure concerns requires triage assessment with AI assistance. Message: 'I've been checking my BP at home and it's been running 150/90. Should I be concerned?'",
  "focus" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/communication-identifier",
      "value" : "patient-message-bp-concern-001"
    }
  },
  "for" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-patient-identifier",
      "value" : "polaris-core-patient-maria-gonzalez-001"
    },
    "display" : "Maria Gonzalez"
  },
  "executionPeriod" : {
    "start" : "2025-07-23T11:10:00-06:00"
  },
  "authoredOn" : "2025-07-23T09:45:00-06:00",
  "lastModified" : "2025-07-23T11:15:00-06:00",
  "requester" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/related-person-identifier",
      "value" : "maria-gonzalez-patient-portal"
    },
    "display" : "Maria Gonzalez (Patient Portal)"
  },
  "performerType" : [{
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "224535009",
      "display" : "Registered nurse"
    }],
    "text" : "Triage Nurse (Human Oversight Required)"
  }],
  "owner" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/device-identifier",
      "value" : "triage-ai-agent-001"
    },
    "display" : "Triage AI Assistant"
  },
  "location" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/location-identifier",
      "value" : "cedarbrook-clinic-virtual"
    },
    "display" : "Cedarbrook Clinic - Virtual Care"
  },
  "reasonCode" : {
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "182836005",
      "display" : "Patient communication"
    }],
    "text" : "Patient-initiated message requiring clinical assessment"
  },
  "note" : [{
    "time" : "2025-07-23T11:10:00-06:00",
    "text" : "Forwarded to AI agent for initial assessment. Human oversight required for final triage decision."
  },
  {
    "time" : "2025-07-23T11:15:00-06:00",
    "text" : "AI processing started. Analyzing patient history, current medications, and symptom description."
  }],
  "relevantHistory" : [{
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/provenance-identifier",
      "value" : "task-assignment-to-ai-001"
    },
    "display" : "Task Assignment to AI Agent"
  }],
  "restriction" : {
    "repetitions" : 1,
    "period" : {
      "end" : "2025-07-23T17:00:00-06:00"
    },
    "recipient" : [{
      "identifier" : {
        "system" : "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-practitioner-identifier",
        "value" : "triage-nurse-role-001"
      },
      "display" : "Triage Nurse - Day Shift"
    }]
  },
  "input" : [{
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-input-type",
        "code" : "reference"
      }],
      "text" : "Patient Message"
    },
    "valueReference" : {
      "identifier" : {
        "system" : "https://fhir.apps.health/NamingSystem/communication-identifier",
        "value" : "patient-message-bp-concern-001"
      }
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-input-type",
        "code" : "string"
      }],
      "text" : "Triage Priority"
    },
    "valueString" : "routine"
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-input-type",
        "code" : "boolean"
      }],
      "text" : "AI Assistance Requested"
    },
    "valueBoolean" : true
  }]
}