using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68801ae851062ab21627743a",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"yellow round\",\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"697033819447033d787e4c23\",\"Direction\":\"1 on tongue morning \",\"FoilId\":\"697033819447033d787e4c25\",\"FoilLabel\":\"Foil 1\",\"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\":\"2026-04-22T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":1,\"DateCeased\":\"2026-03-24T02:50:40.775Z\",\"OriginDrugId\":\"5f0e69e0a0ba5db368a16fe8\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68801ae851062ab21627743a\",\"SyncId\":\"a79c716d-da6c-4be3-a651-66c90d8cde0d-20545\",\"SyncDate\":\"2026-01-21T02:01:37.701Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"OLANZAPINE (APO) 5mg OR-DISTAB\",\"DrugCode\":\"OLAN30\",\"Austr\":\"158995\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Oral Dispersible Tablet\",\"Color\":\"yellow\",\"Shape\":\"round\",\"Marking\":\"yellow round OL 5\",\"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\":\"5f3a2d88a0ba5d7c50795158\",\"ImageSmallSizeId\":\"68f599005a506b941b5c8aef\",\"ImageName\":\"158995-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 (APO)\",\"Formulation\":\"OR-DISTAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow round OL 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68801ae851062ab21627743a\",\"Usage\":2,\"DrugFullName\":\"OLANZAPINE (APO) 5mg OR-DISTAB\",\"MedicationFullDetails\":\"OLANZAPINE (APO) 5mg OR-DISTAB - OLANZAPINE (OLAN30)\",\"Id\":\"5f0e69e0a0ba5db368a1696d\",\"CreatedDate\":\"2020-07-15T02:28:44.315Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"69703a6d7e78fbad3adc2c00\",\"LastUpdateDate\":\"2026-02-07T12:11:20.586Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69872be8026f5d114213c540\",\"CreatedDate\":\"2026-02-07T12:11:20.504Z\",\"CreatedUserName\":\"RSarah\",\"CreatedUserId\":\"69703a6d7e78fbad3adc2c00\",\"LastUpdateUserId\":\"69703a6d7e78fbad3adc2c00\",\"LastUpdateUserName\":\"RSarah\",\"LastUpdateDate\":\"2026-04-22T09:43:49.2083942Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"697033819447033d787e4c23",
"");