using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6747b104a7ab95036cc55b96",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"brownish yellow oval BI symbol S5 1000\",\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6758d52b967e011138c75a63\",\"Direction\":\"take ONE tablet in the morning\",\"FoilId\":\"6758d52b967e011138c75a81\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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\":\"2023-01-30T00: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:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6747b104a7ab95036cc55b96\",\"SyncId\":\"c472ee38-0b38-4114-8b7b-34340e1f3675-2425\",\"SyncDate\":\"2024-12-10T23:56:27.879Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"JARDIAMET 5mg/1000mg TAB\",\"DrugCode\":\"JARD5\",\"Austr\":\"229817\",\"Supplier\":\"BOEHRINGER INGELHEIM PTY\",\"Type\":\"Tablet\",\"Color\":\"brownish yellow\",\"Shape\":\"oval\",\"Marking\":\"BI symbol S5\",\"Warning\":\"*Do not exceed one Aspirin tablet or capsule per dayswallowed wholewith or soon after food.*May cause dizziness when standing up quicklySpecial handling and disposal required - ask your Pharmacistwith a glass of waterDo not consider pregnancy w/o Drs adviceWarnings-Please read Prod Info\",\"Direction\":\"\",\"GenericCode\":\"EMME3\",\"GenericName\":\"EMPAGLIFLOZIN/METFORMIN\",\"Presentation\":\"\",\"ImageId\":\"5f3a2f26a0ba5d7c507978a1\",\"ImageSmallSizeId\":\"68f5996a5a506b941b5c9131\",\"ImageName\":\"229817-C01-01-BL600.jpg\",\"AltBrand\":\"JARDIAMET\",\"DoNotCrush\":true,\"TradeName\":\"JARDIAMET\",\"Formulation\":\"TAB\",\"Strength\":\"5mg/1000mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"brownish yellow oval BI symbol S5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6747b104a7ab95036cc55b96\",\"Usage\":2,\"DrugFullName\":\"JARDIAMET 5mg/1000mg TAB\",\"MedicationFullDetails\":\"JARDIAMET 5mg/1000mg TAB - EMPAGLIFLOZIN/METFORMIN (JARD5)\",\"Id\":\"5f0e69e0a0ba5db368a1733c\",\"CreatedDate\":\"2020-07-15T02:28:46.447Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:30:02.236Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6758d52b967e011138c75a85\",\"CreatedDate\":\"2024-12-10T23:56:27.879Z\",\"LastUpdateUserId\":\"675a6436af648e0d00f2a876\",\"LastUpdateUserName\":\"Julia\",\"LastUpdateDate\":\"2026-04-26T23:50:23.0157878Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6758d52b967e011138c75a63",
"");