using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69c9fbe26d56c65bbb0d5813",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e61bd0b02e12b387c01f3a\",\"Direction\":\"1 NIGHT\",\"FoilId\":\"69e61be748571626cc3ffee5\",\"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\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"69c9fbe26d56c65bbb0d5813\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MIRTANZA 30mg TAB\",\"DrugCode\":\"MIRT41\",\"Austr\":\"183377\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"reddish brown\",\"Shape\":\"capsule-shaped\",\"Marking\":\"A\",\"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 medicineswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"MIRT1\",\"GenericName\":\"MIRTAZAPINE\",\"Presentation\":\"\",\"ImageId\":\"68975b860f7b49219e71b7d9\",\"ImageSmallSizeId\":\"68f5998b5a506b941b5c92d3\",\"ImageName\":\"183377-C01-01-BL600.jpg\",\"AltBrand\":\"AVANZA, REMERON, MIRTAZON, AXIT 30, MIRTAZAPINE (DP), MIRTAZAPINE (SANDOZ), MIRTAZAPINE (CHEM-MART), MIRTAZAPINE (GENRX), MIRTAZAPINE (TW), AUROZAPINE, MIRTAZAPINE (GH), MIRTAZAPINE (PFIZER), MIRTAZAPINE (GA), MIRTAZAPINE (APO), MIRTAZAPINE (AN), MIRTANZA, MIRTAZAPINE (APX), MIRTAZAPINE (NOUMED), MIRTAZAPINE (BLOOMS), MIRTAZAPINE (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"MIRTANZA\",\"Formulation\":\"TAB\",\"Strength\":\"30mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"reddish brown capsule-shaped A\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69c9fbe26d56c65bbb0d5813\",\"Usage\":0,\"DrugFullName\":\"MIRTANZA 30mg TAB\",\"MedicationFullDetails\":\"MIRTANZA 30mg TAB - MIRTAZAPINE (MIRT41)\",\"Id\":\"5f0e69e0a0ba5db368a176fb\",\"CreatedDate\":\"2020-07-15T02:28:47.276Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.894Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e61c615b109806b6c0c1ad\",\"CreatedDate\":\"2026-04-20T12:30:25.4901734Z\",\"CreatedUserName\":\"leahkj\",\"CreatedUserId\":\"69cb1f07ba51fecb1a0fd2ad\",\"LastUpdateDate\":\"2026-04-20T12:30:25.4901734Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e61bd0b02e12b387c01f3a",
"");