CheckPrescriptionChangeTask.CheckPrescriptionChange

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

var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
    "698bdc7b7c330bf95d6f2b23",
    FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69de156d5952f0e4c22e4d8a\",\"Direction\":\"Take ONE tablet daily \",\"FoilId\":\"69de156d5952f0e4c22e4d8b\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-25T08:46:50Z\",\"ScriptNum\":\"382887\",\"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-21T04: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\":\"698bdc7b7c330bf95d6f2b23\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ENTRIP 50mg TAB\",\"DrugCode\":\"ENTR3\",\"Austr\":\"232156\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"tan coloured tablet\",\"Shape\":\"Six sided\",\"Marking\":\"0\",\"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 quicklyPDL Warn: Potential Confusion*Avoid combination with St John's wort\",\"Direction\":\"\",\"GenericCode\":\"AM12\",\"GenericName\":\"AMITRIPTYLINE\",\"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\":\"5f3a2f1fa0ba5d7c50797497\",\"ImageSmallSizeId\":\"68f599725a506b941b5c9193\",\"ImageName\":\"232156-C01-01-BL600.jpg\",\"AltBrand\":\"ENDEP, AMITRIPTYLINE (APO), AMITRIPTYLINE (CHEM-MART), AMITRIPTYLINE (TW), AMITRIPTYLINE (ALPHAPHARM), ENTRIP, AMITRIPTYLINE (LUPIN), AMITRIPTYLINE (APX), AMITRIPTYLINE (VIATRIS)\",\"DoNotCrush\":false,\"TradeName\":\"ENTRIP\",\"Formulation\":\"TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"brown round AM\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698bdc7b7c330bf95d6f2b23\",\"Usage\":0,\"DrugFullName\":\"ENTRIP 50mg TAB\",\"MedicationFullDetails\":\"ENTRIP 50mg TAB - AMITRIPTYLINE (ENTR3)\",\"Id\":\"5f0e69e0a0ba5db368a17439\",\"CreatedDate\":\"2020-07-15T02:28:46.668Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.64Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69de156d5952f0e4c22e4da8\",\"CreatedDate\":\"2026-04-14T10:22:37.723Z\",\"CreatedUserId\":\"69b7829d485625038a8f53fe\",\"LastUpdateUserId\":\"69deeefc710d60b9a3e231d9\",\"LastUpdateUserName\":\"mundijong\",\"LastUpdateDate\":\"2026-04-21T05:41:37.8518129Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
    "69de156d5952f0e4c22e4d8a",
    "");
CurrentCulture
"en-US"
CurrentUICulture
"en-US"

State

4/21/2026 5:41:41 AM (+69ms) Succeeded

Latency:
3.542s
Duration:
13ms

+3.513s Processing

Server:
ip-0a000868:520
Worker:
6fe47970

+7ms Enqueued

Queue:
default

4/21/2026 5:41:37 AM Created