using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"691e3d0fdc505060207c6847",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e8613d9331f9d468fc0042\",\"Direction\":\"1 NIGHT\",\"FoilId\":\"69f05828ec52ba593c01c298\",\"FoilLabel\":\"clonidine\",\"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-28T02: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\":\"691e3d0fdc505060207c6847\",\"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\":\"691e3d0fdc505060207c6847\",\"Usage\":3,\"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\":\"69f05839da2f310f8f808670\",\"CreatedDate\":\"2026-04-28T06:48:25.5038852Z\",\"CreatedUserName\":\"Coburgp4l\",\"CreatedUserId\":\"691e3f65881495199870bcf3\",\"LastUpdateDate\":\"2026-04-28T06:48:25.5038852Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e8613d9331f9d468fc0042",
"");