using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6833a5dda7ab9509e0d6f5f2",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"white to off-white round F 2\",\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6842899d967e010904a08d50\",\"Direction\":\"Take one tablet in the morning as directed\",\"FoilId\":\"6842899d967e010904a08d52\",\"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\":\"2026-04-23T02: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\":\"2026-04-19T12:00:00Z\",\"TempSubstitution\":false,\"Note\":\"Drug swapped from FRUS24 to FRUS25\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6833a5dda7ab9509e0d6f5f2\",\"SyncId\":\"425a6688-05fe-4ba8-9b59-2feae5d997c0-2551\",\"SyncDate\":\"2025-06-06T06:24:29.04Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"FRUSEMIDE (APO) 20mg TAB\",\"DrugCode\":\"FRUS24\",\"Austr\":\"186517\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"white to off-white round F 2\",\"Warning\":\"*May cause dizziness when standing up quicklyTake on an empty stomach, at least half an hour before food or two hours after food*Ask your pharmacist about the storage conditions for this medicineS/Care - Exercise & HeartS/Care - High Blood PressureS/Care - Reducing Fat/Cholest\",\"Direction\":\"\",\"GenericCode\":\"FRU1\",\"GenericName\":\"FUROSEMIDE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2f22a0ba5d7c507975fd\",\"ImageSmallSizeId\":\"68f599165a506b941b5c8cc2\",\"ImageName\":\"186517-C01-01-BL600.jpg\",\"AltBrand\":\"LASIX M, UREX M, FRUSID, FRUSEMIDE (CHEM-MART), FRUSEMIDE (GENRX), FRUSEMIDE (HEALTHSENSE), FRUSEMIDE (TW), FRUSID, FRUSEMIDE (PS), FRUSEMIDE (APO), FRUSEMIDE (AN), FRUSEMIDE (RBX), FUROSEMIDE (AN), FRUSEMIX-M, FRUSEMIX-M, UREMIDE, UREMIDE, FUROSEMIDE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"FRUSEMIDE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"20mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round F 2\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6833a5dda7ab9509e0d6f5f2\",\"Usage\":11,\"DrugFullName\":\"FRUSEMIDE (APO) 20mg TAB\",\"MedicationFullDetails\":\"FRUSEMIDE (APO) 20mg TAB - FUROSEMIDE (FRUS24)\",\"Id\":\"5f0e69e0a0ba5db368a16b6d\",\"CreatedDate\":\"2020-07-15T02:28:44.752Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"68918d048a2671e3632c0a6c\",\"LastUpdateDate\":\"2026-04-20T05:24:08.899Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6842899d967e010904a08d57\",\"CreatedDate\":\"2025-06-06T06:24:29.04Z\",\"LastUpdateUserId\":\"6833c176af648e06482604e1\",\"LastUpdateUserName\":\"Rasesh\",\"LastUpdateDate\":\"2026-04-23T03:42:36.4478305Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6842899d967e010904a08d50",
"");