using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67ae7c6a08efed117c734610",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,3.0,0.0,3.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67b4462fa7ab950d18a22137\",\"Direction\":\"Take 3 tablets tablets TWICE a day (SSSI)\",\"FoilId\":\"67b4462fa7ab950d18a2213b\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-27T23:48:12.702332Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-27T23:48:12.702332Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67ae7c6a08efed117c734610\",\"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\":\"67ae7c6a08efed117c734610\",\"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-11T15:37:15.391Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69b8a5ca287ee44aae358c93\",\"CreatedDate\":\"2026-03-17T00:52:26.538Z\",\"CreatedUserName\":\"jn\",\"CreatedUserId\":\"680f4fbbaf648e065830a2b0\",\"LastUpdateUserId\":\"680f4fbbaf648e065830a2b0\",\"LastUpdateUserName\":\"jn\",\"LastUpdateDate\":\"2026-04-27T23:48:12.702332Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67b4462fa7ab950d18a22137",
"");