using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69b9ea5c52100378ae138360",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e6f157d23a789810df1430\",\"Direction\":\"Take half a tab daily\",\"FoilId\":\"69e6f157d23a789810df1431\",\"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\":\"2026-04-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"69b9ea5c52100378ae138360\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SPIRONOLACTONE (VIATRIS) 25 25mg TAB\",\"DrugCode\":\"SPIR9\",\"Austr\":\"338091\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pale orange\",\"Shape\":\"round\",\"Marking\":\"SP 1\",\"Warning\":\"with or soon after food.*DO NOT TAKE POTASSIUM while being treated with this medicine unless advised by your Doctor**May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quicklySpecial handling and disposal required - ask your Pharmacistswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"SPI1\",\"GenericName\":\"SPIRONOLACTONE\",\"Presentation\":\"Commonly used in the treatment of heart failure & other conditions which cause fluid to build up in the body, such as certain liver and kidney disorders.\",\"ImageId\":\"69c9dda86e479f7689845903\",\"ImageSmallSizeId\":\"69c9ddaebe1c51d374fe7a38\",\"AltBrand\":\"ALDACTONE, SPIRACTIN 25, SPIRONOLACTONE (MYLAN) 25, SPIRONOLACTONE (VIATRIS) 25\",\"DoNotCrush\":true,\"TradeName\":\"SPIRONOLACTONE (VIATRIS) 25\",\"Formulation\":\"TAB\",\"Strength\":\"25mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"Round Yellow Tab\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69b9ea5c52100378ae138360\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ImageId\\":null,\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"Route\\":null}\",\"Usage\":21,\"DrugFullName\":\"SPIRONOLACTONE (VIATRIS) 25 25mg TAB\",\"UpdateImageUserId\":\"69c319925e5874db28c4ce72\",\"MedicationFullDetails\":\"SPIRONOLACTONE (VIATRIS) 25 25mg TAB - SPIRONOLACTONE (SPIR9)\",\"Id\":\"633aa511f65a8810882e507a\",\"CreatedDate\":\"2022-10-03T09:02:09.516Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"69c319925e5874db28c4ce72\",\"LastUpdateDate\":\"2026-03-30T02:19:26.243Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6fa0748571626cce55877\",\"CreatedDate\":\"2026-04-21T04:16:07.0002966Z\",\"CreatedUserName\":\"shaw\",\"CreatedUserId\":\"69c319925e5874db28c4ce72\",\"LastUpdateDate\":\"2026-04-21T04:16:07.0002966Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6f157d23a789810df1430",
"");