Generates specialist referral requests by compiling relevant clinical data from FHIR resources into a structured referral package. Creates ServiceRequest resources for the referral order. Use when asked to generate a referral, specialist consult request, create a referral, or compile referral data for a specialist.
Use when a clinician needs to create a specialist referral with supporting clinical documentation compiled from the patient's FHIR record.
fhir_read to retrieve Patient demographics and insurance (Coverage) for referral headerfhir_search to pull relevant Condition resources for the referral indicationfhir_search to pull relevant Observation resources (labs, vitals) supporting the referralfhir_search to pull active MedicationRequest resources for current treatment contextfhir_search to pull relevant Procedure resources for prior interventionsfhir_create to create ServiceRequest resource with category=referral, reasonCode, and supportingInfo referencesfhir_create(resourceType="ServiceRequest", resource={"resourceType":"ServiceRequest","status":"active","intent":"order","category":[{"coding":[{"system":"http://snomed.info/sct","code":"3457005","display":"Patient referral"}]}],"code":{"text":"[specialty] referral"},"subject":{"reference":"Patient/[patient-id]"},"reasonCode":[{"text":"[referral reason]"}]})