using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"645334def65a88089ce58676",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"64618703f65a880ba4b709e8\",\"Direction\":\"1 2xDAILY\",\"FoilId\":\"64618703f65a880ba4b709fe\",\"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\":\"2023-05-15T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"1 bd as per Dr Wilkinson's request 11/12/25!\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ALLOPURINOL (APOTEX) 100mg TAB\",\"DrugCode\":\"ALLO22\",\"Austr\":\"269652\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"AL 100\",\"Warning\":\"with or soon after food.*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryPDL Warn: Caution Strengths*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products\",\"Direction\":\"\",\"GenericCode\":\"ALP1\",\"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\":\"5f3a2f1aa0ba5d7c50797138\",\"ImageSmallSizeId\":\"68f599895a506b941b5c92b6\",\"ImageName\":\"269652-C01-01-BL600.jpg\",\"AltBrand\":\"PROGOUT, ZYLOPRIM, ALLORIN, ZYGOUT 100, ALLOPURINOL (SBPA), ALLOPURINOL (SANDOZ), ALLOPURINOL-BC, ZYLOPRIM, ALLOPURINOL (CHEM-MART), ALLOPURINOL (HEALTHSENSE), ALLOPURINOL (TW), ALLOPURINOL (GENRX), ALLOSIG, ALLOPURINOL (SANDOZ), ALLOPURINOL (APO), PROGOUT, ALLOPURINOL (APOTEX), ALLOPURINOL (NOUMED), ALLOPURINOL (WGR), PROGOUT (VIATRIS)\",\"DoNotCrush\":false,\"TradeName\":\"ALLOPURINOL (APOTEX)\",\"Formulation\":\"TAB\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":200,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round AL 100\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"Usage\":6,\"DrugFullName\":\"ALLOPURINOL (APOTEX) 100mg TAB\",\"MedicationFullDetails\":\"ALLOPURINOL (APOTEX) 100mg TAB - ALLOPURINOL (ALLO22)\",\"Id\":\"5f0e69e0a0ba5db368a176b7\",\"CreatedDate\":\"2020-07-15T02:28:47.221Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T14:53:35.212Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6461ce35f65a880ba4c21108\",\"CreatedDate\":\"2023-05-15T06:16:21.139Z\",\"CreatedUserName\":\"Joe\",\"CreatedUserId\":\"64545bbaf65a88076479f62e\",\"LastUpdateUserId\":\"64546ef2f65a8808c4c390a0\",\"LastUpdateUserName\":\"Thomas\",\"LastUpdateDate\":\"2026-04-20T15:51:08.5729785Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"64618703f65a880ba4b709e8",
"");