using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67313abcaf648e0ebcbb64c6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.25,0.0,0.25,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e86867bc5ce8d51bb34f3c\",\"Direction\":\"QUATER OF A IN THE MORNING AND NIGHT\",\"FoilId\":\"69e868ca0f0cccf86860cd6a\",\"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-22T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67313abcaf648e0ebcbb64c6\",\"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\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pink round YS 01\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67313abcaf648e0ebcbb64c6\",\"Usage\":12,\"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-11T15:27:15.829Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e86a12bc5ce8d51bb81a76\",\"CreatedDate\":\"2026-04-22T06:26:26.451Z\",\"CreatedUserName\":\"areta.davies\",\"CreatedUserId\":\"68149c6308efed0fa426e309\",\"LastUpdateUserId\":\"68149c6308efed0fa426e309\",\"LastUpdateUserName\":\"areta.davies\",\"LastUpdateDate\":\"2026-04-22T06:53:00.3431429Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e86867bc5ce8d51bb34f3c",
"");