Generates structured SOAP notes from FHIR encounter data including chief complaint, vitals, labs, medications, conditions, and procedures. Supports ambulatory, ED, and inpatient formats. Use when asked to write a SOAP note, generate encounter note, document this visit, create a clinic note, or mentions SOAP format.
Use when a clinician needs a structured Subjective-Objective-Assessment-Plan note generated from FHIR encounter data.
fhir_read or fhir_search to retrieve the Encounter (reasonCode for chief complaint, class for setting, period, participant for provider)fhir_read to retrieve Patient demographics for note headerfhir_search to pull vital signs (Observation category=vital-signs) during the encounter windowfhir_search to pull laboratory results (Observation category=laboratory) from encounter datefhir_search to pull active MedicationRequest resources; separate pre-existing from new prescriptions by authoredOnfhir_search to pull Condition resources for encounter diagnoses and active problem listfhir_search to pull Procedure resources performed during the encounterfhir_search to pull active AllergyIntolerance for allergy listfhir_create to persist as DocumentReference (LOINC 11506-3 for progress note)fhir_search(resourceType="Encounter", queryParams="patient=[patient-id]&date=[YYYY-MM-DD]&_sort=-date&_count=1")
fhir_search(resourceType="Observation", queryParams="patient=[patient-id]&category=vital-signs&date=ge[encounter-start]&date=le[encounter-end]&_sort=-date")
fhir_search(resourceType="Condition", queryParams="patient=[patient-id]&encounter=[encounter-id]")