using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67313abcaf648e0ebcbb64c6",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e9abaa0f0cccf868ac350c\",\"Direction\":\"ONE TABLET ONCE WEEKLY\",\"FoilId\":\"69e9abd30f0cccf868ad0d6a\",\"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-23T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67313abcaf648e0ebcbb64c6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ALENDRONATE (SANDOZ) 70mg TAB\",\"DrugCode\":\"ALEN12\",\"Austr\":\"134981\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"ALN 70\",\"Warning\":\"Do NOT take dairy products, antacids, iron or calcium supplements within 2hrs of this medicineTake once a week, on the same dayat least half an hour before foodswallowed whole\",\"Direction\":\"\",\"GenericCode\":\"ALEN4\",\"GenericName\":\"ALENDRONATE SODIUM ONCE WEEKLY\",\"Presentation\":\"Used to treat osteoporosis and similar diseases.\",\"AltBrand\":\"FOSAMAX ONCE WEEKLY, ALENDRO ONCE WEEKLY, ALENDRONATE (CHEM-MART), ALENDRONATE (TW), ALENDRONATE GENRX, ALENDROBELL, OSSMAX, ADRONAT, ALENDRONATE (APO), ALENDRONATE (SANDOZ), ALENDRONATE (GA), DENSATE 70, ALENDRONATE (PFIZER), FONAT, ALENDRONATE (AN), ALENDRONATE (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"ALENDRONATE (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"70mg\",\"Schedule\":\"4\",\"PackSize\":4,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67313abcaf648e0ebcbb64c6\",\"Usage\":1,\"DrugFullName\":\"ALENDRONATE (SANDOZ) 70mg TAB\",\"MedicationFullDetails\":\"ALENDRONATE (SANDOZ) 70mg TAB - ALENDRONATE SODIUM ONCE WEEKLY (ALEN12)\",\"Id\":\"5f0e69e0a0ba5db368a1619a\",\"CreatedDate\":\"2020-07-15T02:28:42.644Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T18:15:01.001Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e9afb30f0cccf868bb7cd3\",\"CreatedDate\":\"2026-04-23T05:35:47.2169412Z\",\"CreatedUserName\":\"areta.davies\",\"CreatedUserId\":\"68149c6308efed0fa426e309\",\"LastUpdateDate\":\"2026-04-23T05:35:47.2169412Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e9abaa0f0cccf868ac350c",
"");