using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6993ee946f072bc22746cf88",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,2.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e163a0311984b2ca400295\",\"Direction\":\"Take ONE tablet in the morning, 1 at midday, 2 at night\",\"FoilId\":\"69e163a0311984b2ca400296\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-08T14:00:00Z\",\"ScriptNum\":\"2250491\",\"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-17T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6993ee946f072bc22746cf88\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"LOGEM 100mg TAB\",\"DrugCode\":\"LOGE3\",\"Austr\":\"99062\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"LY 100\",\"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\":\"LAMO3\",\"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\":\"5f3a2d8fa0ba5d7c50795559\",\"ImageSmallSizeId\":\"68f599615a506b941b5c906d\",\"ImageName\":\"99062-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 100, REEDOS 100, LAMOTRIGINE (ASPEN), LAMOTRIGINE (AN), LOGEM, LAMITAN, LAMOTRIGINE (GEN HLTH), LAMOTRIGINE (SANDOZ HX), LAMOTRIGINE (NOUMED), LAMOTRIGINE (APX), LAMOTRIGINE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"LOGEM\",\"Formulation\":\"TAB\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":56,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round LY 100\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6993ee946f072bc22746cf88\",\"Usage\":0,\"DrugFullName\":\"LOGEM 100mg TAB\",\"MedicationFullDetails\":\"LOGEM 100mg TAB - LAMOTRIGINE (LOGE3)\",\"Id\":\"5f0e69e0a0ba5db368a1722f\",\"CreatedDate\":\"2020-07-15T02:28:46.215Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.836Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e163a0311984b2ca4002a8\",\"CreatedDate\":\"2026-04-16T22:33:04.123Z\",\"CreatedUserId\":\"69c21352af217b9ed91eb5cb\",\"LastUpdateUserId\":\"69c350db885339c4b2d5a11a\",\"LastUpdateUserName\":\"laurajh83\",\"LastUpdateDate\":\"2026-04-19T23:15:46.8729415Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e163a0311984b2ca400295",
"");