using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6847a67c08efed091064bb23",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"689ac4d69e33cfe120656f60\",\"Direction\":\"1 DAILY\",\"FoilId\":\"689ac4d69e33cfe120656f76\",\"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-08-12T02:30: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\":\"6847a67c08efed091064bb23\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SPIRACTIN 25 25mg TAB\",\"DrugCode\":\"SPIR1\",\"Austr\":\"46689\",\"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\":\"5f3a2d7aa0ba5d7c50794980\",\"ImageSmallSizeId\":\"68f598365a506b941b5c7c70\",\"ImageName\":\"46689-C01-01-BL600.jpg\",\"AltBrand\":\"ALDACTONE, SPIRACTIN 25, SPIRONOLACTONE (MYLAN) 25, SPIRONOLACTONE (VIATRIS) 25\",\"DoNotCrush\":true,\"TradeName\":\"SPIRACTIN 25\",\"Formulation\":\"TAB\",\"Strength\":\"25mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"pale orange round SP 1\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6847a67c08efed091064bb23\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":46,\"DrugFullName\":\"SPIRACTIN 25 25mg TAB\",\"MedicationFullDetails\":\"SPIRACTIN 25 25mg TAB - SPIRONOLACTONE (SPIR1)\",\"Id\":\"5f0e69e0a0ba5db368a14f36\",\"CreatedDate\":\"2020-07-15T02:28:38.596Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"6847b5ee08efed091083e731\",\"LastUpdateDate\":\"2025-09-07T04:48:59.717Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"689ac5742e3f4ac6b7b82ab1\",\"CreatedDate\":\"2025-08-12T04:39:16.031Z\",\"CreatedUserName\":\"kowtharm\",\"CreatedUserId\":\"68676584fa5b362fe4b2640c\",\"LastUpdateUserId\":\"68676584fa5b362fe4b2640c\",\"LastUpdateUserName\":\"kowtharm\",\"LastUpdateDate\":\"2026-04-24T05:49:54.5296532Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"689ac4d69e33cfe120656f60",
"");