using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68899eb15427bcdead811923",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e9e5ca747aca488ff12d8c\",\"Direction\":\"Take ONE tablet before bed\",\"FoilId\":\"69e9e5ef747aca488ff14f70\",\"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\":\"2026-04-23T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68899eb15427bcdead811923\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MELATONIN (ARX) 2mg MR-TAB\",\"DrugCode\":\"MELA10\",\"Austr\":\"250294\",\"Supplier\":\"ARROTEX PHARMACEUTICALS P\",\"Type\":\"MR-Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"*Do not take alcohol while being treated with this medicine**May affect alertness and/or co-ordination. If affected, do not drive or operate machineryswallowed whole*Ask your pharmacist about the storage conditions for this medicine\",\"Direction\":\"\",\"GenericCode\":\"MELA5\",\"GenericName\":\"MELATONIN\",\"Presentation\":\"\",\"AltBrand\":\"CIRCADIN, MELATONIN (ARX), MELATONIN (TEVA), RESTIN\",\"DoNotCrush\":true,\"TradeName\":\"MELATONIN (ARX)\",\"Formulation\":\"MR-TAB\",\"Strength\":\"2mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68899eb15427bcdead811923\",\"Usage\":16,\"DrugFullName\":\"MELATONIN (ARX) 2mg MR-TAB\",\"MedicationFullDetails\":\"MELATONIN (ARX) 2mg MR-TAB - MELATONIN (MELA10)\",\"Id\":\"633aa511f65a8810882e4e2d\",\"CreatedDate\":\"2022-10-03T09:02:09.298Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T22:05:46.496Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e9e62526359e3854da8867\",\"CreatedDate\":\"2026-04-23T09:28:05.951Z\",\"CreatedUserName\":\"natashaf\",\"CreatedUserId\":\"689bee1bbb04b17ad2eab728\",\"LastUpdateUserId\":\"689bee1bbb04b17ad2eab728\",\"LastUpdateUserName\":\"natashaf\",\"LastUpdateDate\":\"2026-04-23T09:43:16.1505522Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e9e5ca747aca488ff12d8c",
"");