using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e5b3a3c21eb1a5a919ba34",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69f2cef1e64dcafcf8472783\",\"Direction\":\"Take ONE tablet TWICE daily as directed *hand packed* \",\"FoilId\":\"69f2cef1e64dcafcf84727ae\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-10T04:47:48Z\",\"ScriptNum\":\"1301513\",\"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-30T02: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\":\"2026-04-30T03:41:07.101Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69e5b3a3c21eb1a5a919ba34\",\"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\":\"69e5b3a3c21eb1a5a919ba34\",\"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\":\"69f2cef1e64dcafcf84727b8\",\"CreatedDate\":\"2026-04-30T03:39:29.985Z\",\"CreatedUserId\":\"69f2c7fd6a52244e58ce22e7\",\"LastUpdateUserId\":\"69f2c7fd6a52244e58ce22e7\",\"LastUpdateUserName\":\"ABY199\",\"LastUpdateDate\":\"2026-04-30T03:41:25.3178014Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69f2cef1e64dcafcf8472783",
"");