using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67eb59eeaf648e1100515eb6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"685235f608efed0cbc543072\",\"Direction\":\"1 MORNING\",\"FoilId\":\"685235f608efed0cbc543088\",\"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-06-18T02:00:00Z\",\"EndDate\":\"2026-04-22T02:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"Ceased by Caboolture Hospital 22/04/26\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67eb59eeaf648e1100515eb6\",\"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\":\"round pale yellow 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\":1,\"Description\":\"round pale yellow SP 1\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67eb59eeaf648e1100515eb6\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"Route\\":null}\",\"Usage\":13,\"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\":\"67ec7f3da7ab950ee0a6583f\",\"LastUpdateDate\":\"2026-03-19T04:09:53.517Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68523ecb08efed0cbc65c899\",\"CreatedDate\":\"2025-06-18T04:21:31.435Z\",\"CreatedUserName\":\"KT\",\"CreatedUserId\":\"67ec73afaf648e0d001a955a\",\"LastUpdateUserId\":\"67ec7f3da7ab950ee0a6583f\",\"LastUpdateUserName\":\"KY\",\"LastUpdateDate\":\"2026-04-23T03:38:41.6490423Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"685235f608efed0cbc543072",
"");