using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67e9c90f08efed0ad43ecf77",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68d3c3edbb70080e897a928a\",\"Direction\":\"2 DAILY\",\"FoilId\":\"68d3c3edbb70080e897a9293\",\"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\":\"2025-09-26T02: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:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67e9c90f08efed0ad43ecf77\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"XTANDI 40mg CAP\",\"DrugCode\":\"XTAN1\",\"Austr\":\"210494\",\"Supplier\":\"ASTELLAS PHARMA AUSTRALIA\",\"Type\":\"Capsule\",\"Color\":\"white to off-white\",\"Shape\":\"oblong\",\"Marking\":\"ENZ\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Certain foods and fruit juices should be avoided while being treated with this medicineSpecial handling and disposal required - ask your Pharmacistswallowed wholePREGNANCY WARNING - Category DHIC-NO INCREASE IN QTY & RPTS ALLOWED*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"ENZA4\",\"GenericName\":\"ENZALUTAMIDE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d7fa0ba5d7c50794bd0\",\"ImageName\":\"210494-C01-01-BL600.jpg\",\"AltBrand\":\"XTANDI\",\"DoNotCrush\":true,\"TradeName\":\"XTANDI\",\"Formulation\":\"CAP\",\"Strength\":\"40mg\",\"Schedule\":\"4\",\"PackSize\":112,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white oblong ENZ\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67e9c90f08efed0ad43ecf77\",\"Usage\":1,\"DrugFullName\":\"XTANDI 40mg CAP\",\"MedicationFullDetails\":\"XTANDI 40mg CAP - ENZALUTAMIDE (XTAN1)\",\"Id\":\"5f0e69e0a0ba5db368a17142\",\"CreatedDate\":\"2020-07-15T02:28:46.012Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:48:12.132Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68d5dfa7780459fa4a7e7c14\",\"CreatedDate\":\"2025-09-26T00:34:47.243Z\",\"CreatedUserName\":\"kimbui\",\"CreatedUserId\":\"67ff30dea7ab950f34557f4b\",\"LastUpdateDate\":\"2026-04-20T01:47:10.7609525Z\",\"UpdateDeletedDate\":\"2026-04-20T01:47:10.7609525Z\",\"DeletedUserId\":\"67edd9deaf648e0ea02ee24e\",\"IsDeleted\":true}"),
"68d3c3edbb70080e897a928a",
"");