using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698921a6f1130152e3b7e067",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69eb2005fe71d5d94b5d04d0\",\"Direction\":\"Take 1 tablet twice daily\",\"FoilId\":\"69eb204e8b65c9dccb66fa8c\",\"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-24T02: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\":\"698921a6f1130152e3b7e067\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NICORANDIL (APO) 20mg, 60 TAB\",\"DrugCode\":\"NIAP2\",\"Austr\":\"277343\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"20\",\"Warning\":\"*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your pharmacist about the storage conditions for this medicine\",\"Direction\":\"\",\"GenericCode\":\"NICO40\",\"GenericName\":\"NICORANDIL\",\"Presentation\":\"Used to prevent and treat chronic angina pectoris. It is used to maintain blood flow to the heart and prevent angina pain.\",\"AltBrand\":\"IKOREL, IKOTAB, NICORANDIL (APO)\",\"DoNotCrush\":false,\"TradeName\":\"NICORANDIL (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"20mg, 60\",\"Schedule\":\"4\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698921a6f1130152e3b7e067\",\"Usage\":0,\"DrugFullName\":\"NICORANDIL (APO) 20mg, 60 TAB\",\"MedicationFullDetails\":\"NICORANDIL (APO) 20mg, 60 TAB - NICORANDIL (NIAP2)\",\"Id\":\"5f0e69e0a0ba5db368a17a38\",\"CreatedDate\":\"2020-07-15T02:28:47.929Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:24.439Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eb20d35976b98c143884f7\",\"CreatedDate\":\"2026-04-24T07:50:43.3044551Z\",\"CreatedUserName\":\"ArundelChempro\",\"CreatedUserId\":\"69892243f1130152e3b94414\",\"LastUpdateDate\":\"2026-04-24T07:50:43.3044551Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eb2005fe71d5d94b5d04d0",
"");