using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68af9f454d13f71850cea050",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68cc86fde91894b7997a0d5a\",\"Direction\":\"Take 2 tablets in the morning\",\"FoilId\":\"68cc86fde91894b7997a0d5f\",\"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-07T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00\",\"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\":\"68af9f454d13f71850cea050\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SPIRACTIN 100 100mg TAB\",\"DrugCode\":\"SPIR2\",\"Austr\":\"46691\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pale orange\",\"Shape\":\"round\",\"Marking\":\"SP 2\",\"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\":\"SP10\",\"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\":\"5f3a2dbba0ba5d7c50796bf2\",\"ImageSmallSizeId\":\"68f598365a506b941b5c7c71\",\"ImageName\":\"46691-C01-01-BL600.jpg\",\"AltBrand\":\"ALDACTONE, SPIRACTIN 100, SPIRONOLACTONE (MYLAN) 100, SPIRONOLACTONE (VIATRIS) 100\",\"DoNotCrush\":true,\"TradeName\":\"SPIRACTIN 100\",\"Formulation\":\"TAB\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pale orange round SP 2\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68af9f454d13f71850cea050\",\"Usage\":0,\"DrugFullName\":\"SPIRACTIN 100 100mg TAB\",\"MedicationFullDetails\":\"SPIRACTIN 100 100mg TAB - SPIRONOLACTONE (SPIR2)\",\"Id\":\"5f0e69e0a0ba5db368a14f37\",\"CreatedDate\":\"2020-07-15T02:28:38.597Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:24:26.742Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e949bc26359e385407dda5\",\"CreatedDate\":\"2026-04-22T22:20:44.375Z\",\"CreatedUserName\":\"sgriggs\",\"CreatedUserId\":\"68c8bb1c454a73449696776e\",\"LastUpdateDate\":\"2026-04-23T03:39:32.9155768Z\",\"UpdateDeletedDate\":\"2026-04-23T03:39:32.9155768Z\",\"DeletedUserId\":\"68c8bb1c454a73449696776e\",\"IsDeleted\":true}"),
"68cc86fde91894b7997a0d5a",
"");