using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"684224a8af648e0b24dc1089",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"684a86ada7ab950374dac243\",\"Direction\":\"2 MORNING\",\"FoilId\":\"684a86ada7ab950374dac247\",\"FoilLabel\":\"MONTHLY (x2)\",\"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-22T05:25:42.264286Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-22T05:25:42.264286Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"684224a8af648e0b24dc1089\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SIGMAXIN-PG (BLUE) 62.5mcg TAB\",\"DrugCode\":\"SIGM4\",\"Austr\":\"90114\",\"Supplier\":\"ASPEN PHARMACARE AUSTRALI\",\"Type\":\"Tablet\",\"Color\":\"blue\",\"Shape\":\"round\",\"Marking\":\"U3A\",\"Warning\":\"PDL Warn: Caution Strengths*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsS/Care - Exercise & Heart\",\"Direction\":\"\",\"GenericCode\":\"DIG1\",\"GenericName\":\"DIGOXIN\",\"Presentation\":\"Very effective in treatment of cardiac conditions.\",\"ImageId\":\"5f3a2daca0ba5d7c5079652a\",\"ImageSmallSizeId\":\"68f5986d5a506b941b5c7f50\",\"ImageName\":\"90114-C01-01-BL600.jpg\",\"AltBrand\":\"LANOXIN PG (BLUE), SIGMAXIN-PG (BLUE)\",\"DoNotCrush\":false,\"TradeName\":\"SIGMAXIN-PG (BLUE)\",\"Formulation\":\"TAB\",\"Strength\":\"62.5mcg\",\"Schedule\":\"4\",\"PackSize\":200,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"blue round U3A\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"684224a8af648e0b24dc1089\",\"Usage\":4,\"DrugFullName\":\"SIGMAXIN-PG (BLUE) 62.5mcg TAB\",\"MedicationFullDetails\":\"SIGMAXIN-PG (BLUE) 62.5mcg TAB - DIGOXIN (SIGM4)\",\"Id\":\"5f0e69e0a0ba5db368a159b8\",\"CreatedDate\":\"2020-07-15T02:28:40.945Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:01:59.255Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69c45dcb6054743bbfaae081\",\"CreatedDate\":\"2026-03-25T22:12:27.581Z\",\"CreatedUserName\":\"and\",\"CreatedUserId\":\"68475644af648e0c7c377f21\",\"LastUpdateUserId\":\"6842370608efed04cc2851fb\",\"LastUpdateDate\":\"2026-04-22T05:25:42.264286Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"684a86ada7ab950374dac243",
"");