using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68c9027765229a4548111529",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69000a4b843ed198301c8e30\",\"Direction\":\"1ml-2.5ml 4h prn\",\"FoilId\":\"69000a4b843ed198301c8e34\",\"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-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"Pain\",\"Unit\":\"mL\",\"PharmacyId\":\"68c9027765229a4548111529\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OXYNORM 1mg/mL O-SOLN\",\"DrugCode\":\"OXYN4\",\"Austr\":\"77464\",\"Supplier\":\"MUNDIPHARMA PTY LIMITED\",\"Type\":\"Oral Solution\",\"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 wort\",\"Direction\":\"\",\"GenericCode\":\"OXYC18\",\"GenericName\":\"OXYCODONE\",\"Presentation\":\"\",\"AltBrand\":\"OXYNORM\",\"DoNotCrush\":false,\"TradeName\":\"OXYNORM\",\"Formulation\":\"O-SOLN\",\"Strength\":\"1mg/mL\",\"Schedule\":\"8\",\"PackSize\":250,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68c9027765229a4548111529\",\"Usage\":0,\"DrugFullName\":\"OXYNORM 1mg/mL O-SOLN\",\"MedicationFullDetails\":\"OXYNORM 1mg/mL O-SOLN - OXYCODONE (OXYN4)\",\"Id\":\"5f0e69e0a0ba5db368a15a9a\",\"CreatedDate\":\"2020-07-15T02:28:41.156Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:06:54.112Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e54c9821162426a393d5bc\",\"CreatedDate\":\"2026-04-19T21:43:52.1670641Z\",\"CreatedUserName\":\"wildst\",\"CreatedUserId\":\"692538017037eafc0466478c\",\"LastUpdateDate\":\"2026-04-19T21:43:52.1670641Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69000a4b843ed198301c8e30",
"");