using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68f57a40e661cd39aae3551f",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.0,0.0,2.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6923ddb5322dd52198a53949\",\"Direction\":\"Take TWO tablets TWICE a day\",\"FoilId\":\"6923ddb5322dd52198a53952\",\"FoilLabel\":\"Blister Pack 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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T22:47:31.4034848Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T22:47:31.4034848Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68f57a40e661cd39aae3551f\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"LAMOTRIGINE (SANDOZ SZ) 25mg TAB\",\"DrugCode\":\"LAMO28\",\"Austr\":\"187261\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"modified square shape\",\"Marking\":\"white to off-white rounded square-shaped H\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptlySpecial handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"LAMO1\",\"GenericName\":\"LAMOTRIGINE\",\"Presentation\":\"Used either alone or in combination with other medications to treat epileptic seizures in adults and children.Also used to delay mood episodes in adults with bipolar disorder (manic depression).\",\"ImageId\":\"5f3a2d90a0ba5d7c50795618\",\"ImageSmallSizeId\":\"68f598b25a506b941b5c82a8\",\"ImageName\":\"187261-C01-01-BL600.jpg\",\"AltBrand\":\"LAMICTAL, ELMENDOS, LAMITRIN, LAMOGINE, LAMOTRIGINE (GENRX), LAMOTRIGINE (DP), SEAZE, LAMIDUS, LAMOTRIGINE (GH), LAMOTRIGINE (SANDOZ SZ), LAMOTRIGINE (GA), LAMOTRUST, LAMOTRIGINE (APO), LAMOTRIGINE (PS), TORLEMO DT 25, REEDOS 25, LAMOTRIGINE (ASPEN), LAMOTRIGINE (AN), LOGEM, LAMITAN, LAMOTRIGINE (SANDOZ HX), LAMOTRIGINE (NOUMED), LAMOTRIGINE (APX), LAMOTRIGINE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"LAMOTRIGINE (SANDOZ SZ)\",\"Formulation\":\"TAB\",\"Strength\":\"25mg\",\"Schedule\":\"4\",\"PackSize\":56,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white rounded square-shaped H\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68f57a40e661cd39aae3551f\",\"Usage\":3,\"DrugFullName\":\"LAMOTRIGINE (SANDOZ SZ) 25mg TAB\",\"MedicationFullDetails\":\"LAMOTRIGINE (SANDOZ SZ) 25mg TAB - LAMOTRIGINE (LAMO28)\",\"Id\":\"5f0e69e0a0ba5db368a161ce\",\"CreatedDate\":\"2020-07-15T02:28:42.682Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"68f57c2ce661cd39aaec324c\",\"LastUpdateDate\":\"2026-02-10T04:49:15.072Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69af5460266535e9dd04aa66\",\"CreatedDate\":\"2026-03-09T23:14:40.492Z\",\"CreatedUserName\":\"kazza\",\"CreatedUserId\":\"68febf77ca1570858e0c0793\",\"LastUpdateUserId\":\"68febf77ca1570858e0c0793\",\"LastUpdateDate\":\"2026-04-20T22:47:31.4034848Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6923ddb5322dd52198a53949",
"");