using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"699cdae0a3649470cabc2491",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69b7f1c09c2a8602ab480b10\",\"Direction\":\"1 NIGHT\",\"FoilId\":\"69b7f1c09c2a8602ab480b3e\",\"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-20T06:30:35.182202Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T06:30:35.182202Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"699cdae0a3649470cabc2491\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ZYDOL 150mg SR-TAB\",\"DrugCode\":\"ZYDO3\",\"Austr\":\"80726\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"SR-Tablet\",\"Color\":\"pale orange\",\"Shape\":\"round\",\"Marking\":\"T2\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Maximum of 400mg per day**Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsUse of this medicine has the risks of overdose and dependenceswallowed wholeHIC-Incr Qty/Rpts specific conditionsS8 Reporting - Tasmania Only\",\"Direction\":\"\",\"GenericCode\":\"TRAM12\",\"GenericName\":\"TRAMADOL HYDROCHLORIDE\",\"Presentation\":\"Used to help relieve moderate to moderately severe pain.\",\"ImageId\":\"5f3a2db2a0ba5d7c507968b6\",\"ImageSmallSizeId\":\"68f598775a506b941b5c7fcc\",\"ImageName\":\"80726-C01-01-BL600.jpg\",\"AltBrand\":\"TRAMAL, ZYDOL, TRAMADOL (SANDOZ), TRAMADOL (SANDOZ), TRAMEDO SR 150, TRAMADOL (APO), TRAMADOL (CHEM-MART), TRAMADOL (TW), LODAM SR 150, TRAMADOL (GA), TRAMADOL (GEN HLTH), TRAMADOL (AN), TRAMEDO SR, TRAMADOL (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"ZYDOL\",\"Formulation\":\"SR-TAB\",\"Strength\":\"150mg\",\"Schedule\":\"4N\",\"PackSize\":20,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pale orange round T2\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"699cdae0a3649470cabc2491\",\"Usage\":0,\"DrugFullName\":\"ZYDOL 150mg SR-TAB\",\"MedicationFullDetails\":\"ZYDOL 150mg SR-TAB - TRAMADOL HYDROCHLORIDE (ZYDO3)\",\"Id\":\"5f0e69e0a0ba5db368a15afe\",\"CreatedDate\":\"2020-07-15T02:28:41.226Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.414Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69d205675d72cf30f37dce07\",\"CreatedDate\":\"2026-04-05T06:47:03.099Z\",\"CreatedUserName\":\"SXS\",\"CreatedUserId\":\"699ce6256e5c9d48bbb3c66d\",\"LastUpdateUserId\":\"699ce6256e5c9d48bbb3c66d\",\"LastUpdateDate\":\"2026-04-20T06:30:35.182202Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69b7f1c09c2a8602ab480b10",
"");