using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6817f663af648e10f80961b9",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.0,0.0,2.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e858579331f9d468e15721\",\"Direction\":\"Take 2 twice daily\",\"FoilId\":\"69e8594dbc5ce8d51b87c512\",\"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-22T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6817f663af648e10f80961b9\",\"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\":\"6817f663af648e10f80961b9\",\"Usage\":4,\"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-10T20:10:38.322Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e85971f027e30283639383\",\"CreatedDate\":\"2026-04-22T05:15:29.6518044Z\",\"CreatedUserName\":\"IR\",\"CreatedUserId\":\"684b5baca7ab9503749337e9\",\"LastUpdateDate\":\"2026-04-22T05:15:29.6518044Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e858579331f9d468e15721",
"");