using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68a3ce7b5a33ecf5ffc357f1",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e5e8ee2c1a237be0936403\",\"Direction\":\"Dissolve ONE tablet on the tongue in the evening\",\"FoilId\":\"69e5e8ee2c1a237be093640d\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-20T06:27:43Z\",\"ScriptNum\":\"60420178\",\"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\":\"2026-04-20T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68a3ce7b5a33ecf5ffc357f1\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OLANZAPINE (SANDOZ) 5mg OR-DISTAB\",\"DrugCode\":\"OLAN74\",\"Austr\":\"179092\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Oral Dispersible Tablet\",\"Color\":\"yellow\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Avoid excessive exposure to sunlight and sunlamps*May cause dizziness when standing up quickly*Ask your pharmacist about the storage conditions for this medicine\",\"Direction\":\"\",\"GenericCode\":\"OLAN5\",\"GenericName\":\"OLANZAPINE\",\"Presentation\":\"Used to treat the symptoms of psychotic conditions such as schizophrenia and bipolar disorder (manic depression) in adults and children who are at least 13 years old.\",\"ImageId\":\"5f3a2d98a0ba5d7c50795ab2\",\"ImageSmallSizeId\":\"68f599bc5a506b941b5c9547\",\"ImageName\":\"179092-C01-01-BL600.jpg\",\"AltBrand\":\"ZYPREXA ZYDIS, LANZEK ZYDIS, OLANZAPINE (APO), OLANZAPINE (CHEM MART), OLANZAPINE (DRLA), OLANZAPINE (GA), OLANZAPINE (PS), OLANZAPINE (TW), ZYLAP, ZYPINE ODT, OLANZAPINE (GEN HLTH), OLANZAPINE (SANDOZ), OLANZAPINE (STADA), OLANZAPINE (PCY CHOICE) ODT, OLANZAPINE (RBX) ODT, OLANZAPINE ODT (AN), OZIN ODT, PRYZEX ODT, OLANZAPINE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"OLANZAPINE (SANDOZ)\",\"Formulation\":\"OR-DISTAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68a3ce7b5a33ecf5ffc357f1\",\"Usage\":0,\"DrugFullName\":\"OLANZAPINE (SANDOZ) 5mg OR-DISTAB\",\"MedicationFullDetails\":\"OLANZAPINE (SANDOZ) 5mg OR-DISTAB - OLANZAPINE (OLAN74)\",\"Id\":\"5f0e69e0a0ba5db368a16a23\",\"CreatedDate\":\"2020-07-15T02:28:44.473Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:21:45.017Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5e8ee2c1a237be0936411\",\"CreatedDate\":\"2026-04-20T08:50:54.927Z\",\"CreatedUserId\":\"68a3e1116f448b108e299b91\",\"LastUpdateUserId\":\"68a3e1116f448b108e299b91\",\"LastUpdateUserName\":\"TSS\",\"LastUpdateDate\":\"2026-04-20T08:52:01.4500482Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5e8ee2c1a237be0936403",
"");