using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"685b30f4a7ab9508f0d39c0e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.5],\"ShortCourseTimeslot\":[],\"PatientId\":\"6870c6a3342e4401ee1e8e80\",\"Direction\":\"1/4 NIGHTLY\",\"FoilId\":\"6870c6a3342e4401ee1e8e83\",\"FoilLabel\":\"REGULAR\",\"DateDispensed\":\"2025-06-11T03:05:44Z\",\"ScriptNum\":\"317303\",\"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-07-11T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"685b30f4a7ab9508f0d39c0e\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"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\",\"ImageSmallSizeId\":\"68f5994b5a506b941b5c8f58\",\"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\":\"685b30f4a7ab9508f0d39c0e\",\"Usage\":5,\"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-11T16:05:37.629Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6870c6a3342e4401ee1e8e95\",\"CreatedDate\":\"2025-07-11T08:09:07.349Z\",\"CreatedUserId\":\"685ca3a108efed10d8aeee7a\",\"LastUpdateUserId\":\"685b9064a7ab9508f0928073\",\"LastUpdateUserName\":\"Basemghibrial\",\"LastUpdateDate\":\"2026-04-23T03:39:33.905773Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6870c6a3342e4401ee1e8e80",
"");