using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6939f1028355a469c443b3c4",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"695dfa39f161f987ad52b2d4\",\"Direction\":\"Take ONE tablet TWICE a day as directed by your physician\",\"FoilId\":\"695dfa3af161f987ad52b2da\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-11-14T01:10:00Z\",\"ScriptNum\":\"1731467\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-01-07T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6939f1028355a469c443b3c4\",\"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\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6939f1028355a469c443b3c4\",\"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\":\"695dfa3af161f987ad52b2eb\",\"CreatedDate\":\"2026-01-07T06:16:26.025Z\",\"CreatedUserId\":\"6939f34af760a74219be9ba3\",\"LastUpdateUserId\":\"6939f34af760a74219be9ba3\",\"LastUpdateUserName\":\"MJIN\",\"LastUpdateDate\":\"2026-04-20T00:17:58.851066Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"695dfa39f161f987ad52b2d4",
"");