using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6451fd77f65a8805ace172ea",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"646c6f14f65a88097ca03bde\",\"Direction\":\"Take TWO Capsules daily\",\"FoilId\":\"646c6f14f65a88097ca03bfc\",\"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-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6451fd77f65a8805ace172ea\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OSTELIN GEL 25mcg 1000IU CAP\",\"DrugCode\":\"OSTE1\",\"Austr\":\"\",\"Supplier\":\"SSL AUSTRALIA PTY LTD\",\"Type\":\"Capsule\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsS/Care - Vitamins\",\"Direction\":\"\",\"GenericCode\":\"ERGO1\",\"GenericName\":\"COLECALCIFEROL\",\"Presentation\":\"Used to treat hypoparathyroidism (decreased functioning of the parathyroid glands) , also used to treat rickets (softening of the bones caused by vitamin D deficiency) or low levels of phosphate in the blood (hypophosphatemia)\",\"AltBrand\":\"OSTELIN GEL\",\"DoNotCrush\":false,\"TradeName\":\"OSTELIN GEL\",\"Formulation\":\"CAP\",\"Strength\":\"25mcg 1000IU\",\"Schedule\":\"3\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6451fd77f65a8805ace172ea\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"Route\\":null}\",\"Usage\":74,\"DrugFullName\":\"OSTELIN GEL 25mcg 1000IU CAP\",\"MedicationFullDetails\":\"OSTELIN GEL 25mcg 1000IU CAP - COLECALCIFEROL (OSTE1)\",\"Id\":\"5f0e69e0a0ba5db368a1528f\",\"CreatedDate\":\"2020-07-15T02:28:39.359Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-08-06T13:08:20.554Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5753a7f72c22cb3f17cdf\",\"CreatedDate\":\"2026-04-20T00:37:14.5349323Z\",\"CreatedUserName\":\"NE16\",\"CreatedUserId\":\"65481197117b5203507225d4\",\"LastUpdateDate\":\"2026-04-20T00:37:14.5349323Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"646c6f14f65a88097ca03bde",
"");