using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67db42cfaf648e01d05ec5cf",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68bb7f8e9150a387e62f9e88\",\"Direction\":\"take 1 daily\",\"FoilId\":\"68bb814d9150a387e631bb17\",\"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\":\"2025-09-06T02: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\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67db42cfaf648e01d05ec5cf\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"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\":\"\",\"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.\",\"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\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67db42cfaf648e01d05ec5cf\",\"Usage\":30,\"DrugFullName\":\"SPIRONOLACTONE (VIATRIS) 25 25mg TAB\",\"MedicationFullDetails\":\"SPIRONOLACTONE (VIATRIS) 25 25mg TAB - SPIRONOLACTONE (SPIR9)\",\"Id\":\"633aa511f65a8810882e507a\",\"CreatedDate\":\"2022-10-03T09:02:09.516Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"68215d4caf648e0aac83c840\",\"LastUpdateDate\":\"2026-04-14T01:27:57.142Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68bb8b69855edadee079702a\",\"CreatedDate\":\"2025-09-06T01:16:25.075Z\",\"CreatedUserName\":\"Nhennessy\",\"CreatedUserId\":\"68215d4caf648e0aac83c840\",\"LastUpdateUserId\":\"68217727a7ab950f3c612d92\",\"LastUpdateUserName\":\"Aibrahim\",\"LastUpdateDate\":\"2026-04-20T06:06:14.6980502Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68bb7f8e9150a387e62f9e88",
"");