using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"697044a8552ae687da1bfc99",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,1.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"697c53b8375faccd70e779f4\",\"Direction\":\"1 3xDAILY\",\"FoilId\":\"697c53b8375faccd70e779f8\",\"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-24T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TARGIN 5mg/2.5mg CR-TAB\",\"DrugCode\":\"TARG6\",\"Austr\":\"156067\",\"Supplier\":\"MUNDIPHARMA PTY LIMITED\",\"Type\":\"CR-Tablet\",\"Color\":\"blue\",\"Shape\":\"oblong\",\"Marking\":\"OXN\",\"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*Certain foods and fruit juices should be avoided while being treated with this medicineUse of this medicine has the risks of overdose and dependence*Avoid combination with St John's wortswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"OXNA6\",\"GenericName\":\"OXYCODONE HCL/NALOXONE HCL DIH\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d79a0ba5d7c507948fe\",\"ImageSmallSizeId\":\"68f598f65a506b941b5c8a6e\",\"ImageName\":\"156067-C01-01-BL600.jpg\",\"AltBrand\":\"TARGIN, OXYCODONE/NALOXONE (ARX)\",\"DoNotCrush\":true,\"TradeName\":\"TARGIN\",\"Formulation\":\"CR-TAB\",\"Strength\":\"5mg/2.5mg\",\"Schedule\":\"8\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"blue oblong OXN\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"Usage\":1,\"DrugFullName\":\"TARGIN 5mg/2.5mg CR-TAB\",\"MedicationFullDetails\":\"TARGIN 5mg/2.5mg CR-TAB - OXYCODONE HCL/NALOXONE HCL DIH (TARG6)\",\"Id\":\"5f0e69e0a0ba5db368a16844\",\"CreatedDate\":\"2020-07-15T02:28:44.06Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.244Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eadc13747aca488f4747dd\",\"CreatedDate\":\"2026-04-24T02:57:23.089Z\",\"CreatedUserName\":\"SamL\",\"CreatedUserId\":\"6970598e552ae687da50ba00\",\"LastUpdateUserId\":\"6970598e552ae687da50ba00\",\"LastUpdateUserName\":\"SamL\",\"LastUpdateDate\":\"2026-04-24T02:57:38.5136899Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"697c53b8375faccd70e779f4",
"");