using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6704ca558222d30be89b256b",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[],\"PatientId\":\"69f313772b4a013b972efb6e\",\"Direction\":\"Take TWO tablets TWICE a day when necessary\",\"FoilId\":\"69f313772b4a013b972efb82\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-09T03:17:51Z\",\"ScriptNum\":\"1458314\",\"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\":\"2026-04-30T08:37:04.0602302Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-30T08:37:04.0602302Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"PharmacyId\":\"6704ca558222d30be89b256b\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CODAPANE FORTE 500/30 500mg/30mg TAB\",\"DrugCode\":\"CODA6\",\"Austr\":\"285558\",\"Supplier\":\"ALPHAPHARM 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\":\"\",\"ImageId\":\"63602669f65a8812b8884c84\",\"ImageSmallSizeId\":\"68f598825a506b941b5c8056\",\"ImageName\":\"285558-C01-01-BL600.jpg\",\"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\":\"CODAPANE FORTE 500/30\",\"Formulation\":\"TAB\",\"Strength\":\"500mg/30mg\",\"Schedule\":\"4N\",\"PackSize\":20,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white capsule-shaped P F\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6704ca558222d30be89b256b\",\"Usage\":1,\"DrugFullName\":\"CODAPANE FORTE 500/30 500mg/30mg TAB\",\"MedicationFullDetails\":\"CODAPANE FORTE 500/30 500mg/30mg TAB - PARACETAMOL/CODEINE (CODA6)\",\"Id\":\"5f0e69e0a0ba5db368a15c9b\",\"CreatedDate\":\"2020-07-15T02:28:41.593Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:23:41.47Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f313772b4a013b972efb88\",\"CreatedDate\":\"2026-04-30T08:31:51.616Z\",\"CreatedUserId\":\"6710815b08efed03acb60afa\",\"LastUpdateUserId\":\"6710815b08efed03acb60afa\",\"LastUpdateDate\":\"2026-04-30T08:37:04.0602302Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69f313772b4a013b972efb6e",
"");