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],\"ShortCourseTimeslot\":[],\"PatientId\":\"6966d12c744aea5b8e9f96d0\",\"Direction\":\"1 NIGHT\",\"FoilId\":\"6966d12c744aea5b8e9f96e3\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-01-13T06:14:45Z\",\"ScriptNum\":\"6011377\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-22T00:39:53.2031109Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-22T00:39:53.2031109Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"6848c197a7ab95028c46ca94\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TEVATIAPINE XR 300mg SR-TAB\",\"DrugCode\":\"TEVA11\",\"Austr\":\"249792\",\"Supplier\":\"TEVA PHARMA AUSTRALIA PTY\",\"Type\":\"SR-Tablet\",\"Color\":\"light yellow\",\"Shape\":\"oblong\",\"Marking\":\"Q300\",\"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.\",\"ImageId\":\"5f3a2d79a0ba5d7c50794899\",\"ImageSmallSizeId\":\"68f599885a506b941b5c92b0\",\"ImageName\":\"249792-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\":\"300mg\",\"Schedule\":\"4N\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"light yellow oblong Q300\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6848c197a7ab95028c46ca94\",\"Usage\":0,\"DrugFullName\":\"TEVATIAPINE XR 300mg SR-TAB\",\"MedicationFullDetails\":\"TEVATIAPINE XR 300mg SR-TAB - QUETIAPINE (TEVA11)\",\"Id\":\"5f0e69e0a0ba5db368a176a8\",\"CreatedDate\":\"2020-07-15T02:28:47.204Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:02:58.881Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6966d12c744aea5b8e9f96f2\",\"CreatedDate\":\"2026-01-13T23:11:40.351Z\",\"CreatedUserId\":\"6848c4c3a7ab95028c4d1710\",\"LastUpdateUserId\":\"68870630b92482f4e2003f4b\",\"LastUpdateUserName\":\"twchove\",\"LastUpdateDate\":\"2026-04-22T00:39:53.2031109Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6966d12c744aea5b8e9f96d0",
"");