using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69b9ea5c52100378ae138360",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e830da9331f9d4685fdd5b\",\"Direction\":\"Take half a tab daily\",\"FoilId\":\"69e830da9331f9d4685fdd74\",\"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\":\"2026-04-22T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"69b9ea5c52100378ae138360\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"LISINOPRIL (APO) 20mg TAB\",\"DrugCode\":\"APOL2\",\"Austr\":\"213395\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pink\",\"Shape\":\"circular\",\"Marking\":\"20\",\"Warning\":\"*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly*DO NOT TAKE POTASSIUM while being treated with this medicine unless advised by your Doctor*PREGNANCY WARNING - Category DSpecial handling and disposal required - ask your Pharmacistswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"LIS3\",\"GenericName\":\"LISINOPRIL\",\"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\":\"5f3a2f23a0ba5d7c507976e5\",\"ImageSmallSizeId\":\"68f598b75a506b941b5c82dd\",\"ImageName\":\"213395-C01-01-BL600.jpg\",\"AltBrand\":\"PRINIVIL 20, ZESTRIL, LISINOPRIL (TPX BASE), LISODUR, LISINOPRIL-BC, FIBSOL, LISINOPRIL (GENRX), LISINOPRIL (CHEM-MART), LISINOPRIL (HEALTHSENSE), LISINOPRIL (TW), LIPRACE, LISINOPRIL (HEXAL), LISINOBELL, LISINOPRIL (CR), LISINOPRIL (WINTHROP), LISINOPRIL (GEN HLTH), LISINOTRUST, LISINOPRIL (APO), LISINOPRIL (RANBAXY), LISINOPRIL (GA), LISINOPRIL (SANDOZ), LISINOPRIL (DRLA), LISINOPRIL (PS), ZINOPRIL, LISINOPRIL (AURO), LISINOPRIL (AN), LISINOPRIL (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"LISINOPRIL (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"20mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pink circular 20\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69b9ea5c52100378ae138360\",\"Usage\":1,\"DrugFullName\":\"LISINOPRIL (APO) 20mg TAB\",\"MedicationFullDetails\":\"LISINOPRIL (APO) 20mg TAB - LISINOPRIL (APOL2)\",\"Id\":\"5f0e69e0a0ba5db368a16219\",\"CreatedDate\":\"2020-07-15T02:28:42.739Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.831Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e8315bf027e30283df53ce\",\"CreatedDate\":\"2026-04-22T02:24:27.3226932Z\",\"CreatedUserName\":\"shaw\",\"CreatedUserId\":\"69c319925e5874db28c4ce72\",\"LastUpdateDate\":\"2026-04-22T02:24:27.3226932Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e830da9331f9d4685fdd5b",
"");