Generates a comprehensive History and Physical (H&P) document from FHIR resources for hospital admissions or initial consultations. Includes HPI, PMH, surgical history, medications, allergies, social/family history, ROS, physical exam, labs, assessment, and plan. Use when asked to write an H&P, admission note, history and physical, or initial consultation note.
Use when a clinician needs a comprehensive H&P document for hospital admission or initial specialist consultation.
fhir_read to retrieve Patient demographics, emergency contactsfhir_search to retrieve the admitting Encounter (reasonCode, class=IMP)fhir_search to pull all Condition resources: active problems (PMH), encounter diagnoses (admitting diagnosis)fhir_search to pull Procedure resources for surgical historyfhir_search to pull active MedicationRequest and MedicationStatement for home medicationsfhir_search to pull AllergyIntolerance resourcesfhir_search to pull Observation resources: social history (category=social-history), vitals, labsfhir_searchfhir_create to persist as DocumentReference (LOINC 34117-2)fhir_search(resourceType="Procedure", queryParams="patient=[patient-id]&_sort=-date&_count=50")
fhir_search(resourceType="Observation", queryParams="patient=[patient-id]&category=social-history")
fhir_search(resourceType="FamilyMemberHistory", queryParams="patient=[patient-id]")