using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68a67bb54175295981a9027d",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"692d604a9c026d17a0cd488b\",\"Direction\":\"Take ONE tablet twice daily\",\"FoilId\":\"692d60a99c026d17a0cd8a81\",\"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\":\"2025-12-01T04: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\":\"\",\"PharmacyId\":\"68a67bb54175295981a9027d\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OLANZAPINE (APO) 10mg TAB\",\"DrugCode\":\"OLAN65\",\"Austr\":\"158970\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"OLA 10\",\"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\":\"5f3a2d86a0ba5d7c507950c1\",\"ImageSmallSizeId\":\"68f599015a506b941b5c8af5\",\"ImageName\":\"158970-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 (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round OLA 10\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68a67bb54175295981a9027d\",\"Usage\":2,\"DrugFullName\":\"OLANZAPINE (APO) 10mg TAB\",\"MedicationFullDetails\":\"OLANZAPINE (APO) 10mg TAB - OLANZAPINE (OLAN65)\",\"Id\":\"5f0e69e0a0ba5db368a16973\",\"CreatedDate\":\"2020-07-15T02:28:44.322Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:22:26.091Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"692d612f9c026d17a0cddcf2\",\"CreatedDate\":\"2025-12-01T09:34:39.16Z\",\"CreatedUserName\":\"Adam\",\"CreatedUserId\":\"68b7b7f0d340431e73410b26\",\"LastUpdateUserId\":\"68a686646e786c909de8c912\",\"LastUpdateUserName\":\"Jenni15\",\"LastUpdateDate\":\"2026-04-20T04:13:48.0954167Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"692d604a9c026d17a0cd488b",
"");