using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698d50af9c6752ab21ee82e6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,0.25,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6993c2efea4154733d229492\",\"Direction\":\"Take one quarter of a tablet at night\",\"FoilId\":\"6993c2efea4154733d229493\",\"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-20T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"698d50af9c6752ab21ee82e6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CATAPRES 100mcg TAB\",\"DrugCode\":\"CAT8\",\"Austr\":\"17921\",\"Supplier\":\"CLINECT PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"01C 01C\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptly*May cause dizziness when standing up quickly\",\"Direction\":\"\",\"GenericCode\":\"CLD2\",\"GenericName\":\"CLONIDINE\",\"Presentation\":\"Used alone or with other medications to treat high blood pressure (hypertension).\",\"ImageId\":\"5f3a2dada0ba5d7c50796624\",\"ImageSmallSizeId\":\"68f5980b5a506b941b5c7a45\",\"ImageName\":\"17921-C01-01-BL600.jpg\",\"AltBrand\":\"CATAPRES, CLONIDINE (APO), CLONIDINE (LUPIN)\",\"DoNotCrush\":false,\"TradeName\":\"CATAPRES\",\"Formulation\":\"TAB\",\"Strength\":\"100mcg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round 01C 01C\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698d50af9c6752ab21ee82e6\",\"Usage\":6,\"DrugFullName\":\"CATAPRES 100mcg TAB\",\"MedicationFullDetails\":\"CATAPRES 100mcg TAB - CLONIDINE (CAT8)\",\"Id\":\"5f0e69e0a0ba5db368a14204\",\"CreatedDate\":\"2020-07-15T02:28:35.441Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.513Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5873ce22cc52e7e401f35\",\"CreatedDate\":\"2026-04-20T01:54:04.556584Z\",\"CreatedUserName\":\"Admin123\",\"CreatedUserId\":\"698d623a9c6752ab211e93b5\",\"LastUpdateDate\":\"2026-04-20T01:54:04.556584Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6993c2efea4154733d229492",
"");