using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6911250e9469790d44d67070",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"699febdc607f5a35127e6b51\",\"Direction\":\"TAKE 1 TABLET daily.\",\"FoilId\":\"699febdc607f5a35127e6b54\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-02-26T05:19:42Z\",\"ScriptNum\":\"6022677\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"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-23T04:28:54.6538353Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-23T04:28:54.6538353Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"6911250e9469790d44d67070\",\"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\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"reddish brown capsule-shaped A\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6911250e9469790d44d67070\",\"Usage\":2,\"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\":\"699febdc607f5a35127e6b58\",\"CreatedDate\":\"2026-02-26T06:44:44.444Z\",\"CreatedUserId\":\"691127619469790d44dfa2d5\",\"LastUpdateUserId\":\"691650963914df551791e410\",\"LastUpdateUserName\":\"maddyhue\",\"LastUpdateDate\":\"2026-04-23T04:28:54.6538353Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"699febdc607f5a35127e6b51",
"");