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],\"ShortCourseTimeslot\":[],\"PatientId\":\"697c53b8375faccd70e779f4\",\"Direction\":\"1 2xDAILY\",\"FoilId\":\"697c53b8375faccd70e779f8\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-12-04T05:11:23Z\",\"ScriptNum\":\"1903621\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"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-24T02:57:52.4082845Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-24T02:57:52.4082845Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TARGIN 10mg/5mg CR-TAB\",\"DrugCode\":\"TARG7\",\"Austr\":\"156145\",\"Supplier\":\"MUNDIPHARMA PTY LIMITED\",\"Type\":\"CR-Tablet\",\"Color\":\"white\",\"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\":\"OXNA7\",\"GenericName\":\"OXYCODONE HCL/NALOXONE HCL DIH\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d79a0ba5d7c507948fd\",\"ImageSmallSizeId\":\"68f598f65a506b941b5c8a6f\",\"ImageName\":\"156145-C01-01-BL600.jpg\",\"AltBrand\":\"TARGIN, OXYCODONE/NALOXONE (ARX)\",\"DoNotCrush\":true,\"TradeName\":\"TARGIN\",\"Formulation\":\"CR-TAB\",\"Strength\":\"10mg/5mg\",\"Schedule\":\"8\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white oblong OXN\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"Usage\":0,\"DrugFullName\":\"TARGIN 10mg/5mg CR-TAB\",\"MedicationFullDetails\":\"TARGIN 10mg/5mg CR-TAB - OXYCODONE HCL/NALOXONE HCL DIH (TARG7)\",\"Id\":\"5f0e69e0a0ba5db368a16845\",\"CreatedDate\":\"2020-07-15T02:28:44.061Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.245Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"697c53b8375faccd70e779fa\",\"CreatedDate\":\"2026-01-30T06:46:16.327Z\",\"CreatedUserId\":\"69707543f24f28f0c19a12ff\",\"LastUpdateUserId\":\"6970598e552ae687da50ba00\",\"LastUpdateUserName\":\"nguyetn\",\"LastUpdateDate\":\"2026-04-24T02:57:52.4082845Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"697c53b8375faccd70e779f4",
"");