← Back to audit log

Agent invocation · 5/9/2026, 8:09:25 AM

How many residents are in the facility?

Latency

11.8s

Tools

2

Tokens

20,753

Model

claude-opus-4-7

Final response

The CaraDay Demo Facility currently has 50 residents in the database (across all statuses).

Status breakdown from the result set:

  • Active: ~32 residents (currently in-house)
  • On leave: 5
  • Discharged: 8
  • Deceased: 5

A few notable data-quality flags worth knowing:

  • Darnell Bridges and Loretta Vasquez have no MDS or HIPPS code on file — they should be prioritized for assessment.
  • The roster includes a high concentration of post-stroke (I69.30) and pneumonia (J18.9) residents, with many flagged at high or critical risk severity due to documentation gaps (falls, PHQ-9, pressure injuries).

Suggested next step: Would you like me to filter to just the active census, or run a facility_summary-style breakdown by payer mix and risk level so you can target where to focus first?

Tool chain

  1. 01Facility summaryerror
    25ms
    input
    {
      "facility_id": "caraday-demo"
    }
    result preview
    ERROR: Failed query: select "current_status", "primary_payer" from "residents" where "residents"."facility_id" = $1
    params: caraday-demo
  2. 02Query residents
    36ms
    input
    {
      "limit": 200
    }
    result preview
    {"facilityId":"2ff057db-734f-4d27-824f-d4cbc864cac8","appliedFilters":{"payer":null,"ptLetterMax":null,"diagnosisPrefix":null,"admittedAfter":null,"riskLevel":null,"limit":100},"matchCount":50,"residents":[{"id":"1e608feb-9811-47e1-96f9-8e66cb94aa55","firstName":"Sylvia","lastName":"Beaumont","primaryPayer":"medicare","currentStatus":"active","admissionDate":"2026-03-14","age":85,"hippsCode":"KKKEC","ptComponent":"K","mdsDate":"2026-03-19","primaryIcd10":"I69.30","primaryDiagnosis":"Sequelae of cerebral infarction with unspecified late effects, driving SNF stay for rehabilitation","riskSeverity":"critical","riskSummary":"Resident had an unwitnessed fall with bed alarm found inactive, plus documented post-stroke depression symptoms and dysphagia findings without confirmed PHQ-9 scoring or M…[truncated 31258 chars]

Audit ID

c0bec79a-78d8-466c-aeb5-a62d99ee09e1

Session

demo-session