using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c416a38222d30ea8c549dc",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,2.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68ae6f654d13f71850dcb83a\",\"Direction\":\"2 ONCE A WEEK (on Wednesday) at midday\",\"FoilId\":\"68ae84de4d13f718501ba1ec\",\"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\":\"2025-08-27T04:00:00Z\",\"EndDate\":\"2026-06-02T04:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[false,false,false,true,false,false,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"ONLY WEDNESDAY\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"66c416a38222d30ea8c549dc\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MEGAFOL 5 5mg TAB\",\"DrugCode\":\"MEG6\",\"Austr\":\"17706\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"yellow\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"*SOME CODES PBS RESTRICTED TOABORIGINAL & TORRES STRT ONLY\",\"Direction\":\"\",\"GenericCode\":\"FOL2\",\"GenericName\":\"FOLIC ACID\",\"Presentation\":\"Used to treat or prevent low folate levels. Low folate levels can lead to certain types of anemia.\",\"ImageId\":\"5f3a2f26a0ba5d7c507978b8\",\"ImageSmallSizeId\":\"68f5981c5a506b941b5c7b17\",\"ImageName\":\"17706-C01-01-BL600.jpg\",\"AltBrand\":\"FOLASIC, FOLIC ACID, FOLICID, MEGAFOL 5\",\"DoNotCrush\":false,\"TradeName\":\"MEGAFOL 5\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"3\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66c416a38222d30ea8c549dc\",\"Usage\":6,\"DrugFullName\":\"MEGAFOL 5 5mg TAB\",\"MedicationFullDetails\":\"MEGAFOL 5 5mg TAB - FOLIC ACID (MEG6)\",\"Id\":\"5f0e69e0a0ba5db368a1479c\",\"CreatedDate\":\"2020-07-15T02:28:36.814Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:17:53.251Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68ae9bb95f3a22d439a80429\",\"CreatedDate\":\"2025-08-27T05:46:33.193Z\",\"CreatedUserName\":\"ayo.o\",\"CreatedUserId\":\"66f79e015ac25f0c38b04baf\",\"LastUpdateUserId\":\"66f79e015ac25f0c38b04baf\",\"LastUpdateUserName\":\"ayo.o\",\"LastUpdateDate\":\"2026-04-22T04:19:36.6413738Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68ae6f654d13f71850dcb83a",
"");