using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6874576594244399368454a6",
FromJson<Prescription>("{\"PackType\":1,\"Description\":\"TAB OVL WHITE L204\",\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"688c27762568f45949d7d053\",\"Direction\":\"Take ONE tablet in the morning with food.\",\"FoilId\":\"688c27762568f45949d7d06f\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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\":\"2025-03-13T00:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6874576594244399368454a6\",\"SyncId\":\"ff9a66c6-2841-4675-8e19-0f7ee9b3c0fe-13599\",\"SyncDate\":\"2025-08-01T02:33:26.654Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"TELMISARTAN (APO) 80mg TAB\",\"DrugCode\":\"TELM27\",\"Austr\":\"209334\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"oval\",\"Marking\":\"L204\",\"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*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\":\"TELM2\",\"GenericName\":\"TELMISARTAN\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"ImageId\":\"5f3a2d79a0ba5d7c507948d5\",\"ImageSmallSizeId\":\"68f5994a5a506b941b5c8f48\",\"ImageName\":\"209334-C01-01-BL600.jpg\",\"AltBrand\":\"MICARDIS, PRITOR, TELMISARTAN (TPX BASE), MIZART, TELMIGEN, TELMISARTAN (AN), TELMISARTAN (APO), TELMISARTAN (CHEM-MART), TELMISARTAN (DRLA), TELMISARTAN (GH), TELMISARTAN (PHARMACOR), TELMISARTAN (SANDOZ), TELMISARTAN (TW), TELTARTAN, TELMISARTAN (RBX), TELMISARTAN (NOUMED), TELMISARTAN (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"TELMISARTAN (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"80mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white oval L204\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6874576594244399368454a6\",\"Usage\":2,\"DrugFullName\":\"TELMISARTAN (APO) 80mg TAB\",\"MedicationFullDetails\":\"TELMISARTAN (APO) 80mg TAB - TELMISARTAN (TELM27)\",\"Id\":\"5f0e69e0a0ba5db368a1702e\",\"CreatedDate\":\"2020-07-15T02:28:45.782Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:09:41.525Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"688c27762568f45949d7d076\",\"CreatedDate\":\"2025-08-01T02:33:26.654Z\",\"LastUpdateUserId\":\"688ff01ea44e902618c1f849\",\"LastUpdateUserName\":\"Hack\",\"LastUpdateDate\":\"2026-04-21T02:50:08.1294976Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"688c27762568f45949d7d053",
"");