using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"678f08dd08efed09dcf0ef4e",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"white to off-white oval L203\",\"Dose\":[0.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"678f1ff5967e0108509b49de\",\"Direction\":\"0.5 morning\",\"FoilId\":\"678f1ff5967e0108509b49df\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T06:38:14.9724773Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T06:38:14.9724773Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"PharmacyId\":\"678f08dd08efed09dcf0ef4e\",\"SyncId\":\"feb91b3d-7833-46e6-9afc-2230ea0ea2a5-112\",\"SyncDate\":\"2025-01-21T04:17:57.476Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"TELTARTAN 40mg TAB\",\"DrugCode\":\"TELM13\",\"Austr\":\"209341\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"White-Off White\",\"Shape\":\"Oval\",\"Marking\":\"L203\",\"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\":\"TELM1\",\"GenericName\":\"TELMISARTAN\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"ImageId\":\"5f3a2d79a0ba5d7c507948db\",\"ImageName\":\"209341-C01-01-BL600.jpg\",\"AltBrand\":\"MICARDIS, PRITOR, TELMISARTAN (TPX BASE), MIZART, TELMIGEN, TELMISARTAN (AN), TELMISARTAN (APO), TELMISARTAN (CHEM-MART), TELMISARTAN (DRLA), TELMISARTAN (GH), TELMISARTAN (SANDOZ), TELMISARTAN (TW), TELMISARTAN 40 (PHARMACOR), TELTARTAN, TELMISARTAN (RBX), TELMISARTAN (NOUMED), TELMISARTAN (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"TELTARTAN\",\"Formulation\":\"TAB\",\"Strength\":\"40mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white oval L203\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"678f08dd08efed09dcf0ef4e\",\"Usage\":0,\"DrugFullName\":\"TELTARTAN 40mg TAB\",\"MedicationFullDetails\":\"TELTARTAN 40mg TAB - TELMISARTAN (TELM13)\",\"Id\":\"5f0e69e0a0ba5db368a1704a\",\"CreatedDate\":\"2020-07-15T02:28:45.802Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:35:24.258Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"678f1ff5967e0108509b49ec\",\"CreatedDate\":\"2025-01-21T04:17:57.476Z\",\"LastUpdateUserId\":\"678f3587a7ab9502b49df080\",\"LastUpdateDate\":\"2026-04-20T06:38:14.9724773Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"678f1ff5967e0108509b49de",
"");