using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"694340b1e82b6d5bfec3e54e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e724a3b02e12b387f5266e\",\"Direction\":\"1 DAILY ad\",\"FoilId\":\"69e72596b02e12b387f79f07\",\"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\":\"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\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"694340b1e82b6d5bfec3e54e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"LAMOTRIGINE (APX) 200mg TAB\",\"DrugCode\":\"LAMO63\",\"Austr\":\"340910\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"modified square shape\",\"Marking\":\"L 200\",\"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\":\"LAMO5\",\"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 200, REEDOS 200, 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\":\"200mg\",\"Schedule\":\"4\",\"PackSize\":56,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"694340b1e82b6d5bfec3e54e\",\"Usage\":4,\"DrugFullName\":\"LAMOTRIGINE (APX) 200mg TAB\",\"MedicationFullDetails\":\"LAMOTRIGINE (APX) 200mg TAB - LAMOTRIGINE (LAMO63)\",\"Id\":\"6102d2c4a6b66b27b81103c4\",\"CreatedDate\":\"2021-07-29T16:09:40.275Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:25.868Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e725bd48571626cc7fc054\",\"CreatedDate\":\"2026-04-21T07:22:37.291Z\",\"CreatedUserName\":\"CW0\",\"CreatedUserId\":\"696efc671a4c1ee83678d04e\",\"LastUpdateUserId\":\"696efc671a4c1ee83678d04e\",\"LastUpdateUserName\":\"CW0\",\"LastUpdateDate\":\"2026-04-21T07:23:26.6286301Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e724a3b02e12b387f5266e",
"");