using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68831a3cd274aadb95754dbe",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[],\"PatientId\":\"69e83dbbf027e3028307f46b\",\"Direction\":\"Take TWO tablets at night\",\"FoilId\":\"69e83dbbf027e3028307f478\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-14T00:18:23Z\",\"ScriptNum\":\"1615254\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-22T03:19:43.4451638Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-22T03:19:43.4451638Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"PharmacyId\":\"68831a3cd274aadb95754dbe\",\"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\":\"68831a3cd274aadb95754dbe\",\"OriginValues\":\"{\\"Authorized\\":0}\",\"Usage\":0,\"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:15:21.028Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e83dbbf027e3028307f5e6\",\"CreatedDate\":\"2026-04-22T03:17:15.279Z\",\"CreatedUserId\":\"68870284110a87827ddfb00d\",\"LastUpdateUserId\":\"68870284110a87827ddfb00d\",\"LastUpdateDate\":\"2026-04-22T03:19:43.4451638Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e83dbbf027e3028307f46b",
"");