using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6732e65fa7ab9503640fafa5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6732e93c2e39a307b87d8d72\",\"Direction\":\"1 2xDAILY\",\"FoilId\":\"69e993b9905e1bd5276cb629\",\"FoilLabel\":\"Morning pack\",\"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-23T04: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\":\"6732e65fa7ab9503640fafa5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TRAMEDO SR 100 100mg SR-TAB\",\"DrugCode\":\"TRAM35\",\"Austr\":\"133147\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"SR-Tablet\",\"Color\":\"almost white\",\"Shape\":\"round\",\"Marking\":\"TL 100\",\"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 productsswallowed wholeUse of this medicine has the risks of overdose and dependenceHIC-Incr Qty/Rpts specific conditionsS8 Reporting - Tasmania Only\",\"Direction\":\"\",\"GenericCode\":\"TRAM10\",\"GenericName\":\"TRAMADOL HYDROCHLORIDE\",\"Presentation\":\"Used to help relieve moderate to moderately severe pain.\",\"ImageId\":\"5f3a2d7ea0ba5d7c50794b53\",\"ImageSmallSizeId\":\"68f598b05a506b941b5c8289\",\"ImageName\":\"133147-C01-01-BL600.jpg\",\"AltBrand\":\"TRAMAL, ZYDOL, TRAMAHEXAL (NOW SANDOZ), TRAMAHEXAL (NOW SANDOZ), TRAMEDO SR 100, TRAMADOL (APO), TRAMADOL (CHEM-MART), TRAMADOL (TW), LODAM SR 100, TRAMADOL (GA), TRAMADOL (SANDOZ), TRAMADOL (GEN HLTH), TRAMADOL (AN), TRAMEDO SR, TRAMADOL (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"TRAMEDO SR 100\",\"Formulation\":\"SR-TAB\",\"Strength\":\"100mg\",\"Schedule\":\"4N\",\"PackSize\":20,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"almost white round TL 100\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"Usage\":2,\"DrugFullName\":\"TRAMEDO SR 100 100mg SR-TAB\",\"MedicationFullDetails\":\"TRAMEDO SR 100 100mg SR-TAB - TRAMADOL HYDROCHLORIDE (TRAM35)\",\"Id\":\"5f0e69e0a0ba5db368a1618f\",\"CreatedDate\":\"2020-07-15T02:28:42.636Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:28:52.745Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e9947f0f0cccf86859b061\",\"CreatedDate\":\"2026-04-23T03:39:43.5391965Z\",\"CreatedUserName\":\"jada\",\"CreatedUserId\":\"693286e2a3727f7106f418e2\",\"LastUpdateDate\":\"2026-04-23T03:39:43.5391965Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6732e93c2e39a307b87d8d72",
"");