using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66317c8ba5ab8f0f84e89478",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69eaf301fe71d5d94bdc01ae\",\"Direction\":\"1 in the MORNING\",\"FoilId\":\"69eaf301fe71d5d94bdc01cf\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-24T02:40:19Z\",\"ScriptNum\":\"6042476\",\"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-24T02: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:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"66317c8ba5ab8f0f84e89478\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ALLOPURINOL (SANDOZ) 300mg TAB\",\"DrugCode\":\"ALLO6\",\"Austr\":\"65906\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"oblong\",\"Marking\":\"\",\"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\":\"5f3a2f23a0ba5d7c507976d6\",\"ImageSmallSizeId\":\"68f5984a5a506b941b5c7d92\",\"ImageName\":\"65906-C01-01-BL600.jpg\",\"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\":\"ALLOPURINOL (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"300mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white oblong\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66317c8ba5ab8f0f84e89478\",\"Usage\":0,\"DrugFullName\":\"ALLOPURINOL (SANDOZ) 300mg TAB\",\"MedicationFullDetails\":\"ALLOPURINOL (SANDOZ) 300mg TAB - ALLOPURINOL (ALLO6)\",\"Id\":\"5f0e69e0a0ba5db368a153ff\",\"CreatedDate\":\"2020-07-15T02:28:39.644Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:08:55.972Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eaf301fe71d5d94bdc01d4\",\"CreatedDate\":\"2026-04-24T04:35:13.518Z\",\"CreatedUserId\":\"68e5b07c355f7892533bb2ce\",\"LastUpdateUserId\":\"68e5b07c355f7892533bb2ce\",\"LastUpdateUserName\":\"LB\",\"LastUpdateDate\":\"2026-04-24T04:39:46.7615212Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eaf301fe71d5d94bdc01ae",
"");