using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69b89e029c2a8602ab2593cb",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,3.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e6f13214702a05707f1201\",\"Direction\":\"3 at bedtime\",\"FoilId\":\"69e6f13214702a05707f1205\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-11T01:11:54Z\",\"ScriptNum\":\"1524542\",\"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\":\"2026-04-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69b89e029c2a8602ab2593cb\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DOSULEPIN (VIATRIS) 75mg TAB\",\"DrugCode\":\"DOSU3\",\"Austr\":\"289784\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"red\",\"Shape\":\"round\",\"Marking\":\"DT 75\",\"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\":\"DOT8\",\"GenericName\":\"DOSULEPIN HYDROCHLORIDE\",\"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\":\"5f3a2da3a0ba5d7c50795fe3\",\"ImageSmallSizeId\":\"68f599ab5a506b941b5c9477\",\"ImageName\":\"289784-C01-01-BL600.jpg\",\"AltBrand\":\"DOTHEP, PROTHIADEN, DOSULEPIN (MYLAN), DOSULEPIN (VIATRIS)\",\"DoNotCrush\":false,\"TradeName\":\"DOSULEPIN (VIATRIS)\",\"Formulation\":\"TAB\",\"Strength\":\"75mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"red round DT 75\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69b89e029c2a8602ab2593cb\",\"Usage\":0,\"DrugFullName\":\"DOSULEPIN (VIATRIS) 75mg TAB\",\"MedicationFullDetails\":\"DOSULEPIN (VIATRIS) 75mg TAB - DOSULEPIN HYDROCHLORIDE (DOSU3)\",\"Id\":\"633aa511f65a8810882e51ae\",\"CreatedDate\":\"2022-10-03T09:02:09.548Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.617Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6f13214702a05707f120b\",\"CreatedDate\":\"2026-04-21T03:38:26.701Z\",\"CreatedUserId\":\"69cb1e148c7cc559339fcb01\",\"LastUpdateUserId\":\"69cb1e148c7cc559339fcb01\",\"LastUpdateUserName\":\"poppywolff\",\"LastUpdateDate\":\"2026-04-21T04:00:51.2841396Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6f13214702a05707f1201",
"");