CheckPrescriptionChangeTask.CheckPrescriptionChange

// Job ID: #6819820308efed0fa0105d76
using OI.Service.HangfireTask.CheckPrescriptionChangeTask;

var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
    "67db42cfaf648e01d05ec5cf",
    FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,2.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67ee0c7daf648e0ea07f582d\",\"Direction\":\"Take TWO tablet before bed.\",\"FoilId\":\"67ee0c7daf648e0ea07f5830\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-03-25T03:00:32Z\",\"ScriptNum\":\"50225263\",\"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\":\"2025-05-06T02: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\":\"67db42cfaf648e01d05ec5cf\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AMITRIPTYLINE (VIATRIS) 10mg TAB\",\"DrugCode\":\"AMIT21\",\"Austr\":\"232796\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"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*Do NOT remove from original packaging until dose is required*May cause dizziness when standing up quicklyPDL Warn: Potential Confusion*Avoid combination with St John's wort\",\"Direction\":\"\",\"GenericCode\":\"AMT1\",\"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\":\"5f3a2f17a0ba5d7c50796f71\",\"ImageName\":\"232796-C01-01-BL600.jpg\",\"AltBrand\":\"ENDEP, TRYPTANOL, TRYPTINE 10, AMITROL 10, AMITRIPTYLINE (APO), AMITRIPTYLINE (CHEM-MART), AMITRIPTYLINE (TW), AMITRIPTYLINE (ALPHAPHARM), ENTRIP, AMITRIPTYLINE (LUPIN), AMITRIPTYLINE (APX), AMITRIPTYLINE (VIATRIS), AMITRIPTYLINE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"AMITRIPTYLINE (VIATRIS)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"blue round AP 10\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67db42cfaf648e01d05ec5cf\",\"Usage\":0,\"DrugFullName\":\"AMITRIPTYLINE (VIATRIS) 10mg TAB\",\"MedicationFullDetails\":\"AMITRIPTYLINE (VIATRIS) 10mg TAB - AMITRIPTYLINE (AMIT21)\",\"Id\":\"633aa512f65a8810882e57b7\",\"CreatedDate\":\"2022-10-03T09:02:10.079Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-02-08T15:34:40.511Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"67ee0c7daf648e0ea07f5834\",\"CreatedDate\":\"2025-04-03T04:20:13.832Z\",\"CreatedUserId\":\"67e1e7baaf648e0748be4f2d\",\"LastUpdateUserId\":\"67e1e7baaf648e0748be4f2d\",\"LastUpdateUserName\":\"Hrboyes\",\"LastUpdateDate\":\"2025-05-06T03:29:07.8739961Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
    "67ee0c7daf648e0ea07f582d",
    "");
CurrentCulture
"en-US"
CurrentUICulture
"en-US"

State

5/6/2025 3:29:08 AM (+75ms) Succeeded

Latency:
143ms
Duration:
30ms

+116ms Processing

Server:
ip-0a00084c:1632
Worker:
5cf477fa

+7ms Enqueued

Queue:
default

5/6/2025 3:29:07 AM Created