using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"685b30f4a7ab9508f0d39c0e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"686cbf178907234341dc0467\",\"Direction\":\"1/2 DAILY\",\"FoilId\":\"686cbf178907234341dc046a\",\"FoilLabel\":\"REGULAR\",\"DateDispensed\":\"2025-06-25T05:55:07Z\",\"ScriptNum\":\"312298\",\"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-20T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"2025-11-17T08:28:36.716Z\",\"TempSubstitution\":false,\"Note\":\"Reduce to HALF by Dr Wu (email 10/10/25)\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"685b30f4a7ab9508f0d39c0e\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"EXFORGE 5mg/160mg TAB\",\"DrugCode\":\"EXFO2\",\"Austr\":\"130834\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"dark yellow\",\"Shape\":\"oval\",\"Marking\":\"ECE\",\"Warning\":\"*Do NOT stop taking this medication abruptly*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 quickly*Certain foods and fruit juices should be avoided while being treated with this medicineswallowed wholeSpecial handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"VALS9\",\"GenericName\":\"AMLODIPINE/VALSARTAN\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d9ea0ba5d7c50795ce3\",\"ImageSmallSizeId\":\"68f598bd5a506b941b5c8320\",\"ImageName\":\"130834-C01-01-BL600.jpg\",\"AltBrand\":\"EXFORGE, AMLODIPINE/VALSARTAN(NOVARTIS)\",\"DoNotCrush\":true,\"TradeName\":\"EXFORGE\",\"Formulation\":\"TAB\",\"Strength\":\"5mg/160mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"dark yellow oval ECE\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"685b30f4a7ab9508f0d39c0e\",\"Usage\":0,\"DrugFullName\":\"EXFORGE 5mg/160mg TAB\",\"MedicationFullDetails\":\"EXFORGE 5mg/160mg TAB - AMLODIPINE/VALSARTAN (EXFO2)\",\"Id\":\"5f0e69e0a0ba5db368a16279\",\"CreatedDate\":\"2020-07-15T02:28:42.816Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:05:36.222Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"686cbf178907234341dc046e\",\"CreatedDate\":\"2025-07-08T06:47:51.558Z\",\"CreatedUserId\":\"685ca3f308efed10d8afb8a6\",\"LastUpdateUserId\":\"685b9064a7ab9508f0928073\",\"LastUpdateUserName\":\"Basemghibrial\",\"LastUpdateDate\":\"2026-04-20T09:09:41.0090584Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"686cbf178907234341dc0467",
"");