using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6732e65fa7ab9503640fafa5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6732e85c2e39a307b8787fe0\",\"Direction\":\"1 in evening\",\"FoilId\":\"69e735c248571626cc9fd7bf\",\"FoilLabel\":\"pack1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-04-21T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"QUEPINE XR 300mg SR-TAB\",\"DrugCode\":\"QUEP4\",\"Austr\":\"\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"SR-Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly*Certain foods and fruit juices should be avoided while being treated with this medicineswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"QUET7\",\"GenericName\":\"QUETIAPINE\",\"Presentation\":\"Used alone or in combination with other drugs to treat schizophrenia and bipolar disorder. It also is usedfor treating major depression in combination with antidepressants.\",\"AltBrand\":\"SEROQUEL XR, QUETIAPINE-AS XR, QUETIAPINE XR (APO), TEVATIAPINE XR, QUEPINE XR, QUETIA XR, QUETIAPINE XR (APX), QUETIAPINE XR (SANDOZ)\",\"DoNotCrush\":true,\"TradeName\":\"QUEPINE XR\",\"Formulation\":\"SR-TAB\",\"Strength\":\"300mg\",\"Schedule\":\"4N\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"Usage\":0,\"DrugFullName\":\"QUEPINE XR 300mg SR-TAB\",\"MedicationFullDetails\":\"QUEPINE XR 300mg SR-TAB - QUETIAPINE (QUEP4)\",\"Id\":\"5f0e69e0a0ba5db368a1772f\",\"CreatedDate\":\"2020-07-15T02:28:47.315Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T18:22:53.189Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e740cfb02e12b387218d56\",\"CreatedDate\":\"2026-04-21T09:18:07.1157618Z\",\"CreatedUserName\":\"jada\",\"CreatedUserId\":\"693286e2a3727f7106f418e2\",\"LastUpdateDate\":\"2026-04-21T09:18:07.1157618Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6732e85c2e39a307b8787fe0",
"");