11.2 - bop script

Upload: martinjosep

Post on 06-Jul-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/17/2019 11.2 - BOP Script

    1/7

    Pharmacy-Automated Dispensing Interface System(BOP)

    Overview

    The Automated Dispensing System needs information from the RPMS database. The Automated Dispensing System interface sends RPMS patient data and orders to the Automated Dispensing System in real-time, as transactions occur.

    The networ administrator determines the T!P"#P addresses, an #P address for each Automated Dispensing System, and an #P address for each RPMS #$S facility.

    %hen an Automated Dispensing System is installed, Automated Dispensing System siteengineers and RPMS staff &'enerally Pharmacy( determine what medications will bedispensed. They then create a table that maps the Automated Dispensing System medicationformulary to the RPMS Drug file, using the #nternal )ntry *umber )*( of the records in theRPMS Drug file. RPMS staff determines the types of medications that will be dispensed bythe Automated Dispensing System as well as the types of patient &inpatients, outpatients(.

    The ne+t step is to initialie the Automated Dispensing database with RPMS patients andorders.

    The final step to beginning lie interface actiity is started by initialiing the /P Monitor. Thisprocess maes sure that a sender and receier are always ready to receie and transmit $01messages across the interface.

    Functionaity

    2. Data in the /P 34)4) file is placed into $01 messages and transmitted to the

     Automated Dispensing System ia T!P"#P protocol. The RPMS system always acts asthe client and initiates a connection to the Automated Dispensing System.

    5. Receies dispensing information bac from the /mni!ell"Py+is system and places thedata in the proper RPMS file structure. #f the RPMS-incoming message is for a Supplyitem, a record is placed into the A4P*S4P $S $01 Supply 6ile(. #f the message isfor a Drug, file 789::.: is checed. #f the drug pointer e+ists in that file, an unerifiedoutpatient prescription is created if the dispense is not associated with an e+istinginpatient order. #f the drug pointer is not in the 789::.: file, a record will be added tothe A4P*S4P file.

    9. Proides the ability to toggle the interface transmissions on or off for inpatient oroutpatient actiity. These toggles will be in the /P Site Parameter file.

    ;. There is a list of

  • 8/17/2019 11.2 - BOP Script

    2/7

    :. #f /utpatient data is to be sent, and the RPMS facility would lie to hae an RPMS isitfile record created when the outpatient is admitted through the SD #$S %A0@-#*Soption, then the field !reate >isit At !hec #n &in the $ospital 0ocation file( should beset to yes.

    . 4ses T!P"#P2 to transmit and receie data.

    1. Monitors itself and reliably eeps itself running.

    B. Transmits ADT to the Automated Dispensing System in real-time.

    7. Transmits patient orders to the Automated Dispensing System in real-time.

    Data !ransmitted from "P#S

    2. ADTC %hen a patient is admitted, discharged, or transferred an ADT transaction maybe sent to the interface for transmission to the Automated Dispensing System &if apatients location has been setup as an Automated Dispensing System location(.

    5. /utpatient Demographic Data is sent to the Automated Dispensing System if

    outpatient locations are included in the site parameters or if the field Send All/utpatients in the parameter file is set to yes..

    9. /rdersC %hen the order type &PR*, !ontinuous, /ne-Time, 6ill-/n-ReEuest, /n-!all,*ew /rders, Renewed /rders, or /ther /rders ( has been selected for sending to the

     Automated Dispensing System.

    Data "eceived $y "P#S

    2. %hen medications are dispensed to patients for orders, the Automated DispensingSystem sends an 6T2 statement to the RPMS interface. The receier determines if it is

    a drug or a supply item and updates the proper RPMS database files. An e+ception filee+ists for data receied for patients, orders or items that cannot be resoled in theRPMS database.

    5. F@eep AlieF messages that demonstrate that the interface is actie.

    9. Acnowledgements for data receied from the #0! /mni!ell"Py+is #nterface.

    BOP %ser #enu Options&D!6 /P Drug !onfiguration ...PAT Display 3ueue for a patientS)*D Send /ne Patient ADT"/rders to #nterface

    S$/% Show Ready 3ueueS#T) Site Parameter )ditTR #nterface Trouble Shooting ...

    2

  • 8/17/2019 11.2 - BOP Script

    3/7

    BOP Drug 'onfiguration (D'F) BOP D"% 'O*FI+

     Abbreiation D!6. This menu contains options that allow the user to manage the /PDR4' file entries. These determine what meds dispensed will create an order in rpms.

    Dispay ,ueue For a Patient (PA!) BOP PA!I*! DISP.A/G

     Abbreiation PAT. This option is used to display the transactions in the sending Eueue for aparticular patient.

    Send one patient (DF*) AD! 0 orders to Automated Dispensing System (S*D) BOP!"A*S#I! O* PA!I*!+

     Abbreiation S)*D. This option is often used to force ADT and /rder transactions acrossthe interface. #f an ADT or order did not mae it to the interface, this option allows the sendingof all of that patientHs current orders to the Automated Dispensing System. The patient #)*&D6*( is entered and if the patientHs location is a sending location the patients ADTinformation and all orders for that patient are sent. This option is for inpatients only.

    Show "eady ,ueue (S1O2) BOP S1O2+

     AbbreiationC S$/%. This option displays the status of the sending Eueue. The displayshows the total number of items in the Eueue file, how many are ADT, how many are /rders,and how many timing transactions from Automated Dispensing System.

    BOP Site Parameters (SI!) BOP SI!+

     AbbreiationC S#T). This option allows the editing of the /P S#T) file, in the eent that aparameter needs to be changed.

    Interface !rou$e Shooting3 (!"B) BOP !"O%B. #*%+

     AbbreiationC TR. %ithin this Menu, there are 9 optionsC!hec the Automated Dispensing System log file &!$@( I/P !$)!@ TRA*SA!T#/*SG

    Dispay future Automated Dispensing System #onitor tas4s (F%!) BOP F%!%"!AS5 .IS!+

    Display running tas and Job #D &R4*( I/P R4* TAS@ 0#STG

    BOP I"# #enu Options&M/* Start the Monitor  PAT Display 3ueue for a patientS)*D Send /ne Patient ADT"/rders to #nterfaceS$/% Show Ready 3ueueS#T) Site Parameter )ditST/P Stop the #nterfaceTR #nterface Trouble Shooting ...

  • 8/17/2019 11.2 - BOP Script

    4/7

    Start the #onitor (#O*) BOP #O*I!O"+ Abbreiation M/*. This option starts the /P interface monitor. The monitor constantlychecs the system to see if the appropriate Jobs are running. #f it finds that a necessaryprocess is not running, it schedules it to run using the RPMS Tas Manager. The monitorprocess reschedules itself using the RPMS bacground tas scheduler, TasMan. #t will runK seconds in the future, &determined by the field FReschedule 6reEuencyF in the #$S /P

    Site Parameters file, L789:: Recommend 988 to 788 seconds(. %hen it runs it checs tosee if the transmitter and receier of the Automated Dispensing System and receier of the Automated Dispensing System are running and attempts to start them if they are not running.

    Dispay ,ueue for a patient (PA!) BOP PA!I*! DISP.A/+

     Abbreiation PAT. This option is used to display the transactions in the sending Eueue for aparticular patient.

    Send one patient (DF*) AD! 0 orders to Automated Dispensing System (S*D) BOP!"A*S#I! O* PA!I*!+

     Abbreiation S)*D. This option is often used to force ADT and /rder transactions acrossthe interface. #f an ADT or order did not mae it to the interface, this option allows the sendingof all of that patientHs current orders to the Automated Dispensing System. The patient #)*&D6*( is entered and if the patientHs location is a sending location the patients ADTinformation and all orders for that patient are sent. This option is for inpatients only.

    Show "eady ,ueue (S1O2) BOP S1O2+

     AbbreiationC S$/%. This option displays the status of the sending Eueue. The displayshows the total number of items in the Eueue file, how many are ADT, how many are /rders,and how many timing transactions from Automated Dispensing System.

    BOP Site Parameters (SI!) BOP SI!+

     AbbreiationC S#T). This option allows the editing of the setup file, in the eent that aparameter needs to be changed.

    Stop the BOP interface(S!OP) BOP S!OP+

     AbbreiationC ST/P. The interface can be stopped in two ways. The first is to edit the setupfile and change the monitor actie field &file 789::( from /* to /66. This will stop the monitor so that the monitor will not reschedule itself in TasMan. This does not stop the currentrunning transmitter or receier. The second way to stop the interface is to use this option.This option will halt the current running transmitter and receier but does not interfere with theinterface monitor. 4se this option if the interface needs to be stopped for a short while but notpermanently.

  • 8/17/2019 11.2 - BOP Script

    5/7

    BOP !"O%B.S1OO! #*% (!"B) BOP !"O%B.S1OO! #*%+ AbbreiationC TR. %ithin this Menu, there are 9 optionsC

    !$@ !hec the 0og 6ile I/P !$)!@ TRA*SA!T#/*SG64T Display 6uture Monitor tass I/P 64T4R) TAS@ 0#STGR4* Display Running Tass and Job #D I/P R4* TAS@ 0#STG

    Site Parameters

    The /P Site Parameter 6ile &789::( is used to define how the interface will wor. The usermay determineC

    2. if ADT should go to the Automated Dispensing System

    5. which diisions will be allowed

    9. if outpatients data should be sent

    ;. which orders are actie

    :. which order types should be sent. if the interface is actie

    1. #P addresses and their respectie socets &ports( for each hospital diision &)achdiision goes to a different pro-car.( &The pro-car is the Automated Dispensing Systeminterface receier. #t then sends the transmission to the appropriate AutomatedDispensing System console.(

    BOP Site Parameters

    *AM)C P$/)*#K #*D#A* M)D !TR""

    6A!#0#T? #DC 882""

    R)!)#>#*' APP0#!AT#/*C P?K#S""

     A!@*/%0)D')M)*T T#M) /4TC 8""

    *4M)R /6 R)TR#)SC 28""

     ADT A!T#>)C ?)S""

     ADM#T D#A'*/S#SC ?)S""

    S)*D PR*C ?)S""

    S)*D !/*T#*4/4SC ?)S""

    S)*D /*)-T#M)C ?)S""

    S)*D 6#00-/*-R)34)STC ?)S""

    S)*D /*-!A00C */""

    *)% /RD)RS A!T#>)C ?)S""

    R)*)% /RD)RS A!T#>)C ?)S""

    /T$)R /RD)RS A!T#>)C ?)S""

  • 8/17/2019 11.2 - BOP Script

    6/7

    S)*D 6/RM40AR?C ?)S""

    PR/!)SS#*' #DC P""

    >)RS#/* #DC 5.9""

    #*T)R6A!) >)*D/RC P?K#S""

    AS) A00)R'?C

    0/!AT#/* D)!/D#*' T?P)C D)6A40T""

    S)*D A00 /4TPAT#)*TSC */""

    D)6A40T /4TPAT#)*T 0/!AT#/*C )D""

    D)6A40T /P S)*D 0/!AT#/*C )D""

    D)6A40T /P 0/!AT#/* P/#*T)RC )D-)M)R')*!? M)D &%A0@-#*(

    Select /4TPAT#)*T 0/!AT#/*C 9)A""

      /4TPAT#)*T 0/!AT#/*C 9)A""

      /P S)*D 0/!AT#/*C  /P 0/!AT#/* P/#*T)RC 9)A""

    Select /4TPAT#)*T 0/!AT#/*C

    M/*#T/R A!T#>)C /*""

    M/*#T/R R)S!$)D40#*' 6R)34)*!?C 988""

    Select R)!)#>#*' 6A!#0#T?C P$/)*#K $/SP""

      R)!)#>#*' 6A!#0#T?C P$/)*#K $/SP""

      !$A**)0 A!T#>)C ?)S""

      A!!)PT TRA*SA!T#/*SC ?)S""

      !0#)*T /R S)R>)RC !0#)*T""

      #P ADDR)SSC 22.559.27B.558""

      S)*D S/!@)TC 782""

      R)!)#>) S/!@)TC 785""

    Select R)!)#>#*' 6A!#0#T?C

     ADT S)*D /4TPAT#)*TC ?)S""

     ADT S)*D /P APPT !R)AT#/*C

     ADT S)*D #*PAT#)*TC ?)S""

    D)6A40T !0)R@C P$ARMA!?,P?K#S ')*)R#!""

    D)6A40T S#'C TA@) AS D#R)!T)D ? P$?S#!#A* Replace

  • 8/17/2019 11.2 - BOP Script

    7/7

    !rou$eshooting

    Different scenarios to troubleshoot depending on if it is an rpms"networing issue orPy+is"/mnicell issue.

    6acilities without 5; hour Pharmacy coerage must wor with *ursing to handle after hourHssystem failures. $ae the Py+is"/mnicell help des and your customer numbers readilyaailable for *ursing. Most failures are not due to the interface and are easily resoled withthe helpdes of the ADM endor.

    Pro$ems with Py6is7"P#S

    interface8

    #s the regular rpmsworingN#e can you login,can youenter orders &fast or slow(N

    ?)S

    */

    !all Py+is$elpdesB88-151-285P#M! !ustL28;:11

    !all P#M!#T support.

    #s the #nternetworingN

    ?)S*/

    #ssue resoledN