using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68831b3cd274aadb957768e7",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"white round AB CG\",\"Dose\":[1.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6887101a1f39d83078c0e49e\",\"Direction\":\"Take ONE and a HALF tablets at 11am and ONE and HALF a tablets at 2pm\",\"FoilId\":\"6887101a1f39d83078c0e49f\",\"FoilLabel\":\"11:00am\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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\":\"2021-04-16T00:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[false,true,true,true,true,true,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68831b3cd274aadb957768e7\",\"SyncId\":\"949ebb31-0a19-4292-91f1-5b739e069c1e-699\",\"SyncDate\":\"2025-07-28T05:52:26.171Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"ARTIGE 10mg TAB\",\"DrugCode\":\"ARTI2\",\"Austr\":\"117306\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"AB\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your pharmacist about the storage conditions for this medicine\",\"Direction\":\"\",\"GenericCode\":\"METH1\",\"GenericName\":\"METHYLPHENIDATE\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"ImageId\":\"6360187ef65a8812b8883506\",\"ImageSmallSizeId\":\"68f5998a5a506b941b5c92bd\",\"ImageName\":\"117306-C01-01-BL600.jpg\",\"AltBrand\":\"RITALIN, ATTENTA, METHYLPHENIDATE (DP), LORENTIN, METHYLPHENIDATE (CHEMMART), METHYLPHENIDATE (GENRX), METHYLPHENIDATE (TW), ARTIGE\",\"DoNotCrush\":false,\"TradeName\":\"ARTIGE\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"8\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round AB\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68831b3cd274aadb957768e7\",\"Usage\":1,\"DrugFullName\":\"ARTIGE 10mg TAB\",\"MedicationFullDetails\":\"ARTIGE 10mg TAB - METHYLPHENIDATE (ARTI2)\",\"Id\":\"5f0e69e0a0ba5db368a176c3\",\"CreatedDate\":\"2020-07-15T02:28:47.231Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:16:31.671Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6887101a1f39d83078c0e4a0\",\"CreatedDate\":\"2025-07-28T05:52:26.17Z\",\"LastUpdateUserId\":\"68ae68b14a35827a7790a679\",\"LastUpdateUserName\":\"SLW\",\"LastUpdateDate\":\"2026-04-21T04:14:41.3019749Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6887101a1f39d83078c0e49e",
"");