using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69a4c85de2638b9f120f5052",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69c09788c20a3af6be4af391\",\"Direction\":\"Swallow whole ONE tablet TWICE a day as directed.\",\"FoilId\":\"69c09788c20a3af6be4af394\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-01-19T00:44:35Z\",\"ScriptNum\":\"60119181\",\"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\":\"2026-04-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69a4c85de2638b9f120f5052\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OXYCODONE/NALOXONE (ARX) 5mg/2.5mg CR-TAB\",\"DrugCode\":\"OXNA02\",\"Austr\":\"446571\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"CR-Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"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\":\"\",\"AltBrand\":\"TARGIN, OXYCODONE/NALOXONE (ARX)\",\"DoNotCrush\":true,\"TradeName\":\"OXYCODONE/NALOXONE (ARX)\",\"Formulation\":\"CR-TAB\",\"Strength\":\"5mg/2.5mg\",\"Schedule\":\"8\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69a4c85de2638b9f120f5052\",\"Usage\":0,\"DrugFullName\":\"OXYCODONE/NALOXONE (ARX) 5mg/2.5mg CR-TAB\",\"MedicationFullDetails\":\"OXYCODONE/NALOXONE (ARX) 5mg/2.5mg CR-TAB - OXYCODONE HCL/NALOXONE HCL DIH (OXNA02)\",\"Id\":\"68935101d608d9e28453a74e\",\"CreatedDate\":\"2025-08-06T12:56:33.157Z\",\"CreatedUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:38.049Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69c09788c20a3af6be4af39b\",\"CreatedDate\":\"2026-03-23T01:29:44.939Z\",\"CreatedUserId\":\"69b9dfa1c90b16fd0ae7a5d6\",\"LastUpdateUserId\":\"69b9dfa1c90b16fd0ae7a5d6\",\"LastUpdateUserName\":\"peacockluke\",\"LastUpdateDate\":\"2026-04-21T01:35:49.6495657Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69c09788c20a3af6be4af391",
"");