using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68c89fb8454a7344964928fd",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"blue and green opaque A 158\",\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68ef42e2e7723e0be7b597f6\",\"Direction\":\"Swallow whole ONE capsule daily\",\"FoilId\":\"68ef42e2e7723e0be7b597f7\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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\":\"2024-11-20T00:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68c89fb8454a7344964928fd\",\"SyncId\":\"ed66dc28-0527-4b50-9fe6-48a4cd834217-5897\",\"SyncDate\":\"2025-10-15T06:44:50.263Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"DULOXETINE 60 (SANDOZ) 60mg EC-CAP\",\"DrugCode\":\"DULO23\",\"Austr\":\"199254\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"EC-Capsule\",\"Color\":\"blue and green 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\":\"DULO2\",\"GenericName\":\"DULOXETINE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2da2a0ba5d7c50795f56\",\"ImageSmallSizeId\":\"68f599905a506b941b5c9312\",\"ImageName\":\"199254-C01-01-BL600.jpg\",\"AltBrand\":\"CYMBALTA, ANDEPRA, DULOXETINE (APO), DULOXETINE (CHEM-MART), DULOXETINE (TW), DRULOX, DULOXETINE (DRLA), COPERIN, DULOXETINE (GH), DEOTINE 60, DULOXETINE (RBX), DULOXETINE (AN), DULOXETINE (PHARMACOR), DEPRETA, DULOXETINE (SZ), TIXOL 60, DYTREX, DULOXETINE 60 (SANDOZ), DULOXETINE (SANDOZ), DULOXECOR, DULOXETINE (BLOOMS)\",\"DoNotCrush\":true,\"TradeName\":\"DULOXETINE 60 (SANDOZ)\",\"Formulation\":\"EC-CAP\",\"Strength\":\"60mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"blue and green opaque A\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68c89fb8454a7344964928fd\",\"Usage\":0,\"DrugFullName\":\"DULOXETINE 60 (SANDOZ) 60mg EC-CAP\",\"MedicationFullDetails\":\"DULOXETINE 60 (SANDOZ) 60mg EC-CAP - DULOXETINE (DULO23)\",\"Id\":\"5f0e69e0a0ba5db368a1778d\",\"CreatedDate\":\"2020-07-15T02:28:47.393Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:29:22.272Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68ef42e2e7723e0be7b597f9\",\"CreatedDate\":\"2025-10-15T06:44:50.263Z\",\"LastUpdateUserId\":\"68f03a7ce450274dff2f009b\",\"LastUpdateUserName\":\"jl25\",\"LastUpdateDate\":\"2026-04-28T02:44:39.4128847Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68ef42e2e7723e0be7b597f6",
"");