using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67b267de08efed049050b2e5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68ae46af4a35827a7727931c\",\"Direction\":\"1 2xdaily\",\"FoilId\":\"68ae46af4a35827a7727931d\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-21T06:33:17.3077527Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T06:33:17.3077527Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67b267de08efed049050b2e5\",\"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\":\"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.\",\"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\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67b267de08efed049050b2e5\",\"Usage\":9,\"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\":\"\",\"LastUpdateDate\":\"2025-10-10T19:08:32.523Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68ae48c15f3a22d4399eab34\",\"CreatedDate\":\"2025-08-26T23:52:33.507Z\",\"CreatedUserName\":\"Callan\",\"CreatedUserId\":\"67b276f1a7ab9505c8e77840\",\"LastUpdateUserId\":\"67b277e708efed049065267e\",\"LastUpdateDate\":\"2026-04-21T06:33:17.3077527Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68ae46af4a35827a7727931c",
"");