using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"65233a77f65a8806ac986895",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6524b90bf65a8808b8b26f9b\",\"Direction\":\"1 TWICE a day\",\"FoilId\":\"6526138af65a8806fc0896e5\",\"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-21T08:52:14.2686473Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T08:52:14.2686473Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"65233a77f65a8806ac986895\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"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\",\"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\":\"65233a77f65a8806ac986895\",\"Usage\":9,\"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-11T14:38:03.349Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"652613ecf65a8806fc097b43\",\"CreatedDate\":\"2023-10-11T03:18:04.973Z\",\"CreatedUserName\":\"becmcneil\",\"CreatedUserId\":\"65248783f65a8808b85be4dd\",\"LastUpdateUserId\":\"6538a1ed117b520820567f46\",\"LastUpdateUserName\":\"jb\",\"LastUpdateDate\":\"2026-04-21T08:52:14.2686473Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6524b90bf65a8808b8b26f9b",
"");