using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6848f1cdaf648e0e9084911a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e6d09bb02e12b387c38e29\",\"Direction\":\"Take ONE capsule daily.\",\"FoilId\":\"69e6d09bb02e12b387c38e3b\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-27T05:17:32Z\",\"ScriptNum\":\"60327103\",\"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-04-21T02:30:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6848f1cdaf648e0e9084911a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DOLAPRIL 1mg CAP\",\"DrugCode\":\"DOLA9\",\"Austr\":\"125433\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Capsule\",\"Color\":\"scarlet and peach opaque\",\"Shape\":\"\",\"Marking\":\"TN 1\",\"Warning\":\"*DO NOT TAKE POTASSIUM while being treated with this medicine unless advised by your Doctor**May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quicklyswallowed whole*Do not crush or chew**Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsSpecial handling and disposal required - ask your PharmacistPREGNANCY WARNING - Category D\",\"Direction\":\"\",\"GenericCode\":\"TRAN2\",\"GenericName\":\"TRANDOLAPRIL\",\"Presentation\":\"Used mainly in the treatment of hypertension (high blood pressure) and heart failure.Also used in some people with diabetes, for some forms of kidney disease, and after a heart attack to help protect the heart.\",\"ImageId\":\"5f3a2dbca0ba5d7c50796c7e\",\"ImageSmallSizeId\":\"68f598a95a506b941b5c8233\",\"ImageName\":\"125433-C01-01-BL600.jpg\",\"AltBrand\":\"GOPTEN, ODRIK, TRANALPHA, DOLAPRIL, TRANDOLAPRIL (APO), TRANDOLAPRIL (DP), TRANDOLAPRIL (GEN HLTH)\",\"DoNotCrush\":true,\"TradeName\":\"DOLAPRIL\",\"Formulation\":\"CAP\",\"Strength\":\"1mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"scarlet and peach opaque TN 1\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6848f1cdaf648e0e9084911a\",\"Usage\":0,\"DrugFullName\":\"DOLAPRIL 1mg CAP\",\"MedicationFullDetails\":\"DOLAPRIL 1mg CAP - TRANDOLAPRIL (DOLA9)\",\"Id\":\"5f0e69e0a0ba5db368a160e0\",\"CreatedDate\":\"2020-07-15T02:28:42.492Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:03:16.965Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6d09bb02e12b387c38e40\",\"CreatedDate\":\"2026-04-21T01:19:23.091Z\",\"CreatedUserId\":\"6848f342a7ab95028ca9ed12\",\"LastUpdateUserId\":\"6848f342a7ab95028ca9ed12\",\"LastUpdateUserName\":\"Kennethlwh\",\"LastUpdateDate\":\"2026-04-21T01:20:17.5255807Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6d09bb02e12b387c38e29",
"");