using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e5616c7f72c22cb3a4705d",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[],\"PatientId\":\"69eacc775976b98c144d3bf9\",\"Direction\":\"Take ONE tablet FOUR times a day when required.\",\"FoilId\":\"69eacc775976b98c144d3bfc\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-20T01:47:16Z\",\"ScriptNum\":\"6032099\",\"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\":\"0001-01-01T00:00:00\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"PharmacyId\":\"69e5616c7f72c22cb3a4705d\",\"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\":\"69e5616c7f72c22cb3a4705d\",\"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\":\"69eacc775976b98c144d3c1a\",\"CreatedDate\":\"2026-04-24T01:50:47.986Z\",\"CreatedUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateDate\":\"2026-04-29T02:44:19.3116364Z\",\"UpdateDeletedDate\":\"2026-04-29T02:44:19.3116364Z\",\"DeletedUserId\":\"69eac7c6747aca488f0eaceb\",\"IsDeleted\":true}"),
"69eacc775976b98c144d3bf9",
"");