PSO*7.0*239 (6935)    BUILD (9.6)

Name Value
NAME PSO*7.0*239
DATE DISTRIBUTED 2006-09-18 00:00:00
PACKAGE FILE LINK OUTPATIENT PHARMACY
REQUIRED BUILD
  • PSO*7.0*226
    ACTION:   Don't install, leave global
  • PSO*7.0*235
    ACTION:   Don't install, leave global
  • PSO*7.0*237
    ACTION:   Don't install, leave global
  • PSO*7.0*148
    ACTION:   Don't install, leave global
TYPE SINGLE PACKAGE
ALPHA/BETA TESTING NO
DESCRIPTION OF ENHANCEMENTS
The following describes all of the changes included in this patch:
activity log entry was created with a reason of "RETURNED".  For those
                                           
C.  For a patient defined as SC<50 but had a null SC percentage value 
defined, backdoor Outpatient Pharmacy was asking the SC prompt but not
storing the answers. The SC prompt is only displayed for those
prescriptions that the Scheduling DBIA #1579 and/or the Integrated 
Billing (IB) DBIA #125 determines that it should be asked.  Upon release
of the fill, a "PRESCRIPTION QUESTIONS REVIEW NEEDED" mailman message
requesting entry of the SC field was sent to holders of the PSO COPAY
key.  Because this functionality uses the same checking mechanism as
non-exempt new orders, the following functions were affected by this
prescriptions where copay was cancelled, a copay activity log was
change:  copies, renews and edits that create a new order. This patch will
store the SC answer for null SC percentage values.
 
