using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6874576594244399368454a6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[],\"PatientId\":\"69e5abdba5419d95d2cf0588\",\"Direction\":\"Swallow whole ONE Enteric Coated Capsule daily (Total 90mg daily).\",\"FoilId\":\"69e5abdba5419d95d2cf05aa\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-10T01:09:42Z\",\"ScriptNum\":\"60310211\",\"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-20T04:54:46.7971938Z\",\"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-20T04:54:46.7971938Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"PharmacyId\":\"6874576594244399368454a6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DULOXETINE (APO) 30mg EC-CAP\",\"DrugCode\":\"DULO5\",\"Austr\":\"217985\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"EC-Capsule\",\"Color\":\"blue opaque and white opaque\",\"Shape\":\"\",\"Marking\":\"A\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*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 affect alertness and/or co-ordination. If affected, do not drive or operate machineryswallowed whole\",\"Direction\":\"\",\"GenericCode\":\"DULO1\",\"GenericName\":\"DULOXETINE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2dbca0ba5d7c50796c4f\",\"ImageSmallSizeId\":\"68f599205a506b941b5c8d3e\",\"ImageName\":\"217985-C01-01-BL600.jpg\",\"AltBrand\":\"CYMBALTA, ANDEPRA, DULOXETINE (APO), DULOXETINE (CHEM-MART), DULOXETINE (TW), DRULOX, DULOXETINE (DRLA), COPERIN, DULOXETINE (GH), DEOTINE 30, DULOXETINE (RBX), DULOXETINE (AN), DULOXETINE (PHARMACOR), DEPRETA, DULOXETINE (SZ), TIXOL 30, DYTREX, DULOXETINE 30 (SANDOZ), DULOXETINE (SANDOZ), DULOXECOR, DULOXETINE (BLOOMS)\",\"DoNotCrush\":true,\"TradeName\":\"DULOXETINE (APO)\",\"Formulation\":\"EC-CAP\",\"Strength\":\"30mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"blue opaque and white opaque A\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6874576594244399368454a6\",\"Usage\":6,\"DrugFullName\":\"DULOXETINE (APO) 30mg EC-CAP\",\"MedicationFullDetails\":\"DULOXETINE (APO) 30mg EC-CAP - DULOXETINE (DULO5)\",\"Id\":\"5f0e69e0a0ba5db368a16c70\",\"CreatedDate\":\"2020-07-15T02:28:44.976Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:09:39.561Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5abdba5419d95d2cf05b0\",\"CreatedDate\":\"2026-04-20T04:30:19.814Z\",\"CreatedUserId\":\"688ff01ea44e902618c1f849\",\"LastUpdateUserId\":\"688ff01ea44e902618c1f849\",\"LastUpdateDate\":\"2026-04-20T04:54:46.7971938Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5abdba5419d95d2cf0588",
"");