using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69c9fbe26d56c65bbb0d5813",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69d79a2e400d83602f721056\",\"Direction\":\"1 Morning\",\"FoilId\":\"69d79a2e400d83602f721059\",\"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-04-23T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"69c9fbe26d56c65bbb0d5813\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DYTREX 30mg EC-CAP\",\"DrugCode\":\"DYTR1\",\"Austr\":\"199262\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"EC-Capsule\",\"Color\":\"blue 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\":\"5f3a2dbba0ba5d7c50796b94\",\"ImageSmallSizeId\":\"68f599785a506b941b5c91da\",\"ImageName\":\"199262-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\":\"DYTREX\",\"Formulation\":\"EC-CAP\",\"Strength\":\"30mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"blue and white opaque A\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69c9fbe26d56c65bbb0d5813\",\"Usage\":0,\"DrugFullName\":\"DYTREX 30mg EC-CAP\",\"MedicationFullDetails\":\"DYTREX 30mg EC-CAP - DULOXETINE (DYTR1)\",\"Id\":\"5f0e69e0a0ba5db368a174ca\",\"CreatedDate\":\"2020-07-15T02:28:46.774Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.627Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e9b5b00f0cccf868cfbfad\",\"CreatedDate\":\"2026-04-23T06:01:20.4686111Z\",\"CreatedUserName\":\"PUVANA\",\"CreatedUserId\":\"69ca06c46d56c65bbb3298f1\",\"LastUpdateDate\":\"2026-04-23T06:01:20.4686111Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69d79a2e400d83602f721056",
"");