| DESCRIPTION OF ENHANCEMENTS |
Defect Tracking System Ticket(s) & Overview:
inactive account in a local VistA system, VistA is picking the last
provider used on a previously finished prescription. This problem is not
isolated to eRX processing. The same issue occurs if any pending
outpatient order has a provider that is inactive or no longer authorized
to write orders when it is finished in Patient Prescription Processing
[PSO LM BACKDOOR ORDERS]. If a new order is entered in Patient
Prescription Processing [PSO LM BACKDOOR ORDERS] prior to processing the
pending order that is for an inactive or invalid provider during the
finishing process a message displays indicating the provider is inactive
or invalid and prompts for a new provider and populates the provider
===========================================
prompt with the provider from the new order. The prompt should default
to the provider associated with the PENDING OUTPATIENT ORDERS FILE
(#52.41).
Resolution:
----------
Routine PSODIR is modified to use the provider from the PENDING
OUTPATIENT ORDERS FILE (#52.41) as the default for the provider prompt
and not allow it to be overwritten.
Technical Resolution:
--------------------
There is already code to set the default to the provider from the PENDING
OUTPATIENT ORDERS FILE (#52.41) but when PSORX("PROVIDER NAME") exists it
overwrites the default. PSORX("PROVIDER NAME") is set to the provider
selected during entering a new order for defaulting when entering
multiple orders for the same patient.
The default is set from the PENDING OUTPATIENT ORDERS FILE (#52.41)
1. INC21921117 - INBOUND ERX PENDING ORDER SELECTING WRONG PROVIDER
PROVIDER field (#5) at line PROVEN+1^PSODIR:
DIC("B")=$P(^VA(200,$P($G(OR0),"^",5),0),"^") and is not changed with
this patch. At line PROVEN+9^PSODIR, the default, DIC("B"), is
overwritten by PSORX("PROVIDER NAME") if it exists: S:$G(PSORX("PROVIDER
NAME"))]"" DIC("B")=PSORX("PROVIDER NAME"), this line is changed to:
S DIC("B")=$S($G(DIC("B"))]"":DIC("B"),1:$G(PSORX("PROVIDER NAME")))
This change allows the default from the PENDING OUTPATIENT ORDERS FILE
(#52.41) to be used while not affecting other processing that also uses
PROVEN^PSODIR for prompting for the provider.
Problem:
-------
Once an eRX order is validated and moved to the PENDING OUTPATIENT ORDERS
FILE (#52.41), in the finishing process, if a validated provider has an
|