D.  The SC prompt was not asked in Computerized Patient Record System 
(CPRS), but was asked in backdoor Outpatient Pharmacy. No default answer
was shown in backdoor due to the question not being asked in CRPS.  This
occurred for any SC percentage that the SDCO22 API (#1579) returned a
value that indicated to not ask the SC question but IB returned a flag
that indicated that the SC question should be asked.  This problem occurs
for a variety of SC percentages based on how the patient's eligibility is
generated. The following are examples of those types of entries made by
defined in enrollment.  This patch will tell CPRS to ask SC for this
scenario.
 
E.  It was found that edits made to SC and/or EI's during COMPLETE ORDERS
FROM OERR [PSO LMOE FINISH] option and the finish function in the PATIENT
PRESCRIPTION PROCESSING [PSO LM BACKDOOR ORDERS] option were not reflected
in CPRS.  With the CIDC patches, a new standardized segment was created to
pass SC, EI's and ICD-9 diagnosis codes and use of the old segment was
discontinued. When the CPRS CIDC switch is off, CPRS is looking at the old
segment for updated orders. This patch adds the functionality to send both
PSO*7*226.
ZSC and ZCL segments.
 
F.  When using the edit function in the PATIENT PRESCRIPTION PROCESSING
option [PSO LM BACKDOOR ORDERS], the total number of entries in the ICD
DIAGNOSIS multiple (#52311) was being defined as one number less than it
should have been.  For example, eight diagnosis codes entered but the 
multiple shows seven as the total number of entries for the multiple.  The
diagnosis codes were displayed correctly to the user.  This patch will
store the correct number of entries when edits are performed.
 
 
G.  The PSOHLNE3 API IA (#4666) was defining an activity log entry that 
stated "Clinical Indicators and SC/EI's were updated from a CPRS e-sig 
edit..." for all prescriptions passed through the API.  Also, it was 
needlessly defining a copay activity log entry for supply items and
investigational drugs.   Last, it was storing a copay activity log entry
(copay to no copay) that was set erroneously when the provider edits
SC/EI's during sign of a verbal/telephone order leaving the prescription
as no copay.  This API is used to pass data from CPRS to OP when a verbal
or telephone order is signed in CPRS when the CPRS CIDC Switch is on.  
This patch limits the setting of the activity log to only those
Activity Log Example:
prescriptions where SC, EI's and/or ICD's were changed during sign order.
And, it eliminates setting the copay activity log for supply items and
investigational drugs as well as eliminating the erroneous "copay to no 
copay" activity log entry.
 
H.  The RESET COPAY STATUS/CANCEL CHARGES option [PSOCP RESET COPAY 
STATUS] was overlaying the previously stored diagnosis code when storing
updated information.  Also, the default answer for SC was not being
displayed for SC<50% patients.  This patch corrects these issues.
 
 
I.  When the CPRS CIDC switch is turned on, the B cross reference was 
not being defined in the ICD DIAGNOSIS field (#311) in PENDING OUTPATIENT
ORDERS file (#52.41).  For telephone/verbal orders signed in CPRS and 
CPRS renewals, the B cross reference was not being defined in the ICD
DIAGNOSIS field (#52311) in PRESCRIPTION file (#52).  This was not
reported as an issue, but the correction is being made in this patch.
 
 
Technical Descriptions:
=======================
  1   11/28/05    X-INTERFACE    ORIGINAL       PHARMACIST,ONE
1.  For Remedy Ticket 130112:
 
A.  A snapshot of the ACTIVITY LOG sub-file (#40) and the COPAY 
ACTIVITY LOG sub-file (#107) will be stored in ^XTMP("PSOCIDC7") node,
and will be available for 90 days.
 
B.  The "BKGD CIDC UPDATE" activity log entry will be removed and the 
ACTIVITY LOG sub-file (#40) will be re-subscripted to eliminate the
missing node. The removed entry will be inserted in the COPAY ACTIVITY LOG
sub-file (#107).  The date given in the old activity log entry will be
    Comments: Prescription sent to external interface.
used as the COPAY ACTIVITY LOG field (#.01) for the new entry. The copay
activity log will be sorted by dates within the existing entries and
including the new entry, then they will be stored back into the COPAY
ACTIVITY LOG sub-file (#107). The comment for the new copay activity log
entry as well as any existing copay activity log entries will be changed
to state "CIDC CLEANUP" instead of "BKGD CIDC UPDATE".
 
C.  Because the copay to no copay or vice versa information was not 
recorded in the old Activity log entry, those values can only reflect the 
current state of the prescription, and it's thought that they should not
  2   11/28/05    RETURNED       ORIGINAL       POSTMASTER
be stored on the new entry.
 
D.  To print the report of all prescriptions updated by the Clean-up 
routine, type the following from the programmer's prompt using the print 
device that you prefer.
 
     >D RPT^PSOCIDC9
      DEVICE: HOME//     UCX/TELNET     RIGHT MARGIN:80//
 
    Patch PSO*7*239 - Corrected Activity and Copay Activity logs
 
    Comments:  BKGD CIDC UPDATE
 
     Note that this report reflects all prescriptions where the activity
     and/or copay activity logs were corrected. For detailed information,
     please view the activity and copay activity log on the prescription.
 
     Date printed: MAR 6,2006@14:09:25                       Page: 1
     ===============================================================
     PATIENT NAME     (SSN)       DIV          RX# 
     ---------------  -------  --------------  ------------
     PATIENT,ONE      (B3453)  TROY, NY        200037
  3   11/29/05    X-INTERFACE    REFILL 1       PHARMACIST,TWO
     BPATIENT,TWO     (B0033)  TROY, NY        200049
     BPATIENT,TWO     (B0033)  TROY, NY        200050
 
E.  The following is an example of a status query for the Clean-up 
routine, and it must be run from programmer's mode:
 
     >D STATUS^PSOCIDC7
    
      Currently processing:
            Date being processed > Nov 3, 2005
    Comments: Prescription sent to external interface.
                            RX # > 1375666
 
F.  A stop function has been provided in case the system needs to be
shut down for an emergency or other reason.  Then when the system is back
up and you are ready you may restart the job, it will resume where it
left off.  You may restart by entering D ^PSOCIDC7 at the programmer's
prompt.  The following is an example:
 
     >D STOP^PSOCIDC7
 
 
      Outpatient Activity Logs Correction Job - set to STOP Soon
 
      Check Status to be sure it has stopped and is not running...
        
                   (D STATUS^PSOCIDC7)
 
G.  The Clean-up routine can be executed from the programmer's 
prompt instead of through the patch installation.  Also, restarting the
Clean-up routine after using the stop function described above is 
performed in the same manner.  Below is an example how to perform this 
Copay Activity Log Example:
function:
 
     >D ^PSOCIDC7
 
     ****************** SELECT RUN OPTION ******************
     Do you want to run the activity logs correction process? Y or N// YES
     Enter when to Queue the CIDC ACTIVITY LOGS CORRECTION job to run in 
     date@time format:  NOW//
 
     ===================================================
 
     Queuing background job for CIDC ACTIVITY LOGS CORRECTION...
     Start time: Month day, year@time
     ===================================================
     *** Task #NNNNN Queued! ***
 
 
2. The following correlates to the items described in number two in the
Functional Description section:
 
A. The renew process has been modified to store the changed value
  1   02/01/06    COPAY RESET          ORIGINAL       PHARMACIST,ONE
for SC in the PRESCRIPTION file (#52).
 
B. This patch will remove all of the functionality that stored the
unnecessary IBQ node.
 
C.  Outpatient was modified to store the SC value for patients with a null
SC percentage which eliminates the sending of a "PRESCRIPTION QUESTIONS
REVIEW NEEDED" Mailman message.
 
D.  The check for the PSOSCMX variable was restored to the PSOCP
    Comment:-BKGD CIDC COPAY CANCEL  Old value=Copay   New value=No Copay
routine.  
 
E.  This patch adds the functionality to send both ZSC and ZCL segments to
CPRS. The ZSC passes SC/EI's only.  The ZCL node passes SC, EI's, and
ICD-9 Diagnosis codes.
 
F.  This patch will correctly store the third and fourth piece of the zero
node of the ICD DIAGNOSIS multiple (#52311) of PRESCRIPTION file (#52).
 
G.  The PSOHLNE3 API IA (#4666) was changed to only store entries in the 
  2   02/01/06    REMOVE COPAY CHARGE  ORIGINAL       PHARMACIST,ONE
ACTIVITY LOG multiple (#40) when SC, EI's, and/or ICD's were edited.  
For supply items and investigational drugs, no copay activity log entries 
will be stored.  Also, it was modified to prevent storage of a copay
activity log entry (copay to no copay) that was set erroneously when the
provider edits SC/EI's during sign of a verbal/telephone order leaving the
prescription as no copay.
 
H.  The RESET COPAY STATUS/CANCEL CHARGES [PSOCP RESET COPAY STATUS] 
option has been modified to not overlay the previously stored 
ICD-9 Diagnosis code with a null value and to display previously entered
    Comment: RX EDITED -BKGD CIDC COPAY CANCEL
SC values as a default answer.
 
I.  The B cross reference will be set for the ICD DIAGNOSIS field (#311)
in PENDING OUTPATIENT ORDERS file (#52.41) and in the ICD DIAGNOSIS field
(#52311) in PRESCRIPTION file (#52) for CPRS renewals/verbal/telephone 
orders.
1.  For Remedy Ticket 130112:
 
To eliminate any confusion, patch PSO*7*239 provides an Activity Log 
Correction process/Clean-up routine.  This routine will take the activity
log entries created by patch PSO*7*226, move them to the copay activity
log, and then subsequently will delete the activity log entries.  Also,
the comment on the copay activity log entries where copay was cancelled as
well as those entries moved to the copay activity log will be changed to
"CIDC CLEANUP".  The activity log will be resequenced to eliminate any
missing nodes, and the copay activity log will be resequenced to insert
the new entries by date and time.  The following are examples of the
 
updated entries:
 
  -Note that sequence two from the above example was removed and the
   third sequence was moved up.
 
  1   11/28/05    X-INTERFACE    ORIGINAL       PHARMACIST,ONE
    Comments: Prescription sent to external interface.
  2   11/28/05    X-INTERFACE    REFILL 1       PHARMACIST,TWO
    Comments: Prescription sent to external interface.
 
After installation of patch PSO*7*226, it was reported that the activity
  -The next entry shows an Activity log entry moved to Copay Activity log:
 
  1   11/28/05    COPAY RESET       ORIGINAL         POSTMASTER
    Comment: CIDC CLEANUP
 
  -The following shows a cancelled Copay Activity Log entry comment
  updated to "CIDC CLEANUP:
 
  1   02/01/06    COPAY RESET          ORIGINAL       POSTMASTER
    Comment: CIDC CLEANUP  Old value=Copay   New value=No Copay
log entries generated by the patch were confusing. A large part of patch
  2   02/01/06    REMOVE COPAY CHARGE  ORIGINAL       POSTMASTER
    Comment: CIDC CLEANUP  
 
This patch provides a listing of all prescriptions where the activity log
was updated by the Clean-up routine, a means of checking the status of the
Clean-up routine, and a means of stopping the Clean-up job if needed.  A
detailed description of these functions is located in the Technical
description.
 
When installing this patch, the activity log Clean-up portion of this
PSO*7*226 was to cancel any erroneously billed copays and to define any
patch is optional.  However, it is highly recommended that it be run for 
consistency and maintainability.
 
Once the Clean-up routine has completed a mailman message will be sent to 
the user who installed the patch.  The following is an example:
 
    Subj: Outpatient Pharmacy PSO*7*239 CIDC ACTIVITY LOGS CORRECTION  
    [#200121] 03/06/06@13:56  4 lines
    From: PSO*7*239 CIDC ACTIVITY LOGS CORRECTION  In 'IN' basket.   Page
    1 *New*
missing IBQ nodes on the prescription using the SC/EI answers stored on
    
-------------------------------------------------------------------------
    The CIDC ACTIVITY LOGS CORRECTION job for the Outpatient Pharmacy
    patch (PSO*7*239) started MAR 06, 2006@13:56:04
    and completed MAR 06, 2006@13:56:04.
 
    Enter message action (in IN basket): Ignore//
 
2. The following issues were found during unit testing for backdoor 
Outpatient Pharmacy orders, and the corrections are included in this
the ICD node.  For those prescriptions where the IBQ node was defined, an
patch. 
 
A.  When a prescriptions with an exempt patient status is renewed and the
user changes the value of service connected (SC), the default value was
stored instead of the changed value.  This only occurred for the SC
prompt.  The renew process has been modified to store the changed value.
 
B.  When prescription information was stored when the RX Patient Status 
was exempt from copay, the IBQ node was being stored needlessly.  This
patch will remove the functionality that stored this node.
TRACK PACKAGE NATIONALLY YES
INSTALL QUESTIONS
  • SUBSCRIPT:   POS1
    DIR(0):   YA^^
    DIR(A):   Do you want to Run the activity log correction process? Y or N//
    DIR(?):   Enter Y for Yes to run the activity logs correction or N to just install the patch.
  • SUBSCRIPT:   POS2
    DIR(0):   D^::%DT
    M CODE:   I XPDQUES("POS1")=0 K DIR
    DIR(A):   Enter when to Queue the Job to run in date@time format
    DIR(B):   NOW
    DIR(?):   Enter when to start the job. The default is Now. You can enter a date and time in the format like this: 030106@3:30p.
SEQ# 219
BUILD COMPONENTS
  • ENTRIES:
    • PSONEWG
      ACTION:   SEND TO SITE
      CHECKSUM:   B23242345
    • PSOHLNE3
      ACTION:   SEND TO SITE
      CHECKSUM:   B55635403
    • PSOCP
      ACTION:   SEND TO SITE
      CHECKSUM:   B68323456
    • PSOCPB
      ACTION:   SEND TO SITE
      CHECKSUM:   B78420405
    • PSOHLNE1
      ACTION:   SEND TO SITE
      CHECKSUM:   B72518246
    • PSOMLLD2
      ACTION:   SEND TO SITE
      CHECKSUM:   B18734428
    • PSORN52
      ACTION:   SEND TO SITE
      CHECKSUM:   B42247336
    • PSORN52D
      ACTION:   SEND TO SITE
      CHECKSUM:   B30768895
    • PSORENW1
      ACTION:   SEND TO SITE
      CHECKSUM:   B64596305
    • PSOHLSN1
      ACTION:   SEND TO SITE
      CHECKSUM:   B81359124
    • PSOCIDC7
      ACTION:   SEND TO SITE
      CHECKSUM:   B43535396
    • PSOHLSN2
      ACTION:   SEND TO SITE
      CHECKSUM:   B9304423
    • PSOCP1
      ACTION:   SEND TO SITE
      CHECKSUM:   B5020940
    • PSOCPC
      ACTION:   SEND TO SITE
      CHECKSUM:   B67206155
    • PSOHLNEW
      ACTION:   SEND TO SITE
      CHECKSUM:   B77391528
    • PSOCIDC9
      ACTION:   SEND TO SITE
      CHECKSUM:   B14993294
    • PSOCIDC8
      ACTION:   SEND TO SITE
      CHECKSUM:   B28837769
    • PSON52
      ACTION:   SEND TO SITE
      CHECKSUM:   B58876503
    • PSODIAG
      ACTION:   SEND TO SITE
      CHECKSUM:   B62418422
    • PSONEW2
      ACTION:   SEND TO SITE
      CHECKSUM:   B31577282
    • PSONEWF
      ACTION:   SEND TO SITE
      CHECKSUM:   B35718015
POST-INSTALL ROUTINE PSOCIDC7
DELETE POST-INIT ROUTINE No