using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"684224a8af648e0b24dc1089",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,2.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"684a86aca7ab950374dac095\",\"Direction\":\"Take TWO tablets daily\",\"FoilId\":\"684a86aca7ab950374dac098\",\"FoilLabel\":\"Fortnightly x 1 (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\":\"684224a8af648e0b24dc1089\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"PROGOUT (VIATRIS) 100mg TAB\",\"DrugCode\":\"PROG40\",\"Austr\":\"269653\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"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.\",\"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\":\"PROGOUT (VIATRIS)\",\"Formulation\":\"TAB\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":200,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"684224a8af648e0b24dc1089\",\"Usage\":5,\"DrugFullName\":\"PROGOUT (VIATRIS) 100mg TAB\",\"MedicationFullDetails\":\"PROGOUT (VIATRIS) 100mg TAB - ALLOPURINOL (PROG40)\",\"Id\":\"68934b45d608d9e2840d83be\",\"CreatedDate\":\"2025-08-06T12:32:05.37Z\",\"CreatedUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:47:38.093Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e830dff027e30283dd967c\",\"CreatedDate\":\"2026-04-22T02:22:23.794705Z\",\"CreatedUserName\":\"afp\",\"CreatedUserId\":\"68475d36a7ab950650b24323\",\"LastUpdateDate\":\"2026-04-22T02:22:23.794705Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"684a86aca7ab950374dac095",
"");