using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68a3ce7b5a33ecf5ffc357f1",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e9c18f26359e38548e6f39\",\"Direction\":\"Take ONE tablet in the morning when required\",\"FoilId\":\"69e9c1a326359e38548eba0e\",\"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-23T04: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\":\"tablet\",\"PharmacyId\":\"68a3ce7b5a33ecf5ffc357f1\",\"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\":\"68a3ce7b5a33ecf5ffc357f1\",\"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-10T22:24:18.698Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e9c42926359e385497f574\",\"CreatedDate\":\"2026-04-23T07:03:05.9755217Z\",\"CreatedUserName\":\"TSS\",\"CreatedUserId\":\"68a3e1116f448b108e299b91\",\"LastUpdateDate\":\"2026-04-23T07:03:05.9755217Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e9c18f26359e38548e6f39",
"");