using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66b558015ac25f0a0c70e6ae",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.75,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"66b5690d27976e0dfc5c08be\",\"Direction\":\"3/4 TAB FIVE TIMES A DAY (5TH DOSE)\",\"FoilId\":\"69e70f77d23a7898104a5780\",\"FoilLabel\":\"Blister Pack 2\",\"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-21T02: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\":\"66b558015ac25f0a0c70e6ae\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MADOPAR 200mg/50mg TAB\",\"DrugCode\":\"MAD3\",\"Austr\":\"13745\",\"Supplier\":\"ROCHE PRODUCTS PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pale red\",\"Shape\":\"round\",\"Marking\":\"L183\",\"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\":\"LE67\",\"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\":\"63607e136f6fd8436872b31e\",\"ImageSmallSizeId\":\"68f5981b5a506b941b5c7b0c\",\"ImageName\":\"13745-A01-02-BL600.jpg\",\"AltBrand\":\"MADOPAR\",\"DoNotCrush\":false,\"TradeName\":\"MADOPAR\",\"Formulation\":\"TAB\",\"Strength\":\"200mg/50mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pale red cylindrical RO C HE hexagon\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66b558015ac25f0a0c70e6ae\",\"Usage\":1,\"DrugFullName\":\"MADOPAR 200mg/50mg TAB\",\"MedicationFullDetails\":\"MADOPAR 200mg/50mg TAB - LEVODOPA & BENSERAZIDE (MAD3)\",\"Id\":\"5f0e69e0a0ba5db368a1476e\",\"CreatedDate\":\"2020-07-15T02:28:36.774Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:16:58.454Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e70fb214702a0570f4d0b0\",\"CreatedDate\":\"2026-04-21T05:48:34.0463277Z\",\"CreatedUserName\":\"Michaella.a1\",\"CreatedUserId\":\"66b574348222d313584b232d\",\"LastUpdateDate\":\"2026-04-21T05:48:34.0463277Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"66b5690d27976e0dfc5c08be",
"");