using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68c89fb8454a7344964928fd",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"white round\",\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"Morning\",\"Lunch\",\"Night\",\"Night\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68ef4110e7723e0be7b4c853\",\"Direction\":\"Take ONE tablet at night\",\"FoilId\":\"68ef4110e7723e0be7b4c854\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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-23T04:57:00.2375706Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-23T04:57:00.2375706Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"68c89fb8454a7344964928fd\",\"SyncId\":\"ed66dc28-0527-4b50-9fe6-48a4cd834217-5443\",\"SyncDate\":\"2025-10-15T06:37:04.98Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"OLANZAPINE (SANDOZ) 10mg TAB\",\"DrugCode\":\"OLAN71\",\"Austr\":\"148451\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"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\",\"Direction\":\"\",\"GenericCode\":\"OLAN11\",\"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\":\"5f3a2dbca0ba5d7c50796c6d\",\"ImageName\":\"148451-C01-01-BL600.jpg\",\"AltBrand\":\"ZYPREXA, LANZEK, OLANZAPINE (APO), OLANZAPINE (CHEM MART), OLANZAPINE (DRLA), OLANZAPINE (GA), OLANZAPINE (GEN HLTH), OLANZAPINE (PS), OLANZAPINE (RBX), OLANZAPINE (SANDOZ), OLANZAPINE (TW), OZIN, ZYLAP, ZYPINE, OLANZAPINE (SYNTHON), OLANZAPINE (PHARMACOR), OLANZAPINE (STADA), OLANZAPINE (PCY CHOICE), OLANZAPINE (GH), OLANZAPINE (AN), OLANZACOR, PRYZEX, OLANZAPINE (APOTEX), OLANZAPINE (NOUMED)\",\"DoNotCrush\":false,\"TradeName\":\"OLANZAPINE (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68c89fb8454a7344964928fd\",\"Usage\":0,\"DrugFullName\":\"OLANZAPINE (SANDOZ) 10mg TAB\",\"MedicationFullDetails\":\"OLANZAPINE (SANDOZ) 10mg TAB - OLANZAPINE (OLAN71)\",\"Id\":\"5f0e69e0a0ba5db368a16999\",\"CreatedDate\":\"2020-07-15T02:28:44.36Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:29:22.837Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68ef4110e7723e0be7b4c858\",\"CreatedDate\":\"2025-10-15T06:37:04.98Z\",\"LastUpdateUserId\":\"68f034dbe450274dff1e8c43\",\"LastUpdateDate\":\"2026-04-23T04:57:00.2375706Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68ef4110e7723e0be7b4c853",
"");