CheckPrescriptionChangeTask.CheckPrescriptionChange

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

var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
    "6732e65fa7ab9503640fafa5",
    FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e5878fc21eb1a5a982aa08\",\"Direction\":\"1 night\",\"FoilId\":\"69e587b9e22cc52e7e4201da\",\"FoilLabel\":\"school camp\",\"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\":\"2026-04-20T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[false,false,true,true,true,false,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AMITRIPTYLINE (ALPHAPHARM) 50mg TAB\",\"DrugCode\":\"AMIT14\",\"Austr\":\"232798\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"tan\",\"Shape\":\"six-sided\",\"Marking\":\"AP 50\",\"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\":\"5f3a2f17a0ba5d7c50796f70\",\"ImageSmallSizeId\":\"68f599685a506b941b5c911d\",\"ImageName\":\"232798-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\":\"AMITRIPTYLINE (ALPHAPHARM)\",\"Formulation\":\"TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"tan six-sided AP 50\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0}\",\"Usage\":11,\"DrugFullName\":\"AMITRIPTYLINE (ALPHAPHARM) 50mg TAB\",\"MedicationFullDetails\":\"AMITRIPTYLINE (ALPHAPHARM) 50mg TAB - AMITRIPTYLINE (AMIT14)\",\"Id\":\"5f0e69e0a0ba5db368a17303\",\"CreatedDate\":\"2020-07-15T02:28:46.395Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"6732e65fa7ab9503640fafbf\",\"LastUpdateDate\":\"2025-08-13T00:00:00Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e587fc21162426a3497369\",\"CreatedDate\":\"2026-04-20T01:57:16.4809885Z\",\"CreatedUserName\":\"jada\",\"CreatedUserId\":\"693286e2a3727f7106f418e2\",\"LastUpdateDate\":\"2026-04-20T01:57:16.4809885Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
    "69e5878fc21eb1a5a982aa08",
    "");
CurrentCulture
"en-US"
CurrentUICulture
"en-US"

State

4/20/2026 1:57:17 AM (+139ms) Succeeded

Latency:
366ms
Duration:
95ms

+339ms Processing

Server:
ip-0a0006d5:1664
Worker:
d0180f5e

+7ms Enqueued

Queue:
default

4/20/2026 1:57:16 AM Created