using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"685b30f4a7ab9508f0d39c0e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69be4637473987a3a30dc717\",\"Direction\":\"1 MORNINGS - TOTAL DAILY DOSE 3.75MG\",\"FoilId\":\"69be4642b85afad3d31c9a58\",\"FoilLabel\":\"REGULAR\",\"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-20T04: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\":\"685b30f4a7ab9508f0d39c0e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RAMIPRIL (WINTHROP) 1.25mg TAB\",\"DrugCode\":\"RAMI11\",\"Austr\":\"128845\",\"Supplier\":\"SANOFI-AVENTIS AUSTRALIA\",\"Type\":\"Tablet\",\"Color\":\"white to pale yellowish white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"1.25 HMN\",\"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 quicklySpecial handling and disposal required - ask your Pharmacistswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"RAMI1\",\"GenericName\":\"RAMIPRIL\",\"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\":\"5f3a2d9aa0ba5d7c50795be7\",\"ImageSmallSizeId\":\"68f598985a506b941b5c8164\",\"ImageName\":\"128845-C01-01-BL600.jpg\",\"AltBrand\":\"TRITACE, RAMACE, RAMIPRIL (TPX BASE), RAMIPRIL (SANDOZ), RAMIPRIL (WINTHROP), PRILACE, TRYZAN, RAMIPRIL (DP), RAMIPRIL (GEN HLTH), TRYZAN, RAMIPRIL (PHARMACOR), RAMIPRIL (APO), RAMIPRIL (CHEM MART), RAMIPRIL (TW), RAMIPRIL (GA), RAMIPRIL (PFIZER), VASCALACE, RAMIPRIL (APO), RAMIPRIL (CHEM MART), RAMIPRIL (TW), RAMIPRIL (AN), VASCALACE, RAMIPRIL (VIATRIS), RAMIPRIL (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"RAMIPRIL (WINTHROP)\",\"Formulation\":\"TAB\",\"Strength\":\"1.25mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to pale yellowish white capsule-shaped 1.25 HMN\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"685b30f4a7ab9508f0d39c0e\",\"Usage\":1,\"DrugFullName\":\"RAMIPRIL (WINTHROP) 1.25mg TAB\",\"MedicationFullDetails\":\"RAMIPRIL (WINTHROP) 1.25mg TAB - RAMIPRIL (RAMI11)\",\"Id\":\"5f0e69e0a0ba5db368a15f6a\",\"CreatedDate\":\"2020-07-15T02:28:42.153Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:05:37.275Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5c47e21162426a31f2d1f\",\"CreatedDate\":\"2026-04-20T06:15:26.633Z\",\"CreatedUserName\":\"Nickng\",\"CreatedUserId\":\"685ca3f308efed10d8afb8a6\",\"LastUpdateUserId\":\"685ca3f308efed10d8afb8a6\",\"LastUpdateUserName\":\"Nickng\",\"LastUpdateDate\":\"2026-04-20T06:34:06.8029382Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69be4637473987a3a30dc717",
"");