edited the query which is pulling the patient's regimen category