using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6620581c16f53f07c073920e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68be8807034963b3f8e0b0b8\",\"Direction\":\"Take ONE tablet before bed\",\"FoilId\":\"69004460167b40ccdfa41245\",\"FoilLabel\":\"SCHOOL CAMP\",\"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-09T02: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\":\"6620581c16f53f07c073920e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MELATONIN (TWCM) 2mg MR-TAB\",\"DrugCode\":\"METW01\",\"Austr\":\"440555\",\"Supplier\":\"\",\"Type\":\"MR-Tablet\",\"Color\":\"\",\"Shape\":\"\",\"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\":\"MELA2\",\"GenericName\":\"MELATONIN\",\"Presentation\":\"\",\"AltBrand\":\"CIRCADIN, MELOTIN MR, CHEMISTS OWN MELATONIN SLP AID, MELATONIN SLEEP AID (SANDOZ), MELATONIN SLEEP AID (APH), MELATONIN (VIATRIS), RESTIN, MELATONIN (TWCM), MELATONIN (PRICELINE)\",\"DoNotCrush\":true,\"TradeName\":\"MELATONIN (TWCM)\",\"Formulation\":\"MR-TAB\",\"Strength\":\"2mg\",\"Schedule\":\"3\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6620581c16f53f07c073920e\",\"Usage\":5,\"DrugFullName\":\"MELATONIN (TWCM) 2mg MR-TAB\",\"MedicationFullDetails\":\"MELATONIN (TWCM) 2mg MR-TAB - MELATONIN (METW01)\",\"Id\":\"6711a8366bf53f09c8a705db\",\"CreatedDate\":\"2024-10-18T00:13:42.536Z\",\"CreatedUserId\":\"\",\"LastUpdateUserId\":\"677b4608af648e0744abe0a7\",\"LastUpdateDate\":\"2026-04-02T02:18:29.122Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69d6f4e5e216df2a1aa0cd9b\",\"CreatedDate\":\"2026-04-09T00:37:57.509Z\",\"CreatedUserName\":\"kah\",\"CreatedUserId\":\"677b4608af648e0744abe0a7\",\"LastUpdateUserId\":\"677b4608af648e0744abe0a7\",\"LastUpdateUserName\":\"kah\",\"LastUpdateDate\":\"2026-04-21T05:17:54.4057798Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68be8807034963b3f8e0b0b8",
"");