using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6732e65fa7ab9503640fafa5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6732e93c2e39a307b87d8d72\",\"Direction\":\"1 DAILY\",\"FoilId\":\"69e993b9905e1bd5276cb629\",\"FoilLabel\":\"Morning pack\",\"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-23T04: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\":\"6732e65fa7ab9503640fafa5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MIZART 40mg TAB\",\"DrugCode\":\"MIZA1\",\"Austr\":\"230974\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"oblong\",\"Marking\":\"TN40\",\"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\":\"63607e3c6f6fd8436872b336\",\"ImageSmallSizeId\":\"68f599465a506b941b5c8f16\",\"ImageName\":\"230974-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\":\"MIZART\",\"Formulation\":\"TAB\",\"Strength\":\"40mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white oval L203\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0}\",\"Usage\":8,\"DrugFullName\":\"MIZART 40mg TAB\",\"MedicationFullDetails\":\"MIZART 40mg TAB - TELMISARTAN (MIZA1)\",\"Id\":\"5f0e69e0a0ba5db368a16fda\",\"CreatedDate\":\"2020-07-15T02:28:45.709Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"67610d0708efed0edc9faa20\",\"LastUpdateDate\":\"2025-08-13T00:00:00Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e9941d905e1bd5276e1ab2\",\"CreatedDate\":\"2026-04-23T03:38:05.5207144Z\",\"CreatedUserName\":\"jada\",\"CreatedUserId\":\"693286e2a3727f7106f418e2\",\"LastUpdateDate\":\"2026-04-23T03:38:05.5207144Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6732e93c2e39a307b87d8d72",
"");