using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68dc7772bc1a57a4a810c5d0",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e5d1c7c21eb1a5a980788a\",\"Direction\":\"Take ONE tablet TWICE a day. *Do NOT stop taking this medication abruptly \",\"FoilId\":\"69e5d1c7c21eb1a5a980788f\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-20T06:40:00Z\",\"ScriptNum\":\"1686900\",\"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-20T02: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:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68dc7772bc1a57a4a810c5d0\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"LAMOTRIGINE (APX) 100mg TAB\",\"DrugCode\":\"LAMO62\",\"Austr\":\"340909\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"modified square shape\",\"Marking\":\"L 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).\",\"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\":\"LAMOTRIGINE (APX)\",\"Formulation\":\"TAB\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":56,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68dc7772bc1a57a4a810c5d0\",\"Usage\":0,\"DrugFullName\":\"LAMOTRIGINE (APX) 100mg TAB\",\"MedicationFullDetails\":\"LAMOTRIGINE (APX) 100mg TAB - LAMOTRIGINE (LAMO62)\",\"Id\":\"6102d2c4a6b66b27b81103c3\",\"CreatedDate\":\"2021-07-29T16:09:40.127Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:26:25.101Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5d1c7c21eb1a5a9807894\",\"CreatedDate\":\"2026-04-20T07:12:07.6Z\",\"CreatedUserId\":\"69097bd0ef4a2fe1d76310f7\",\"LastUpdateUserId\":\"69097bd0ef4a2fe1d76310f7\",\"LastUpdateUserName\":\"DD\",\"LastUpdateDate\":\"2026-04-20T07:13:11.5378582Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5d1c7c21eb1a5a980788a",
"");