using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68b4e29150602bf1e9a0e2f5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"693655705f3c677852d182bc\",\"Direction\":\"1 DAILY\",\"FoilId\":\"6936558e5f3c677852d21abd\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T22:34:40.5591723Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T22:34:40.5591723Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68b4e29150602bf1e9a0e2f5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DULOXETINE (APO) 60mg EC-CAP\",\"DrugCode\":\"DULO8\",\"Austr\":\"217986\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"EC-Capsule\",\"Color\":\"blue opaque 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\":\"5f3a2daaa0ba5d7c50796463\",\"ImageSmallSizeId\":\"68f599205a506b941b5c8d3f\",\"ImageName\":\"217986-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 (APO)\",\"Formulation\":\"EC-CAP\",\"Strength\":\"60mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"blue opaque and green opaque A\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68b4e29150602bf1e9a0e2f5\",\"OriginValues\":\"{\\"Authorized\\":0}\",\"Usage\":1,\"DrugFullName\":\"DULOXETINE (APO) 60mg EC-CAP\",\"MedicationFullDetails\":\"DULOXETINE (APO) 60mg EC-CAP - DULOXETINE (DULO8)\",\"Id\":\"5f0e69e0a0ba5db368a16c71\",\"CreatedDate\":\"2020-07-15T02:28:44.977Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:25:24.777Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"693655ee5f3c677852d3de69\",\"CreatedDate\":\"2025-12-08T04:37:02.984Z\",\"CreatedUserName\":\"CJH\",\"CreatedUserId\":\"68f2e5550f016bae0da455f3\",\"LastUpdateUserId\":\"68f2e5a01912af257ce45c40\",\"LastUpdateDate\":\"2026-04-20T22:34:40.5591723Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"693655705f3c677852d182bc",
"");