{
  "resourceType" : "Task",
  "id" : "polaris-core-clinical-task-completed-001",
  "meta" : {
    "versionId" : "5",
    "lastUpdated" : "2025-07-23T16:30: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-completed-001</b></p><a name=\"polaris-core-clinical-task-completed-001\"> </a><a name=\"hcpolaris-core-clinical-task-completed-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: 5; Last updated: 2025-07-23 16:30: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-005</p><p><b>basedOn</b>: Diabetes Management Care Plan (Identifier: <code>https://fhir.apps.health/NamingSystem/care-plan-identifier</code>/diabetes-management-plan-001)</p><p><b>status</b>: Completed</p><p><b>businessStatus</b>: <span title=\"Codes:{https://fhir.apps.health/CodeSystem/task-business-status completed-successfully}\">Education session completed with positive patient engagement</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 408403008}\">Diabetes Education Follow-up</span></p><p><b>description</b>: Provide diabetes education follow-up for Jennifer Martinez. Review blood glucose logs, insulin adjustment, and dietary counseling. Patient newly diagnosed with Type 2 diabetes.</p><p><b>focus</b>: Identifier: <code>https://fhir.apps.health/NamingSystem/condition-identifier</code>/diabetes-type2-001</p><p><b>for</b>: Jennifer Martinez (Identifier: <code>https://fhir.apps.health/NamingSystem/cedarbrook-clinic-patient-identifier</code>/polaris-core-patient-jennifer-martinez-001)</p><p><b>encounter</b>: Diabetes Follow-up Visit - July 23, 2025 (Identifier: <code>https://fhir.apps.health/NamingSystem/encounter-identifier</code>/polaris-core-encounter-diabetes-followup-001)</p><p><b>executionPeriod</b>: 2025-07-23 14:00:00-0600 --&gt; 2025-07-23 16:30:00-0600</p><p><b>authoredOn</b>: 2025-07-23 09:00:00-0600</p><p><b>lastModified</b>: 2025-07-23 16:30:00-0600</p><p><b>requester</b>: Dr. Michael Wong (Identifier: <code>https://fhir.apps.health/NamingSystem/cedarbrook-clinic-practitioner-identifier</code>/dr-michael-wong-role)</p><p><b>performerType</b>: <span title=\"Codes:{http://snomed.info/sct 224535009}\">Certified Diabetes Educator</span></p><p><b>owner</b>: Linda Patel, RN CDE (Identifier: <code>https://fhir.apps.health/NamingSystem/cedarbrook-clinic-practitioner-identifier</code>/nurse-linda-patel-role)</p><p><b>location</b>: Cedarbrook Clinic - Patient Education Room (Identifier: <code>https://fhir.apps.health/NamingSystem/location-identifier</code>/cedarbrook-clinic-education-room)</p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 408403008}\">New diabetes diagnosis education requirement</span></p><p><b>note</b>: @2025-07-23 09:00:00-0600, @2025-07-23 14:00:00-0600, @2025-07-23 16:30:00-0600</p><blockquote><div><p>Task assigned to Linda Patel, CDE for comprehensive diabetes education.</p>\n</div></blockquote><blockquote><div><p>Education session started. Patient and spouse both present and engaged.</p>\n</div></blockquote><blockquote><div><p>Education session completed successfully. Patient demonstrates good understanding. Follow-up scheduled in 2 weeks.</p>\n</div></blockquote><p><b>relevantHistory</b>: </p><ul><li>Task Assignment to CDE (Identifier: <code>https://fhir.apps.health/NamingSystem/provenance-identifier</code>/task-assignment-001)</li><li>Education Session Started (Identifier: <code>https://fhir.apps.health/NamingSystem/provenance-identifier</code>/task-start-001)</li><li>Task Completed Successfully (Identifier: <code>https://fhir.apps.health/NamingSystem/provenance-identifier</code>/task-completion-001)</li></ul><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-input-type reference}\">Diabetes Diagnosis</span></p><p><b>value</b>: Identifier: <code>https://fhir.apps.health/NamingSystem/condition-identifier</code>/diabetes-type2-001</p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-input-type reference}\">Recent Lab Results</span></p><p><b>value</b>: Identifier: <code>https://fhir.apps.health/NamingSystem/diagnostic-report-identifier</code>/hba1c-results-001</p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-input-type string}\">Education Topics</span></p><p><b>value</b>: Blood glucose monitoring, insulin administration, carbohydrate counting, hypoglycemia recognition</p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-output-type reference}\">Education Documentation</span></p><p><b>value</b>: Identifier: <code>https://fhir.apps.health/NamingSystem/document-reference-identifier</code>/diabetes-education-summary-001</p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-output-type reference}\">Patient Education Materials</span></p><p><b>value</b>: Identifier: <code>https://fhir.apps.health/NamingSystem/document-reference-identifier</code>/diabetes-education-materials-001</p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-output-type string}\">Patient Understanding Level</span></p><p><b>value</b>: Excellent - Patient demonstrated all taught skills accurately</p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-output-type reference}\">Follow-up Appointment</span></p><p><b>value</b>: Identifier: <code>https://fhir.apps.health/NamingSystem/appointment-identifier</code>/diabetes-followup-appointment-001</p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/task-output-type boolean}\">Education Goals Met</span></p><p><b>value</b>: true</p></blockquote></div>"
  },
  "identifier" : [{
    "system" : "https://fhir.apps.health/identifier/task",
    "value" : "cedarbrook-task-20250723-005"
  }],
  "basedOn" : [{
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/care-plan-identifier",
      "value" : "diabetes-management-plan-001"
    },
    "display" : "Diabetes Management Care Plan"
  }],
  "status" : "completed",
  "businessStatus" : {
    "coding" : [{
      "system" : "https://fhir.apps.health/CodeSystem/task-business-status",
      "code" : "completed-successfully",
      "display" : "Completed Successfully"
    }],
    "text" : "Education session completed with positive patient engagement"
  },
  "intent" : "order",
  "priority" : "routine",
  "code" : {
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "408403008",
      "display" : "Patient education"
    }],
    "text" : "Diabetes Education Follow-up"
  },
  "description" : "Provide diabetes education follow-up for Jennifer Martinez. Review blood glucose logs, insulin adjustment, and dietary counseling. Patient newly diagnosed with Type 2 diabetes.",
  "focus" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/condition-identifier",
      "value" : "diabetes-type2-001"
    }
  },
  "for" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-patient-identifier",
      "value" : "polaris-core-patient-jennifer-martinez-001"
    },
    "display" : "Jennifer Martinez"
  },
  "encounter" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/encounter-identifier",
      "value" : "polaris-core-encounter-diabetes-followup-001"
    },
    "display" : "Diabetes Follow-up Visit - July 23, 2025"
  },
  "executionPeriod" : {
    "start" : "2025-07-23T14:00:00-06:00",
    "end" : "2025-07-23T16:30:00-06:00"
  },
  "authoredOn" : "2025-07-23T09:00:00-06:00",
  "lastModified" : "2025-07-23T16:30:00-06:00",
  "requester" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-practitioner-identifier",
      "value" : "dr-michael-wong-role"
    },
    "display" : "Dr. Michael Wong"
  },
  "performerType" : [{
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "224535009",
      "display" : "Registered nurse"
    }],
    "text" : "Certified Diabetes Educator"
  }],
  "owner" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-practitioner-identifier",
      "value" : "nurse-linda-patel-role"
    },
    "display" : "Linda Patel, RN CDE"
  },
  "location" : {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/location-identifier",
      "value" : "cedarbrook-clinic-education-room"
    },
    "display" : "Cedarbrook Clinic - Patient Education Room"
  },
  "reasonCode" : {
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "408403008",
      "display" : "Patient education"
    }],
    "text" : "New diabetes diagnosis education requirement"
  },
  "note" : [{
    "time" : "2025-07-23T09:00:00-06:00",
    "text" : "Task assigned to Linda Patel, CDE for comprehensive diabetes education."
  },
  {
    "time" : "2025-07-23T14:00:00-06:00",
    "text" : "Education session started. Patient and spouse both present and engaged."
  },
  {
    "time" : "2025-07-23T16:30:00-06:00",
    "text" : "Education session completed successfully. Patient demonstrates good understanding. Follow-up scheduled in 2 weeks."
  }],
  "relevantHistory" : [{
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/provenance-identifier",
      "value" : "task-assignment-001"
    },
    "display" : "Task Assignment to CDE"
  },
  {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/provenance-identifier",
      "value" : "task-start-001"
    },
    "display" : "Education Session Started"
  },
  {
    "identifier" : {
      "system" : "https://fhir.apps.health/NamingSystem/provenance-identifier",
      "value" : "task-completion-001"
    },
    "display" : "Task Completed Successfully"
  }],
  "input" : [{
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-input-type",
        "code" : "reference"
      }],
      "text" : "Diabetes Diagnosis"
    },
    "valueReference" : {
      "identifier" : {
        "system" : "https://fhir.apps.health/NamingSystem/condition-identifier",
        "value" : "diabetes-type2-001"
      }
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-input-type",
        "code" : "reference"
      }],
      "text" : "Recent Lab Results"
    },
    "valueReference" : {
      "identifier" : {
        "system" : "https://fhir.apps.health/NamingSystem/diagnostic-report-identifier",
        "value" : "hba1c-results-001"
      }
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-input-type",
        "code" : "string"
      }],
      "text" : "Education Topics"
    },
    "valueString" : "Blood glucose monitoring, insulin administration, carbohydrate counting, hypoglycemia recognition"
  }],
  "output" : [{
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-output-type",
        "code" : "reference"
      }],
      "text" : "Education Documentation"
    },
    "valueReference" : {
      "identifier" : {
        "system" : "https://fhir.apps.health/NamingSystem/document-reference-identifier",
        "value" : "diabetes-education-summary-001"
      }
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-output-type",
        "code" : "reference"
      }],
      "text" : "Patient Education Materials"
    },
    "valueReference" : {
      "identifier" : {
        "system" : "https://fhir.apps.health/NamingSystem/document-reference-identifier",
        "value" : "diabetes-education-materials-001"
      }
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-output-type",
        "code" : "string"
      }],
      "text" : "Patient Understanding Level"
    },
    "valueString" : "Excellent - Patient demonstrated all taught skills accurately"
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-output-type",
        "code" : "reference"
      }],
      "text" : "Follow-up Appointment"
    },
    "valueReference" : {
      "identifier" : {
        "system" : "https://fhir.apps.health/NamingSystem/appointment-identifier",
        "value" : "diabetes-followup-appointment-001"
      }
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/task-output-type",
        "code" : "boolean"
      }],
      "text" : "Education Goals Met"
    },
    "valueBoolean" : true
  }]
}