using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69b89e029c2a8602ab2593cb",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e6c818b02e12b3879b1014\",\"Direction\":\"Take ONE to TWO tablets when necessary up to FOUR times a day only as directed by your physician\",\"FoilId\":\"69e6c818b02e12b3879b1027\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-28T02:59:49Z\",\"ScriptNum\":\"1528636\",\"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\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69b89e029c2a8602ab2593cb\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"PARACETAMOL/CODEINE (APX) 500mg/30mg TAB\",\"DrugCode\":\"PACO30\",\"Austr\":\"338093\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"P F\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Ask your pharmacist about the storage conditions for this medicine*Maximum of 8 per dayContains PARACETAMOL, ask Dr or pharmacist before taking other PARACETAMOL productsUse of this medicine has the risks of overdose and dependenceDo NOT use if breast feedingS8 Reporting - Tasmania Only\",\"Direction\":\"\",\"GenericCode\":\"CO57\",\"GenericName\":\"PARACETAMOL/CODEINE\",\"Presentation\":\"\",\"AltBrand\":\"DYMADON FORTE, PANADEINE FORTE, CODALGIN FORTE, PRODEINE FORTE, DOLAFORTE, CODAPANE FORTE 500/30, COMFAROL FORTE, PARACETAMOL/CODEINE (APO), PARACETAMOL/CODEINE (GH), PARACETAMOL/CODEINE (APX)\",\"DoNotCrush\":false,\"TradeName\":\"PARACETAMOL/CODEINE (APX)\",\"Formulation\":\"TAB\",\"Strength\":\"500mg/30mg\",\"Schedule\":\"4N\",\"PackSize\":20,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69b89e029c2a8602ab2593cb\",\"Usage\":0,\"DrugFullName\":\"PARACETAMOL/CODEINE (APX) 500mg/30mg TAB\",\"MedicationFullDetails\":\"PARACETAMOL/CODEINE (APX) 500mg/30mg TAB - PARACETAMOL/CODEINE (PACO30)\",\"Id\":\"6102d28ca6b66b27b81102ac\",\"CreatedDate\":\"2021-07-29T16:08:44.866Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:25.822Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6c818b02e12b3879b103f\",\"CreatedDate\":\"2026-04-21T00:43:04.371Z\",\"CreatedUserId\":\"69cb1e148c7cc559339fcb01\",\"LastUpdateUserId\":\"69cb1e148c7cc559339fcb01\",\"LastUpdateUserName\":\"poppywolff\",\"LastUpdateDate\":\"2026-04-21T00:51:10.1268387Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6c818b02e12b3879b1014",
"");