using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6747a67ca7ab95036cb9c69b",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"674fba6caf648e04acf5e6e4\",\"Direction\":\"1 DAILY\",\"FoilId\":\"674fba7008efed04c873208a\",\"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-24T02:49:31.8036365Z\",\"Frequency\":6,\"PackedWeekDay\":[false,true,true,true,true,true,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-24T02:49:31.8036365Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6747a67ca7ab95036cb9c69b\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"LEVOTHOX 100mcg TAB\",\"DrugCode\":\"LEVO45\",\"Austr\":\"363996\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"at least half an hour before foodDo NOT take antacids or mineral supplements within 2hrs of this medicine.PDL Warn: Caution Strengths\",\"Direction\":\"\",\"GenericCode\":\"THY1\",\"GenericName\":\"LEVOTHYROXINE SODIUM\",\"Presentation\":\"Used to treat hypothyroidism, a condition in which the production of thyroid hormone in the body is abnormally low. \",\"AltBrand\":\"OROXINE, EUTROXSIG, OROXINE, ELTROXIN, LEVOXINE, LEVOTHOX, LEVOTHYROXINE (APO), LEVOTHYROXINE (LUP), THYROX, THYROX, LEVOTHYROXINE (SANDOZ)\",\"DoNotCrush\":false,\"TradeName\":\"LEVOTHOX\",\"Formulation\":\"TAB\",\"Strength\":\"100mcg\",\"Schedule\":\"4\",\"PackSize\":200,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6747a67ca7ab95036cb9c69b\",\"Usage\":3,\"DrugFullName\":\"LEVOTHOX 100mcg TAB\",\"MedicationFullDetails\":\"LEVOTHOX 100mcg TAB - LEVOTHYROXINE SODIUM (LEVO45)\",\"Id\":\"6489051ef65a880384d61624\",\"CreatedDate\":\"2023-06-14T00:09:02.505Z\",\"CreatedUserId\":\"\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T18:27:25.462Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"683fdb59af648e0e9072a4d1\",\"CreatedDate\":\"2025-06-04T05:36:25.314Z\",\"CreatedUserName\":\"dmohan\",\"CreatedUserId\":\"6747ac0f08efed0a8c2e68df\",\"LastUpdateUserId\":\"6747ac0f08efed0a8c2e68df\",\"LastUpdateDate\":\"2026-04-24T02:49:31.8036365Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"674fba6caf648e04acf5e6e4",
"");