using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"682d10cda7ab9508f4722ab0",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6970164b3b10bec65427a929\",\"Direction\":\"1 2xDAILY\",\"FoilId\":\"69e99da426359e38540f987d\",\"FoilLabel\":\"Pseltamivir\",\"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\":\"682d10cda7ab9508f4722ab0\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OSELTAMIVIR (LUPIN) 75mg CAP\",\"DrugCode\":\"OSEL5\",\"Austr\":\"\",\"Supplier\":\"\",\"Type\":\"Capsule\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"Take for the number of days advised by your prescriber.swallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"OSEL1\",\"GenericName\":\"OSELTAMIVIR\",\"Presentation\":\"\",\"AltBrand\":\"TAMIFLU, TALMINEX, OSELTAMIVIR (LUPIN)\",\"DoNotCrush\":true,\"TradeName\":\"OSELTAMIVIR (LUPIN)\",\"Formulation\":\"CAP\",\"Strength\":\"75mg\",\"Schedule\":\"4\",\"PackSize\":10,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"682d10cda7ab9508f4722ab0\",\"Usage\":0,\"DrugFullName\":\"OSELTAMIVIR (LUPIN) 75mg CAP\",\"MedicationFullDetails\":\"OSELTAMIVIR (LUPIN) 75mg CAP - OSELTAMIVIR (OSEL5)\",\"Id\":\"6102d2bba6b66b27b8110394\",\"CreatedDate\":\"2021-07-29T16:09:31.575Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:21:49.323Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e99dfb0f0cccf8687b4984\",\"CreatedDate\":\"2026-04-23T04:20:11.8896149Z\",\"CreatedUserName\":\"binh\",\"CreatedUserId\":\"68532afa08efed0cbc604476\",\"LastUpdateDate\":\"2026-04-23T04:20:11.8896149Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6970164b3b10bec65427a929",
"");