using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6924f32f7037eafc0469a985",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"692670cd0b7fc2f19aba0663\",\"Direction\":\"Take ONE tablet TWICE a day\",\"FoilId\":\"692670cd0b7fc2f19aba0665\",\"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-05-04T02: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\":\"6924f32f7037eafc0469a985\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NICORANDIL (APO) 10mg, 60 TAB\",\"DrugCode\":\"NIAP1\",\"Austr\":\"277346\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"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\":\"NICO39\",\"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\":\"10mg, 60\",\"Schedule\":\"4\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6924f32f7037eafc0469a985\",\"Usage\":0,\"DrugFullName\":\"NICORANDIL (APO) 10mg, 60 TAB\",\"MedicationFullDetails\":\"NICORANDIL (APO) 10mg, 60 TAB - NICORANDIL (NIAP1)\",\"Id\":\"5f0e69e0a0ba5db368a17a37\",\"CreatedDate\":\"2020-07-15T02:28:47.928Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:24.435Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5c9362c1a237be051d65a\",\"CreatedDate\":\"2026-04-20T06:35:34.1172823Z\",\"CreatedUserName\":\"smorton\",\"CreatedUserId\":\"6926667cb22e86deef945b5e\",\"LastUpdateDate\":\"2026-04-20T06:35:34.1172823Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"692670cd0b7fc2f19aba0663",
"");