using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"685b30f4a7ab9508f0d39c0e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,3.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69d4a10d94121a3b59e359d7\",\"Direction\":\"3 NIGHT\",\"FoilId\":\"69d4a13e94121a3b59e3c67f\",\"FoilLabel\":\"REGULAR\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-22T04:26:55.9105669Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-22T04:26:55.9105669Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"685b30f4a7ab9508f0d39c0e\",\"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\":\"685b30f4a7ab9508f0d39c0e\",\"Usage\":7,\"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-10T21:05:40.83Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69d4a1f3c923fb3f73a87a0d\",\"CreatedDate\":\"2026-04-07T06:19:31.88Z\",\"CreatedUserName\":\"Stephng\",\"CreatedUserId\":\"685ca42908efed10d8b05b74\",\"LastUpdateUserId\":\"685b9064a7ab9508f0928073\",\"LastUpdateUserName\":\"Stephng\",\"LastUpdateDate\":\"2026-04-22T04:26:55.9105669Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69d4a10d94121a3b59e359d7",
"");