using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"692d0ca49c026d17a0f79be7",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e70d68b02e12b387a52c19\",\"Direction\":\"ONE tablet daily\",\"FoilId\":\"69e70d68b02e12b387a52c22\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-30T06:40:22Z\",\"ScriptNum\":\"60330112\",\"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\":\"2026-04-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"692d0ca49c026d17a0f79be7\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CANDESARTAN (SANDOZ) 8mg TAB\",\"DrugCode\":\"CAND25\",\"Austr\":\"147493\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pink mottled\",\"Shape\":\"round\",\"Marking\":\"8\",\"Warning\":\"*DO NOT TAKE POTASSIUM while being treated with this medicine unless advised by your Doctor**May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quicklyDo not use if pregnantDo not consider pregnancy w/o Drs adviceSpecial handling and disposal required - ask your Pharmacistswallowed whole\",\"Direction\":\"\",\"GenericCode\":\"CAND7\",\"GenericName\":\"CANDESARTAN CILEXETIL\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"ImageId\":\"5f3a2dbca0ba5d7c50796c2d\",\"ImageSmallSizeId\":\"68f5992a5a506b941b5c8dba\",\"ImageName\":\"147493-C01-01-BL600.jpg\",\"AltBrand\":\"ATACAND, CANDESARTEN (TPX), ADESAN, CANDESARTAN (APO), CANDESARTAN (ASPEN), CANDESARTAN (GA), CANDESARTAN (GH), CANDESARTAN (SANDOZ), CANDESARTAN (STADA), CANDESARTAN (RBX), CANDESARTAN (PHARMACOR), CANDESARTAN (AURO), CANDESARTAN (CHEM-MART), CANDESARTAN (TW), CANDESARTAN (AN), CANDESARTAN (BLOOMS), CANDESAN, CANDESARTAN (NOUMED), CANDESARTAN (BTC), CANDESARTAN (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"CANDESARTAN (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"8mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pink mottled round 8\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"692d0ca49c026d17a0f79be7\",\"Usage\":0,\"DrugFullName\":\"CANDESARTAN (SANDOZ) 8mg TAB\",\"MedicationFullDetails\":\"CANDESARTAN (SANDOZ) 8mg TAB - CANDESARTAN CILEXETIL (CAND25)\",\"Id\":\"5f0e69e0a0ba5db368a16d52\",\"CreatedDate\":\"2020-07-15T02:28:45.159Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.495Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e70d68b02e12b387a52c28\",\"CreatedDate\":\"2026-04-21T05:38:48.127Z\",\"CreatedUserId\":\"692e6aca172698ed2e694475\",\"LastUpdateUserId\":\"692e6aca172698ed2e694475\",\"LastUpdateUserName\":\"urangan\",\"LastUpdateDate\":\"2026-04-21T05:46:29.6835108Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e70d68b02e12b387a52c19",
"");