using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6848c197a7ab95028c46ca94",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6966d12c744aea5b8e9f96d0\",\"Direction\":\"1 bedtime\",\"FoilId\":\"6966d12c744aea5b8e9f96e3\",\"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-22T02:30: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\":\"6848c197a7ab95028c46ca94\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TEVATIAPINE XR 400mg SR-TAB\",\"DrugCode\":\"TEVA12\",\"Austr\":\"249812\",\"Supplier\":\"TEVA PHARMA AUSTRALIA PTY\",\"Type\":\"SR-Tablet\",\"Color\":\"white\",\"Shape\":\"oblong\",\"Marking\":\"Q400\",\"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\":\"QUET8\",\"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.\",\"ImageId\":\"5f3a2d79a0ba5d7c50794898\",\"ImageSmallSizeId\":\"68f599895a506b941b5c92b1\",\"ImageName\":\"249812-C01-01-BL600.jpg\",\"AltBrand\":\"SEROQUEL XR, QUETIAPINE-AS XR, QUETIAPINE XR (APO), TEVATIAPINE XR, QUEPINE XR, QUETIA XR, QUETIAPINE XR (APX), QUETIAPINE XR (SANDOZ)\",\"DoNotCrush\":true,\"TradeName\":\"TEVATIAPINE XR\",\"Formulation\":\"SR-TAB\",\"Strength\":\"400mg\",\"Schedule\":\"4N\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white oblong Q400\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6848c197a7ab95028c46ca94\",\"Usage\":0,\"DrugFullName\":\"TEVATIAPINE XR 400mg SR-TAB\",\"MedicationFullDetails\":\"TEVATIAPINE XR 400mg SR-TAB - QUETIAPINE (TEVA12)\",\"Id\":\"5f0e69e0a0ba5db368a176a9\",\"CreatedDate\":\"2020-07-15T02:28:47.205Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:02:58.882Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e81c3f9331f9d46815c05a\",\"CreatedDate\":\"2026-04-22T00:54:23.8162315Z\",\"CreatedUserName\":\"twctracy\",\"CreatedUserId\":\"68870630b92482f4e2003f4b\",\"LastUpdateDate\":\"2026-04-22T00:54:23.8162315Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6966d12c744aea5b8e9f96d0",
"");