CheckPrescriptionChangeTask.CheckPrescriptionChange

// Job ID: #69e586102c1a237be0602ae8
using OI.Service.HangfireTask.CheckPrescriptionChangeTask;

var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
    "682d10cda7ab9508f4722ab0",
    FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6858cd97af648e0ce0a0dbe9\",\"Direction\":\"1 MORNINGS, 1 Lunch and 1 NIGHT\",\"FoilId\":\"6858d077af648e0ce0a67e29\",\"FoilLabel\":\"Regular 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\":\"2025-06-23T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"682d10cda7ab9508f4722ab0\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TEGRETOL 200mg TAB\",\"DrugCode\":\"TEG2\",\"Austr\":\"41848\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"G K\",\"Warning\":\"with or soon after food.*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Certain foods and fruit juices should be avoided while being treated with this medicine*Ask your pharmacist about the storage conditions for this medicineS/Care - EpilepsyS/Care - Driving & Medication\",\"Direction\":\"\",\"GenericCode\":\"CA19\",\"GenericName\":\"CARBAMAZEPINE\",\"Presentation\":\"Carbamazepine is an anticonvulsant.Is used to treat seizures and nerve pain such as trigeminal neuralgia and diabetic neuropathy. It is also used to treat bipolar disorder\",\"ImageId\":\"5f3a2d79a0ba5d7c507948eb\",\"ImageSmallSizeId\":\"68f5982e5a506b941b5c7c05\",\"ImageName\":\"41848-C01-01-BL600.jpg\",\"AltBrand\":\"TEGRETOL, TERIL, CARBIUM, CARBAMAZEPINE-BC, CARBAMAZEPINE (SANDOZ), TEGRETOL, CARBAMAZEPINE (SANDOZ), AVLOIRE\",\"DoNotCrush\":false,\"TradeName\":\"TEGRETOL\",\"Formulation\":\"TAB\",\"Strength\":\"200mg\",\"Schedule\":\"4\",\"PackSize\":200,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round G K\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"682d10cda7ab9508f4722ab0\",\"OriginValues\":\"{\\"Authorized\\":0}\",\"Usage\":4,\"DrugFullName\":\"TEGRETOL 200mg TAB\",\"MedicationFullDetails\":\"TEGRETOL 200mg TAB - CARBAMAZEPINE (TEG2)\",\"Id\":\"5f0e69e0a0ba5db368a14ca8\",\"CreatedDate\":\"2020-07-15T02:28:37.862Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-13T07:17:47.685Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6858d0ce08efed05f8f1e120\",\"CreatedDate\":\"2025-06-23T03:58:06.125Z\",\"CreatedUserName\":\"ag92\",\"CreatedUserId\":\"682d1340a7ab9508f475349a\",\"LastUpdateUserId\":\"682d1340a7ab9508f475349a\",\"LastUpdateUserName\":\"ag92\",\"LastUpdateDate\":\"2026-04-20T01:49:04.6844698Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
    "6858cd97af648e0ce0a0dbe9",
    "");
CurrentCulture
"en-US"
CurrentUICulture
"en-US"

State

4/20/2026 1:49:13 AM (+497ms) Succeeded

Latency:
7.885s
Duration:
450ms

+7.857s Processing

Server:
ip-0a000868:3048
Worker:
63840c4a

+7ms Enqueued

Queue:
default

4/20/2026 1:49:04 AM Created