using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698d50af9c6752ab21ee82e6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6993c2efea4154733d229492\",\"Direction\":\"Take ONE tablet daily \",\"FoilId\":\"6993c2efea4154733d229493\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-12-24T03:05:29Z\",\"ScriptNum\":\"643544\",\"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-02-17T04: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\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"698d50af9c6752ab21ee82e6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ALLOSIG 300mg TAB\",\"DrugCode\":\"ALLO18\",\"Austr\":\"269641\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"White\",\"Shape\":\"Round\",\"Marking\":\"C9B\",\"Warning\":\"PDL Warn: Caution Strengthswith or soon after food.*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products\",\"Direction\":\"\",\"GenericCode\":\"ALP3\",\"GenericName\":\"ALLOPURINOL\",\"Presentation\":\"Used to treat gout or kidney stones, and to decrease levels of uric acid in people who are receiving cancer treatment.\",\"ImageId\":\"5f3a2f1aa0ba5d7c5079714e\",\"ImageSmallSizeId\":\"68f598715a506b941b5c7f7e\",\"AltBrand\":\"PROGOUT, ZYLOPRIM, ALLORIN, ZYGOUT 300, ALLOPURINOL (SBPA), ALLOPURINOL (SANDOZ), ALLOPURINOL-BC, ALLOPURINOL (CHEM-MART), ALLOPURINOL (HEALTHSENSE), ALLOPURINOL (TW), ALLOPURINOL (GENRX), ALLOSIG, ALLOPURINOL (APO), ALLOPURINOL (APOTEX), ALLOPURINOL (NOUMED), ALLOPURINOL (WGR), PROGOUT (VIATRIS)\",\"DoNotCrush\":false,\"TradeName\":\"ALLOSIG\",\"Formulation\":\"TAB\",\"Strength\":\"300mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698d50af9c6752ab21ee82e6\",\"Usage\":5,\"DrugFullName\":\"ALLOSIG 300mg TAB\",\"MedicationFullDetails\":\"ALLOSIG 300mg TAB - ALLOPURINOL (ALLO18)\",\"Id\":\"5f0e69e0a0ba5db368a15a23\",\"CreatedDate\":\"2020-07-15T02:28:41.055Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:03.834Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6993c2efea4154733d2294af\",\"CreatedDate\":\"2026-02-17T01:22:55.397Z\",\"CreatedUserId\":\"698d623a9c6752ab211e93b5\",\"LastUpdateUserId\":\"698d623a9c6752ab211e93b5\",\"LastUpdateUserName\":\"Admin123\",\"LastUpdateDate\":\"2026-04-20T01:56:06.4645827Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6993c2efea4154733d229492",
"");