using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"660cb69a96096609b8b0e593",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69eb081a5976b98c14f813d7\",\"Direction\":\"Take ONE tablet at night.\",\"FoilId\":\"69eb081a5976b98c14f813e6\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-16T02:25:59Z\",\"ScriptNum\":\"6041655\",\"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-24T04: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\":\"660cb69a96096609b8b0e593\",\"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\":\"660cb69a96096609b8b0e593\",\"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-11T14:57:23.949Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eb081a5976b98c14f813ea\",\"CreatedDate\":\"2026-04-24T06:05:14.887Z\",\"CreatedUserId\":\"660ce85d96096609b8e68bf9\",\"LastUpdateUserId\":\"660ce85d96096609b8e68bf9\",\"LastUpdateUserName\":\"KIMMY\",\"LastUpdateDate\":\"2026-04-24T06:21:30.2116922Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eb081a5976b98c14f813d7",
"");