using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698bdc7b7c330bf95d6f2b23",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[],\"PatientId\":\"69de156f5952f0e4c22e4fba\",\"Direction\":\"Swallow whole TWO capsules ONCE daily\",\"FoilId\":\"69de156f5952f0e4c22e4fbb\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-10T05:41:55Z\",\"ScriptNum\":\"390441\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-21T07:27:03.7818706Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T07:27:03.7818706Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"PharmacyId\":\"698bdc7b7c330bf95d6f2b23\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"VASOCARDOL 180mg CD-CAP\",\"DrugCode\":\"VASO2\",\"Austr\":\"68922\",\"Supplier\":\"SANOFI-AVENTIS AUSTRALIA\",\"Type\":\"CD-Capsule\",\"Color\":\"dark blue and light aqua blue\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Do NOT stop taking this medication abruptly*May cause dizziness when standing up quickly*Certain foods and fruit juices should be avoided while being treated with this medicineswallowed whole\",\"Direction\":\"\",\"GenericCode\":\"DILT7\",\"GenericName\":\"DILTIAZEM\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d9ea0ba5d7c50795ce0\",\"ImageSmallSizeId\":\"68f5984f5a506b941b5c7dd5\",\"ImageName\":\"68922-C01-01-BL600.jpg\",\"AltBrand\":\"VASOCARDOL, CARDIZEM, DILTIAZEM (CHEM-MART), DILTIAZEM (HEALTHSENSE), DILTIAZEM (TW), DILTIAZEM (GENRX), DILZEM CD, DILTAHEXAL, DILTAHEXAL, DILTIAZEM (SANDOZ)\",\"DoNotCrush\":true,\"TradeName\":\"VASOCARDOL\",\"Formulation\":\"CD-CAP\",\"Strength\":\"180mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"dark blue and light aqua blue\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698bdc7b7c330bf95d6f2b23\",\"Usage\":0,\"DrugFullName\":\"VASOCARDOL 180mg CD-CAP\",\"MedicationFullDetails\":\"VASOCARDOL 180mg CD-CAP - DILTIAZEM (VASO2)\",\"Id\":\"5f0e69e0a0ba5db368a154ff\",\"CreatedDate\":\"2020-07-15T02:28:39.869Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.33Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69de156f5952f0e4c22e4fdd\",\"CreatedDate\":\"2026-04-14T10:22:39.115Z\",\"CreatedUserId\":\"69b7829d485625038a8f53fe\",\"LastUpdateUserId\":\"69deeefc710d60b9a3e231d9\",\"LastUpdateDate\":\"2026-04-21T07:27:03.7818706Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69de156f5952f0e4c22e4fba",
"");