using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68dc7772bc1a57a4a810c5d0",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.5],\"ShortCourseTimeslot\":[],\"PatientId\":\"696ddd8fc87185279c881832\",\"Direction\":\"Take TWO and a HALF tablets ONCE A WEEK on MONDAYS\",\"FoilId\":\"696ddd8fc87185279c881865\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-01-18T02:48:56Z\",\"ScriptNum\":\"1657982\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-01-19T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[false,true,false,false,false,false,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68dc7772bc1a57a4a810c5d0\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"METHOTREXATE (ARX) 10mg TAB\",\"DrugCode\":\"METH90\",\"Austr\":\"365590\",\"Supplier\":\"ARROTEX PHARMACEUTICALS P\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Avoid excessive exposure to sunlight and sunlamps*Do not exceed one Aspirin tablet or capsule per dayTake once a week, on the same daySpecial handling and disposal required - ask your Pharmacist*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"MTX6\",\"GenericName\":\"METHOTREXATE\",\"Presentation\":\"\",\"AltBrand\":\"METHOBLASTIN, CHEXATE, METHOTREXATE (ARX), METHOBLASTIN\",\"DoNotCrush\":true,\"TradeName\":\"METHOTREXATE (ARX)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4\",\"PackSize\":50,\"IsCytotoxic\":true,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68dc7772bc1a57a4a810c5d0\",\"Usage\":0,\"DrugFullName\":\"METHOTREXATE (ARX) 10mg TAB\",\"MedicationFullDetails\":\"METHOTREXATE (ARX) 10mg TAB - METHOTREXATE (METH90)\",\"Id\":\"666b96ecd8c5020e08dac6da\",\"CreatedDate\":\"2024-06-14T01:03:40.993Z\",\"CreatedUserId\":\"\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:26:28.23Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"696ddd8fc87185279c88187d\",\"CreatedDate\":\"2026-01-19T07:30:23.886Z\",\"CreatedUserId\":\"68dc8b70bc1a57a4a84bf839\",\"LastUpdateUserId\":\"69097bd0ef4a2fe1d76310f7\",\"LastUpdateUserName\":\"DD\",\"LastUpdateDate\":\"2026-04-20T08:17:38.0825407Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"696ddd8fc87185279c881832",
"");