using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6811608208efed0de8c0794c",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"681837a8967e0111cc0512e2\",\"Direction\":\"Take 1 tablet at night - Dose as at 20/04/26\",\"FoilId\":\"681837a8967e0111cc0512e3\",\"FoilLabel\":\"Regular Pack\",\"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-20T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6811608208efed0de8c0794c\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"BETAHISTINE (SANDOZ) 16mg TAB\",\"DrugCode\":\"BETA22\",\"Austr\":\"253732\",\"Supplier\":\"SOUTHERN CROSS PHARMA\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*May cause dizziness when standing up quicklyDo NOT use if breast feedingNot to be given below age 18 years\",\"Direction\":\"\",\"GenericCode\":\"BETA9\",\"GenericName\":\"BETAHISTINE\",\"Presentation\":\"\",\"AltBrand\":\"SERC, SENIERE, BETAHISTINE (APO), BETAHISTINE (GH), BETAHISTINE (AN), BETAHISTINE (SANDOZ), BETAHISTINE (MYLAN), BETASERT, BETAHISTINE (VIATRIS), BETAHISTINE (LUPIN)\",\"DoNotCrush\":false,\"TradeName\":\"BETAHISTINE (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"16mg\",\"Schedule\":\"4\",\"PackSize\":25,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6811608208efed0de8c0794c\",\"Usage\":0,\"DrugFullName\":\"BETAHISTINE (SANDOZ) 16mg TAB\",\"MedicationFullDetails\":\"BETAHISTINE (SANDOZ) 16mg TAB - BETAHISTINE (BETA22)\",\"Id\":\"5f0e69e0a0ba5db368a176d1\",\"CreatedDate\":\"2020-07-15T02:28:47.242Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:05:41.324Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5882c21162426a349d24a\",\"CreatedDate\":\"2026-04-20T01:58:04.9607803Z\",\"CreatedUserName\":\"harshanidagal\",\"CreatedUserId\":\"6811a612a7ab95129894365c\",\"LastUpdateDate\":\"2026-04-20T01:58:04.9607803Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"681837a8967e0111cc0512e2",
"");