using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67be4df4af648e1040b83990",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69bea629473987a3a35f58c3\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"69c5d505085f7585a8dcacef\",\"FoilLabel\":\"Blister Pack 1\",\"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-24T04: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\":\"67be4df4af648e1040b83990\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"QUETIAPINE XR (APX) 150mg SR-TAB\",\"DrugCode\":\"QUPN22\",\"Austr\":\"199885\",\"Supplier\":\"APOTEX 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 wholeDo NOT crush or chew\",\"Direction\":\"\",\"GenericCode\":\"QUET10\",\"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, QUEPINE XR, TEVATIAPINE XR, QUETIA XR, QUETIAPINE XR (APX), QUETIAPINE XR (SANDOZ)\",\"DoNotCrush\":true,\"TradeName\":\"QUETIAPINE XR (APX)\",\"Formulation\":\"SR-TAB\",\"Strength\":\"150mg\",\"Schedule\":\"4N\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67be4df4af648e1040b83990\",\"Usage\":4,\"DrugFullName\":\"QUETIAPINE XR (APX) 150mg SR-TAB\",\"MedicationFullDetails\":\"QUETIAPINE XR (APX) 150mg SR-TAB - QUETIAPINE (QUPN22)\",\"Id\":\"6102d276a6b66b27b8110242\",\"CreatedDate\":\"2021-07-29T16:08:22.78Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T19:21:38.319Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eb0d0b8b65c9dccb37ddd5\",\"CreatedDate\":\"2026-04-24T06:26:19.8698972Z\",\"CreatedUserName\":\"somayyeh\",\"CreatedUserId\":\"67be6d4aaf648e1040e1a3ce\",\"LastUpdateDate\":\"2026-04-24T06:26:19.8698972Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69bea629473987a3a35f58c3",
"");