using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"65f10adaa5ab8f00645494a8",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6993e3147b4f552efb8b0e5f\",\"Direction\":\"1 twice daily 3 days only\",\"FoilId\":\"69e6f64fd23a789810eeab1a\",\"FoilLabel\":\"Antibiotics Course 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-21T02:00:00Z\",\"EndDate\":\"2026-04-25T02:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"65f10adaa5ab8f00645494a8\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DOXYCYCLINE (APX) 100mg TAB\",\"DrugCode\":\"DOXY49\",\"Austr\":\"333669\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"swallowed wholeDo NOT take antacids or mineral supplements within 2hrs of this medicine.with or soon after food.Take for the number of days advised by your prescriber.*Avoid excessive exposure to sunlight and sunlampsSpecial handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"DXY1\",\"GenericName\":\"DOXYCYCLINE\",\"Presentation\":\"treatment of infections(antibiotics)\",\"AltBrand\":\"DOXYLIN, VIBRAMYCIN, DOXY 100, VIZAM 100, DOXSIG, DOXYCYCLINE (SBPA), DOXYHEXAL, DOXYCYCLINE-BC, DOXYCYCLINE (CHEM-MART), DOXYCYCLINE (HEALTHSENSE), DOXYCYCLINE (TW), DOXYCYCLINE (GENRX), DOXYCYCLINE (GENRX), DOXYCYCLINE (SANDOZ), DOXYCYCLINE (AN), DOXYCYCLINE (APO), DOXYCYCLINE (APX), DOXYCYCLINE (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"DOXYCYCLINE (APX)\",\"Formulation\":\"TAB\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":7,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"65f10adaa5ab8f00645494a8\",\"Usage\":1,\"DrugFullName\":\"DOXYCYCLINE (APX) 100mg TAB\",\"MedicationFullDetails\":\"DOXYCYCLINE (APX) 100mg TAB - DOXYCYCLINE (DOXY49)\",\"Id\":\"6102d2b2a6b66b27b8110364\",\"CreatedDate\":\"2021-07-29T16:09:22.34Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T16:42:53.072Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6f74bd23a789810f28f9f\",\"CreatedDate\":\"2026-04-21T04:04:27.674Z\",\"CreatedUserName\":\"seppie\",\"CreatedUserId\":\"68ab9740414f211e58238813\",\"LastUpdateUserId\":\"68ab9740414f211e58238813\",\"LastUpdateUserName\":\"seppie\",\"LastUpdateDate\":\"2026-04-21T04:15:45.1006988Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6993e3147b4f552efb8b0e5f",
"");