using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66317c8ba5ab8f0f84e89478",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69c5f2eac62710a996566806\",\"Direction\":\"1 MORN when required\",\"FoilId\":\"69dd7fd8b209d068fb99dbc9\",\"FoilLabel\":\"Blister Pack 2\",\"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-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"tabs\",\"PharmacyId\":\"66317c8ba5ab8f0f84e89478\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OLANZAPINE (SANDOZ) 2.5mg TAB\",\"DrugCode\":\"OLAN25\",\"Austr\":\"148450\",\"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\":\"OLAN8\",\"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\":\"5f3a2f1ea0ba5d7c507973b8\",\"ImageSmallSizeId\":\"68f599025a506b941b5c8b07\",\"ImageName\":\"148450-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 (AN), OLANZACOR, PRYZEX, OLANZAPINE (APOTEX), OLANZAPINE (NOUMED)\",\"DoNotCrush\":false,\"TradeName\":\"OLANZAPINE (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"2.5mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66317c8ba5ab8f0f84e89478\",\"Usage\":1,\"DrugFullName\":\"OLANZAPINE (SANDOZ) 2.5mg TAB\",\"MedicationFullDetails\":\"OLANZAPINE (SANDOZ) 2.5mg TAB - OLANZAPINE (OLAN25)\",\"Id\":\"5f0e69e0a0ba5db368a16996\",\"CreatedDate\":\"2020-07-15T02:28:44.358Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:08:57.203Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5613e5e167ea9ce092574\",\"CreatedDate\":\"2026-04-19T23:11:58.756Z\",\"CreatedUserName\":\"LB\",\"CreatedUserId\":\"68e5b07c355f7892533bb2ce\",\"LastUpdateUserId\":\"68e5b07c355f7892533bb2ce\",\"LastUpdateUserName\":\"LB\",\"LastUpdateDate\":\"2026-04-19T23:12:08.0684566Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69c5f2eac62710a996566806",
"");