Audits the patient problem list for accuracy by cross-referencing active Conditions against medications, labs, and encounter diagnoses. Identifies missing diagnoses, resolved conditions still marked active, and coding discrepancies. Use when asked to review problem list, audit diagnoses, clean up problem list, or verify active conditions.
Use when a clinician needs to validate the accuracy and completeness of a patient's active problem list by cross-referencing against medications, lab results, and encounter history.
fhir_search to pull all Condition resources (active, resolved, inactive) for the patientfhir_search to pull active MedicationRequest resources -- infer expected diagnoses from medications (e.g., metformin implies diabetes, levothyroxine implies hypothyroidism)fhir_search to pull recent Observation (laboratory) results -- infer conditions from abnormal lab patterns (e.g., elevated HbA1c implies diabetes, elevated TSH implies hypothyroidism)fhir_search to pull recent Encounter resources and their associated Condition resources (encounter diagnoses) to find conditions documented in visits but missing from the problem listfhir_search(resourceType="Condition", queryParams="patient=[patient-id]&_count=200")
fhir_search(resourceType="MedicationRequest", queryParams="patient=[patient-id]&status=active&_count=100")
fhir_search(resourceType="Encounter", queryParams="patient=[patient-id]&date=ge[12-months-ago]&_sort=-date&_count=50")