using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68831b733e5f1b9fd3be5032",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,2.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"688af5c2be5d338e0eb52aee\",\"Direction\":\"Take TWO tablets at night\",\"FoilId\":\"688af5c2be5d338e0eb52aef\",\"FoilLabel\":\"Regular Pack\",\"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-05-01T05:47:40.897554Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-05-01T05:47:40.897554Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68831b733e5f1b9fd3be5032\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ALLEGRON 25mg TAB\",\"DrugCode\":\"ALL2\",\"Austr\":\"53747\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"orange\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Do NOT stop taking this medication abruptly*Ask your pharmacist about the storage conditions for this medicine*May cause dizziness when standing up quickly\",\"Direction\":\"\",\"GenericCode\":\"NOT2\",\"GenericName\":\"NORTRIPTYLINE\",\"Presentation\":\"Used to treat depression, bipolar disorder, anxiety, obsessive-compulsive disorder and other mood disorders. They are also effective as analgesics so are used to treat chronic pain and used for migraine prophylaxis.\",\"ImageId\":\"5f3a2f26a0ba5d7c5079786c\",\"ImageSmallSizeId\":\"68f598065a506b941b5c79fd\",\"ImageName\":\"53747-C01-01-BL600.jpg\",\"AltBrand\":\"ALLEGRON, NORTAB, NORTRITABS\",\"DoNotCrush\":false,\"TradeName\":\"ALLEGRON\",\"Formulation\":\"TAB\",\"Strength\":\"25mg\",\"Schedule\":\"4\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"orange round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68831b733e5f1b9fd3be5032\",\"Usage\":0,\"DrugFullName\":\"ALLEGRON 25mg TAB\",\"MedicationFullDetails\":\"ALLEGRON 25mg TAB - NORTRIPTYLINE (ALL2)\",\"Id\":\"5f0e69e0a0ba5db368a14046\",\"CreatedDate\":\"2020-07-15T02:28:35.055Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:16:52.132Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69378182d1036e81536b53de\",\"CreatedDate\":\"2025-12-09T01:55:14.271Z\",\"CreatedUserName\":\"dlt\",\"CreatedUserId\":\"688b03f1b6488b834db002d9\",\"LastUpdateUserId\":\"688b0a305300ebda2d6e80e3\",\"LastUpdateDate\":\"2026-05-01T05:47:40.897554Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"688af5c2be5d338e0eb52aee",
"");