using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68d1e5c8946689a4d28f96b4",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,0.5,0.5,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68f83ee41000f9a700da12bc\",\"Direction\":\"1/2 4xDAILY\",\"FoilId\":\"68f83ee41000f9a700da1307\",\"FoilLabel\":\"Foil 1\",\"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-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68d1e5c8946689a4d28f96b4\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MADOPAR 100mg/25mg TAB\",\"DrugCode\":\"MAD5\",\"Austr\":\"43517\",\"Supplier\":\"ROCHE PRODUCTS PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pale red\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"Do NOT take antacids or mineral supplements within 2hrs of this medicine.*Do NOT stop taking this medication abruptly*May cause dizziness when standing up quicklyTake on an empty stomach, at least half an hour before or 1 hour after meals.PDL Warn: Caution Strengths\",\"Direction\":\"\",\"GenericCode\":\"LEV7\",\"GenericName\":\"LEVODOPA & BENSERAZIDE\",\"Presentation\":\"Used in combination to treat the symptoms of Parkinson's disease or Parkinson-like symptoms (e.g., shakiness, stiffness, difficulty moving).\",\"ImageId\":\"5f3a2dc8a0ba5d7c50796f02\",\"ImageSmallSizeId\":\"68f598345a506b941b5c7c55\",\"ImageName\":\"43517-C01-01-BL600.jpg\",\"AltBrand\":\"MADOPAR\",\"DoNotCrush\":false,\"TradeName\":\"MADOPAR\",\"Formulation\":\"TAB\",\"Strength\":\"100mg/25mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pale red round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68d1e5c8946689a4d28f96b4\",\"Usage\":2,\"DrugFullName\":\"MADOPAR 100mg/25mg TAB\",\"MedicationFullDetails\":\"MADOPAR 100mg/25mg TAB - LEVODOPA & BENSERAZIDE (MAD5)\",\"Id\":\"5f0e69e0a0ba5db368a14ed5\",\"CreatedDate\":\"2020-07-15T02:28:38.458Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:32:19.203Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5707321162426a3f0eab6\",\"CreatedDate\":\"2026-04-20T00:16:51.4301568Z\",\"CreatedUserName\":\"Soniam\",\"CreatedUserId\":\"69a0c50a0f1d3e0a3e975093\",\"LastUpdateDate\":\"2026-04-20T00:16:51.4301568Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68f83ee41000f9a700da12bc",
"");