using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68e5d96eca6a66c7fa973615",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69de04a6342a471bd17b574a\",\"Direction\":\"1 every 4-6 hours when required no more than 4 tabs each day\",\"FoilId\":\"69de06ce342a471bd17e81d0\",\"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-20T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68e5d96eca6a66c7fa973615\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OXYCODONE (VIATRIS) 5mg TAB\",\"DrugCode\":\"OXYC63\",\"Austr\":\"224758\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"O 5\",\"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\":\"OXYC62\",\"GenericName\":\"OXYCODONE\",\"Presentation\":\"\",\"AltBrand\":\"ENDONE, OXYCODONE (VIATRIS)\",\"DoNotCrush\":true,\"TradeName\":\"OXYCODONE (VIATRIS)\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"8\",\"PackSize\":10,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68e5d96eca6a66c7fa973615\",\"Usage\":0,\"DrugFullName\":\"OXYCODONE (VIATRIS) 5mg TAB\",\"MedicationFullDetails\":\"OXYCODONE (VIATRIS) 5mg TAB - OXYCODONE (OXYC63)\",\"Id\":\"64389960f65a88046c0d9f06\",\"CreatedDate\":\"2023-04-14T00:08:00.151Z\",\"CreatedUserId\":\"\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:34:33.169Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5a558c21eb1a5a9e8385e\",\"CreatedDate\":\"2026-04-20T04:02:32.9029608Z\",\"CreatedUserName\":\"Carly\",\"CreatedUserId\":\"68e71fadc20606cd799b733e\",\"LastUpdateDate\":\"2026-04-20T04:02:32.9029608Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69de04a6342a471bd17b574a",
"");