using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"65fcbd3a16f53f0930e98a60",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,2.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69eacdc1747aca488f216e0f\",\"Direction\":\"2 DAILY\",\"FoilId\":\"69eacde58b65c9dccb821ef2\",\"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-24T02: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\":\"65fcbd3a16f53f0930e98a60\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AMITRIPTYLINE (APO) 10mg TAB\",\"DrugCode\":\"AMIT5\",\"Austr\":\"215351\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"blue\",\"Shape\":\"circular\",\"Marking\":\"IA 10\",\"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 quicklyPDL Warn: Potential Confusion*Avoid combination with St John's wort\",\"Direction\":\"\",\"GenericCode\":\"AMT1\",\"GenericName\":\"AMITRIPTYLINE\",\"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\":\"5f3a2f17a0ba5d7c50796f6d\",\"ImageSmallSizeId\":\"68f5995a5a506b941b5c901a\",\"ImageName\":\"215351-C01-01-BL600.jpg\",\"AltBrand\":\"ENDEP, TRYPTANOL, TRYPTINE 10, AMITROL 10, AMITRIPTYLINE (APO), AMITRIPTYLINE (CHEM-MART), AMITRIPTYLINE (TW), AMITRIPTYLINE (ALPHAPHARM), ENTRIP, AMITRIPTYLINE (LUPIN), AMITRIPTYLINE (APX), AMITRIPTYLINE (VIATRIS), AMITRIPTYLINE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"AMITRIPTYLINE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"blue circular IA 10\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"65fcbd3a16f53f0930e98a60\",\"Usage\":1,\"DrugFullName\":\"AMITRIPTYLINE (APO) 10mg TAB\",\"MedicationFullDetails\":\"AMITRIPTYLINE (APO) 10mg TAB - AMITRIPTYLINE (AMIT5)\",\"Id\":\"5f0e69e0a0ba5db368a1718a\",\"CreatedDate\":\"2020-07-15T02:28:46.075Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T14:46:34.087Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eace768b65c9dccb838408\",\"CreatedDate\":\"2026-04-24T01:59:18.6405306Z\",\"CreatedUserName\":\"MS\",\"CreatedUserId\":\"660b50289609660f9c72a8fa\",\"LastUpdateDate\":\"2026-04-24T01:59:18.6405306Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eacdc1747aca488f216e0f",
"");