using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68831b733e5f1b9fd3be5032",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e7286648571626cc876f07\",\"Direction\":\"Take HALF in the morning and ONE at night\",\"FoilId\":\"69e72ba2b02e12b38705948d\",\"FoilLabel\":\"Regular Pack\",\"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-21T02: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\":\"68831b733e5f1b9fd3be5032\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CLONIDINE (APO) 100mcg TAB\",\"DrugCode\":\"CLON6\",\"Austr\":\"265776\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pink\",\"Shape\":\"round\",\"Marking\":\"YS 01\",\"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\":\"5f3a2db5a0ba5d7c50796b01\",\"ImageSmallSizeId\":\"68f599815a506b941b5c9251\",\"ImageName\":\"265776-C01-01-BL600.jpg\",\"AltBrand\":\"CATAPRES, CLONIDINE (APO), CLONIDINE (LUPIN)\",\"DoNotCrush\":false,\"TradeName\":\"CLONIDINE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"100mcg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pink round YS 01\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68831b733e5f1b9fd3be5032\",\"OriginValues\":\"{\\"Authorized\\":0}\",\"Usage\":1,\"DrugFullName\":\"CLONIDINE (APO) 100mcg TAB\",\"MedicationFullDetails\":\"CLONIDINE (APO) 100mcg TAB - CLONIDINE (CLON6)\",\"Id\":\"5f0e69e0a0ba5db368a175b5\",\"CreatedDate\":\"2020-07-15T02:28:46.971Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-13T07:16:08.392Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e72bfcb02e12b387063099\",\"CreatedDate\":\"2026-04-21T07:49:16.235535Z\",\"CreatedUserName\":\"dlt\",\"CreatedUserId\":\"688b03f1b6488b834db002d9\",\"LastUpdateDate\":\"2026-04-21T07:49:16.235535Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e7286648571626cc876f07",
"");