using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698d50af9c6752ab21ee82e6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6992bc01a96f469969b662a7\",\"Direction\":\"Take ONE tablet daily \",\"FoilId\":\"6992bc01a96f469969b662cc\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-01-21T00:54:56Z\",\"ScriptNum\":\"651403\",\"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\":\"2023-12-08T04: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:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"698d50af9c6752ab21ee82e6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"FERRO-F 310MG/350MCG (=100mg Fe/350mcg FA TAB\",\"DrugCode\":\"FERR9\",\"Austr\":\"128099\",\"Supplier\":\"AFT PHARMACEUTICALS (AU)\",\"Type\":\"Tablet\",\"Color\":\"sandy brown\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"with or soon after food.*Ask your pharmacist about the storage conditions for this medicine*SOME CODES PBS RESTRICTED TOABORIGINAL & TORRES STRT ONLY\",\"Direction\":\"\",\"GenericCode\":\"FERR10\",\"GenericName\":\"FERROUS FUMARATE/FOLIC ACID\",\"Presentation\":\"Used to treat iron deficiency or anemia.\",\"ImageId\":\"5f3a2da6a0ba5d7c50796183\",\"ImageSmallSizeId\":\"68f5988e5a506b941b5c80e8\",\"ImageName\":\"128099-C01-01-BL600.jpg\",\"AltBrand\":\"FERRO-F 310MG/350MCG\",\"DoNotCrush\":false,\"TradeName\":\"FERRO-F 310MG/350MCG\",\"Formulation\":\"TAB\",\"Strength\":\"(=100mg Fe/350mcg FA\",\"Schedule\":\"2\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"sandy brown round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698d50af9c6752ab21ee82e6\",\"Usage\":0,\"DrugFullName\":\"FERRO-F 310MG/350MCG (=100mg Fe/350mcg FA TAB\",\"MedicationFullDetails\":\"FERRO-F 310MG/350MCG (=100mg Fe/350mcg FA TAB - FERROUS FUMARATE/FOLIC ACID (FERR9)\",\"Id\":\"5f0e69e0a0ba5db368a15e6f\",\"CreatedDate\":\"2020-07-15T02:28:41.953Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.68Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6992bc01a96f469969b662f6\",\"CreatedDate\":\"2026-02-16T06:41:05.858Z\",\"CreatedUserId\":\"698d623a9c6752ab211e93b5\",\"LastUpdateUserId\":\"698d623a9c6752ab211e93b5\",\"LastUpdateUserName\":\"Admin123\",\"LastUpdateDate\":\"2026-04-21T02:23:31.8344227Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6992bc01a96f469969b662a7",
"");