using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"682d10cda7ab9508f4722ab0",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"696d673fb008ca42aac6f47f\",\"Direction\":\"1 @ 8pm\",\"FoilId\":\"696d67638530ce37b220766c\",\"FoilLabel\":\"Regular 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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-23T22:50:44.3847458Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-23T22:50:44.3847458Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"682d10cda7ab9508f4722ab0\",\"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\":\"\",\"ImageId\":\"6964a78a4427f0c00f59b76c\",\"ImageSmallSizeId\":\"6964a78b3108e5c5a99992d1\",\"AltBrand\":\"CIRCADIN, MELATONIN (ARX), MELATONIN (TEVA), RESTIN\",\"DoNotCrush\":true,\"TradeName\":\"MELATONIN (ARX)\",\"Formulation\":\"MR-TAB\",\"Strength\":\"2mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"white, round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"682d10cda7ab9508f4722ab0\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ImageId\\":null,\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"Route\\":null}\",\"Usage\":8,\"DrugFullName\":\"MELATONIN (ARX) 2mg MR-TAB\",\"UpdateImageUserId\":\"682d1340a7ab9508f475349a\",\"MedicationFullDetails\":\"MELATONIN (ARX) 2mg MR-TAB - MELATONIN (MELA10)\",\"Id\":\"633aa511f65a8810882e4e2d\",\"CreatedDate\":\"2022-10-03T09:02:09.298Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"682d1340a7ab9508f475349a\",\"LastUpdateDate\":\"2026-01-12T07:49:31.479Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"696d67a9c87185279c4a557d\",\"CreatedDate\":\"2026-01-18T23:07:21.303Z\",\"CreatedUserName\":\"ag92\",\"CreatedUserId\":\"682d1340a7ab9508f475349a\",\"LastUpdateUserId\":\"682d1340a7ab9508f475349a\",\"LastUpdateDate\":\"2026-04-23T22:50:44.3847458Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"696d673fb008ca42aac6f47f",
"");