16. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/30/2018 9:10:54 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

16.1 Files compared

# Location File Last Modified
1 CAS_RxSU2_Build-2_Sprint-1.zip\CAS_RxSU2_Build-2_Sprint-1_Documentation 0002AC OneVA Pharmacy Implementation SDD V3.2_20170630.docx Thu Jun 29 20:30:59 2017 UTC
2 CAS_RxSU2_Build-2_Sprint-1.zip\CAS_RxSU2_Build-2_Sprint-1_Documentation 0002AC OneVA Pharmacy Implementation SDD V3.2_20170630.docx Thu Mar 29 20:08:31 2018 UTC

16.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 6930
Changed 1 2
Inserted 0 0
Removed 0 0

16.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

16.4 Active regular expressions

No regular expressions were active.

16.5 Comparison detail

  1   Department  of Vetera ns Affairs
  2   Veterans H ealth Admi nistration  (VHA)
  3   Office of  Informatic s and Anal ytics
  4   Innovation  Program
  5   OneVA Phar macy
  6   System Des ign Docume nt (SSD)
  7  
  8   Contract N o: VA118-1 6-D-1009 
  9   Task Order : VA11817F 10090006
  10   CLIN: 0002 AC
  11  
  12  
  13   Version 3. 2
  14   June 2017
  15   Revision H istory
  16   Date
  17   Version
  18   Descriptio n
  19   Author
  20   06/30/2017
  21   3.2
  22   Upated Sec tion 3.1.2 .2 Use Cas e Name: Di spense Loc al Order w ith PSORPH .  Update  Use Case N ame: Dispe nse Anothe r VA Pharm acy order  wiyth “Can  not refil l instruct ions”.
  23   Brad Fishe r
  24   10/19/16
  25   3.1
  26   Added rout ines for t he new One VA Pharmac y label so ftware; up dated the  descriptio n of how O neVA Pharm acy labels  are creat ed; HL7 pr otocol per formance r equirement s updated;
  27   Kathy Coup land
  28   08/22/16
  29   3.0
  30   Modified t o include  Final Spri nts; Techn ical edit  to follow  new VA Sty le Guides;  Updates t o OneVA Ph armacy Rep orting Men u; Updates  to identi fy items f ound in th e OneVA Ph armacy ICD  document  and refer  the user t o the LINK . Added eM I and HDR/ CDS Reposi tory proje ct documen tation lin ks.
  31   Kathy Coup land
  32   07/25/16
  33   2.7
  34   Updated fo r MUMPS Ro utines and  HL7 messa ges
  35   Brad Fishe r
  36   05/19/16
  37   2.6
  38   Updated Re port 3 nam e per Rob  Silverman’ s feedback
  39   Kathy Coup land
  40   05/17/16
  41   2.5
  42   Modify for  eMI full  service in tegration.  Updated C omponent D iagrams (f eedback Ro b Silverma n); Update d Business  Rules Sec tion to co ntain prog raming log ic for Dis continued  Section; a dded FQDN  and Port t o RDT Segm ent; updat ed the sou rce for VA  Product I D; Modifie d Medicati on Instruc tions sect ion to inc lude first  instance  only. Adde d report l ayouts.
  43   Kathy Coup land
  44   04/10/16
  45   2.4
  46   Adding mis sing HL7 m essaging a nd address ing AERB i tems. Add  HDR/CDS Re pository t o VistA St atus Code  Mapping
  47   Kathy Coup land
  48   03/25/16
  49   2.3
  50   Change ter minology t o include  host site  and dispen sing site;  Include a s referenc e the Esse ntial Medi cation Dir ective pub lication;  Modify sta tus values  to use Vi stA status  values; R emove Sect ion 508 Se lf-Certifi cation doc ument as a  deliverab le; Modifi ed require ments base d on the i n-depth di scussion c onducted o n 3/14/16  during the  Weekly In formatics  & Analytic s Section  Meeting. I ncluded la bel proces sing.
  51   Kathy Coup land
  52   03/04/16
  53   2.2
  54   Technical  edit and r espond to  the AERB c omments.
  55   Kathy Coup land
  56   03/03/16
  57   2.1
  58   Updated eM I-Middlewa re areas,  accommodat ing the di rection fr om a Self- service mo del to a f ull-servic e.
  59   Tony Burle son
  60   03/02/16
  61   2.0
  62   Update to  modify the  eMI-Middl eware dire ction from  developme nt of self -service c omponents  to integra tion direc tly with e MI-Middlew are.
  63   Kathy Coup land
  64   01/04/16
  65   1.1
  66   Update Sec tion 6.5 &  namespace  update.
  67   Kathy Coup land
  68   12/30/2015
  69   1.0
  70   Baseline
  71   Kathy Coup land
  72   12/28/2015
  73   0.5
  74   Updated se ction 6.2  and eMI ar eas
  75   Tony Burle son
  76   11/28/2015
  77   0.4
  78   Updated di agram and  modified t wo require ments.
  79   Kathy Coup land
  80   11/13/2015
  81   0.3
  82   Updated Di agrams, sp elled out  acronyms,  and applie d TJ Cope’ s comments . Added Br ad Fisher’ s updates.
  83   Kathy Coup land
  84   10/29/2015
  85   0.2
  86   Updated Se ctions 2,  3, 4, 5, a nd 8
  87   Tony Burle son
  88   10/26/2015
  89   0.1
  90   Initial Dr aft
  91   Kathy Coup land
  92    
  93   Table of C ontents
  94   1.Introduc tion11
  95   1.1.Scope1 1
  96   1.2.User P rofiles11
  97   1.3.Acrony ms and Abb reviations 12
  98   1.4.Proces ses and Re ferences14
  99   1.4.1.Docu mentation  Convention s14
  100   2.Backgrou nd15
  101   2.1.Overvi ew of the  System15
  102   2.2.System  Configura tion16
  103   2.2.1.Step s to Turn  On ONEVA P HARMACY FL AG (#3001) 16
  104   2.3.Data F lows19
  105   2.4.Overvi ew of the  Business P rocess20
  106   2.5.Overvi ew of the  Significan t Requirem ents20
  107   2.5.1.Busi ness Rules 20
  108   2.5.2.Desi gn Constra ints20
  109   2.5.3.Docu mentation  Specificat ions20
  110   2.5.4.Func tional Req uirements2 1
  111   3.Conceptu al Design2 1
  112   3.1.Concep tual Appli cation Des ign21
  113   3.1.1.Appl ication Co ntext21
  114   3.1.2.High -Level App lication D esign22
  115   3.1.2.1.Us e Case Nam e: View Or ders24
  116   3.1.2.2.Us e Case Nam e: Dispens e Local Or der25
  117   3.1.2.3.Us e Case Nam e: Dispens e Another  VA Pharmac y Order26
  118   3.1.2.4.Us e Case Nam e: OneVA P harmacy Pr escription  Report28
  119   3.1.3.Appl ication Lo cations29
  120   3.2.Concep tual Data  Design29
  121   3.2.1.Proj ect Concep tual Data  Model29
  122   3.2.2.Data base Infor mation29
  123   3.2.2.1.Re mote Presc ription Lo g File (#5 2.09)29
  124   3.2.2.1.1. STANDARD D ATA DICTIO NARY #52.0 9 -- REMOT E PRESCRIP TION LOG F ILE (VistA )31
  125   3.2.2.2.Re fill Multi ple (#52.1 ) of the P rescriptio n File (#5 2)34
  126   3.2.2.3.Pa rtial Mult iple (#52. 2) of the  Prescripti on File (# 52)35
  127   3.2.2.4.On eVA Pharma cy Flag (# 3001) of t he Outpati ent Site f ile (#59)3 5
  128   3.2.3.User  Interface  Data Mapp ing35
  129   3.2.3.1.Ap plication  Screen Int erface35
  130   3.2.3.2.Ap plication  Report Int erface35
  131   3.2.3.2.1. Selecting  a Report a nd Report  Search Opt ions36
  132   3.2.3.3.Un mapped Dat a Element3 8
  133   3.3.Concep tual Infra structure  Design39
  134   3.3.1.Syst em Critica lity and H igh Availa bility39
  135   3.3.2.Spec ial Techno logy39
  136   3.3.3.Tech nology Loc ations39
  137   3.3.4.Conc eptual Inf rastructur e Diagram4 0
  138   3.3.4.1.Lo cation of  Environmen ts and Ext ernal Inte rfaces40
  139   3.3.4.2.Co nceptual P roduction  String Dia gram40
  140   4.System A rchitectur e41
  141   4.1.Hardwa re Archite cture41
  142   4.2.Softwa re Archite cture41
  143   4.2.1.eMI  ESB41
  144   4.2.2.HDR/ CDS Reposi tory42
  145   4.2.3.Sequ ence Diagr ams – Use  Cases42
  146   4.2.3.1.Vi ew Order V iew Order  Use Case M essage Flo w42
  147   4.2.3.2.Di spense Ord er from an other VA P harmacy Lo cation Mes sage Flow4 3
  148   4.2.4.Desi gn Rationa le45
  149   4.2.5.HL7  Protocol45
  150   4.2.5.1.Pe rformance4 5
  151   4.3.Networ k Architec ture46
  152   4.4.Servic e Oriented  Architect ure47
  153   4.5.Enterp rise Archi tecture49
  154   5.Data Des ign50
  155   5.1.DBMS F iles50
  156   5.1.1.Refi ll Multipl e (#52.1)  of the Pre scription  File (#52) 50
  157   5.1.2.Part ial Multip le (#52.2)  of the Pr escription  File (#52 )50
  158   5.1.3.OneV A Pharmacy  Flag (#30 01) of the  Outpatien t Site fil e (#59)50
  159   5.1.4.Remo te Prescri ption Log  (#52.09)51
  160   5.2.Non-DB MS Files52
  161   5.3.Data V iew52
  162   6.Detailed  Design53
  163   6.1.Hardwa re Detaile d Design53
  164   6.2.Softwa re Detaile d Design54
  165   6.2.1.Conc eptual Des ign54
  166   6.2.1.1.Pr oduct Pers pective54
  167   6.2.1.1.1. User Inter faces54
  168   6.2.1.1.2. Hardware I nterfaces5 5
  169   6.2.1.1.3. Software I nterfaces5 5
  170   6.2.1.1.4. Communicat ions Inter faces55
  171   6.2.1.1.5. Memory Con straints56
  172   6.2.1.1.6. Special Op erations56
  173   6.2.1.2.Pr oduct Feat ures56
  174   6.2.1.3.Us er Charact eristics56
  175   6.2.1.4.De pendencies  and Const raints56
  176   6.2.2.Spec ific Requi rements56
  177   6.2.2.1.Da tabase Rep ository56
  178   6.2.2.2.Sy stem Featu res56
  179   6.2.2.3.De sign Eleme nt Tables5 6
  180   6.2.2.3.1. Routines57
  181   6.2.2.3.1. 1.PSOORNE2 57
  182   6.2.2.3.1. 2.PSOORUT1 58
  183   6.2.2.3.1. 3.PSOROS59
  184   6.2.2.3.1. 4.PSORRD60
  185   6.2.2.3.1. 5.PSORREF6 1
  186   6.2.2.3.1. 6.PSORREF0 62
  187   6.2.2.3.1. 7.PSORREF1 63
  188   6.2.2.3.1. 8.PSORRP64
  189   6.2.2.3.1. 9.PSORRPA1 65
  190   6.2.2.3.1. 10.PSORRX1 67
  191   6.2.2.3.1. 11.PSORWRA P68
  192   6.2.2.3.1. 12.PSORX16 8
  193   6.2.2.3.1. 13.PSORLLL 170
  194   6.2.2.3.1. 14.PSORLLL 271
  195   6.2.2.3.1. 15.PSORLLL 372
  196   6.2.2.3.1. 16.PSORLLL 473
  197   6.2.2.3.1. 17.PSORLLL 574
  198   6.2.2.3.1. 18.PSORLLL H76
  199   6.2.2.3.1. 19.PSORLLL I77
  200   6.2.2.3.1. 20.PSORRX1 78
  201   6.2.2.3.1. 21.PSORRX2 80
  202   6.2.2.3.2. Templates8 1
  203   6.2.2.3.2. 1.PSO LM R EMOTE ORDE R SELECTIO N81
  204   6.2.2.3.2. 1.1.PSO LM  REMOTE RE PORT DETAI LS81
  205   6.2.2.3.2. 1.2.PSO LM  REMOTE RX  REPORT82
  206   6.2.2.3.3. Bulletins8 2
  207   6.2.2.3.4. Data Entri es Affecte d by the D esign83
  208   6.2.2.3.5. Unique Rec ord(s)83
  209   6.2.2.3.6. File or Gl obal Size  Changes83
  210   6.2.2.3.6. 1.Global83
  211   6.2.2.3.6. 2.Files83
  212   6.2.2.3.6. 2.1.Prescr iption (#5 2) File83
  213   6.2.2.3.6. 2.2.REFILL  Sub File  (#52.1)84
  214   6.2.2.3.6. 2.3.PARTIA L FILL Sub  file (#52 .2)84
  215   6.2.2.4.On eVA Pharma cy Flag (# 3001) of t he Outpati ent Site f ile (#59)8 5
  216   6.2.2.4.1. 1.1.Outpat ient Site  (#59) File 85
  217   6.2.2.4.1. 1.2.Remote  Prescript ion Log (# 52.09) Fil e85
  218   6.2.2.4.2. Mail Group s87
  219   6.2.2.4.3. Security K eys87
  220   6.2.2.4.4. Options87
  221   6.2.2.4.4. 1.Pharmacy  Remote Pr escription  Manager O ptions87
  222   6.2.2.4.4. 1.1.PSO LM  BACKDOOR  ORDERS Opt ion87
  223   6.2.2.4.4. 1.2.PSO RX  Options88
  224   6.2.2.4.4. 1.3.PSO RE MOTE RX RE PORT Optio n89
  225   6.2.2.4.5. Protocols9 0
  226   6.2.2.4.5. 1.PSO LM R EFILL REMO TE ORDER P rotocol90
  227   6.2.2.4.5. 1.1.PSO LM  REMOTE OR DER MENU P rotocol91
  228   6.2.2.4.5. 1.2.PSO LM  REMOTE PA RTIAL Prot ocol91
  229   6.2.2.4.5. 1.3.PSO LM  REMOTE RX  REPORT ME NU Protoco l92
  230   6.2.2.4.5. 1.4.PSO LM  SELECT RE PORT ITEM  Protocol93
  231   6.2.2.4.5. 1.5.PSO RE MOTE RX QB P Q13 ESUB S Protocol 93
  232   6.2.2.4.5. 1.6.PSO RE MOTE RX QB P Q13 EVEN T Protocol 94
  233   6.2.2.4.5. 1.7.PSO RE MOTE RX RD S-013 ESUB S Protocol 95
  234   6.2.2.4.5. 1.8.PSO RE MOTE RX RD S-013 EVEN T Protocol 95
  235   6.2.2.4.6. Remote Pro cedure Cal l (RPC)96
  236   6.2.2.4.7. Constants  Defined in  Interface 96
  237   6.2.2.4.8. Variables  Defined in  Interface 96
  238   6.2.2.4.9. Types Defi ned in Int erface96
  239   6.2.2.4.10 .GUI96
  240   6.2.2.4.11 .GUI Class es96
  241   6.2.2.4.12 .Current F orm96
  242   6.2.2.4.13 .Modified  Form96
  243   6.2.2.4.14 .Component s on Form9 6
  244   6.2.2.4.15 .Events96
  245   6.2.2.4.16 .Methods96
  246   6.2.2.4.17 .Special R eferences9 7
  247   6.2.2.4.18 .Class Eve nts97
  248   6.2.2.4.19 .Class Met hods97
  249   6.2.2.4.20 .Class Pro perties97
  250   6.2.2.4.21 .Uses Clau se97
  251   6.2.2.4.22 .Forms97
  252   6.2.2.4.23 .Functions 97
  253   6.2.2.4.24 .Dialog97
  254   6.2.2.4.25 .Help Fram e97
  255   6.2.2.4.26 .HL7 Appli cation Par ameter97
  256   6.2.3.HL7  Protocols9 7
  257   6.2.4.HL7  Sender and  Receiver  Applicatio ns98
  258   6.2.5.Send er and Rec eiver Logi cal Links9 9
  259   6.2.5.1.HL 7 Logical  Link99
  260   6.2.5.1.1. COTS Inter face100
  261   6.3.Networ k Detailed  Design100
  262   6.4.Securi ty and Pri vacy100
  263   6.4.1.Secu rity100
  264   6.4.1.1.Se cure Socke ts Layer ( SSL)100
  265   6.4.1.2.Au thenticati on and Aut horization 100
  266   6.4.1.3.Re mote Presc ription Lo cking100
  267   6.4.2.Priv acy101
  268   6.5.Servic e Oriented  Architect ure / ESS  Detailed D esign101
  269   6.5.1.Serv ice Descri ption for  Consumed S ervice Nam e101
  270   6.5.2.Serv ice Design  for Provi ded Servic e Name101
  271   7.External  System In terface De sign101
  272   7.1.Interf ace Archit ecture101
  273   7.2.Interf ace Detail ed Design1 01
  274   7.3.Acknow ledgement  Codes101
  275   7.4.Order  Control Co des102
  276   7.5.OneVA  Pharmacy H L7 Message s102
  277   7.5.1.Quer y by Param eter Reque st HL7 Mes sage102
  278   7.5.2.Pres cription Q uery Servi ce Respons e HL7 Mess age102
  279   7.5.3.Phar macy/Treat ment Dispe nse Messag e Request  HL7 Messag e102
  280   7.5.4.Pres cription R efill/Part ial Servic es Respons e HL7 Mess age103
  281   8.Human-Ma chine Inte rface103
  282   8.1.Interf ace Design  Rules103
  283   8.2.Inputs 103
  284   8.3.Output s103
  285   8.4.Naviga tion Hiera rchy104
  286   8.4.1.Pres cription D isplay104
  287   9.Attachme nt A – App roval Sign atures107
  288   A.1.Identi fication o f Technolo gy and Sta ndards108
  289   A.2.Constr aining Pol icies, Dir ectives an d Procedur es108
  290   A.3.Requir ements Tra ceability  Matrix108
  291   A.4.Packag ing and In stallation 108
  292   A.5.Design  Metrics10 8
  293  
  294   Table of F igures
  295   Figure 1:  OneVA Phar macy Flag:   VA FileM an16
  296   Figure 2:  OneVA Phar macy Flag:   Enter FM  Prompt16
  297   Figure 3:  OneVA Phar macy Flag:   VA FileM an Menu Pr ompt17
  298   Figure 4:  OneVA Phar macy Flag:   Enter <E N> to Ente r or Edit  File Entri es Prompt1 7
  299   Figure 5:  OneVA Phar macy Flag:   Input to  What File  Prompt17
  300   Figure 6:  OneVA Phar macy Flag:   Edit Whi ch Filed P rompt17
  301   Figure 7:  OneVA Phar macy Flag:   Then Edi t Field Pr ompt17
  302   Figure 8:  OneVA Phar macy Flag:   Select O UTPATIENT  SITE NAME  Prompt18
  303   Figure 9:  OneVA Phar macy Flag:   ^LOOP Co mmand18
  304   Figure 10:  OneVA Pha rmacy Flag :  Edit En tries by:   NAME// Pr ompt18
  305   Figure 11:  OneVA Pha rmacy Flag :  Start w ith Name P rompt18
  306   Figure 12:  OneVA Pha rmacy Flag :  Loop Co mmand Exam ple19
  307   Figure 13:  OneVA Pha rmacy Desi gn Overvie w19
  308   Figure 14:  Applicati on Archite ctural Dia gram21
  309   Figure 15:  High-leve l Use Case  Context D iagram23
  310   Figure 16:  OneVA Pha rmacy Busi ness and T echnical C omponents  High-Level  Overview2 4
  311   Figure 17:  OneVA Pha rmacy Repo rt Example :  Summary  Page37
  312   Figure 18:  OneVA Pha rmacy Repo rt Example :  Details  Page38
  313   Figure 19:  OneVA Pha rmacy Comp onents39
  314   Figure 20:  Conceptua l Producti on String  Diagram41
  315   Figure 21:  View Orde r Use Case  High Leve l Overview 43
  316   Figure 22:  View Orde r Use Case  HL7 Messa ge Flow43
  317   Figure 23:  Dispense  Order from  another V A Pharmacy  Location  Use Case H igh-Level  Overview44
  318   Figure 24:  Dispense  Order from  another V A Pharmacy  Location  HL7 Messag e Flow45
  319   Figure 25:  HL7 Logic al Link Ti me out Par ameters Ex ample46
  320   Figure 26:  OneVA Pha rmacy Netw ork Archit ecture47
  321   Figure 27:  VistA and  eMI ESB I ntegration 48
  322   Figure 28:  HL7/MLLP  and SOAP/h ttps Integ ration49
  323   Figure 29:  OneVA Pha rmacy Hard ware Desig n53
  324   Figure 30:  OneVA Pha rmacy Conc eptual Des ign54
  325   Figure 31:  OneVA Pha rmacy Comm unications  Interface 55
  326   Figure 32:  Navigatio nal Hierar chy104
  327   Figure 33:  Medicatio n Profile  Screen Exa mple – Rem ote Active  Rx105
  328   Figure 34:  Remote OP  Medicatio n Screen10 6
  329  
  330  
  331   Table of T ables
  332   Table 1: A cronym & A bbreviatio n Table12
  333   Table 2: D ocumentati on Symbols  and Descr iptions14
  334   Table 3: R eport Data  Fields36
  335   Table 4: T echnology  Components  Used39
  336   Table 5: M LLP HL7 En dpoint Mes sages42
  337   Table 6: V iew Order  Use Case H L7 Message s42
  338   Table 7: G lobal Plac ement and  Protection 83
  339   Table 8: F iles83
  340   Table 9: R EFILL Sub  file (#52. 1)84
  341   Table 10:  PARTIAL FI LL sub fil e (#52.2)8 4
  342   Table 11:  Remote Pre scription  Log (#52.0 985
  343   Table 12:  Acknowledg ement Code s101
  344   Table 13:  Order Cont rol Codes1 02
  345  
  346   Introducti on
  347   Leadership  at the De partment o f Veterans  Affairs ( VAs) Grass roots Inno vations Pr ogram, a c ooperative  effort be tween the  Chief Tech nology Off icer, the  Health and  Medical I nformatics  Office, a nd the VAs  Office of  Informati on and Tec hnology (O I&T) provi ded innova tors (VA e mployees)  with a for um to prop ose new op portunitie s and to d evelop new  ideas int o function al prototy pes.
  348   There are  two (2) se parate pha ses to the  Innovatio ns Program . The low  bar phase  was a proo f-of-conce pt phase w here all w ork was ac complished  outside o f the VAs  network in  a VA virt ual testin g environm ent (Innov ations San dbox). The  high bar  phase occu rred when  the concep t was move d to a dev elopmental  environme nt where i t has been  further d eveloped,  tested, an d approved  for full  scale depl oyment. Th is Systems  Design Do cument (SD D) focuses  on the fu ll-scale d evelopment  efforts.
  349   The OneVA  Pharmacy s oftware pr ovides the  Departmen t of Veter ans Health  Administr ation (VHA ) the capa bility to  allow Vete rans trave ling acros s the Unit ed States  to refill  or partial  their act ive non-co ntrolled s ubstance V A prescrip tion at an y VA Pharm acy locati on regardl ess of whe re the pre scription  originated . The patc h expands  available  pharmacy i nformation  in Vetera ns Health  Informatio n Systems  and Techno logy Archi tecture (V istA) to P harmacists , providin g direct a ccess to a ny active  and refill able presc ription fr om any VA  Pharmacy l ocation.
  350   The OneVA  Pharmacy s oftware pr ovides a f oundation  to build a nd extend  new capabi lities to  the Vetera n.
  351   Project Ma nagement A ccountabil ity System  (PMAS) Pr oject Numb er:  N/A
  352   Enterprise  Product S upport (EP S) Code(s) : 2015-11- 03-11:54:0 5-00-00-00 -00-00-000
  353   Proposed P roduction  Install Da te: Q4FY16
  354   Business O wner: Robe rt Silverm an,
  355   Federal In formation  Security M odernizati on Act (FI SMA) Syste m Owner: N /A; This s ystem fall s under Vi stA Outpat ient Pharm acy
  356   Scope
  357   This Syste m Design D ocument (S DD) will d efine the  high-level  design fo r the OneV A Pharmacy  project o bjectives.  It define s and desc ribes the  detailed s ystem comp onents, ar chitectura l views, s ystem cons traints, a nd design  rationale.
  358   User Profi les
  359   The user p rofile of  the OneVA  Pharmacy m odule is t hose users , specific ally Pharm acists tha t use the  Outpatient  Pharmacy  [PSO LM BA CKDOOR ORD ERS] menu  to dispens e prescrip tions. It  is assumed  that the  user has b asic knowl edge of th e VistA sy stem (such  as the us e of comma nds, menu  options, a nd navigat ion tools) , has acce ss to the  ‘Rx (PRESC RIPTIONS)  [PSO RX]’  menu withi n VistA, a nd holds a ppropriate  security  keys for t heir user  role, such  as PSORPH , to ident ify the us er as a Ph armacist.
  360   Acronyms a nd Abbrevi ations
  361   The follow ing table  provides t he list of  acronyms  used throu ghout the  document a long with  their desc riptions.
  362   Table 1: A cronym & A bbreviatio n Table
  363   Acronym/Ab breviation
  364   Descriptio n
  365   [PSO LM BA CKDOOR ORD ERS]
  366   Patient Pr escription  Processin g Menu
  367   [PSO REMOT E RX REPOR T]
  368   OneVA Phar macy Presc ription Re port Menu
  369   [PSO RX]
  370   Rx (Prescr iptions) M enu
  371   ADT
  372   Admission  Discharge  Transfer
  373   AITC
  374   Austin Inf ormation T echnology  Center
  375   API
  376   Applicatio n Programm ing Interf ace
  377   BITS
  378   Business I nformation  Technolog y Solution s, Inc.
  379   CDS
  380   Clinical D ata Servic es
  381   CLIN
  382   Contract L ine Item N umber
  383   DFN
  384   Data File  Number
  385   eMI
  386   Enterprise  Messaging  Infrastru cture
  387   EPS
  388   Enterprise  Product S upport
  389   ESB
  390   Enterprise  Service B us
  391   FISMA
  392   Federal In formation  Security M odernizati on Act
  393   HDR
  394   Health Dat a Reposito ry
  395   HL7
  396   Health Lev el 7
  397   https
  398   Hypertext  Transfer P rotocol Se cure
  399   ICD
  400   Integratio n Interfac e Control  Document
  401   ICN
  402   Integratio n Control  Number
  403   IOC
  404   Initial Op erating Ca pability
  405   IPT
  406   Integrated  Product T eam
  407   IT
  408   Informatio n Technolo gy
  409   MLLP
  410   Minimal Lo wer Layer  Protocol
  411   MUMPS
  412   Massachuse tts Genera l Hospital  Utility M ulti Progr amming Sys tem
  413   MVI
  414   Master Vet eran Index
  415   NPI
  416   National P atient Ind ex
  417   OI&T
  418   Office of  Informatio n and Tech nology
  419   OIA
  420   Office of  Informatic s and Anal ytics
  421   OMB
  422   Office of  Management  and Budge t
  423   OPAI
  424   Outpatient  Pharmacy  Automation  Interface
  425   PII
  426   Personally  Identifia ble Inform ation
  427   PSO
  428   Outpatient  Prescript ion Pharma cy
  429   PSO*7.0*45 4
  430   OneVA Phar macy VistA  Patch Ide ntificatio n Number
  431   RDNG
  432   IBM Ration al DOORS N ext Genera tion
  433   RSD
  434   Requiremen ts Specifi cation Doc ument
  435   RTM
  436   Requiremen ts Traceab ility Matr ix
  437   SDD
  438   System Des ign Docume nt
  439   SME
  440   Subject Ma tter Exper t
  441   SOAP
  442   Simple Obj ect Access  Protocol
  443   TRM
  444   Technical  Reference  Model
  445   VA
  446   Department  of Vetera ns Affairs
  447   VHA
  448   Department  of Vetera ns Health  Administra tion
  449   VIE
  450   Vitria bus iness ware  Interface  Engine
  451   VistA
  452   Veterans H ealth Info rmation Sy stems and  Technology  Architect ure
  453  
  454   Processes  and Refere nces
  455   As mention ed, the On eVA Pharma cy initiat ive is an  Innovation s project  therefore  project an d product  documentat ion are be ing stored  in two pl aces:
  456   OneVA Phar macy VA Sh arePoint
  457   OneVA Phar macy Ratio nal Reposi tory
  458   The refere nces that  support th e implemen tation of  the OneVA  Pharmacy S DD are:
  459   OneVA Phar macy Requi rements Sp ecificatio n Document  (RSD)
  460   OneVA Phar macy Inter face Integ ration Con trol Docum ent (ICD)
  461   HL7 Messag ing Standa rd v2.5.1  http://www .hl7.org/i mplement/s tandards/p roduct_bri ef.cfm?pro duct_id=14 4
  462   Medical Do main Web S ervices (M DWS) docum entation h ttp://va.g ov/vdl/app lication.a sp?appid=1 92
  463   HL7 (VistA  Messaging ) document ation http ://va.gov/ vdl/applic ation.asp? appid=8
  464   Documentat ion Conven tions
  465   All patien t data dis played on  screen ima ges within  this docu ment consi sts of moc ked up tes t data the refore the re is no c oncern reg arding mis use or vio lation of  Personally  Identifia ble Inform ation (PII ) as defin ed in Offi ce of Mana gement and  Budget (O MB) Memora ndum M-07- 1616.
  466   Various sy mbols used  throughou t the docu mentation  to alert t he reader  to special  informati on.
  467   The follow ing table  gives a de scription  of each of  these sym bols.
  468   Table 2: D ocumentati on Symbols  and Descr iptions
  469   Symbol
  470   Descriptio n
  471  
  472   NOTE: Used  to inform  the reade r of gener al informa tion inclu ding refer ences to a dditional  reading ma terial
  473  
  474   CAUTION: U sed to cau tion the r eader to t ake specia l notice o f critical  informati on
  475  
  476   Background
  477   Overview o f the Syst em
  478   The overal l OneVA Ph armacy sof tware desi gn has sev eral compo nents. The y are:
  479   Veterans H ealth Info rmation Sy stems and  Technology  Architect ure (VistA ) (Patch P SO*7.0*454 )
  480   Health Lev el 7 (HL7)  Messaging
  481   Enterprise  Messaging  Infrastru cture (eMI ) Enterpri se Service  Bus (ESB)
  482   Health Dat a Reposito ry/Clinica l Data Ser vice (HDR/ CDS) Repos itory
  483   VistA is t he user in terface wh ere a phar macist use s the “Pat ient Presc ription Pr ocessing [ PSO LM BAC KDOOR ORDE RS]” menu  (found wit hin the Vi stA Pharma cy Outpati ent Pharma cy package ) to query  for and r efill pati ent’s acti ve and ref illable pr escription s from oth er VA Phar macy VistA  instances . Patch PS O*7.0*454  uses Healt h Level 7  (HL7) mess aging to q uery and r eceive rem ote prescr iption det ails to an d from the  Health Da ta Reposit ory/Clinic al Data Se rvices (HD R/CDS) Ora cle Reposi tory.
  484   The VistA  instance w here the V eteran is  requesting  the refil l or parti al is cons idered the  ‘dispensi ng’ VistA  instance.  This patch  allows a  Pharmacist  from a ‘d ispensing’  VistA ins tance to r efill or p artial a p rescriptio n that ori ginated fr om another  VA Pharma cy VistA i nstance an d print a  prescripti on label.  The VA Pha rmacy Vist A instance  where the  prescript ion origin ated and c urrently e xits is th e ‘host’ V istA insta nce. The h ost VistA  instance i s where th e update t o the pres cription r ecord is m ade once t he fill is  processed . The labe l data ele ments are  extracted  from the h ost VistA  instance a nd returne d to the d ispensing  site via H L7 creatin g the OneV A Pharmacy  label. Th e bar code  on the la bel will b e valid at  the host  site but n ot at the  dispensing  site.
  485   The OneVA  Pharmacy p atch sends  the HL7 q uery messa ge through  the Enter prise Serv ice Bus (E SB) Enterp rise Messa ging Servi ces (eMI).  eMI execu tes a Web  Service ca ll to quer y the HDR/ CDS Reposi tory for s pecific me dication i nformation  obtained  from all V A Pharmacy ’s VistA s ites. The  eMI config uration co ntains fil tering pro cesses tha t applies  specific b usiness ru les agains t the HDR/ CDS Web Se rvice call  to return  the appro priate pre scriptions  to the di spensing V istA. Vist A and eMI  communicat e using HL 7 v2.5.1 o ver Minima l Layer Pr otocol (ML LP). Commu nication t o the HDR/ CDS Reposi tory takes  place via  Simple Ob ject Acces s Protocol  (SOAP) We b Services .
  486   The medica tion data  elements r eturn to t he dispens ing site v ia HL7 mes saging. On ce the pre scriptions  arrive at  the dispe nsing site , they dis play below  any 'loca l' prescri ptions on  the Medica tion Profi le view. T he prescri ptions dis played to  the Pharma cist sort  by VA Phar macy site  and status . The disp ensing Pha rmacist ca n view the  remote pr escription s and sele ct one to  refill or  partially  fill.
  487   For label  printing,  VistA trig gers the H L7 message  stream th at execute s during t he refill  or partial  fill pres cription p rocesses.  The host l abel data  elements a re returne d to the d ispensing  site withi n the HL7  segment. T he event t riggers th e Pharmaci st to sele ct the dis pensing si tes printi ng device  to print a  host labe l.
  488   System Con figuration
  489   To use One VA Pharmac y, the use r turns on  the ‘ONEV A PHARMACY  FLAG (#30 01)’. The  'ONEVA PHA RMACY FLAG  (#3001)’  is located  on the ‘O UTPATIENT  SITE NAME  (#59)’ fil e. This fi eld will a llow each  division t o toggle t he OneVA P harmacy lo gic 'on' o r 'off' de pending on  current n eeds. The  user chang es the fie ld by usin g ‘FILEMAN  [FM]’ and  editing t he 'ONEVA  PHARMACY F LAG (#3001 )’ field.  The softwa re patch d elivers th e ‘ONEVA P HARMACY FL AG (#3001) ’ in the ' off' state . When thi s flag is  in the 'of f' state,  the HDR/CD S Reposito ry is not  queried fo r external  prescript ions and o ther VistA  instances  will not  be able to  refill pr escription s that bel ong to the  VistA ins tance with  the flag  set to the  'off' sta te. When i n the 'on'  state, al l prescrip tion queri es and act ions may b e taken fo r remote q ueries, re fills, and  partial f ills. In o rder to pr ocess pres criptions  from anoth er VistA i nstance, t hat instan ce will al so need to  have its  ‘ONEVA PHA RMACY FLAG  (#3001)’  set to the  'on' stat e.
  490   Steps to T urn On ONE VA PHARMAC Y FLAG (#3 001)
  491   To turn on  the ‘ONEV A PHARMACY  FLAG (#30 01)’ for a ll the div isions, us e the ‘VA  FILEMAN [D IUSER]’ ut ility and  perform th e followin g steps.
  492   Sign-in to  the VistA  system an d select t he menu op tion:  VA  FILEMAN [D IUSER].
  493   Figure 1:  OneVA Phar macy Flag:   VA FileM an
  494  
  495   Enter <FM>  and press  <ENTER>.
  496   Figure 2:  OneVA Phar macy Flag:   Enter FM  Prompt
  497  
  498   The system  displays  the option  name and  the prompt  for the s pecific Fi leMan feat ure, as di splayed in  the follo wing image .
  499   Figure 3:  OneVA Phar macy Flag:   VA FileM an Menu Pr ompt
  500  
  501   Enter <EN>  and press  <ENTER>.
  502   Figure 4:  OneVA Phar macy Flag:   Enter <E N> to Ente r or Edit  File Entri es Prompt
  503  
  504   The system  displays  the option  name and  the prompt  for the ‘ INPUT TO W HAT FILE’,  as displa yed in the  following  image.
  505   Figure 5:  OneVA Phar macy Flag:   Input to  What File  Prompt
  506  
  507   Enter <59>  for the ‘ OUTPATIENT  SITE (#59 )’ file an d press <E NTER>.
  508   The system  displays  the option  name and  the prompt  for the ‘ EDIT WHICH  FILE’, as  displayed  in the fo llowing im age.
  509   Figure 6:  OneVA Phar macy Flag:   Edit Whi ch Filed P rompt
  510  
  511   Enter <300 1> for the  ‘ONEVA PH ARMACY FLA G (#3001)’  field and  press <EN TER>.
  512   The system  displays  the option  name and  the prompt  for the ‘ THEN EDIT  FIELD’, as  displayed  in the fo llowing im age.
  513   Figure 7:  OneVA Phar macy Flag:   Then Edi t Field Pr ompt
  514  
  515   Press <ENT ER>.
  516   The system  displays  the option  name and  the prompt  for the s pecific ‘O UTPATIENT  SITE NAME’ , as displ ayed in th e followin g image.
  517   Figure 8:  OneVA Phar macy Flag:   Select O UTPATIENT  SITE NAME  Prompt
  518  
  519   Enter the  following  command <^ LOOP> and  press <ENT ER>.
  520   Figure 9:  OneVA Phar macy Flag:   ^LOOP Co mmand
  521  
  522   The system  displays  the option  name and  the prompt  for the s pecific ‘E DIT ENTRIE S BY: NAME //’, as di splayed in  the follo wing image .
  523   Figure 10:  OneVA Pha rmacy Flag :  Edit En tries by:   NAME// Pr ompt
  524  
  525   Press <ENT ER>.
  526   The system  displays  the option  name and  the prompt  for the s pecific ‘S TART WITH  NAME:  FIR ST//’, as  displayed  in the fol lowing ima ge.
  527   Figure 11:  OneVA Pha rmacy Flag :  Start w ith Name P rompt
  528  
  529   The ‘^LOOP ’ command  causes the  system to  display e ach divisi on, one by  one, allo wing the u ser to set  the ‘ON’  option for  the ‘ONEV A PHARMACY  FLAG’ for  each divi sion. Afte r pressing  the retur n key, the  next divi sion will  display un til the ‘L OOP ENDED! ’ message  displays.
  530   Enter <ON>  for each  division p ress <ENTE R> as disp layed in t he example  for a tes t VistA in stance in  the follow ing image.
  531   Figure 12:  OneVA Pha rmacy Flag :  Loop Co mmand Exam ple
  532  
  533   Data Flows
  534   The follow ing figure  displays  the OneVA  Pharmacy s ystem desi gn approac h.
  535   Figure 13:  OneVA Pha rmacy Desi gn Overvie w
  536  
  537   Overview o f the Busi ness Proce ss
  538   OneVA Phar macy provi des VistA  the functi onality to  allow Pha rmacists t o refill o r partial  a prescrip tion at an y VA Pharm acy locati on. It dec rements th e patients  number of  remaining  refill ba lance at t he host Ph armacy and  manages c ontrolled  substances  by displa ying a mes sage that  a controll ed substan ce cannot  be refille d outside  of the hos t Pharmacy .
  539   Overview o f the Sign ificant Re quirements
  540   Business R ules
  541   Business r ules are a  high-leve l function ality cond ition that  the syste m must sup port in or der to com plete the  business o f the orga nization.  Business r ules descr ibe the op erations,  definition s, and con straints t hat apply  to an orga nization.  The high-l evel overv iew of the  business  rules for  OneVA Phar macy inclu des filter ing on onl y ‘active’  prescript ions with  one or mor e refills  remaining  and the da te of the  next refil l is no ea rlier than  one week.  The presc ription ca nnot be a  controlled  substance  and the p atient mus t be regis tered in o ne or more  VistAs.
  542   The detail ed busines s rules fo r OneVA Ph armacy can  be found  in the One VA Pharmac y Requirem ents Speci fication D ocument (R SD), locat ed on the  VA SharePo int. The O neVA Pharm acy RSD is  accessibl e by follo wing this  LINK.
  543   Design Con straints
  544   Design con straints m andate des ign decisi ons that t he system  must suppo rt in orde r to compl ete the bu siness of  the organi zation. Th e high-lev el overvie w of the d esign cons traints fo r OneVA Ph armacy inc ludes usin g the Vist A routine  ‘Patient P rescriptio n Processi ng’ [PSO L M BACKDOOR  ORDERS] t o access l ocal patie nt informa tion; HDR/ CDS Reposi tory will  be accesse d via eMI  to retriev e data for  the medic ation prof ile screen ; and HL7  messages w ill be int egrated fo r informat ion exchan ge between  VistA sys tems.
  545   The detail s for the  design con straints f or OneVA P harmacy ca n be found  in the On eVA Pharma cy RSD, lo cated on t he VA Shar ePoint. Th e OneVA Ph armacy RSD  is access ible by fo llowing th is LINK.
  546   Documentat ion Specif ications
  547   The goal o f the ‘Doc umentation  Specifica tions’ is  to ensure  necessary  documentat ion is dev eloped acc ording to  standard.  As stated,  OneVA Pha rmacy is a n Innovati ons Progra m initiati ve therefo re many of  the share d document ation site s used by  the Integr ated Proje ct Teams ( IPT) is no t availabl e for this  project t herefore a ll OneVA P harmacy pr oduct/proj ect docume nts/artifa cts can be  access by  following  this LINK  to the VA  IBM Ratio nal Reposi tory for O neVA Pharm acy.
  548   The OneVA  Pharmacy p roject doe s maintain  all the p roduct/pro ject docum ents/artif acts inclu ding worki ng documen ts and can  be given  access thr ough Share Point perm issions. T he OneVA P harmacy VA  SharePoin t site is  accessible  by follow ing this L INK.
  549   Functional  Requireme nts
  550   A requirem ent specif ies functi ons that t he applica tion shoul d be able  to perform  and const raints on  applicatio n performa nce. The h igh-level  overview f unctional  specificat ions for O neVA Pharm acy includ es display ing the Me dication P rofile for  a patient  from all  other faci lities, ca pability t o refill f ull or par tial activ e prescrip tion for a  patient f rom anothe r VA Pharm acy locati on other t han the si te the pre scription  originated  from, dis pense loca l refills  as current ly designe d, generat e a prescr iption lab el, and ge nerate new  reports.
  551   The functi onal requi rements ar e detailed  in the On eVA Pharma cy RSD, lo cated on t he VA Shar ePoint. Th e OneVA Ph armacy RSD  is access ible by fo llowing th is LINK.
  552   Conceptual  Design
  553   Conceptual  Applicati on Design
  554   The softwa re archite cture for  OneVA Phar macy follo ws the pee r-to-peer  architectu ral model,  where one  VistA ins tance send s and rece ives data  to and fro m another  VistA inst ance. The  system uti lizes the  eMI ESB mo del provid ing messag e routing  and coordi nation of  multiple s ervices to  view a pa tient’s pr escription  record an d modify t hat record  in the ho st VistA s ystem.
  555   Applicatio n Context
  556   The follow ing diagra m shows an  example o f VistA an d how it w ill exist  within the  design of  the eMI E SB model w hen OneVA  Pharmacy i s implemen ted.
  557   Figure 14:  Applicati on Archite ctural Dia gram
  558  
  559   The entiti es display ed in the  Applicatio n Architec ture Diagr am are exp lained as  follows:
  560   VistA is t he user in terface fo r initiati ng prescri ption quer ies and re questing p rescriptio n refills  from other  VistA ins tances.
  561   eMI ESB is  the messa ging compo nent to ha ndle MLLP  HL7 endpoi nts and th e SOAP web  service c all to the  HDR/CDS R epository.
  562   HDR/CDS Re pository i s the VAs  authoritat ive data s ervice rep ository fo r VistA ap plication  and servic es contain ing nation alized, pa tient-cent ric, and c linical da ta.
  563   High-Level  Applicati on Design
  564   The High-L evel Appli cation Des ign identi fies the m ajor compo nents of t he applica tion and t he relatio nships of  the major  applicatio n componen ts to each  other. Us e Cases ar e used in  this SDD t o document  the logic al applica tion desig n for OneV A Pharmacy .
  565   The follow ing use ca ses have t he pre-con dition tha t the pati ent is kno wn and reg istered in  one or mo re VistA i nstances.
  566    The act o f register ing a pati ent in Vis tA trigger s an Admis sion Disch arge Trans fer (ADT)  registrati on message  to be sen t to the M aster Vete ran Index  (MVI) loca ted in the  Austin In formation  Technology  Center (A ITC). For  each new p atient, th e MVI crea tes and as signs an I ntegration  Control N umber (ICN ) and send s this num ber along  with other  informati on to the  initiating  VistA in  response t o the ADT  message. F urther the  MVI store s and corr elates the  local Vis tA Patient  Data File  Numbers ( DFNs) with  the natio nal ICN. O ne nationa l patient  ICN is cor related to  (among ot her system s’ patient  identifie rs) many l ocal VistA  patient i dentifiers . The ICN  enables th e sharing  of patient  data betw een operat ionally di verse syst ems.
  567   Figure 15:  High-leve l Use Case  Context D iagram
  568  
  569   The follow ing figure  provides  an image o f both the  business  capability  with the  technical  components  on the On eVA Pharma cy softwar e. The wor ds labeled  in the co lor blue r eflect Use  Case 1 –  View Order  component s – and th e words la beled in t he color r ed reflect  Use Case  2 – Dispen se Order f rom anothe r VA Pharm acy locati on compone nts.
  570   Figure 16:  OneVA Pha rmacy Busi ness and T echnical C omponents  High-Level  Overview
  571  
  572   Use Case N ame: View  Orders
  573   The ‘View  Orders’ Us e Case des cribes the  process f or users t o view all  of a pati ent’s acti ve, suspen ded, on ho ld, discon tinued, or  expired p rescriptio n orders.  This proce ss allows  a user to  view presc ription or der inform ation in o ne place w hether the  order ori ginated fr om a dispe nsing or h ost VistA  instance.
  574    The OneVA  Pharmacy’ s feature  to query t he HDR/CDS  Repositor y (step 2  in the flo w of event s) will no t execute  if the pat ient has n ot been tr eated at m ore than o ne VA Medi cal Center .
  575   Actors
  576   User (e.g.  Pharmacis t)
  577   Dispensing  VistA Ins tance
  578   HDR/CDS Re pository
  579   eMI ESB (p roxy to ho st VistAs)
  580   Pre-Condit ions
  581   Patient mu st have an  Integrati on Control  Number (I CN)
  582   Patient mu st have in formation  populated  in the sys tem
  583   User must  have acces sed the ‘R X (PRESCRI PTIONS) [P SO RX]’ me nu within  VistA and  hold the a ppropriate  security  keys for t heir user  role, such  as PSORPH  to identi fy the use r as a Pha rmacist. ( No separat e Security  Key requi red.)
  584   Flow of Ev ents
  585   User enter s the Medi cation Pro file scree n.
  586   The dispen sing VistA  instance  will retri eve the pr escription s from HDR /CDS Repos itory.
  587   The dispen sing VistA  instance  will send  a request  via the eM I ESB to t he HDR/CDS  Repositor y with the  patient i dentifiers  to retrie ve the pre scriptions  with a st atus of ‘S uspended’,  ‘Active’,  ‘Hold’, “ Discontinu ed (within  the past  120 days)”  or “Expir ed (within  the past  120 days)”  from all  previous t reatment f acilities  excluding  local faci lity.
  588   The eMI ES B will exc lude the C linical Da ta Health  Care Repos itory/Depa rtment of  Defense (C HDR/DoD) p rescriptio ns that ar e availabl e in the H DR/CDS Rep ository fo r active d ual patien ts.
  589   Exceptions
  590   2a. Patien t Not Foun d
  591   2b. Patien t Found, N o Prescrip tion Recor ds
  592   2c. eMI ES B is not a ccessible.
  593   2d. HDR/CD S Reposito ry is not  accessible .
  594   2e. Multip le Patient s Found
  595   3a. Patien t Found, N o Prescrip tion Recor ds Matchin g Filter
  596   System Mes sage
  597   1a. Please  wait. Che cking for  prescripti ons at oth er VA Phar macy locat ions. This  may take  a moment…
  598   1b. Eligib ility: RX  PATIENT ST ATUS: OPT  NSC
  599   2a. Patien t Identifi er Not Fou nd
  600   2b. Patien t Found wi th no Pres cription R ecords
  601   2c. The sy stem is do wn or not  responding . Press RE TURN to co ntinue.
  602   2d. The RX  Database  is not Res ponding to  the Reque st
  603   2d. The RX  Database  responded  with an er ror
  604   2e. Multip le Patient  Matches F ound – Cor rect MVI ( note: MVI  is the Mas ter Vetera n Index. P lease know  the acron ym is not  spelled ou t in the e rror messa ge.) Pleas e know the  acronym i s not spel led out wi thin the e rror messa ge.)
  605   3a. Patien t Found wi th no Pres cription R ecords Mat ching Sear ch Criteri a
  606   Use Case N ame: Dispe nse Local  Order
  607   The “Dispe nse Local  Order’ Use  Case desc ribes the  process fo r users to  dispense  local orde r.  Docume nted in th e OneVA Ph armacy RSD  is a busi ness requi rement tha t the syst em shall p rovide the  ability t o dispense  local ref ills as cu rrently de signed the refore thi s Use Case  is being  presented  for test c ase develo pment and  documentat ion purpos e.
  608   Actors
  609   User (Prov ider, Phar macist, et c.)
  610   Dispensing  VistA Ins tance
  611   Pre-Condit ions
  612   Patient mu st have an  ICN.
  613   Dispensing  VistA ins tance has  the requir ed amount  of prescri bed medica tion inven tory on-ha nd.
  614   User must  have acces sed the ‘R X (PRESCRI PTIONS) [P SO RX]’ me nu within  VistA and  hold the a ppropriate  security  keys for t heir user  role, such  as PSORPH  to identi fy the use r as a Pha rmacist. ( No separat e Security  Key requi red.) If t he user do es not hol d the PSOR PH key, th e refill a nd partial  fill opti ons will b e ‘unavail able’, and  will appe ar in pare nthesis (i .e RF (Ref ill)). If  screening  logic is n ot met wit hin list m anager, it  will plac e parenthe sis around  the actio n indicati ng the act ion is una vailable.  The screen ing logic  checks to  ensure the  user has  the approp riate secu rity key ( PSORPH) in  order to  use the re fill and p artial fil l action i tems.
  615   Flow of Ev ents
  616   User selec ts RF (Ref ill) for a  local dis pensing pr escription  from the  Medication  Profile s creen.
  617   The dispen sing VistA  will upda te the pre scription;  decrement  refills,  etc.
  618   The dispen sing VistA  will disp ense the p rescriptio n.
  619   Alternate  Flow
  620   User selec ts PF (Par tial fill)  for a loc al dispens ing prescr iption fro m the Medi cation Pro file scree n.
  621   The local  dispensing  VistA wil l update t he prescri ption; par tial fill  date, etc.
  622   The local  dispensing  VistA wil l dispense  the presc ription.
  623   Use Case N ame: Dispe nse Anothe r VA Pharm acy Order
  624   The ‘Dispe nse anothe r VA Pharm acy Order’  Use Case  describes  the proces s for user s to dispe nse an ord er that or iginated f rom anothe r VA Pharm acy locati on. Once t he user ex ecutes the  View Orde r Use Case , the user  can selec t an activ e prescrip tion from  the Medica tion Profi le screen  that origi nated in a nother VA  Pharmacy V istA insta nce to dis pense. Aft er selecti ng the pre scription  and execut ing the fi ll order r equest, th e system w ill send a  message t o the orig inating ho st VistA i nstance. T his reques t will dec rement the  prescript ion count,  but will  not affect  the inven tory of th e host fac ility. Whe n the decr ement is s uccessful,  communica tion is ma de back to  the dispe nsing Vist A instance  to comple te the pro cess and t o print a  prescripti on label.
  625   Actors
  626   User (e.g.  Pharmacis t)
  627   Dispensing  VistA Ins tance
  628   eMI ESB
  629   Host VistA  Instance
  630   Pre-Condit ions
  631   Patient mu st have an  ICN.
  632   Patient mu st have in formation  populated  in the sys tem
  633   Dispensing  VistA ins tance has  the requir ed amount  of prescri bed medica tion inven tory on-ha nd.
  634   User must  have acces sed the ‘R X (PRESCRI PTIONS) [P SO RX]’ me nu within  VistA and  hold the a ppropriate  security  keys for t heir user  role, such  as PSORPH  to identi fy the use r as a Pha rmacist. ( No separat e Security  Key requi red.)
  635   Flow of Ev ents
  636   User selec ts a presc ription th at origina ted from a nother VA  Pharmacy V istA insta nce and RF  (Refill)  from the M edication  Profile sc reen.
  637   The prescr iption mus t be in ‘A ctive’ sta tus.
  638   The dispen sing VistA  instance  will send  a refill o rder reque st to the  eMI ESB.
  639   The eMI ES B will rou te the ref ill order  request to  the host  VistA inst ance.
  640   The host V istA will  conduct or der checks .
  641   The host V istA will  update the  prescript ion order  and decrem ent refill s.
  642   The host V istA will  create a p rescriptio n label.
  643   The dispen sing VistA  instance  will dispe nse medica tion.
  644   The dispen sing VistA  instance  will print  the label  to the di spensing l ocation pr inter.
  645   Alternate  Flow
  646   User selec ts a presc ription th at origina ted from a nother VA  Pharmacy V istA insta nce and PF  (Partial  fill) from  the Medic ation Prof ile screen .
  647   The prescr iption mus t be in ‘A ctive’ sta tus.
  648   The dispen sing VistA  instance  will send  a partial  fill order  request t o the eMI  ESB.
  649   The eMI ES B will sen d a partia l fill ord er request  to the ho st VistA i nstance.
  650   The host V istA will  conduct or der checks .
  651   The host V istA will  update the  prescript ion order  and update  partial f ill date.
  652   The host V istA will  create a p rescriptio n label.
  653   The dispen sing VistA  instance  will dispe nse medica tion.
  654   The dispen sing VistA  instance  will print  the label  to the di spensing l ocation pr inter.
  655   Exceptions
  656   2. Status  is not ‘Ac tive’
  657   3a. eMI ES B is not a ccessible.
  658   4a. The ho st VistA i s not acce ssible
  659   4b. The pr escription  is a cont rolled sub stance
  660   5a. The ho st VistA i nstance fa ils the or der.
  661   System Mes sage
  662   1a. Please  wait. Che cking for  remote pre scriptions . This may  take a mo ment…
  663   1b. Eligib ility: RX  PATIENT ST ATUS: OPT  NSC//
  664   2. Only 'A CTIVE' rem ote prescr iptions ma y be actio ned at thi s time.
  665   3a. The sy stem is do wn or not  responding . Press RE TURN to co ntinue.
  666   3b. Invali d HL7 Data  Format
  667   4a. The sy stem is do wn or not  responding . Could no t query ot her VA Pha rmacy loca tions. Pre ss RETURN  to continu e.
  668   4b. Cannot  refill Rx # xxxxxxx.  This is a  controlle d substanc e.
  669   5a. The fo llowing ar e the vari ous standa rd system  messages t hat could  display
  670   *** Drug i s inactive  for Rx #  xxxxxxx ca nnot be re filled *** " (refill  prescripti on allowed  on inacti ve drugs)
  671   Can't refi ll Rx # xx xxxxx it i s not for  this patie nt.
  672   Cannot ref ill, Rx is  discontin ued or exp ired. Late r Rx may e xist.
  673   Can't refi ll, no ref ills remai ning.
  674   This drug  has been c hanged; No  refills a llowed.
  675   The system  is down o r not resp onding. Co uld not qu ery other  VA Pharmac y location s. Press R ETURN to c ontinue.
  676   The system  is down o r not resp onding. Th e other VA  Pharmacy  location h as not ins talled the  OneVA Pha rmacy func tionality.
  677   The system  is down o r not resp onding. Th e other VA  Pharmacy  location h as install ed the One VA Pharmac y software , but is c urrently n ot accepti ng refill  or partial  fill requ est.
  678   BWF – ADDE D BELOW IT EMS:
  679   Cannot ref ill. Presc ription is  a Titrati on prescri ption.
  680   Cannot com plete part ial fill.  Prescripti on is a Ti tration pr escription .
  681   Use Case N ame: OneVA  Pharmacy  Prescripti on Report
  682   The ‘OneVA  Pharmacy  Prescripti on Report’  Use Case  allows the  user to a ccess repo rts relate d to the o rders crea ted from t he OneVA P harmacy pr ocess. Onc e the user  executes  the OneVA  Pharmacy P rescriptio n Report U se Case, t he user ca n generate  three dif ferent rep orts. The  reports al low the us er to view  what pres criptions  were fille d by anoth er VA Phar macy locat ion or wha t other VA  Pharmacy  locations  have fille d prescrip tions for  a targeted  facility.
  683   Actors
  684   User (Prov ider, Phar macist, et c.)
  685   Dispensing  VistA Ins tance
  686   Pre-Condit ions
  687   User has a ccessed th e PSOR One VA Pharmac y Prescrip tion Repor t [PSO REM OTE RX REP ORT] menu.  (No separ ate Securi ty Key req uired.) Th is is a ne w menu off  the ‘Rx ( Prescripti ons) [PSO  RX]’ menu,  already i n producti on.
  688   Flow of Ev ents
  689   User selec ts a repor t option f rom the ‘O neVA Pharm acy Prescr iption Rep ort’ menu.
  690   User selec ts ‘Prescr iptions di spensed fo r other Ho st Pharmac ies’ repor t.
  691   User selec ts ‘Our pr escription s, filled  by other f acilities  as the Dis pensing Ph armacy’ re port.
  692   User selec ts ‘All On eVA Pharma cy Prescri ption Acti vity’ repo rt
  693   User selec ts ‘D” - “ Date Range ” or go to  step 3 or  step 4
  694   User enter s start da te.
  695   User enter s end date .
  696   User selec ts “Patien t” or go t o step 4.
  697   User enter s Patient  Name
  698   User selec ts “Site”.
  699   User enter s Institut ion Name.
  700   Alternate  Flow
  701   N/A
  702   Exceptions
  703   N/A
  704   System Mes sage
  705   N/A
  706   Applicatio n Location s
  707   OneVA Phar macy patch  is an enh ancement t o the Vist A Pharmacy > Outpatie nt Pharmac y Manager  package. T he OneVA P harmacy pa tch extend s the exis ting VistA  to provid e Pharmaci sts direct  access to  any activ e, refilla ble prescr iption fro m any VA P harmacy lo cation. Ho wever, int egration w ith eMI an d the HDR/ CDS Reposi tory are c ritical fo r the succ ess of the  deploymen t but are  outside th e developm ent of the  OneVA Pha rmacy team ’s deliver ables.
  708   Conceptual  Data Desi gn
  709   Project Co nceptual D ata Model
  710   Not applic able.
  711   Database I nformation
  712   OneVA Phar macy inclu des change s to the R emote Pres cription L og File (# 52.09), Re fill Multi ple (#52.1 ) of the P rescriptio n File (#5 2), Partia l Multiple  (#52.2) o f the Pres cription F ile (#52),  and the n ew Remote  Prescripti on Log Fil e (#52.09) .
  713   Remote Pre scription  Log File ( #52.09)
  714   The Remote  Prescript ion Log Fi le (#52.09 ) logs all  activity  related to  ‘remote r efills’ an d ‘partial  fills’. T he log fil e will rec ord all ac tions take n by the l ocal or di spensing s ite as wel l as all a ctions tak en by any  external f acility fo r any remo te or host  prescript ion.
  715   Field Numb er
  716   Field Name
  717   Pointers
  718   Cross Refe rences and  Record In dices
  719   Descriptio n
  720   .01
  721   LOG DATE/T IME
  722   N/A
  723   52.09^B
  724   Date/Time  of refill/ partial fi ll transac tion.
  725   .02
  726   PATIENT
  727   PATIENT (# 2)
  728   52.09^C
  729   This is th e patient  for which  a refill o r partial  was execut ed by anot her VA Pha rmacy othe r than the  host site .
  730   .03
  731   RX NUMBER
  732   N/A
  733   52.9^D
  734   This is th e RX Numbe r from the  prescript ion file ( #52).
  735   .04
  736   SITE NUMBE R
  737   INSTITUTIO N (#4)
  738   5209^E
  739  
  740   .05
  741   REQUEST TY PE
  742   N/A
  743  
  744   RF – REFIL L
  745   PR – PARTI AL FILL
  746   OR – OUTSI DE REFILL
  747   OP – OUTSI DE PARTIAL  FILL
  748   .06
  749   OUTGOING R EQUEST PHA RMACIST
  750   NEW PERSON  (#200)
  751   N/A
  752   This is th e pharmaci st who ini tiated the  refill or  partial f ill reques t to the h ost facili ty
  753   .061
  754   REMOTE FIL LING PHARM ACIST
  755   N/A
  756   N/A
  757   This pharm acist requ ested a re fill or pa rtial fill  from a ho st facilit y.
  758   .07
  759   QUANTITY
  760   N/A
  761   N/A
  762   This is th e quantity  dispensed .
  763   .08
  764   DAYS SUPPL Y
  765   N/A
  766   N/A
  767   This is th e day’s su pply for t he medicat ion.
  768   .09
  769   REFILL/PAR TIAL DATE
  770   N/A
  771   N/A
  772   This is th e date of  the refill  or partia l fill req uest. This  represent s the date  as it is  logged in  the .01 fi eld of eit her the re fill or pa rtial sub  files with in the pre scription  file.
  773   .1
  774   DISPENSED  DATE
  775   N/A
  776   N/A
  777   This is th e dispense  date as i t is held  in the DIS PENSED DAT E within t he REFILL  or PARTIAL  sub files  of the PR ESCRIPTION  file.
  778   1
  779   REMOTE DRU G NAME
  780   N/A
  781   N/A
  782   This is th e name of  the drug b eing dispe nsed for t his reques t.
  783   1.1
  784   LOCAL (MAT CHED) DRUG
  785   DRUG (#50)
  786   N/A
  787   This drug  was used l ocally for  the ‘host ’ refill o r partial  fill.
  788   1.2
  789   TOTAL REFI LL/PARTIAL  FILL COST
  790   N/A
  791   N/A
  792   This is th e total co st for the  ‘host’/fi lling faci lity. The  cost is de rived by u sing the c ost of the  drug at t he time of  the refil l or parti al fill. T he cost is  being ret rieved fro m file 50,  field 13.
  793   2
  794   MESSAGE DE TAILS
  795   N/A
  796   N/A
  797   Any messag e details  related to  the trans action.
  798   3
  799   LABEL DATA
  800   N/A
  801   N/A
  802   Label data  word proc essing fie ld.
  803   1.3
  804   VA PRODUCT  ID
  805   N/A
  806   N/A
  807   This is th e VA produ ct ID that  will be p assed in b y the ‘hos t’ VistA s ystem.
  808   STANDARD D ATA DICTIO NARY #52.0 9 -- REMOT E PRESCRIP TION LOG F ILE (VistA )
  809   52.09,.01’  LOG DATE/ TIME’ 0;1  DATE (Requ ired)
  810   INPUT TRAN SFORM: S % DT="ESTR"  D ^%DT S X =Y K:Y<1 X
  811   LAST EDITE D:’ APR 26 , 2014
  812   HELP-PROMP T:’ Enter  the date/t ime for th is transac tion.
  813   DESCRIPTIO N:’ This i s the date /time asso ciated wit h this rem ote prescr iption tra nsaction.  The date/t ime repres ents the d ate/time t he message  was proce ssed and f iled local ly.
  814   CROSS-REFE RENCE: 52. 09^B
  815   1)= S ^PSR XR(52.09," B",$E(X,1, 30),DA)=""
  816   2)= K ^PSR XR(52.09," B",$E(X,1, 30),DA)
  817   52.09,.02’  PATIENT’   0;2 POINT ER TO PATI ENT FILE ( #2) (Requi red)
  818   LAST EDITE D:’ APR 26 , 2014 
  819   HELP-PROMP T:’ Enter  the Patien t for whic h this ref ill or par tial fill  occurred.
  820   DESCRIPTIO N: This is  the patie nt for whi ch a refil l or parti al fill re quest was  generated.  
  821   CROSS-REFE RENCE: 52. 09^C 
  822   1)= S ^PSR XR(52.09," C",$E(X,1, 30),DA)=""
  823   2)= K ^PSR XR(52.09," C",$E(X,1, 30),DA)
  824   Cross refe rence for  patient IE N. 
  825   52.09,.03’  RX NUMBER ’ 0;3 FREE  TEXT (Req uired)
  826   INPUT TRAN SFORM: K:$ L(X)>20!($ L(X)<1) X
  827   LAST EDITE D:’ APR 26 , 2014 
  828   HELP-PROMP T:’ Enter  the remote  RX number . This is  the RX num ber from t he remote  facility.  1-20 chara cters. 
  829   DESCRIPTIO N:  The RX # as store d at the r emote faci lity.
  830   CROSS-REFE RENCE: 52. 09^D 
  831   1)= S ^PSR XR(52.09," D",$E(X,1, 30),DA)=""
  832   2)= K ^PSR XR(52.09," D",$E(X,1, 30),DA)
  833   Cross refe rence for  remote RX  number. 
  834   52.09,.04’  SITE NUMB ER’ 0;4 PO INTER TO I NSTITUTION  FILE (#4)  (Required )
  835   LAST EDITE D:’ APR 28 , 2014 
  836   HELP-PROMP T:’ Select  the site  associated  with this  remote RX
  837   DESCRIPTIO N:  Site n umber for  the remote  facility.
  838   CROSS-REFE RENCE: 52. 09^E 
  839   1)= S ^PSR XR(52.09," E",$E(X,1, 30),DA)=""
  840   2)= K ^PSR XR(52.09," E",$E(X,1, 30),DA)
  841   Site Numbe r Cross re ference.
  842   52.09,.05’  REQUEST T YPE’ 0;5 S ET
  843   'RF' FOR R EFILL; 
  844   PR' FOR PA RTIAL FILL
  845   'OR' FOR O UTSIDE REF ILL; 
  846   'OP' FOR O UTSIDE PAR TIAL FILL;  
  847   LAST EDITE D:’ AUG 04 , 2014 
  848   HELP-PROMP T:’ Select  the type  of request  being mad e. Refill( RF), Parti al Fill(PR ), Outside  Refill (O R), or Out side Parti al Fill (O P).
  849   DESCRIPTIO N: This fi elds holds  the type  of request  being mad e for this  RX.
  850   52.09,.06’  OUTGOING  REQUEST PH ARMACIST 0 ;6 POINTER  TO NEW PE RSON FILE  (#200) (Re quired)
  851   LAST EDITE D:’ AUG 04 , 2014 
  852   HELP-PROMP T:’ Enter  the Pharma cist for t his refill  or partia l fill req uest.  DES CRIPTION:   This is t he Pharmac ist who in itiated th e refill o r partial  fill reque st to the  remote fac ility.
  853   52.09,.061 ’REMOTE FI LLING PHAR MACIST 0;1 1 FREE TEX T
  854   INPUT TRAN SFORM: K:$ L(X)>30!($ L(X)<3) X
  855   LAST EDITE D:’ AUG 04 , 2014 
  856   HELP-PROMP T:’ Answer  must be 3 -30 charac ters in le ngth. 
  857   DESCRIPTIO N:  This i s the phar macist tak ing action  on the se lected RX.  
  858   52.09,.07’  QUANTITY’  0;7 NUMBE R
  859   INPUT TRAN SFORM: K:+ X'=X!(X>99 99)!(X<0)! (X?.E1"."1 N.N) X
  860   LAST EDITE D:’ APR 26 , 2014 
  861   HELP-PROMP T:’ Enter  the quanti ty that wa s dispense d with thi s refill o r partial  fill. 
  862   DESCRIPTIO N:  This i s the quan tity assoc iated with  this refi ll or part ial fill. 
  863   52.09,.08’  DAYS SUPP LY 0;8 NUM BER
  864   INPUT TRAN SFORM: K:+ X'=X!(X>99 9)!(X<0)!( X?.E1"."1N .N) X
  865   LAST EDITE D:’ APR 26 , 2014 
  866   HELP-PROMP T:’ Enter  the days s upply for  this refil l or parti al fill. A  numeric v alue 0-999
  867   DESCRIPTIO N:  This i s the days  supply fo r this ref ill or par tial fill  action. 
  868   52.09,.09’  REFILL/PA RTIAL DATE ’0;9 DATE
  869   INPUT TRAN SFORM: S % DT="ETXR"  D ^%DT S X =Y K:Y<1 X
  870   LAST EDITE D:’ MAR 08 , 16 
  871   HELP-PROMP T:’ Enter  the date/t ime for th is refill  or partial  fill requ est. 
  872   DESCRIPTIO N:’ This i s the date  for the r efill or p artial fil l request.  This repr esents the  date/time  as it is  logged in  the .01 fi eld of eit her the RE FILL or PA RTIAL fill . subfile  within the  PRESCRIPT ION file ( #52) on th e remote s ystem. 
  873   52.09,.1’  DISPENSED  DATE’ 0;10  DATE
  874   INPUT TRAN SFORM: S % DT="ETXR"  D ^%DT S X =Y K:Y<1 X
  875   LAST EDITE D:’ MAR 08 , 16 
  876   HELP-PROMP T:’ Enter  the dispen se date fo r this ref ill or par tial fill  request. 
  877   DESCRIPTIO N:’ This i s the Disp ense date/ time as it  is held i n the DISP ENSED DATE  within th e REFILL s ubfile of  the PRESCR IPTION (#5 2) file, o r the DISP ENSED DATE  within th e PARTIAL  subfile of  the PRESC RIPTION fi le. 
  878   52.09,1 ’R EMOTE DRUG  NAME’ 1;1  FREE TEXT
  879   INPUT TRAN SFORM: K:$ L(X)>120!( $L(X)<1) X
  880   LAST EDITE D:’ AUG 12 , 2014 
  881   HELP-PROMP T:’ Enter  the name o f the drug  associate d with thi s refill o r partial  fill reque st, 1-120  characters
  882   DESCRIPTIO N: This is  the name  of the dru g being di spense for  this requ est. 
  883   52.09,1.1’  LOCAL (MA TCHED) DRU G  1;2 POI NTER TO DR UG FILE (# 50)
  884   LAST EDITE D:’ AUG 12 , 2014 
  885   HELP-PROMP T:’ Enter  the name o f the loca l drug tha t matches  the remote  (incoming ) drug.  D ESCRIPTION :’ This is  the drug  that was u sed for lo cally for  the 'remot e' refill  or partial  fill. Sin ce drug IE NS and nam es may dif fer betwee n sites, a  user must  match the  remote dr ug name to  a local d rug. 
  886   52.09,1.2’  TOTAL REF ILL/PARTIA L FILL COS T 1;3 NUMB ER
  887   INPUT TRAN SFORM: S:X ["$" X=$P( X,"$",2) K :X'?.N.1". ".2N!(X>99 99999.9999 999)!(X<0)  X
  888   LAST EDITE D:’ AUG 12 , 2014 
  889   HELP-PROMP T:’ Type a  dollar am ount betwe en 0 and 9 999999.99,  2 decimal  digits. 
  890   DESCRIPTIO N:’ This i s the tota l cost for  the 'remo te'/fillin g facility . The cost  is derive d by using  the cost  of the dru g at the t ime of the  refill or  partial f ill. The c ost is bei ng retriev ed from fi le 50, fie ld 13.
  891   52.09,1.3’  VA PRODUC T ID’ 1;4  FREE TEXT
  892   INPUT TRAN SFORM: K:$ L(X)>50!($ L(X)<1) X
  893   LAST EDITE D:’ APR 06 , 16 
  894   HELP-PROMP T:’ Answer  must be 1 -50 charac ters in le ngth. 
  895   DESCRIPTIO N: This is  the VA pr oduct ID t hat will b e passed i n by the ' host' vist a system. 
  896   52.09,2 ’M ESSAGE DET AILS’ 2;0  WORD-PROCE SSING #52. 092 (IGNOR E "|")
  897   DESCRIPTIO N: This is  the HL7 m essage tha t is assoc iated with  the refil l or parti al fill re quest.
  898   52.09,3’ L ABEL DATA’ 3;0 WORD-P ROCESSING  #52.093 (N OWRAP) (IG NORE "|")
  899   DESCRIPTIO N:  This c ontains th e label da ta returne d from the  remote fa cility for  a refill  or partial  fill.
  900   Refill Mul tiple (#52 .1) of the  Prescript ion File ( #52)
  901   Field Numb er
  902   Field Name
  903   Pointers
  904   Cross Refe rences and  Record In dices
  905   Descriptio n
  906   91
  907   Remote Fil l Site
  908   Institutio n File (#4 )
  909   “RFIL”
  910   The site t hat perfor med the re fill actio n on behal f of the h ost site.
  911   92
  912   Remote Pha rmacist
  913   N/A
  914   N/A
  915   The name o f the phar macist tha t performe d the refi ll action  on behalf  of the hos t site.
  916   93
  917   Remote Pha rmacist Ph one
  918   N/A
  919   N/A
  920   This is th e phone nu mber for t he pharmac ist that p erformed t he refill  action.
  921   Partial Mu ltiple (#5 2.2) of th e Prescrip tion File  (#52)
  922   Field Numb er
  923   Field Name
  924   Pointers
  925   Cross Refe rences and  Record In dices
  926   Descriptio n
  927   91
  928   Remote Fil l Site
  929   Institutio n File (#4 )
  930   “RFIL”
  931   The site t hat perfor med the pa rtial acti on on beha lf of the  host site.
  932   92
  933   Remote Pha rmacist
  934   N/A
  935  
  936   N/A
  937  
  938   The pharma cist that  performed  the partia l fill act ion on beh alf of the  host site .
  939   93
  940   Remote Pha rmacist Ph one
  941   N/A
  942   N/A
  943   This is th e phone nu mber for t he pharmac ist that p erformed t he partial  fill acti on.
  944   OneVA Phar macy Flag  (#3001) of  the Outpa tient Site  file (#59 )
  945   Field Numb er
  946   Field Name
  947   Pointers
  948   Cross Refe rences and  Record In dices
  949   Descriptio n
  950   3001
  951   OneVA Phar macy Flag
  952   N/A
  953   N/A
  954   This is th e OneVA ph armacy fla g, which c ontrols th e remote p rescriptio n logic. T he flag ca n be set t o ‘On’ or  ‘Off’. Whe n in the O n state, r emote pres criptions  can be que ried, and  actions ca n be taken  on the ac tive presc riptions.  When in th e ‘Off’ st ate, presc riptions w ill not be  queried,  and incomi ng refill/ partial fi ll request s will not  be proces sed.
  955   User Inter face Data  Mapping
  956   The OneVA  Pharmacy p atch uses  the same V istA ‘roll  and scrol l’ user in terface fo und in all  the VistA  instances  deployed  throughout  the VA En terprise.  The patch  will modif y the func tionality  within the  “Patient  Prescripti on Process ing” [PSO  LM BACKDOO R ORDERS]  menu and a dd a new m enu to the  ‘Rx (Pres criptions)  [PSO RX]’ called One VA Pharmac y Prescrip tion Repor t [PSO REM OTE RX REP ORT] to ac cess the n ew OneVA P harmacy re ports.
  957   Applicatio n Screen I nterface
  958   The OneVA  Pharmacy p atch uses  the same V istA ‘roll  and scrol l’ applica tion scree n interfac e found in  the VistA  instances  deployed  throughout  the VA En terprise.
  959   Applicatio n Report I nterface
  960   The system  shall pro vide the a bility to  generate a nd print p rescriptio n reports  that were  filled by  another VA  Pharmacy  other than  the origi nating hos t pharmacy . There ar e three re ports bein g develope d as part  of OneVA P harmacy an d will be  available  in the new  menu call ed: OneVA  Pharmacy P rescriptio n Report [ PSO REMOTE  RX REPORT ]. They ar e:
  961   Prescripti ons dispen sed for ot her Host P harmacies
  962   Our prescr iptions, f illed by o ther facil ities as t he Dispens ing Pharma cy
  963   All OneVA  Pharmacy P rescriptio n Activity
  964   Selecting  a Report a nd Report  Search Opt ions
  965   Three sear ch options  will be m ade availa ble for ea ch of the  OneVA Phar macy repor ts. They a re:
  966   D: Date Ra nge
  967   P: Patient
  968   S: Site
  969   When selec ting ‘D: D ate Range’  the user  is prompte d to enter  a start d ate and en d date. Th e system d efaults to  30-days p rior to cu rrent syst em date as  the start  date and  the curren t date as  the end da te.
  970   When selec ting ‘P: P atient’ th e user is  prompted t o specify  the patien t’s name,  social sec urity numb er, last f our digits  of the so cial secur ity number , or first  initial o f last nam e with the  last four  digits of  the socia l security  number.
  971   When selec ting ‘S: S ite’ the u ser is pro moted to e nter an In stitution’ s Name, St atus, Stat ion Number , Official  VA Name,  Current Lo cation, Co ding Syste m/ID Pair,  National  Provider I dentifier  (NPI), Sta tus, Name  (Changed F rom), or C oding Syst em.
  972   The follow ing table  lists the  data field s that wil l be displ ayed from  the ‘REMOT E PRESCRIP TION LOG F ILE (#52.0 9) and mad e availabl e on the r eport page .
  973   Table 3: R eport Data  Fields
  974   Report Col umn
  975   Data Sourc e
  976   DATE FILLE D
  977   REMOTE PRE SCRIPTION  LOG FILE ( #52.09) –  REFILL/PAR TIAL DATE  (.09)
  978   PATIENT
  979   REMOTE PRE SCRIPTION  LOG FILE ( #52.09) –  PATIENT (. 02)
  980   DRUG NAME
  981   REMOTE PRE SCRIPTION  LOG FILE ( #52.09) –  LOCAL (MAT CHED) DRUG  (1.1)
  982   TYPE
  983   REMOTE PRE SCRIPTION  LOG FILE ( #52.09) –  REQUEST TY PE (.05)
  984   QTY
  985   REMOTE PRE SCRIPTION  LOG FILE ( #52.09) –  QUANTITY ( 0.7)
  986   DSUP
  987   REMOTE PRE SCRIPTION  LOG FILE ( #52.09) –  DAYS SUPPL Y (.08)
  988   All OneVA  Pharmacy r eports con tain a sum mary page  and a deta iled page  and all th ree report s have the  same form at and bas ic informa tion regar dless of t he search  option sel ected.
  989   The follow ing is an  example of  the summa ry page la yout for t he OneVA P harmacy re ports.
  990   Figure 17:  OneVA Pha rmacy Repo rt Example :  Summary  Page
  991  
  992   The type o f report s elected de termines t he refills  shown on  a report a nd the sea rch option  specified  as descri bed within  this docu ment. A ro w number i dentifies  each refil l/partial  fill. For  each row t he date pr ocessed, p atient nam e, drug na me, quanti ty dispens ed, and th e quantity  supplied  displays.  There are  four refil l type val ues.  They  are:
  993   RF – refil ls
  994   PR - parti al refills
  995   OR – refil ls perform ed by othe r sites
  996   OP – parti al fills p erformed b y other si tes
  997   The total  cost is th e sum of t he costs o f all item s included  in this r eport and  is availab le on the  report ‘Pr escription s we have  dispensed  for other  Host Pharm acies’.
  998   The system  will be d esigned to  allow the  user to e nter the S elect Item  (SI) acti on or as a  short-cut  feature,  enter the  row number .
  999   The follow ing is an  example of  the detai l page lay out for th e OneVA Ph armacy rep orts.
  1000   Figure 18:  OneVA Pha rmacy Repo rt Example :  Details  Page
  1001  
  1002   Unmapped D ata Elemen t
  1003   Not applic able.
  1004   Conceptual  Infrastru cture Desi gn
  1005   The OneVA  Pharmacy p roject use s the eMI  ESB for ca lls to the  HDR/CDS R epository.  The follo wing diagr am depicts  the messa ge flow th rough the  system.
  1006   Figure 19:  OneVA Pha rmacy Comp onents
  1007  
  1008   System Cri ticality a nd High Av ailability
  1009   The OneVA  Pharmacy e xtends the  VistA app lication a nd incorpo rates by d efault the  same rule s of engag ement as V istA.
  1010   Special Te chnology
  1011   The OneVA  Pharmacy e ngages the  eMI-middl eware and  the HDR/CD S Reposito ry.
  1012   For inform ation abou t eMI, ple ase follow  this LINK  to access  the eMI p roject and  product d ocumentati on.
  1013   For inform ation abou t the HDR/ CDS Reposi tory, plea se follow  this LINK  to access  the HDR/CD S project  and produc t document ation repo sitory.
  1014   Technology  Locations
  1015   The OneVA  Pharmacy s oftware us es the exi sting Vist A instance s deployed  in the VA  Enterpris e. There a re no chan ges to the  technolog y location s.
  1016   The follow ing table  describes  the techno logy compo nents used  and locat ions.
  1017   Table 4: T echnology  Components  Used
  1018   Technology  Component
  1019   Location
  1020   Usage
  1021   Workstatio ns
  1022   VA VistA P harmacy Lo cations
  1023   Pharmacist s and supp ort staff
  1024   Special Ha rdware
  1025   None
  1026  
  1027   Interface  Processors
  1028   Same as cu rrent
  1029   Same as cu rrent
  1030   Legacy Mai nframe
  1031   None
  1032  
  1033   Legacy App lication S erver
  1034   Same as cu rrent
  1035   Same as cu rrent.
  1036   Legacy Dat abases
  1037   Same as cu rrent
  1038   Same as cu rrent
  1039   Other
  1040  
  1041  
  1042   Conceptual  Infrastru cture Diag ram
  1043   Location o f Environm ents and E xternal In terfaces
  1044   The OneVA  Pharmacy s oftware us es the exi sting Vist A instance s deployed  in the VA  Enterpris e. There a re no chan ges to the  environme nts.
  1045   The OneVA  Pharmacy e ngages the  eMI-middl eware and  the HDR/CD S Reposito ry.
  1046   For inform ation abou t eMI, ple ase follow  this LINK  to access  the eMI p roject and  product d ocumentati on.
  1047   For inform ation abou t the HDR/ CDS Reposi tory, plea se follow  this LINK  to access  the HDR/CD S project  and produc t document ation repo sitory
  1048   Conceptual  Productio n String D iagram
  1049   The concep tual produ ction stri ng diagram , shown in  the follo wing figur e, display s a broad  overview o f a produc tion syste m. The Pha rmacist wi ll pull up  a patient ’s medicat ion profil e screen f rom a loca l VistA in stance. A  message wi ll be rout ed to the  HDR/CDS Re pository t o retrieve  the list  of prescri ptions for  a patient , regardle ss of wher e the pres cription o riginated.  The Pharm acist will  fill the  prescripti on sending  the sendi ng a messa ge to the  originatin g VistA in stance to  decrement  the remain ing balanc e and last  fill date . Once the  data is i n the Vist A server i t can be u sed to pro duce a rep ort.
  1050   Figure 20:  Conceptua l Producti on String  Diagram
  1051  
  1052   System Arc hitecture
  1053   Hardware A rchitectur e
  1054   Not applic able.
  1055   Software A rchitectur e
  1056   eMI ESB
  1057   The eMI ES B is respo nsible for  message p assing, ro uting and  transforma tion. By u tilizing s everal com munication  protocols  and handi ng various  message f ormats, th e eMI ESB  is a criti cal compon ent of the  system. T he protoco l contains  an MLLP S ervice to  handle all  incoming  MLLP HL7 v 2.x reques ts. The re quests wil l be route d based on  the messa ge type an d trigger  event (MSH -10). The  MLLP Servi ce will ro ute the fo llowing me ssages to  the approp riate serv ice. 
  1058   For inform ation abou t eMI, ple ase follow  this LINK  to access  the eMI p roject and  product d ocumentati on.
  1059   Also avail able is th e OneVA Ph armacy ICD . To revie w the OneV A Pharmacy  ICD follo w this LIN K.
  1060   The HL7 me ssages use d by OneVA  Pharmacy  include th ose listed  in the fo llowing ta ble.
  1061   Table 5: M LLP HL7 En dpoint Mes sages
  1062   Message
  1063   Response
  1064   Descriptio n
  1065   QBP^Q13
  1066   RTB^K13
  1067   Query by p arameter
  1068   RDS^O13
  1069   RRD^O14
  1070   Pharmacy/T reatment D ispense Me ssage
  1071   HDR/CDS Re pository
  1072   eMI access es the HDR /CDS Repos itory via  a web serv ice call.
  1073   For inform ation abou t the HDR/ CDS Reposi tory and t he web ser vice, plea se follow  this LINK  to access  the HDR/CD S project  and produc t document ation repo sitory.
  1074   For inform ation abou t eMI, ple ase follow  this LINK  to access  the eMI p roject and  product d ocumentati on.
  1075   Also avail able is th e OneVA Ph armacy ICD . To revie w the OneV A Pharmacy  ICD follo w this LIN K. The One VA Pharmac y ICD cont ains the m apping inf ormation c ross-refer encing the  HL7 data  field and  the Extend ed Markup  Language ( XML) tag.
  1076   Sequence D iagrams –  Use Cases
  1077   The next s ections sh ow the seq uence of e vents amon g key enti ties when  the Use Ca ses execut e.
  1078   View Order  View Orde r Use Case  Message F low
  1079   When the P harmacist  enters a r equest to  display th e Medicati on Profile  screen fr om a dispe nsing Vist A instance , an HL7 q uery messa ge is sent  to eMI. e MI will ha rvest the  necessary  informatio n to send  a SOAP req uest to th e HDR/CDS  Repository  for the p atient’s p rescriptio ns. The SO AP respons e is trans formed int o another  HL7 messag e that con tains the  patient’s  prescripti on data. T he patient ’s prescri ption data  is return ed to the  dispensing  VistA ins tance and  displayed  on the Med ication Pr ofile scre en on Vist A. This pr ocess is r efered to  as the One VA Pharmac y View Ord er Use Cas e.
  1080   The OneVA  Pharmacy i ntegration  with the  eMI will i nclude the  establish ment of bu siness rul e filters  and the pa rsing of d ata for ma pping betw een the HD R/CDS Repo sitory XML  and the H L7 message s. The spe cific deta ils for th e ‘View Or der’ use c ase busine ss rule fi lters and  XML mappin g requirem ents pleas e follow t his LINK t o access t he OneVA P harmacy IC D.
  1081   The follow ing table  displays t he HL7 mes sages that  flow in a nd out of  the eMI fo r the View  Order Use  Case.
  1082   Table 6: V iew Order  Use Case H L7 Message s
  1083   Request
  1084   Response
  1085   Descriptio n
  1086   QBP^Q13
  1087   RTB^K13
  1088   Query HDR/ CDS Reposi tory for p atient med ication
  1089   SOAP readC linicalDat a
  1090   SOAP 
  1091   Outpatient Medication Promises
  1092   eMI transf orms the Q BP^Q13 req uest into  the SOAP r equest to  the HDR/CD S Reposito ry
  1093   The follow ing image  represents  a high-le vel overvi ew of the  View Order  Use Case.
  1094   Figure 21:  View Orde r Use Case  High Leve l Overview
  1095  
  1096   The follow ing image  depicts th e View Ord er Use Cas e HL7 mess age flow.
  1097   Figure 22:  View Orde r Use Case  HL7 Messa ge Flow
  1098  
  1099   Dispense O rder from  another VA  Pharmacy  Location M essage Flo w
  1100   When a Pha rmacist se lects a pr escription  from the  Medication  Profile s creen on a  dispensin g VistA in stance (to  refill a  prescripti on for a V eteran vis iting this  location)  the HL7 “ Pharmacy T reatment D ispense’ m essage is  sent to eM I. eMI wil l receive  the reques t, determi ne the des tination f acility, a nd forward  the messa ge to the  host VistA  instance.  The host  VistA inst ance will  process th e message,  decrement  the numbe r of refil ls remaini ng, update  the last  fill date,  and if a  partial re quest, upd ate the pa rtial info rmation. T he host Vi stA will c reate an H L7 message  (Prescrip tion Refil l/Partial  Services R esponse) w hich conta ins the pr escription  label inf ormation.  eMI will r oute the H L7 message  back to t he dispens ing VistA  instance,  displaying  the compl etion of t he transac tion to th e Pharmaci st on the  screen. Th e Medicati on Profile  screen re freshes by  executing  the View  Order Use  Case again . The refi lling or f illing of  a partial  prescripti on order i s refered  to as the  OneVA Phar amcy Dispe nse Order  from anoth er VA Phar amcy Locat ion Use Ca se.
  1101   The OneVA  Pharmacy i ntegration  with eMI  will inclu de the est ablishment  of busine ss rule fi lters and  the parsin g of data  for mappin g between  the HDR/CD S Reposito ry XML and  HL7 messa ges. The s pecific de tails for  the ‘Dispe nse Order  from Anoth er VA Phar macy Locat ion‘ use c ase XML/HL 7 mapping  are availa ble on in  the OneVA  Pharmacy I CD. To rev iew the On eVA Pharma cy ICD fol low this L INK.
  1102   The follow ing image  represents  a high-le vel overvi ew of the  Dispense O rder from  another VA  Pharmacy  Location U se Case.
  1103   Figure 23:  Dispense  Order from  another V A Pharmacy  Location  Use Case H igh-Level  Overview
  1104  
  1105   The follow ing image  depicts th e Dispense  Order fro m another  VA Pharmac y Location  Use Case  HL7 messag e flow.
  1106   Figure 24:  Dispense  Order from  another V A Pharmacy  Location  HL7 Messag e Flow
  1107  
  1108   Design Rat ionale
  1109   The basis  of this pr oject is t o allow st andalone V istA insta nces to ro ute, trans form messa ges, and a ffect each  other’s s tate, usin g the eMI  ESB and in tegrating  with the H DR/CDS Rep ository.
  1110   HL7 Protoc ol
  1111   The commun ication pr otocol use d between  components  is HL7 v2 . HL7 v2.x  is a stan dard messa ging proto col used t o communic ate among  health inf ormation s ystems.
  1112   Performanc e
  1113   Performanc e and timi ng configu rations ad just from  the Edit L inks (ED)  option wit hin the ‘H L MAIN’ me nu. In ord er to modi fy timing  parameters , stop the  logical l ink PSORRX SEND using  the Start /Stop Link s (SL) opt ion within  the ‘HL M AIN’ optio n.  To do  this, foll ow these s teps:
  1114   Stop PSORR XSEND
  1115   Use the pr ovided lis t manager  interface  to navigat e to any o f the foll owing fiel ds:
  1116   ACK TIMEOU T
  1117   READ TIMEO UT
  1118   TCP/IP OPE NFAIL TIME OUT
  1119   Note the d efault set tings for  the HL7 lo gical link :
  1120   ACK TIMEOU T – 60
  1121   READ TIMEO UT – 60
  1122   TCP/IP OPE NFAIL TIME OUT – 60
  1123   Configure  the timeou ts in eMI  to reduce  the amount  of time f or a query  or a refi ll/partial  fill. 
  1124   Query conn ections co nfiguratio ns cause t imeout to  occur with in 20 seco nds.
  1125   Query resp onses conf igurations  cause tim eouts to o ccur withi n 20 secon ds.
  1126   eMI will t imeout the  refill an d partial  fill conne ctions wit hin 20 sec onds and a  refill/pa rtial fill  response  within 60  seconds.
  1127   The follow ing image  displays t he ‘HL7 Lo gical Link  Time out  Parameters ’ screen.
  1128   Figure 25:  HL7 Logic al Link Ti me out Par ameters Ex ample
  1129  
  1130   Network Ar chitecture
  1131   The eMI ES B is respo nsible for  message p assing, ro uting and  transforma tion. By u tilizing s everal com munication  protocols  and handi ng various  message f ormats, th e eMI ESB  is a criti cal compon ent of the  OneVA Pha rmacy soft ware. The  protocol c ontains an  MLLP Serv ice to han dle all in coming MLL P HL7 v2.x  requests.  The reque sts will b e routed b ased on th e message  type and t rigger eve nt (MSH-10 ). The MLL P Service  will route  the follo wing messa ges to the  appropria te service . The eMI  uses an HL 7 message  to communi cate betwe en a dispe nsing Vist A instance  and the H DR/CDS Rep ository.
  1132   For inform ation abou t the HDR/ CDS Reposi tory and t he web ser vice, plea se follow  this LINK  to access  the HDR/CD S project  and produc t document ation repo sitory.
  1133   For inform ation abou t eMI, ple ase follow  this LINK  to access  the eMI p roject and  product d ocumentati on.
  1134   Also avail able is th e OneVA Ph armacy ICD  document.  To review  the OneVA  Pharmacy  ICD follow  this LINK .
  1135   Figure 26:  OneVA Pha rmacy Netw ork Archit ecture
  1136  
  1137   Service Or iented Arc hitecture
  1138   As previou sly stated , eMI is u sed to com municate H L7 message s between  a dispensi ng VistA i nstance th e HDR/CDS  Repository .
  1139   For inform ation abou t eMI, ple ase follow  this LINK  to access  the eMI p roject and  product d ocumentati on.
  1140   Also avail able is th e OneVA Ph armacy ICD  document.  To review  the OneVA  Pharmacy  ICD follow  this LINK .
  1141   The follow ing diagra m displays  the VistA  applicati on and how  it will e xist withi n the desi gn of the  ESB model.
  1142   Figure 27:  VistA and  eMI ESB I ntegration
  1143  
  1144   The descri ptions of  the entiti es display ed in the  diagram ar e as follo ws:
  1145   VistA is t he user in terface fo r initiati ng prescri ption quer ies and re questing p rescriptio n refills  from remot e VistAs.
  1146   eMI ESB is  the messa ging compo nent to ha ndle MLLP  HL7 endpoi nts to the  HDR/CDS R epository  and other  VistA inst ances.
  1147   Figure 28:  HL7/MLLP  and SOAP/h ttps Integ ration
  1148  
  1149   Enterprise  Architect ure
  1150   The Enterp rise Archi tecture of  OneVA Pha rmacy desi gn consist s of sever al compone nts. They  are:
  1151   VistA (Pat ch PSO*7.0 *454)
  1152   HL7 Messag ing
  1153   eMI ESB
  1154   HDR/CDS Re pository
  1155   To use an  example to  explain t he archite cture, a P harmacist  at one VA  Pharmacy l ocation wi ll use Vis tA to disp lay all th e prescrip tions for  a Veteran  that origi nated at o ther VA Ph armacy loc ations. Th e dispensi ng VistA i nstance wi ll send an  HL7 messa ge to the  eMI ESB. T he eMI ESB  will tran sform the  HL7 messag e into a S OAP reques t over htt ps to the  HDR/CDS Re pository s ervice end point. The  SOAP resp onse from  the HDR/CD S Reposito ry transfo rms into a n RTB^K13  HL7 messag e and sent  as a resp onse to th e calling  VistA inst ance. The  dispensing  VistA ins tance will  display t he entire  prescripti on record  for the us er. Once t he Pharmac ist select s a prescr iption ori ginating f rom anothe r VA Pharm acy locati on another  message g enerates a nd sends t o the eMI  ESB. The e MI ESB wil l detect t hat the me ssage is a  prescript ion fill r equest and  then rout e the mess age to the  host Vist A. The hos t VistA in stance rec eives the  message on  its logic al link an d performs  the neces sary decre ment to th e patient’ s prescrip tion refil l allotmen t without  affecting  the host f acilities  inventory.
  1156   Data Desig n
  1157   DBMS Files
  1158   Refill Mul tiple (#52 .1) of the  Prescript ion File ( #52)
  1159   Field Numb er
  1160   Field Name
  1161   Pointers
  1162   Cross Refe rences and  Record In dices
  1163   Descriptio n
  1164   91
  1165   Remote Fil l Site
  1166   Institutio n File (#4 )
  1167   “RFIL”
  1168   This site  performed  the remote  refill ac tion.
  1169   92
  1170   Remote Pha rmacist
  1171   N/A
  1172   N/A
  1173   The name o f the remo te pharmac ist that p erforms th e refill a ction.
  1174   93
  1175   Remote Pha rmacist Ph one
  1176   N/A
  1177   N/A
  1178   This is th e phone nu mber for t he pharmac ist that p erformed t he refill  action.
  1179   Partial Mu ltiple (#5 2.2) of th e Prescrip tion File  (#52)
  1180   Field Numb er
  1181   Field Name
  1182   Pointers
  1183   Cross Refe rences and  Record In dices
  1184   Descriptio n
  1185   91
  1186   Remote Fil l Site
  1187   Institutio n File (#4 )
  1188   “RFIL”
  1189   This site  performed  the remote  partial f ill action .
  1190   92
  1191   Remote Pha rmacist
  1192   N/A
  1193  
  1194   N/A
  1195  
  1196   The name o f the remo te pharmac ist that p erformed t he partial  fill acti on.
  1197   93
  1198   Remote Pha rmacist Ph one
  1199   N/A
  1200   N/A
  1201   This is th e phone nu mber for t he pharmac ist that p erformed t he partial  fill acti on.
  1202   OneVA Phar macy Flag  (#3001) of  the Outpa tient Site  file (#59 )
  1203   Field Numb er
  1204   Field Name
  1205   Pointers
  1206   Cross Refe rences and  Record In dices
  1207   Descriptio n
  1208   3001
  1209   OneVA Phar macy Flag
  1210   N/A
  1211   N/A
  1212   This is th e OneVA ph armacy fla g, which c ontrols th e remote p rescriptio n logic. T he flag ca n be set t o ‘On’ or  ‘Off’. Whe n in the O n state, r emote pres criptions  can be que ried, and  actions ca n be taken  on the ac tive presc riptions.  When in th e ‘Off’ st ate, presc riptions w ill not be  queried,  and incomi ng refill/ partial fi ll request s will not  be proces sed.
  1213   Remote Pre scription  Log (#52.0 9)
  1214   Field Numb er
  1215   Field Name
  1216   Pointers
  1217   Cross Refe rences and  Record In dices
  1218   Descriptio n
  1219   .01
  1220   LOG DATE/T IME
  1221   N/A
  1222   52.09^B
  1223   Date/Time  of refill/ partial fi ll transac tion.
  1224   .02
  1225   PATIENT
  1226   PATIENT (# 2)
  1227   52.09^C
  1228   This is th e patient  for which  a refill o r partial  was execut ed by anot her VA Pha rmacy othe r than the  host site .
  1229   .03
  1230   RX NUMBER
  1231   N/A
  1232   52.9^D
  1233   This is th e RX Numbe r from the  prescript ion file ( #52).
  1234   .04
  1235   SITE NUMBE R
  1236   INSTITUTIO N (#4)
  1237   5209^E
  1238  
  1239   .05
  1240   REQUEST TY PE
  1241   N/A
  1242  
  1243   RF – REFIL L
  1244   PR – PARTI AL FILL
  1245   OR – OUTSI DE REFILL
  1246   OP – OUTSI DE PARTIAL  FILL
  1247   .06
  1248   OUTGOING R EQUEST PHA RMACIST
  1249   NEW PERSON  (#200)
  1250   N/A
  1251   This is th e pharmaci st who ini tiated the  refill or  partial f ill reques t to the h ost facili ty
  1252   .061
  1253   REMOTE FIL LING PHARM ACIST
  1254   N/A
  1255   N/A
  1256   The pharma cist that  requested  a refill o r partial  fill from  a host fac ility.
  1257   .07
  1258   QUANTITY
  1259   N/A
  1260   N/A
  1261   This is th e quantity  dispensed .
  1262   .08
  1263   DAYS SUPPL Y
  1264   N/A
  1265   N/A
  1266   This is th e day’s su pply for t he medicat ion.
  1267   .09
  1268   REFILL/PAR TIAL DATE
  1269   N/A
  1270   N/A
  1271   This is th e date of  the refill  or partia l fill req uest. This  is the da te the tra nsaction l ogs in the  .01 field  of either  the refil l or parti al sub fil es within  the prescr iption fil e.
  1272   .1
  1273   DISPENSED  DATE
  1274   N/A
  1275   N/A
  1276   This is th e dispense  date as i t is held  in the DIS PENSED DAT E within t he REFILL  or PARTIAL  sub files  of the PR ESCRIPTION  file.
  1277   1
  1278   REMOTE DRU G NAME
  1279   N/A
  1280   N/A
  1281   This is th e name of  the drug d ispensed f or this re quest.
  1282   1.1
  1283   LOCAL (MAT CHED) DRUG
  1284   DRUG (#50)
  1285   N/A
  1286   This is th e drug use d locally  for the ‘h ost’ refil l or parti al fill.
  1287   1.2
  1288   TOTAL REFI LL/PARTIAL  FILL COST
  1289   N/A
  1290   N/A
  1291   This is th e total co st for the  ‘host’/fi lling faci lity. The  cost is de rived by u sing the c ost of the  drug at t he time of  the refil l or parti al fill. T he cost is  being ret rieved fro m file 50,  field 13.
  1292   2
  1293   MESSAGE DE TAILS
  1294   N/A
  1295   N/A
  1296   Any messag e details  related to  the trans action.
  1297   3
  1298   LABEL DATA
  1299   N/A
  1300   N/A
  1301   Label data  word proc essing fie ld.
  1302   1.3
  1303   VA PRODUCT  ID
  1304   N/A
  1305   N/A
  1306   This is th e VA produ ct ID that  passes fr om the ‘ho st’ VistA  system.
  1307   Non-DBMS F iles
  1308   Not applic able.
  1309   Data View
  1310   Not applic able.
  1311   Detailed D esign
  1312   Hardware D etailed De sign
  1313   The OneVA  Pharmacy p atch is li mited to i mplementin g the soft ware on ea ch VistA i nstance fo r all VA P harmacy lo cations. T he VistA h ardware is  unchanged . However,  the full  integratio n of the O neVA Pharm acy softwa re include s the eMI  and the HD R/CDS Repo sitory com ponents. T he hardwar e interfac e will uti lize the e xisting ar chitecture  found wit hin the VA  Enterpris e.
  1314   For inform ation abou t the HDR/ CDS Reposi tory and t he hardwar e design,  please fol low this L INK to acc ess the HD R/CDS proj ect and pr oduct docu mentation  repository .
  1315   For inform ation abou t eMI's ha rdware des ign follow  this LINK  to access  the eMI p roject and  product d ocumentati on.
  1316   Figure 29:  OneVA Pha rmacy Hard ware Desig n
  1317  
  1318   Software D etailed De sign
  1319   Conceptual  Design
  1320   Figure 30:  OneVA Pha rmacy Conc eptual Des ign
  1321  
  1322   Product Pe rspective
  1323   The OneVA  Pharmacy p atch uses  the same V istA ‘roll  and scrol l’ user in terface fo und in all  the VistA  instances  deployed  throughout  the VA En terprise.  The patch  will modif y the func tionality  within the  “Patient  Prescripti on Process ing” [PSO  LM BACKDOO R ORDERS]  menu and a dd a new m enu to the  ‘Rx (Pres criptions)  [PSO RX]’ called One VA Pharmac y Prescrip tion Repor t [PSO REM OTE RX REP ORT] to ac cess the n ew OneVA P harmacy re ports.
  1324   User Inter faces
  1325   The OneVA  Pharmacy e xtends the  existing  VistA appl ication, u sing the s ame ‘roll  and scroll ’ user int erface: [P SO LM BACK DOOR ORDER S]. In add ition, pro vide a new  menu to t he ‘Rx (Pr escription s) [PSO RX ]’called O neVA Pharm acy Prescr iption Rep ort [PSO R EMOTE RX R EPORT] to  access the  new OneVA  Pharmacy  reports.
  1326   Hardware I nterfaces
  1327   The hardwa re interfa ce will ut ilize the  existing a rchitectur e found wi thin the V A Enterpri se.
  1328   Software I nterfaces
  1329   The OneVA  Pharmacy s oftware wi ll use eMI  to access  the HDR/C DS Reposit ory to all ow the Pha rmacist to  retrieve  and displa y all of t he prescri ptions rel ated to a  patient. I t will do  so by send ing and re ceiving HL 7 messages . The eMI  will also  be routing  the HL7 m essages be tween two  VistAs ins tances in  order to d ecrement t he remaini ng balance , update t he last fi ll date, a nd capture  label inf ormation f rom the ho st VistA i nstance to  provide t o the disp ensing Vis tA instanc e.
  1330   Communicat ions Inter faces
  1331   Communicat ion interf ace within  the OneVA  Pharmacy  software w ill includ e using eM I. The ser vices disp layed in t he followi ng image a re logical  capabilit ies the ES B is expec ted to per form. The  actual ser vice names  may be di fferent du e to the e MI team’s  implementa tion.
  1332   For inform ation abou t eMI's co mmunicatio n interfac es follow  this LINK  to access  the eMI pr oject and  product do cumentatio n.
  1333   Figure 31:  OneVA Pha rmacy Comm unications  Interface
  1334  
  1335   Memory Con straints
  1336   Not applic able.
  1337   Special Op erations
  1338   Not applic able.
  1339   Product Fe atures
  1340   The OneVA  Pharmacy I mplementat ion at a h igh level  includes:
  1341   VistA (Pat ch PSO*7.0 *454)
  1342   HL7 messag ing
  1343   eMI ESB
  1344   HDR/CDS Re pository
  1345   The OneVA  Pharmacy R SD contain s the addi tional pro duct requi rements. R eview the  OneVA Phar macy RSD b y followin g this LIN K.
  1346   User Chara cteristics
  1347   The user p rofile of  the OneVA  Pharmacy m odule is t hose users , specific ally Pharm acists tha t use the  Outpatient  Pharmacy  [PSO LM BA CKDOOR ORD ERS] menu  to dispens e prescrip tions. It  is assumed  that the  user has b asic knowl edge of th e VistA sy stem (such  as the us e of comma nds, menu  options, a nd navigat ion tools) , has acce ss to the  ‘Rx (PRESC RIPTIONS)  [PSO RX]’  menu withi n VistA, a nd holds a ppropriate  security  keys for t heir user  role, such  as PSORPH , to ident ify the us er as a Ph armacist.
  1348   Dependenci es and Con straints
  1349   The OneVA  Pharmacy i mplementat ion is dep endent upo n the avai lability o f the eMI  ESB and it s connecti vity to th e HDR/CDS  Repository  and the e ntire appr oximate 13 0 VistA in stances wh ere Pharma cy locatio ns are inc luded.
  1350   Specific R equirement s
  1351   Database R epository
  1352   Not applic able.
  1353   System Fea tures
  1354   The system  features  include fu nctional r equirement s, sub-req uirements,  business  rules, des ign constr aints, etc . The OneV A Pharmacy  RSD conta ins the de tails of t hese featu res. Revie w the VA P harmacy RS D by follo wing this  LINK.
  1355   Design Ele ment Table s
  1356   Not applic able.
  1357   Routines
  1358   PSOORNE2
  1359   The ‘PSOOR NE2’ routi ne has bee n modified  to includ e the disp lay of the  remote pr escription s. This ro utine will  display t he details  related t o the remo te Rx that  has been  selected.
  1360   Table 15 ( Grouping):  Routines
  1361   Routines
  1362   Activities
  1363   Routine Na me
  1364   PSOORNE2
  1365   Enhancemen t Category
  1366    New
  1367    Modify
  1368    Delete
  1369    No Change
  1370   RTM
  1371  
  1372   Related Op tions
  1373   PSO LM BAC KDOOR ORDE RS
  1374  
  1375   Related Ro utines
  1376   Routines “ Called By”
  1377   Routines “ Called”
  1378  
  1379   PSODISPS,  PSOLMUTL,  PSOMPHRC,  PSOORCPY,  PSOOREDT,  PSOREF, PS ORREF, PSO RXEDT
  1380   PSOORNE6,  PSOVER1, P SORRX1, PS OBUILD, PS OORUT1, PS ODRG, PSOO RNE5, PSON FI, PSOBPS UT, PSOHEL P, PSOUTLA 2, PSOORNE 3, PSODAWU T, PSSDAWU T, PSOLMLS T, PSOROS
  1381  
  1382   Routines
  1383   Activities
  1384   Data Dicti onary (DD)  Reference s
  1385   ^PSDRUG (
  1386   ^YSCL (603 .01,
  1387   ^PS (50.60 6,
  1388   ^PS (50.7,
  1389   ^PS (52.5
  1390   ^PSRX (
  1391   ^DIC (4,
  1392   Related Pr otocols
  1393   N/A
  1394   Related In tegration  Control Re gistration s (ICRs)
  1395   4708 – Cal l to DAWEX T^PSSDAWUT  (Active/C ontrolled  Subscripti on)
  1396   Data Passi ng
  1397    Input
  1398    Output Re ference
  1399    Both
  1400    Global Re ference
  1401    Local
  1402   Input Attr ibute Name  and Defin ition
  1403   Name: N/A
  1404   Definition :
  1405   Output Att ribute Nam e and Defi nition
  1406   Name: N/A
  1407   Definition :
  1408  
  1409   Current Lo gic
  1410   Cannot get  current l ogic until  we have a ll patches  associate d with thi s routine.
  1411  
  1412   Modified L ogic (Chan ges are in  bold)
  1413  
  1414   PSOORUT1
  1415   The ‘PSOOR UT1’ routi ne has bee n modified  to includ e the disp lay of rem ote prescr iptions wi thin the [ PSO LM BAC KDOOR ORDE R] prescri ption list . The pres criptions  are sorted  by facili ty and inc lude the s ame displa y elements  at eh loc al prescri ption. Eac h remote f acility’s  prescripti on list ha s a progra mmatically  generated  header th at separat es the pre scriptions  by status  (Active,  Suspended,  Hold, etc .)
  1416   Routines
  1417   Activities
  1418   Routine Na me
  1419   PSOORUT1
  1420   Enhancemen t Category
  1421    New
  1422    Modify
  1423    Delete
  1424    No Change
  1425   RTM
  1426  
  1427   Related Op tions
  1428   PSO LM BAC KDOOR ORDE RS
  1429  
  1430   Related Ro utines
  1431   Routines “ Called by”
  1432   Routines “ Called”
  1433  
  1434   PSOCAN4, P SODISP3, P SOHLNEW, P SOLMUTL, P SONEW, PSO ORFI2, PSO ORFL, PSOO RNE2, PSOO RUTL, PSOR EF, PSOREN W4, PSORX1 , PSOTPRX1 , PSOVER
  1435   %DTC, DICN , DIK, DIQ , PSOBPSU1 , PSOBPSUT , PSOHLSN1 , PSOORUTL , PSOREJUT , PSOUTL, 
  1436  
  1437   Routines
  1438   Activities
  1439   Data Dicti onary (DD)  Reference s
  1440   ^PS (52.41 ,
  1441   ^PSRX (
  1442   ^PS (52.5,
  1443   ^DIC (4,
  1444  
  1445   Related Pr otocols
  1446  
  1447   Related In tegration  Control Re gistration s (ICRs)
  1448   IA #221 –  Access to  ^PSDRUG
  1449   IA #2203 –  Call to ^ PSXOPUTL
  1450   Data Passi ng
  1451    Input
  1452    Output Re ference
  1453    Both
  1454    Global Re ference
  1455    Local
  1456   Input Attr ibute Name  and Defin ition
  1457   Name: N/A
  1458   Definition : N/A
  1459   Output Att ribute Nam e and Defi nition
  1460   Name: N/A
  1461   Definition : N/A
  1462  
  1463   Current Lo gic
  1464   Cannot get  current l ogic until  we have a ll patches  associate d with thi s routine.
  1465  
  1466   Modified L ogic (Chan ges are in  bold)
  1467  
  1468   PSOROS
  1469   The ‘PSORO S’ routine  is the dr iving rout ine for se lection of  a ‘remote ’ prescrip tion withi n list man ager. This  routine c ontrols th e list tem plate [PSO  LM REMOTE  ORDER SEL ECTION].
  1470   Routines
  1471   Activities
  1472   Routine Na me
  1473   PSOROS
  1474   Enhancemen t Category
  1475    New
  1476    Modify
  1477    Delete
  1478    No Change
  1479   RTM
  1480  
  1481   Related Op tions
  1482  
  1483  
  1484   Related Ro utines
  1485   Routines “ Called by”
  1486   Routines “ Called”
  1487  
  1488  
  1489   VALM, PSON FI, XQORM1
  1490  
  1491   Routines
  1492   Activities
  1493   Data Dicti onary (DD)  Reference s
  1494  
  1495   Related Pr otocols
  1496   PSO LM REM OTE ORDER  MENU
  1497   PSO LM REF ILL REMOTE  ORDER
  1498   PSO LM REM OTE PARTIA L
  1499   Related In tegration  Control Re gistration s (ICRs)
  1500   N/A
  1501   Data Passi ng
  1502    Input
  1503    Output Re ference
  1504    Both
  1505    Global Re ference
  1506    Local
  1507   Input Attr ibute Name  and Defin ition
  1508   Name: N/A
  1509   Definition : N/A
  1510   Output Att ribute Nam e and Defi nition
  1511   Name: N/A
  1512   Definition : N/A
  1513  
  1514   Current Lo gic
  1515   N/A
  1516  
  1517   Modified L ogic (Chan ges are in  bold)
  1518  
  1519   PSORRD
  1520   The ‘PSORR D’ routine  is the ro utine that  controls  the PSO LM  REMOTE RE PORTS DETA ILS list m anager tem plate. Thi s routine  is part of  the Remot e Prescrip tion Repor t function ality.
  1521   Routines
  1522   Activities
  1523   Routine Na me
  1524   PSORRD
  1525   Enhancemen t Category
  1526    New
  1527    Modify
  1528    Delete
  1529    No Change
  1530   RTM
  1531  
  1532   Related Op tions
  1533  
  1534  
  1535  
  1536   Related Ro utines
  1537   Routines “ Called by”
  1538   Routines “ Called”
  1539  
  1540  
  1541   VALM, XQOR M1
  1542  
  1543   Routines
  1544   Activities
  1545   Data Dicti onary (DD)  Reference s
  1546   N/A
  1547   Related Pr otocols
  1548   N/A
  1549   Related In tegration  Control Re gistration s (ICRs)
  1550   N/A
  1551   Data Passi ng
  1552    Input
  1553    Output Re ference
  1554    Both
  1555    Global Re ference
  1556    Local
  1557   Input Attr ibute Name  and Defin ition
  1558   Name:
  1559   Definition :
  1560   Output Att ribute Nam e and Defi nition
  1561   Name:
  1562   Definition :
  1563  
  1564   Current Lo gic
  1565   N/A
  1566  
  1567   Modified L ogic (Chan ges are in  bold)
  1568  
  1569   PSORREF
  1570   The ‘PSORR EF’ routin e is the m ain drivin g routine  for the ‘r eceiving’  or ‘origin ating’ fac ility to p rocess inc oming refi ll request s
  1571   Routines
  1572   Activities
  1573   Routine Na me
  1574   PSORREF
  1575   Enhancemen t Category
  1576    New
  1577    Modify
  1578    Delete
  1579    No Change
  1580   RTM
  1581  
  1582   Related Op tions
  1583   PSO LM BAC KDOOR ORDE RS
  1584  
  1585   Related Ro utines
  1586   Routines “ Called by”
  1587   Routines “ Called”
  1588  
  1589  
  1590   %DTC, %ZIS H, DIE, DI Q, PSOBUIL D, PSOCPTR I, PSOREJU 1, PSORREF 0, PSORREF 1, PSORRX1 , PSSLOCK,  XLFDT, XU AF4
  1591  
  1592   Routines
  1593   Activities
  1594   Data Dicti onary (DD)  Reference s
  1595   ^PSRX (
  1596   %ZIS (1,
  1597   ^PS (55,
  1598   Related Pr otocols
  1599   N/A
  1600   Related In tegration  Control Re gistration s (ICRs)
  1601   Need to se e if we ne ed any IA’ s
  1602   Data Passi ng
  1603    Input
  1604    Output Re ference
  1605    Both
  1606    Global Re ference
  1607    Local
  1608   Input Attr ibute Name  and Defin ition
  1609   Name: RXNU M
  1610   Definition : Prescrip tion Numbe r
  1611   Name: FDAT E
  1612   Definition : Fill Dat e
  1613   Name: MW
  1614   Definition : Mail/Win dow
  1615   Name: RPHA RM
  1616   Definition : Remote P harmacists  Name
  1617   Name: RPHO NE
  1618   Definition : Remote P harmacists  Telephone  Number
  1619   Name: RIST E
  1620   Definition : Remote s ite reques ting the r efill
  1621   Output Att ribute Nam e and Defi nition
  1622   Name: RET
  1623   Definition : Return a rray “Rx #  xxxxx ref illed.”, o r error me ssage.
  1624  
  1625   Current Lo gic
  1626   N/A
  1627   Modified L ogic (Chan ges are in  bold)
  1628  
  1629   PSORREF0
  1630   The ‘PSORR EF0’ is a  supporting  routine t o ‘PSORREF ’.
  1631   Routines
  1632   Activities
  1633   Routine Na me
  1634   PSORREF0
  1635   Enhancemen t Category
  1636    New
  1637    Modify
  1638    Delete
  1639    No Change
  1640   RTM
  1641  
  1642   Related Op tions
  1643   PSO LM BAC KDOOR ORDE RS
  1644  
  1645   Related Ro utines
  1646   Routines “ Called by”
  1647   Routines “ Called”
  1648  
  1649   PSORREF1
  1650   %DT, DIR,  PSOPTPST,  PSOR52, PS OREF1, PSO REF2, PSOU TIL, PSOUT LA, PSOUTL A1, VALM1
  1651  
  1652   Routines
  1653   Activities
  1654   Data Dicti onary (DD)  Reference s
  1655   ^PSRX
  1656   Related Pr otocols
  1657  
  1658   Related In tegration  Control Re gistration s (ICRs)
  1659   Will need  to get inc luded in I A 221
  1660   Data Passi ng
  1661    Input
  1662    Output Re ference
  1663    Both
  1664    Global Re ference
  1665    Local
  1666   Input Attr ibute Name  and Defin ition
  1667   Name:
  1668   Definition :
  1669   Output Att ribute Nam e and Defi nition
  1670   Name: PSOR MSG
  1671   Definition : Output m essage con taining in formation  about the  refill req uest.
  1672  
  1673   Current Lo gic
  1674   N/A
  1675  
  1676  
  1677   Modified L ogic (Chan ges are in  bold)
  1678  
  1679   PSORREF1
  1680   The ‘PSORR EF1’ is a  supporting  routine f or ‘PSORRE F’.
  1681   Routines
  1682   Activities
  1683   Routine Na me
  1684   PSORREF1
  1685   Enhancemen t Category
  1686    New
  1687    Modify
  1688    Delete
  1689    No Change
  1690   RTM
  1691  
  1692   Related Op tions
  1693   PSO LM BAC KDOOR ORDE RS
  1694  
  1695   Related Ro utines
  1696   Routines “ Called by”
  1697   Routines “ Called”
  1698  
  1699   PSORREF
  1700   %DT
  1701  
  1702   Routines
  1703   Activities
  1704   Data Dicti onary (DD)  Reference s
  1705   ^PSRX
  1706   Related Pr otocols
  1707   N/A
  1708   Related In tegration  Control Re gistration s (ICRs)
  1709   N/A
  1710   Data Passi ng
  1711    Input
  1712    Output Re ference
  1713    Both
  1714    Global Re ference
  1715    Local
  1716   Input Attr ibute Name  and Defin ition
  1717   N/A
  1718   Output Att ribute Nam e and Defi nition
  1719   N/A
  1720  
  1721   Current Lo gic
  1722   N/A
  1723  
  1724   Modified L ogic (Chan ges are in  bold)
  1725  
  1726   PSORRP
  1727   The ‘PSORR P’ routine  assists i n promptin g for sear ch criteri a and disp lay of the  Remote Pr escription  Report.
  1728   Routines
  1729   Activities
  1730   Routine Na me
  1731   PSORRP
  1732   Enhancemen t Category
  1733    New
  1734    Modify
  1735    Delete
  1736    No Change
  1737   RTM
  1738  
  1739   Related Op tions
  1740   PSO REMOTE  RX REPORT
  1741  
  1742   Related Ro utines
  1743   Routines “ Called by”
  1744   Routines “ Called”
  1745  
  1746   N/A
  1747   %DT, DIC,  DIQ, DIR,  PSOROS, PS ORRD, VALM , VALM1, V ALM10, XLF DT, XQORM1
  1748  
  1749   Routines
  1750   Activities
  1751   Data Dicti onary (DD)  Reference s
  1752   ^PSRXR (52 .09,
  1753   Related Pr otocols
  1754  
  1755   Related In tegration  Control Re gistration s (ICRs)
  1756   N/A
  1757   Data Passi ng
  1758    Input
  1759    Output Re ference
  1760    Both
  1761    Global Re ference
  1762    Local
  1763   Input Attr ibute Name  and Defin ition
  1764   N/A
  1765   Output Att ribute Nam e and Defi nition
  1766   N/A
  1767  
  1768   Current Lo gic
  1769   N/A
  1770  
  1771   Modified L ogic (Chan ges are in  bold)
  1772  
  1773   PSORRPA1
  1774   The ‘PSORR PA1’ is th e main rou tine for p rocessing  an incomin g partial  fill reque st.
  1775   Routines
  1776   Activities
  1777   Routine Na me
  1778   PSORRPA1
  1779   Enhancemen t Category
  1780    New
  1781    Modify
  1782    Delete
  1783    No Change
  1784   RTM
  1785  
  1786   Related Op tions
  1787   PSO LM BAC KDOOR ORDE RS
  1788  
  1789   Related Ro utines
  1790   Routines “ Called by”
  1791   Routines “ Called”
  1792  
  1793   N/A
  1794   %ZISH, DIE , DIK, DIQ , PSOBPSUT , PSOCAN3,  PSOCPTRI,  PSOHLSN1,  PSORRX1,  PSORXL1, P SSLOCK, VA DPT, XLFDT , XUAF4
  1795  
  1796   Routines
  1797   Activities
  1798   Data Dicti onary (DD)  Reference s
  1799   ^PSRX (
  1800   ^PS (59,
  1801   ^PS (52.5,
  1802   ^%ZIS (1,
  1803   ^PS (55,
  1804   Related Pr otocols
  1805  
  1806   Related In tegration  Control Re gistration s (ICRs)
  1807   IA 221?
  1808   IA 999??
  1809   Data Passi ng
  1810    Input
  1811    Output Re ference
  1812    Both
  1813    Global Re ference
  1814    Local
  1815   Input Attr ibute Name  and Defin ition
  1816   Name: RXNU M
  1817   Definition :
  1818   Name: PFDA TE
  1819   Definition : Partial  fill date
  1820   Name: MW
  1821   Definition : Mail/Win dow
  1822   Name: QTY
  1823   Definition : Quantity
  1824   Name: DSUP P
  1825   Definition : Days sup ply
  1826   Name: REMA RKS
  1827   Definition : Remarks  (if applic able)
  1828   Name: PHAR M
  1829   Definition : Name of  Filling ph armacist ( remote)
  1830   Name: PHON E
  1831   Definition : Phone nu mber of re mote pharm acist
  1832   Name: SITE
  1833   Definition : Remote S ite number
  1834   Output Att ribute Nam e and Defi nition
  1835   Name: VALM SG
  1836   Definition : Response  message f or partial  fill
  1837  
  1838   Current Lo gic
  1839   N/A
  1840  
  1841   Modified L ogic (Chan ges are in  bold)
  1842  
  1843   PSORRX1
  1844   The ‘PSORR X1’ routin e builds t he HL7 mes sages that  are sent  to the Pha rmacy Remo te Prescri ption Mana ger to ret rieve, ref ill, and p artial fil l prescrip tions from  another f acility. T his routin e uses the  treating  facility l ist to pro perly buil d the HL7  informatio n to send  to the ‘re mote’ site (s).
  1845   Routines
  1846   Activities
  1847   Routine Na me
  1848   PSORRX1
  1849   Enhancemen t Category
  1850    New
  1851    Modify
  1852    Delete
  1853    No Change
  1854   RTM
  1855  
  1856   Related Op tions
  1857   PSO LM BAC KDOOR ORDE RS
  1858  
  1859   Related Ro utines
  1860   Routines “ Called by”
  1861   Routines “ Called”
  1862  
  1863   PSORX1
  1864   %ZIS, DIC,  DIE, DILF D, DIQ, DI R, HLFNC2,  HLMA, PSO DIR2, VAFC TFU2, VALM 1, XLFDT,  XUAF4
  1865  
  1866   Routines
  1867   Activities
  1868   Data Dicti onary (DD)  Reference s
  1869  
  1870   Related Pr otocols
  1871  
  1872   Related In tegration  Control Re gistration s (ICRs)
  1873  
  1874   Data Passi ng
  1875    Input
  1876    Output Re ference
  1877    Both
  1878    Global Re ference
  1879    Local
  1880   Input Attr ibute Name  and Defin ition
  1881   Name: DFN
  1882   Definition : Patients  local IEN
  1883   Output Att ribute Nam e and Defi nition
  1884   HL7 MESSAG E IN HL7 Q UEUE
  1885  
  1886   Current Lo gic
  1887   N/A
  1888  
  1889   Modified L ogic (Chan ges are in  bold)
  1890  
  1891   PSORWRAP
  1892   The ‘PSORW RAP’ routi ne is the  wrapper ut ility for  the calls  into VistA .
  1893   Routines
  1894   Activities
  1895   Routine Na me
  1896   PSORWRAP
  1897   Enhancemen t Category
  1898    New
  1899    Modify
  1900    Delete
  1901    No Change
  1902   RTM
  1903  
  1904   Related Op tions
  1905   N/A
  1906  
  1907   Related Ro utines
  1908   Routines “ Called by”
  1909   Routines “ Called”
  1910  
  1911   N/A
  1912   PSORREF, P SORRPA1, X LFDT, XUP
  1913  
  1914   Routines
  1915   Activities
  1916   Data Dicti onary (DD)  Reference s
  1917   N/A
  1918   Related Pr otocols
  1919   N/A
  1920   Related In tegration  Control Re gistration s (ICRs)
  1921   N/A
  1922   Data Passi ng
  1923    Input
  1924    Output Re ference
  1925    Both
  1926    Global Re ference
  1927    Local
  1928   Input Attr ibute Name  and Defin ition
  1929   Name: QBSE SSID
  1930   Definition : Session  ID
  1931   Name: QBDU Z
  1932   Definition : Users DU Z value
  1933   Output Att ribute Nam e and Defi nition
  1934   Name: Stat us
  1935   Definition : returns  session id  and 1 if  successful
  1936  
  1937   Current Lo gic
  1938   N/A
  1939  
  1940   Modified L ogic (Chan ges are in  bold)
  1941  
  1942   PSORX1
  1943   The ‘PSORX 1’ routine  has been  modified t o call ‘PS ORRX1’ for  retrieval  of remote  prescript ion data.
  1944   Routines
  1945   Activities
  1946   Routine Na me
  1947   PSORX1
  1948   Enhancemen t Category
  1949    New
  1950    Modify
  1951    Delete
  1952    No Change
  1953   RTM
  1954  
  1955   Related Op tions
  1956  
  1957  
  1958   Related Ro utines
  1959   Routines “ Called by”
  1960   Routines “ Called”
  1961  
  1962  
  1963   DTC, $ZISS , DGPFAPI,  DIC, DICN , DIE, DIK , DIQ1, DI R, ORRDI1,  PSOBAI, P SOBING, PS OBUILD, PS ODDPR2, PS ODEM, PSOH LUP, PSOLM AO, PSOLMU TL, PSOLSE T, PSOORFI 2, PSOORUT 1, PSOORUT 2, PSOPATL K, PSOPTPS T, PSORMRX , PSORRX1,  PSORXL, P SOSUPOE, P SUHL, VADP T, VALM1
  1964  
  1965   Routines
  1966   Activities
  1967   Data Dicti onary (DD)  Reference s
  1968   ^PS (55,
  1969   ^DIC (31,
  1970   ^DPT (DO,. 372,
  1971   ^XTMP (“OR RDI”
  1972   ^PSUHL
  1973   ^PSRX
  1974   Related Pr otocols
  1975   N/A
  1976   Related In tegration  Control Re gistration s (ICRs)
  1977   External r eference ^ PS (55 sup ported by  DBIA 2228
  1978   External r eference ^ DIC (31 su pported by  DBIA 658
  1979   external r eference ^ DPT (D0,.3 72 support ed by DBIA  1476
  1980   External r eference D ISPPRF^DGP FAPI suppo rted by DB IA #4563
  1981   External r eference ^ ORRDI1 is  supported  by DBIA 46 59
  1982   External r eference ^ XTMP ("ORR DI" is sup ported by  DBIA 4660
  1983   External r eference ^ PSUHL supp orted by D BIA 4803
  1984   Data Passi ng
  1985    Input
  1986    Output Re ference
  1987    Both
  1988    Global Re ference
  1989    Local
  1990   Input Attr ibute Name  and Defin ition
  1991   N/A
  1992   Output Att ribute Nam e and Defi nition
  1993   N/A
  1994  
  1995   Current Lo gic
  1996   Cannot get  current l ogic until  we have a ll patches  associate d with thi s routine.
  1997  
  1998   Modified L ogic (Chan ges are in  bold)
  1999  
  2000  
  2001   PSORLLL1
  2002   The routin e PSORLLL1  is a clon ed and mod ified copy  of PSOLLL 1 and is u sed to cre ate the On eVA Pharma cy label.
  2003   Routines
  2004   Activities
  2005   Routine Na me
  2006   PSORLLL1
  2007   Enhancemen t Category
  2008    New
  2009    Modify
  2010    Delete
  2011    No Change
  2012   RTM
  2013  
  2014   Related Op tions
  2015   N/A
  2016  
  2017   Related Ro utines
  2018   Routines “ Called By”
  2019   Routines “ Called”
  2020  
  2021   PSORLLLI
  2022   ^%DTC, C^% DTC, NOW^% DTC, PSOLL LW, PSOLLU 1, PSORLLL 2, PSORLLL 3, PSORLLL 4, PSORLLL 5, PSORLLL H, FMTE^XL FDT
  2023  
  2024   Routines
  2025   Activities
  2026   Data Dicti onary (DD)  Reference s
  2027      ^DD("DD "            
  2028      ^DIC(5                
  2029      ^PS(55                
  2030      ^PS(59                
  2031      ^PSDRUG (             
  2032      ^PSRX(                
  2033      ^TMP($J               
  2034   Related Pr otocols
  2035   N/A
  2036   Related In tegration  Control Re gistration s (ICRs)
  2037    Reference  to ^PSDRU G supporte d by DBIA  221 Refere nce ^VA(20 0,D0,"PS"  supported  by DBIA 22 4 External  reference  to ^PS(55  supported  by DBIA 2 228
  2038   Data Passi ng
  2039    Input
  2040    Output Re ference
  2041    Both
  2042    Global Re ference
  2043    Local
  2044   Input Attr ibute Name  and Defin ition
  2045   Name: N/A
  2046   Definition :
  2047   Output Att ribute Nam e and Defi nition
  2048   Name: N/A
  2049   Definition :
  2050  
  2051   Current Lo gic
  2052   N/A
  2053  
  2054   Modified L ogic (Chan ges are in  bold)
  2055   Modified c opy of PSO LLL1.
  2056   PSORLLL2
  2057   The routin e PSORLLL2  is a clon ed and mod ified copy  of PSOLLL 2 and is u sed to cre ate the On eVA Pharma cy label.
  2058   Routines
  2059   Activities
  2060   Routine Na me
  2061   PSORLLL2
  2062   Enhancemen t Category
  2063    New
  2064    Modify
  2065    Delete
  2066    No Change
  2067   RTM
  2068  
  2069   Related Op tions
  2070   N/A
  2071  
  2072   Related Ro utines
  2073   Routines “ Called By”
  2074   Routines “ Called”
  2075  
  2076   PSORLLL1
  2077   ECMEON^BPS UTIL, GET1 ^DIQ, COUN TSGF^PSOLL LW, STRT^P SOLLU1, ND CFMT^PSSND CUT
  2078  
  2079   Routines
  2080   Activities
  2081   Data Dicti onary (DD)  Reference s
  2082   ^TMP($J, 
  2083   Related Pr otocols
  2084   N/A
  2085   Related In tegration  Control Re gistration s (ICRs)
  2086    Reference  to $$ECME ON^BPSUTIL  supported  by DBIA 4 410
  2087   Reference  to $$NDCFM T^PSSNDCUT  supported  by IA 470 7
  2088   Data Passi ng
  2089    Input
  2090    Output Re ference
  2091    Both
  2092    Global Re ference
  2093    Local
  2094   Input Attr ibute Name  and Defin ition
  2095   Name: N/A
  2096   Definition :
  2097   Output Att ribute Nam e and Defi nition
  2098   Name: N/A
  2099   Definition :
  2100  
  2101   Current Lo gic
  2102   N/A
  2103  
  2104   Modified L ogic (Chan ges are in  bold)
  2105   Modified c opy of PSO LLL2.
  2106   PSORLLL3
  2107   The routin e PSORLLL3  is a clon ed and mod ified copy  of PSOLLL 3 and is u sed to cre ate the On eVA Pharma cy label.
  2108   Routines
  2109   Activities
  2110   Routine Na me
  2111   PSORLLL3
  2112   Enhancemen t Category
  2113    New
  2114    Modify
  2115    Delete
  2116    No Change
  2117   RTM
  2118  
  2119   Related Op tions
  2120   N/A
  2121  
  2122   Related Ro utines
  2123   Routines “ Called By”
  2124   Routines “ Called”
  2125  
  2126   PSORLLL1
  2127   $$GET1^DIQ , STRT^PSO LLU1, NDCF MT^PSSNDCU T
  2128  
  2129   Routines
  2130   Activities
  2131   Data Dicti onary (DD)  Reference s
  2132   N/A
  2133   Related Pr otocols
  2134   N/A
  2135   Related In tegration  Control Re gistration s (ICRs)
  2136    Reference s to $$GET NDC^PSSNDC UT,$$NDCFM T^PSSNDCUT ,SAVNDC^PS SNDCUT sup ported by  IA 4707
  2137   Data Passi ng
  2138    Input
  2139    Output Re ference
  2140    Both
  2141    Global Re ference
  2142    Local
  2143   Input Attr ibute Name  and Defin ition
  2144   Name: N/A
  2145   Definition :
  2146   Output Att ribute Nam e and Defi nition
  2147   Name: N/A
  2148   Definition :
  2149  
  2150   Current Lo gic
  2151   N/A
  2152  
  2153   Modified L ogic (Chan ges are in  bold)
  2154   Modified c opy of PSO LLL3.
  2155   PSORLLL4
  2156   The routin e PSORLLL4  is a clon ed and mod ified copy  of PSOLLL 4 and is u sed to cre ate the On eVA Pharma cy label.
  2157   Routines
  2158   Activities
  2159   Routine Na me
  2160   PSORLLL4
  2161   Enhancemen t Category
  2162    New
  2163    Modify
  2164    Delete
  2165    No Change
  2166   RTM
  2167  
  2168   Related Op tions
  2169   N/A
  2170  
  2171   Related Ro utines
  2172   Routines “ Called By”
  2173   Routines “ Called”
  2174  
  2175   PSORLLL1
  2176   EN^PSNPPIO , STRT^PSO LLU1, WTEX T^PSSWRNA
  2177  
  2178   Routines
  2179   Activities
  2180   Data Dicti onary (DD)  Reference s
  2181   N/A
  2182   Related Pr otocols
  2183   N/A
  2184   Related In tegration  Control Re gistration s (ICRs)
  2185    Reference  to PSNPPI O supporte d by DBIA  3794
  2186   Data Passi ng
  2187    Input
  2188    Output Re ference
  2189    Both
  2190    Global Re ference
  2191    Local
  2192   Input Attr ibute Name  and Defin ition
  2193   Name: N/A
  2194   Definition :
  2195   Output Att ribute Nam e and Defi nition
  2196   Name: N/A
  2197   Definition :
  2198  
  2199   Current Lo gic
  2200   N/A
  2201  
  2202   Modified L ogic (Chan ges are in  bold)
  2203   Modified c opy of PSO LLL4.
  2204   PSORLLL5
  2205   The routin e PSORLLL5  is a clon ed and mod ified copy  of PSOLLL 5 and is u sed to cre ate the On eVA Pharma cy label.
  2206   Routines
  2207   Activities
  2208   Routine Na me
  2209   PSORLLL5
  2210   Enhancemen t Category
  2211    New
  2212    Modify
  2213    Delete
  2214    No Change
  2215   RTM
  2216  
  2217   Related Op tions
  2218   N/A
  2219  
  2220   Related Ro utines
  2221   Routines “ Called By”
  2222   Routines “ Called”
  2223  
  2224   PSORLLL1
  2225   ^GMRADPT,  MAIL^PSOLL L7, STRT^P SOLLU1, AD D^VADPT, P ID^VADPT6
  2226  
  2227   Routines
  2228   Activities
  2229   Data Dicti onary (DD)  Reference s
  2230   ^DIC(5,
  2231   ^DPT(
  2232   Related Pr otocols
  2233   N/A
  2234   Related In tegration  Control Re gistration s (ICRs)
  2235    
  2236   Data Passi ng
  2237    Input
  2238    Output Re ference
  2239    Both
  2240    Global Re ference
  2241    Local
  2242   Input Attr ibute Name  and Defin ition
  2243   Name: N/A
  2244   Definition :
  2245   Output Att ribute Nam e and Defi nition
  2246   Name: N/A
  2247   Definition :
  2248  
  2249   Current Lo gic
  2250   N/A
  2251  
  2252   Modified L ogic (Chan ges are in  bold)
  2253   Modified c opy of PSO LLL5.
  2254   PSORLLLH
  2255   The routin e PSORLLLH  is a clon ed and mod ified copy  of PSOLLL H and is u sed to cre ate the On eVA Pharma cy label.
  2256   Routines
  2257   Activities
  2258   Routine Na me
  2259   PSORLLLH
  2260   Enhancemen t Category
  2261    New
  2262    Modify
  2263    Delete
  2264    No Change
  2265   RTM
  2266  
  2267   Related Op tions
  2268   N/A
  2269  
  2270   Related Ro utines
  2271   Routines “ Called By”
  2272   Routines “ Called”
  2273  
  2274   PSORLLL1
  2275   NOW^%DTC ( Not used)
  2276   ^%ZIS  (No t used)
  2277   ^%ZISC (No t used)
  2278   ^%ZTLOAD ( Not used)
  2279   DUR1^BPSNC PD3  (Not  used)       
  2280   ^DIC  (Not  used)
  2281   EN^DIQ1  ( Not used)
  2282   $$LSTRFL^P SOBPSU1  ( Not used)
  2283   ^PSOLSET    (Not used )
  2284   $$ZZ^PSOSU TL
  2285   6^VADPT (N ot used)
  2286   DEM^VADPT
  2287   PID^VADPT6  (not used )
  2288   $$SITE^VAS ITE (not u sed)
  2289  
  2290   Routines
  2291   Activities
  2292   Data Dicti onary (DD)  Reference s
  2293   ^%ZIS(2,
  2294   ^DD(“DD”,
  2295   ^DIC(5
  2296   ^PS(59,
  2297   ^PSRX(
  2298  
  2299   Related Pr otocols
  2300   N/A
  2301   Related In tegration  Control Re gistration s (ICRs)
  2302    Reference  to DUR1^B PSNCPD3 su pported by  DBIA 4560
  2303   Data Passi ng
  2304    Input
  2305    Output Re ference
  2306    Both
  2307    Global Re ference
  2308    Local
  2309   Input Attr ibute Name  and Defin ition
  2310   Name: N/A
  2311   Definition :
  2312   Output Att ribute Nam e and Defi nition
  2313   Name: N/A
  2314   Definition :
  2315  
  2316   Current Lo gic
  2317   N/A
  2318  
  2319   Modified L ogic (Chan ges are in  bold)
  2320   Modified c opy of PSO LLLH.
  2321   PSORLLLI
  2322   The routin e PSORLLLI  is a clon ed and mod ified copy  of PSOLLL I and is u sed to cre ate the On eVA Pharma cy label.
  2323   Routines
  2324   Activities
  2325   Routine Na me
  2326   PSORLLLI
  2327   Enhancemen t Category
  2328    New
  2329    Modify
  2330    Delete
  2331    No Change
  2332   RTM
  2333  
  2334   Related Op tions
  2335   N/A
  2336  
  2337   Related Ro utines
  2338   Routines “ Called By”
  2339   Routines “ Called”
  2340  
  2341   PSORWRAP
  2342   ^%DT, C^%D TC, NOW^%D TC, EN^DIQ , ^PSNAPIS , $$PROD2^ PSNAPIS, D EVBAR^PSOB MST, PSORL LL1, EN^PS OSPSIG, $$ DRUG^PSSWR NA, 6^VADP T, PID^VAD PT, PID^VA DPT6, $$SI TE^VASITE
  2343  
  2344   Routines
  2345   Activities
  2346   Data Dicti onary (DD)  Reference s
  2347  
  2348   ^%ZIS(2,
  2349   ^DD(“DD”,
  2350   ^DPT(
  2351   ^PS(51,
  2352   ^PS(53,
  2353   ^PS(55,
  2354   ^PS(59,
  2355   ^PSDRUG(
  2356   ^PSDRUG(“A Q”,
  2357   ^PSNDF(
  2358   ^PSRX(
  2359   Related Pr otocols
  2360   N/A
  2361   Related In tegration  Control Re gistration s (ICRs)
  2362   External r eference t o DRUG^PSS WRNA suppo rted by DB IA 4449Ext ernal refe rence to $ $DS^PSSDSA PI support ed by DBIA  5425Exter nal refere nce to ^DI C(5 suppor ted by DBI A 4293Exte rnal refer ence to ^S C( support ed by DBIA  2675Exter nal refere nce to $$D S^PSSDSAPI  supported  by DBIA 5 425
  2363   Data Passi ng
  2364    Input
  2365    Output Re ference
  2366    Both
  2367    Global Re ference
  2368    Local
  2369   Input Attr ibute Name  and Defin ition
  2370   Name: N/A
  2371   Definition :
  2372   Output Att ribute Nam e and Defi nition
  2373   Name: N/A
  2374   Definition :
  2375  
  2376   Current Lo gic
  2377   N/A
  2378  
  2379   Modified L ogic (Chan ges are in  bold)
  2380   Modified c opy of PSO LLLI.
  2381   PSORRX1
  2382   The routin e PSORRX1  is a new r outine for  processin g remote p rescriptio n activity  used to c reate the  OneVA Phar macy label .
  2383   Routines
  2384   Activities
  2385   Routine Na me
  2386   PSORRX1
  2387   Enhancemen t Category
  2388    New
  2389    Modify
  2390    Delete
  2391    No Change
  2392   RTM
  2393  
  2394   Related Op tions
  2395   N/A
  2396  
  2397   Related Ro utines
  2398   Routines “ Called By”
  2399   Routines “ Called”
  2400  
  2401   PSORWRAP
  2402   ^%DT, C^%D TC, NOW^%D TC, EN^DIQ , ^PSNAPIS , $$PROD2^ PSNAPIS, D EVBAR^PSOB MST, PSORL LL1, EN^PS OSPSIG, $$ DRUG^PSSWR NA, 6^VADP T, PID^VAD PT, PID^VA DPT6, $$SI TE^VASITE
  2403  
  2404   Routines
  2405   Activities
  2406   Data Dicti onary (DD)  Reference s
  2407  
  2408  
  2409   Related Pr otocols
  2410   N/A
  2411   Related In tegration  Control Re gistration s (ICRs)
  2412   External r eference t o DRUG^PSS WRNA suppo rted by DB IA 4449Ext ernal refe rence to $ $DS^PSSDSA PI support ed by DBIA  5425Exter nal refere nce to ^DI C(5 suppor ted by DBI A 4293Exte rnal refer ence to ^S C( support ed by DBIA  2675Exter nal refere nce to $$D S^PSSDSAPI  supported  by DBIA 5 425
  2413   Data Passi ng
  2414    Input
  2415    Output Re ference
  2416    Both
  2417    Global Re ference
  2418    Local
  2419   Input Attr ibute Name  and Defin ition
  2420   Name: N/A
  2421   Definition :
  2422   Output Att ribute Nam e and Defi nition
  2423   Name: N/A
  2424   Definition :
  2425  
  2426   Current Lo gic
  2427   N/A
  2428  
  2429   Modified L ogic (Chan ges are in  bold)
  2430   This is a  new routin e for proc essing rem ote prescr iption act ivity.
  2431   PSORRX2
  2432   The routin e PSORRX2  is a new r outine for  HL7 proce ssing and  used to cr eate the O neVA Pharm acy label.
  2433   Routines
  2434   Activities
  2435   Routine Na me
  2436   PSORRX2
  2437   Enhancemen t Category
  2438    New
  2439    Modify
  2440    Delete
  2441    No Change
  2442   RTM
  2443  
  2444   Related Op tions
  2445   N/A
  2446  
  2447   Related Ro utines
  2448   Routines “ Called By”
  2449   Routines “ Called”
  2450  
  2451   PSORWRAP
  2452   ^DIR, LOGD ATA^PSORWR AP, 
  2453   FMADD^XLFD T, NOW^XLF DT
  2454  
  2455   Routines
  2456   Activities
  2457   Data Dicti onary (DD)  Reference s
  2458   N/A
  2459  
  2460   Related Pr otocols
  2461   N/A
  2462   Related In tegration  Control Re gistration s (ICRs)
  2463    
  2464   Data Passi ng
  2465    Input
  2466    Output Re ference
  2467    Both
  2468    Global Re ference
  2469    Local
  2470   Input Attr ibute Name  and Defin ition
  2471   Name: N/A
  2472   Definition :
  2473   Output Att ribute Nam e and Defi nition
  2474   Name: N/A
  2475   Definition :
  2476  
  2477   Current Lo gic
  2478   N/A
  2479  
  2480   Modified L ogic (Chan ges are in  bold)
  2481   New routin e for HL7  processing .
  2482   Templates
  2483   PSO LM REM OTE ORDER  SELECTION
  2484   The ‘PSO L M REMOTE O RDER SELEC TION’ prov ides the l ogic neede d to displ ay a remot e prescrip tion withi n PSO LM B ACKDOOR OR DERS.
  2485   Templates
  2486   Descriptio n
  2487   Template N ame
  2488   PSO LM REM OTE ORDER  SELECTION
  2489   Enhancemen t Category
  2490    New
  2491    Modify
  2492    Delete
  2493    No Change
  2494   RSD
  2495  
  2496   Template T ype
  2497    Sort
  2498    Input
  2499    Print
  2500    Other
  2501   Related Op tions
  2502  
  2503  
  2504   Related Ro utines
  2505   Routines “ Called by”
  2506   Routines “ Called”
  2507  
  2508   ^VALM
  2509  
  2510  
  2511   Routines
  2512   Descriptio n
  2513   Data Dicti onary (DD)  Reference s
  2514   N/A
  2515   Global Ref erences
  2516  
  2517   PSO LM REM OTE REPORT  DETAILS
  2518   The ‘PSO L M REMOTE R EPORT DETA ILS’ provi des the lo gic that w ill displa y details  about the  remote rep ort item.
  2519   Templates
  2520   Descriptio n
  2521   Template N ame
  2522   PSO LM REM OTE REPORT  DETAILS
  2523   Enhancemen t Category
  2524    New
  2525    Modify
  2526    Delete
  2527    No Change
  2528   RSD
  2529  
  2530   Template T ype
  2531    Sort
  2532    Input
  2533    Print
  2534    Other
  2535   Related Op tions
  2536  
  2537  
  2538   Related Ro utines
  2539   Routines “ Called by”
  2540   Routines “ Called”
  2541  
  2542  
  2543  
  2544  
  2545   Routines
  2546   Descriptio n
  2547   Data Dicti onary (DD)  Reference s
  2548   N/A
  2549   Global Ref erences
  2550  
  2551   PSO LM REM OTE RX REP ORT
  2552   The ‘PSO L M REMOTE R S REPORT’  is the men u system f or the sel ected item s of the r emote pres cription r eport.
  2553   Templates
  2554   Descriptio n
  2555   Template N ame
  2556   PSO LM REM OTE RX REP ORT
  2557   Enhancemen t Category
  2558    New
  2559    Modify
  2560    Delete
  2561    No Change
  2562   RSD
  2563  
  2564   Template T ype
  2565    Sort
  2566    Input
  2567    Print
  2568    Other
  2569   Related Op tions
  2570  
  2571  
  2572   Related Ro utines
  2573   Routines “ Called by”
  2574   Routines “ Called”
  2575  
  2576  
  2577  
  2578  
  2579   Routines
  2580   Descriptio n
  2581   Data Dicti onary (DD)  Reference s
  2582   N/A
  2583   Global Ref erences
  2584  
  2585  
  2586  
  2587   Bulletins
  2588   Not applic able.
  2589  
  2590  
  2591   Data Entri es Affecte d by the D esign
  2592   Not applic able.
  2593   Unique Rec ord(s)
  2594   Not applic able.
  2595   File or Gl obal Size  Changes
  2596   Global
  2597   The Pharma cy Remote  Prescripti on Manager  uses the  following  globals:
  2598   ^PSRX
  2599   ^PSRXR
  2600   The ^PSRX  global hol ds the pre scription  data. The  ^PSRXR glo bal holds  a comprehe nsive list  of inform ation rega rding remo te refill  and partia l fill act ivity.
  2601   Table 7: G lobal Plac ement and  Protection
  2602   Global
  2603   Type
  2604   Placement
  2605   Journal
  2606   Protection
  2607   ^PSRX
  2608   Dynamic
  2609   No changes  should be  made to t he current  placement  or settin gs related  to this g lobal
  2610   No change
  2611   No change
  2612   ^PSRXR
  2613   Static
  2614   Place this  global in  a volume  set that c an accommo date the f ollowing y early grow th rate: 2 ,000 bytes  * visits  per year
  2615   Yes
  2616   RWP or D
  2617   Files
  2618   Table 8: F iles
  2619   File #
  2620   File Name
  2621   Root Globa l
  2622   Global Pro tection
  2623   52
  2624   PRESCRIPTI ON
  2625   ^PSRX
  2626   No change
  2627   52.09
  2628   REMOTE PRE SCRIPTION  LOG
  2629   ^PSRXR (52 .09
  2630   @
  2631   59
  2632   OUTPATIENT  SITE
  2633   ^PS (59,
  2634   No change
  2635   Prescripti on (#52) F ile
  2636   The overal l prescrip tion file  definition  remains u nchanged;  however, t here are a  few modif ications t hat track  informatio n related  to a remot e refill o r partial  fill. Thos e changes  are listed  in the fo llowing ta bles and a re isolate d to the s ub-files f or refill  and partia l fill.
  2637   REFILL Sub  File (#52 .1)
  2638   Table 9: R EFILL Sub  file (#52. 1)
  2639   Field Numb er
  2640   Field Name
  2641   Pointers
  2642   Cross Refe rences and  Record In dices
  2643   Descriptio n
  2644   91
  2645   REMOTE FIL L SITE
  2646   Pointer to  the Insti tution fil e (#4)
  2647   52^RFIL
  2648   Pointer fi eld: Point s to the I nstitution  from whic h the refi ll or part ial fill r equest was  generated .
  2649   92
  2650   REMOTE PHA RMACIST
  2651   N/A
  2652   N/A
  2653   Free-text  field: Thi s free tex t field ho lds the na me of the  remote req uesting ph armacist.  This is th e pharmaci st that ma de the rem ote refill  or partia l fill req uest.
  2654   93
  2655   REMOTE PHA RMACIST PH ONE
  2656   N/A
  2657   N/A
  2658   Free-text  field: Thi s is the c ontact num ber for th e remote ( requesting ) pharmaci st. This i s the phar macist tha t initiate d the remo te refill  or partial  fill requ est.
  2659   PARTIAL FI LL Sub fil e (#52.2)
  2660   Table 10:  PARTIAL FI LL sub fil e (#52.2)
  2661   Field Numb er
  2662   Field Name
  2663   Pointers
  2664   Cross Refe rences and  Record In dices
  2665   Descriptio n
  2666   91
  2667   REMOTE FIL L SITE
  2668   Pointer to  the Insti tution fil e (#4)
  2669   52^PFIL
  2670   Pointer fi eld: Point s to the I nstitution  from whic h the refi ll or part ial fill r equest was  generated .
  2671   92
  2672   REMOTE PHA RMACIST
  2673   N/A
  2674   N/A
  2675   Free-text  field: Thi s free tex t field ho lds the na me of the  remote req uesting ph armacist.  This is th e pharmaci st that ma de the rem ote refill  or partia l fill req uest.
  2676   93
  2677   REMOTE PHA RMACIST PH ONE
  2678   N/A
  2679   N/A
  2680   Free-text  field: Thi s is the c ontact num ber for th e remote ( requesting ) pharmaci st. This i s the phar macist tha t initiate d the remo te refill  or partial  fill requ est.
  2681   OneVA Phar macy Flag  (#3001) of  the Outpa tient Site  file (#59 )
  2682   Field Numb er
  2683   Field Name
  2684   Pointers
  2685   Cross Refe rences and  Record In dices
  2686   Descriptio n
  2687   3001
  2688   OneVA Phar macy Flag
  2689   N/A
  2690   N/A
  2691   This is th e OneVA ph armacy fla g, which c ontrols th e remote p rescriptio n logic. T he flag ca n be set t o ‘On’ or  ‘Off’. Whe n in the O n state, r emote pres criptions  can be que ried, and  actions ca n be taken  on the ac tive presc riptions.  When in th e ‘Off’ st ate, presc riptions w ill not be  queried,  and incomi ng refill/ partial fi ll request s will not  be proces sed.
  2692   Outpatient  Site (#59 ) File
  2693   Field Numb er
  2694   Field Name
  2695   Pointers
  2696   Cross Refe rences and  Record In dices
  2697   Descriptio n
  2698   3001
  2699   OneVA Phar macy Flag
  2700   N/A
  2701   N/A
  2702   This is th e OneVA ph armacy fla g, which c ontrols th e remote p rescriptio n logic. T he flag ca n be set t o ‘On’ or  ‘Off’. Whe n in the O n state, r emote pres criptions  can be que ried, and  actions ca n be taken  on the ac tive presc riptions.  When in th e ‘Off’ st ate, presc riptions w ill not be  queried,  and incomi ng refill/ partial fi ll request s will not  be proces sed.
  2703   Remote Pre scription  Log (#52.0 9) File
  2704   Table 11:  Remote Pre scription  Log (#52.0 9
  2705   Field Numb er
  2706   Field Name
  2707   Pointers
  2708   Cross Refe rences and  Record In dices
  2709   Descriptio n
  2710   .01
  2711   LOG DATE/T IME
  2712   N/A
  2713   52.09^B
  2714   Date/Time  of refill/ partial fi ll transac tion.
  2715   .02
  2716   PATIENT
  2717   PATIENT (# 2)
  2718   52.09^C
  2719   This is th e patient  for which  a refill o r partial  was execut ed by anot her VA Pha rmacy othe r than the  host site .
  2720   .03
  2721   RX NUMBER
  2722   N/A
  2723   52.9^D
  2724   This is th e RX Numbe r from the  prescript ion file ( #52).
  2725   .04
  2726   SITE NUMBE R
  2727   INSTITUTIO N (#4)
  2728   5209^E
  2729  
  2730   .05
  2731   REQUEST TY PE
  2732   N/A
  2733  
  2734   RF – REFIL L
  2735   PR – PARTI AL FILL
  2736   OR – OUTSI DE REFILL
  2737   OP – OUTSI DE PARTIAL  FILL
  2738   .06
  2739   OUTGOING R EQUEST PHA RMACIST
  2740   NEW PERSON  (#200)
  2741   N/A
  2742   This is th e pharmaci st who ini tiated the  refill or  partial f ill reques t to the h ost facili ty
  2743   .061
  2744   REMOTE FIL LING PHARM ACIST
  2745   N/A
  2746   N/A
  2747   The pharma cist that  requested  a refill o r partial  from a hos t facility .
  2748   .07
  2749   QUANTITY
  2750   N/A
  2751   N/A
  2752   This is th e quantity  dispensed .
  2753   .08
  2754   DAYS SUPPL Y
  2755   N/A
  2756   N/A
  2757   This is th e day’s su pply for t he medicat ion.
  2758   .09
  2759   REFILL/PAR TIAL DATE
  2760   N/A
  2761   N/A
  2762   This is th e date of  the refill  or partia l fill req uest. This  represent s the date  as it is  logged in  the .01 fi eld of eit her the re fill or pa rtial sub  files with in the pre scription  file.
  2763   .1
  2764   DISPENSED  DATE
  2765   N/A
  2766   N/A
  2767   This is th e dispense  date as i t is held  in the DIS PENSED DAT E within t he REFILL  or PARTIAL  sub files  of the PR ESCRIPTION  file.
  2768   1
  2769   REMOTE DRU G NAME
  2770   N/A
  2771   N/A
  2772   This is th e name of  the drug b eing dispe nsed for t his reques t.
  2773   1.1
  2774   LOCAL (MAT CHED) DRUG
  2775   DRUG (#50)
  2776   N/A
  2777   The drug t hat was us ed locally  for the ‘ host’ refi ll or part ial fill.
  2778   1.2
  2779   TOTAL REFI LL/PARTIAL  FILL COST
  2780   N/A
  2781   N/A
  2782   This is th e total co st for the  ‘host’/fi lling faci lity. The  cost is de rived by u sing the c ost of the  drug at t he time of  the refil l or parti al fill. T he cost is  being ret rieved fro m file 50,  field 13.
  2783   2
  2784   MESSAGE DE TAILS
  2785   N/A
  2786   N/A
  2787   Any messag e details  related to  the trans action.
  2788   3
  2789   LABEL DATA
  2790   N/A
  2791   N/A
  2792   Label data  word proc essing fie ld.
  2793   1.3
  2794   VA PRODUCT  ID
  2795   N/A
  2796   N/A
  2797   This is th e VA produ ct ID that  will be p assed in b y the ‘hos t’ VistA s ystem.
  2798   Mail Group s
  2799   Not applic able.
  2800   Security K eys
  2801   Not applic able.
  2802   Options
  2803   Pharmacy R emote Pres cription M anager Opt ions
  2804   Name
  2805   Type
  2806   Descriptio n
  2807   PSO LM BAC KDOOR ORDE RS
  2808   Menu
  2809  
  2810   PSO RX
  2811   Menu
  2812   The overar ching menu  in which  PSO REMOTE  RX REPORT  is contai ned.
  2813   PSO REMOTE  RX REPORT  
  2814   Run Routin e
  2815   This optio n provides  details a bout remot e refill a nd partial  fill requ est, as we ll as inco ming refil l and part ial fill r equests.
  2816   PSO LM BAC KDOOR ORDE RS Option
  2817   Options
  2818   Activities
  2819   Option Nam e
  2820   PSO LM BAC KDOOR ORDE RS
  2821   Enhancemen t Category
  2822    New
  2823    Modify
  2824    Delete
  2825    No Change
  2826   Associated  Menu Opti ons that w ill invoke  this refe rence
  2827  
  2828   Data Passi ng
  2829    Input
  2830    Output
  2831    Both
  2832    Global Re ference
  2833    Local Ref erence
  2834   Menu Text  Descriptio n
  2835  
  2836   Option Typ e
  2837    Edit
  2838    Print
  2839    Menu
  2840    Inquire
  2841  
  2842    Action
  2843    Run Routi ne
  2844    Other
  2845  
  2846   Associated  Routine
  2847  
  2848   Option Def inition
  2849  
  2850  
  2851   Current En try Action  Logic
  2852  
  2853   Modified E ntry Actio n Logic (C hanges are  in bold)
  2854  
  2855   Current Ex it Action  Logic
  2856  
  2857   Modified E xit Action  Logic (Ch anges are  in bold)
  2858   PSO RX Opt ions
  2859   Options
  2860   Activities
  2861   Option Nam e
  2862   PSO RX
  2863   Enhancemen t Category
  2864    New
  2865    Modify
  2866    Delete
  2867    No Change
  2868   Associated  Menu Opti ons that w ill invoke  this refe rence
  2869  
  2870   Data Passi ng
  2871    Input
  2872    Output
  2873    Both
  2874    Global Re ference
  2875    Local Ref erence
  2876   Menu Text  Descriptio n
  2877   Rx (Prescr iptions)
  2878   Option Typ e
  2879    Edit
  2880    Print
  2881    Menu
  2882    Inquire
  2883  
  2884    Action
  2885    Run Routi ne
  2886    Other
  2887  
  2888   Associated  Routine
  2889   PSOLSET, P SOORFIN
  2890   Option Def inition
  2891  
  2892  
  2893   Current En try Action  Logic
  2894   D ^PSOLSET :'$D(PSOPA R) D CHK^P SOORFIN
  2895  
  2896   Modified E ntry Actio n Logic (C hanges are  in bold)
  2897   N/A
  2898  
  2899   Current Ex it Action  Logic
  2900   N/A
  2901  
  2902   Modified E xit Action  Logic (Ch anges are  in bold)
  2903   N/A
  2904   PSO REMOTE  RX REPORT  Option
  2905   Options
  2906   Activities
  2907   Option Nam e
  2908   PSO REMOTE  RX REPORT
  2909   Enhancemen t Category
  2910    New
  2911    Modify
  2912    Delete
  2913    No Change
  2914   Associated  Menu Opti ons that w ill invoke  this refe rence
  2915   PSO RX
  2916   Data Passi ng
  2917    Input
  2918    Output
  2919    Both
  2920    Global Re ference
  2921    Local Ref erence
  2922   Menu Text  Descriptio n
  2923   Remote Pre scription  Report
  2924   Option Typ e
  2925    Edit
  2926    Print
  2927    Menu
  2928    Inquire
  2929  
  2930    Action
  2931    Run Routi ne
  2932    Other
  2933  
  2934   Associated  Routine
  2935   PSOLSET, P SOORFIN
  2936   Option Def inition
  2937   Remote RX  Prescripti on report  display.
  2938  
  2939   Current En try Action  Logic
  2940   N/A
  2941  
  2942   Modified E ntry Actio n Logic (C hanges are  in bold)
  2943   D ^PSORRP
  2944  
  2945   Current Ex it Action  Logic
  2946   N/A
  2947  
  2948   Modified E xit Action  Logic (Ch anges are  in bold)
  2949   N/A
  2950   Protocols
  2951   PSO LM REF ILL REMOTE  ORDER Pro tocol
  2952   Protocols
  2953   Activities
  2954   Protocol N ame
  2955   PSO LM REF ILL REMOTE  ORDER
  2956   Enhancemen t Category
  2957    New   Mod ify   Dele te   No Ch ange
  2958   Associated  Protocols
  2959   PSO LM REM OTE ORDER  MENU
  2960   Data Passi ng
  2961    Input   O utput   Bo th   Globa l Referenc e   Local  Reference
  2962   Item Text  Descriptio n
  2963  
  2964   Protocol T ype
  2965    Action    Menu   Pro tocol   Pr otocol Men u   Limite d Protocol    Extende d Action    Dialog    Other
  2966   Associated  Routine
  2967   PSORRX1
  2968  
  2969   Current En try Action  Logic
  2970   N/A
  2971  
  2972   Modified E ntry Actio n Logic (C hanges are  in bold)
  2973   D REFREQ^P SORRX1
  2974  
  2975   Current Ex it Action  Logic
  2976   N/A
  2977  
  2978   Modified E xit Action  Logic (Ch anges are  in bold)
  2979   N/A
  2980   PSO LM REM OTE ORDER  MENU Proto col
  2981   Protocols
  2982   Activities
  2983   Protocol N ame
  2984   PSO LM REM OTE ORDER  MENU
  2985   Enhancemen t Category
  2986    New   Mod ify   Dele te   No Ch ange
  2987   Associated  Protocols
  2988   PSO LM REF ILL REMOTE  ORDER
  2989   PSO LM REM OTE PARTIA L
  2990   Data Passi ng
  2991    Input   O utput   Bo th   Globa l Referenc e   Local  Reference
  2992   Item Text  Descriptio n
  2993   Remote Ord er Menu
  2994   Protocol T ype
  2995    Action    Menu   Pro tocol   Pr otocol Men u   Limite d Protocol    Extende d Action    Dialog    Other
  2996   Associated  Routine
  2997   N/A
  2998  
  2999   Current En try Action  Logic
  3000   N/A
  3001  
  3002   Modified E ntry Actio n Logic (C hanges are  in bold)
  3003   N/A
  3004  
  3005   Current Ex it Action  Logic
  3006   N/A
  3007  
  3008   Modified E xit Action  Logic (Ch anges are  in bold)
  3009   N/A
  3010   PSO LM REM OTE PARTIA L Protocol
  3011   Protocols
  3012   Activities
  3013   Protocol N ame
  3014   PSO LM REM OTE PARTIA L
  3015   Enhancemen t Category
  3016    New   Mod ify   Dele te   No Ch ange
  3017   Associated  Protocols
  3018   PSO LM REM OTE ORDER  MENU
  3019   Data Passi ng
  3020    Input   O utput   Bo th   Globa l Referenc e   Local  Reference
  3021   Item Text  Descriptio n
  3022   Partial
  3023   Protocol T ype
  3024    Action    Menu   Pro tocol   Pr otocol Men u   Limite d Protocol    Extende d Action    Dialog    Other
  3025   Associated  Routine
  3026   PSORRX1
  3027  
  3028   Current En try Action  Logic
  3029   N/A
  3030  
  3031   Modified E ntry Actio n Logic (C hanges are  in bold)
  3032   D PARTIAL^ PSORRX1
  3033  
  3034   Current Ex it Action  Logic
  3035   N/A
  3036  
  3037   Modified E xit Action  Logic (Ch anges are  in bold)
  3038   N/A
  3039   PSO LM REM OTE RX REP ORT MENU P rotocol
  3040   Protocols
  3041   Activities
  3042   Protocol N ame
  3043   PSO LM REM OTE RX REP ORT MENU
  3044   Enhancemen t Category
  3045    New   Mod ify   Dele te   No Ch ange
  3046   Associated  Protocols
  3047   PSO LM SEL ECT REPORT  ITEM
  3048   Data Passi ng
  3049    Input   O utput   Bo th   Globa l Referenc e   Local  Reference
  3050   Item Text  Descriptio n
  3051   Remote Rx  Selection* *
  3052   Protocol T ype
  3053    Action    Menu   Pro tocol   Pr otocol Men u   Limite d Protocol    Extende d Action    Dialog    Other
  3054   Associated  Routine
  3055   N/A
  3056  
  3057   Current En try Action  Logic
  3058   N/A
  3059  
  3060   Modified E ntry Actio n Logic (C hanges are  in bold)
  3061   N/A
  3062  
  3063   Current Ex it Action  Logic
  3064   N/A
  3065  
  3066   Modified E xit Action  Logic (Ch anges are  in bold)
  3067   N/A
  3068   PSO LM SEL ECT REPORT  ITEM Prot ocol
  3069   Protocols
  3070   Activities
  3071   Protocol N ame
  3072   PSO LM SEL ECT REPORT  ITEM
  3073   Enhancemen t Category
  3074    New   Mod ify   Dele te   No Ch ange
  3075   Associated  Protocols
  3076   PSO LM REM OTE RX REP ORT MENU
  3077   Data Passi ng
  3078    Input   O utput   Bo th   Globa l Referenc e   Local  Reference
  3079   Item Text  Descriptio n
  3080  
  3081   Protocol T ype
  3082    Action    Menu   Pro tocol   Pr otocol Men u   Limite d Protocol    Extende d Action    Dialog    Other
  3083   Associated  Routine
  3084   PSORRP
  3085  
  3086   Current En try Action  Logic
  3087   N/A
  3088  
  3089   Modified E ntry Actio n Logic (C hanges are  in bold)
  3090   D SEL^PSOR RP
  3091  
  3092   Current Ex it Action  Logic
  3093   N/A
  3094  
  3095   Modified E xit Action  Logic (Ch anges are  in bold)
  3096   N/A
  3097   PSO REMOTE  RX QBP Q1 3 ESUBS Pr otocol
  3098   Protocols
  3099   Activities
  3100   Protocol N ame
  3101   PSO REMOTE  RX QBP-Q1 3 ESUBS
  3102   Enhancemen t Category
  3103    New   Mod ify   Dele te   No Ch ange
  3104   Associated  Protocols
  3105  
  3106   Data Passi ng
  3107    Input   O utput   Bo th   Globa l Referenc e   Local  Reference
  3108   Item Text  Descriptio n
  3109  
  3110   Protocol T ype
  3111    Action    Menu   Pro tocol   Pr otocol Men u   Limite d Protocol    Extende d Action    Dialog    Other
  3112   Associated  Routine
  3113  
  3114  
  3115   Current En try Action  Logic
  3116  
  3117   Modified E ntry Actio n Logic (C hanges are  in bold)
  3118  
  3119   Current Ex it Action  Logic
  3120  
  3121   Modified E xit Action  Logic (Ch anges are  in bold)
  3122   PSO REMOTE  RX QBP Q1 3 EVENT Pr otocol
  3123   Protocols
  3124   Activities
  3125   Protocol N ame
  3126   PSO REMOTE  RX QBP-Q1 3 EVENT
  3127   Enhancemen t Category
  3128    New   Mod ify   Dele te   No Ch ange
  3129   Associated  Protocols
  3130  
  3131   Data Passi ng
  3132    Input   O utput   Bo th   Globa l Referenc e   Local  Reference
  3133   Item Text  Descriptio n
  3134  
  3135   Protocol T ype
  3136    Action    Menu   Pro tocol   Pr otocol Men u   Limite d Protocol    Extende d Action    Dialog    Other
  3137   Associated  Routine
  3138  
  3139  
  3140   Current En try Action  Logic
  3141  
  3142   Modified E ntry Actio n Logic (C hanges are  in bold)
  3143  
  3144   Current Ex it Action  Logic
  3145  
  3146   Modified E xit Action  Logic (Ch anges are  in bold)
  3147   PSO REMOTE  RX RDS-01 3 ESUBS Pr otocol
  3148   Protocols
  3149   Activities
  3150   Protocol N ame
  3151   PSO REMOTE  RX RDS-O1 3 ESUBS
  3152   Enhancemen t Category
  3153    New   Mod ify   Dele te   No Ch ange
  3154   Associated  Protocols
  3155  
  3156   Data Passi ng
  3157    Input   O utput   Bo th   Globa l Referenc e   Local  Reference
  3158   Item Text  Descriptio n
  3159  
  3160   Protocol T ype
  3161    Action    Menu   Pro tocol   Pr otocol Men u   Limite d Protocol    Extende d Action    Dialog    Other
  3162   Associated  Routine
  3163  
  3164  
  3165   Current En try Action  Logic
  3166  
  3167   Modified E ntry Actio n Logic (C hanges are  in bold)
  3168  
  3169   Current Ex it Action  Logic
  3170  
  3171   Modified E xit Action  Logic (Ch anges are  in bold)
  3172   PSO REMOTE  RX RDS-01 3 EVENT Pr otocol
  3173   Protocols
  3174   Activities
  3175   Protocol N ame
  3176   PSO REMOTE  RX RDS-O1 3 EVENT
  3177   Enhancemen t Category
  3178    New   Mod ify   Dele te   No Ch ange
  3179   Associated  Protocols
  3180  
  3181   Data Passi ng
  3182    Input   O utput   Bo th   Globa l Referenc e   Local  Reference
  3183   Item Text  Descriptio n
  3184  
  3185   Protocol T ype
  3186    Action    Menu   Pro tocol   Pr otocol Men u   Limite d Protocol    Extende d Action    Dialog    Other
  3187   Associated  Routine
  3188  
  3189  
  3190   Current En try Action  Logic
  3191  
  3192   Modified E ntry Actio n Logic (C hanges are  in bold)
  3193  
  3194   Current Ex it Action  Logic
  3195  
  3196   Remote Pro cedure Cal l (RPC)
  3197   Not Applic able.
  3198   Constants  Defined in  Interface
  3199   Not Applic able.
  3200   Variables  Defined in  Interface
  3201   Not Applic able.
  3202   Types Defi ned in Int erface
  3203   Not Applic able.
  3204   GUI
  3205   Not Applic able.
  3206   GUI Classe s
  3207   Not Applic able.
  3208   Current Fo rm
  3209   Not Applic able.
  3210   Modified F orm
  3211   Not Applic able.
  3212   Components  on Form
  3213   Not Applic able.
  3214   Events
  3215   Not Applic able.
  3216   Methods
  3217   Not Applic able.
  3218   Special Re ferences
  3219   Not Applic able.
  3220   Class Even ts
  3221   Not Applic able.
  3222   Class Meth ods
  3223   Not Applic able.
  3224   Class Prop erties
  3225   Not Applic able.
  3226   Uses Claus e
  3227   Not Applic able.
  3228   Forms
  3229   Not applic able.
  3230   Functions
  3231   Not applic able.
  3232   Dialog
  3233   Not applic able.
  3234   Help Frame
  3235   Not applic able.
  3236   HL7 Applic ation Para meter
  3237   The MUMPS  Patient Pr escription  Processin g [PSO LM  BACKDOOR O RDERS] men u option w ill be mod ified. The  modificat ions inclu de making  a HL7 requ ests via t he eMI ESB  to the HD R/CDS Repo sitory and  via the e MI ESB to  other Vist A instance s.
  3238   HL7 Protoc ols
  3239   An HL7 pro tocol even t and subs criber wil l be confi gured in V istA to ha ndle sendi ng HL7 req uests to t he eMI ESB . Protocol s will be  set up to  handle all  messages.
  3240   The follow ing sectio n lists co nfiguratio n examples  of the pr otocol to  handle the  various m essages.
  3241   Example of  Configura tion of a  Protocol t o handle Q BP-Q13 Eve nts
  3242   NAME: PSO  REMOTE RX  QBP-Q13 EV ENT        TYPE: even t driver
  3243     CREATOR:  LASTNAME,  FIRSTNAME      SENDI NG APPLICA TION: PSO  VISTA PHAR M
  3244     TRANSACT ION MESSAG E TYPE: QB P          EVENT TYPE : Q13
  3245     ACCEPT A CK CODE: N E                     APPLICATIO N ACK TYPE : AL
  3246     VERSION  ID: 2.5.1
  3247   SUBSCRIBER S: PSO REM OTE RX QBP -Q13 ESUBS
  3248   Example of  Configura tion of a  Subscriber  Protocol  to handle  QBP-Q13 Ev ents
  3249   NAME: PSO  REMOTE RX  QBP-Q13 ES UBS        TYPE: subs criber
  3250     CREATOR:  LASTNAME,  FIRSTNAME    RECEIVI NG APPLICA TION: PSO  EMI PHARM
  3251     EVENT TY PE: K13                          LOGICAL LI NK: PSORRX SEND
  3252     RESPONSE  MESSAGE T YPE: ACK              SENDING FA CILITY REQ UIRED?: YE S
  3253     RECEIVIN G FACILITY  REQUIRED? : YES
  3254   Example of  Configura tion of a  Protocol t o handle R DS-O13 Eve nt
  3255   NAME: PSO  REMOTE RX  RDS-O13 EV ENT
  3256     ITEM TEX T: Pharmac y/Treatmen t Dispense  Message
  3257     TYPE: ev ent driver                       CREATOR: L ASTNAME, F IRSTNAME
  3258     TIMESTAM P: 64079,4 9731                  SENDING AP PLICATION:  PSO VISTA  PHARM
  3259     TRANSACT ION MESSAG E TYPE: RD S          EVENT TYPE : O13
  3260     VERSION  ID: 2.5.1
  3261   SUBSCRIBER S: PSO REM OTE RX RDS -O13 ESUBS
  3262   Example of  Configura tion of a  Subscriber  Protocol  to handle  RDS-O13 Ev ents
  3263   NAME: PSO  REMOTE RX  RDS-O13 ES UBS
  3264     ITEM TEX T: Pharmac y/Treatmen t Dispense  Message
  3265     TYPE: su bscriber                         CREATOR: L ASTNAME, F IRSTNAME
  3266     TIMESTAM P: 64079,4 9731                  RECEIVING  APPLICATIO N: PSO EMI  PHARM
  3267     EVENT TY PE: O14                          LOGICAL LI NK: PSORRX SEND
  3268     RESPONSE  MESSAGE T YPE: RRD              PROCESSING  ROUTINE:  D PROCESS^ PSORWRAP
  3269     SENDING  FACILITY R EQUIRED?:  YES        RECEIVING  FACILITY R EQUIRED?:  YES
  3270   HL7 Sender  and Recei ver Applic ations
  3271   Sender and  receiver  HL7 applic ations wil l be confi gured in V istA to fi ll the HL7  MSH segme nt -piece  3, 4, 5 an d 6 fields . The Send ing Applic ation Faci lity Name  is used to  convey th e site num ber of the  VistA.
  3272   The follow ing sectio n lists co nfiguratio n examples  of applic ations use d in the p rotocols i dentified  above.
  3273   Receiving  HL7 Applic ation Conf iguration
  3274   NAME: PSO  VISTA PHAR M                     ACTIVE/INA CTIVE: ACT IVE
  3275     COUNTRY  CODE: USA
  3276   Sending HL 7 Applicat ion Config uration
  3277   NAME: PSO  EMI PHARM                        ACTIVE/INA CTIVE: ACT IVE
  3278     COUNTRY  CODE: USA
  3279   Sender and  Receiver  Logical Li nks
  3280   A client l ogical lin k will be  configured  in VistA  with the I P and Port  of the eM I ESB. Add itionally,  a server  or listeni ng logical  link will  be added.  HL7 messa ging will  be used to  exchange  requests b etween the  initiatin g VistA an d the eMI  ESB.
  3281   The follow ing is an  example co nfiguratio n of logic al links u sed in the  applicati ons above.
  3282   Example of  Configura tion of Lo gical Link s
  3283   NODE: PSOR RXSEND                           LLP TYPE:  TCP
  3284     STATE: I dle                              DNS DOMAIN : DOMAIN.V A.GOV
  3285     TIME STA RTED: JUN  16, 16@13: 51:04   TI ME STOPPED : JUN 16,  16@13:50:3 0
  3286     SHUTDOWN  LLP?: NO                      Q UEUE SIZE:  10
  3287     READ TIM EOUT: 60                         ACK TIMEOU T: 60
  3288     EXCEED R E-TRANSMIT  ACTION: r estart
  3289     TCP/IP A DDRESS: ex ample.va.g ov
  3290       TCP/IP POR T:  PORT                         TCP/IP SER VICE TYPE:  CLIENT (S ENDER)
  3291     PERSISTE NT: NO                           RETENTION:  15
  3292     TCP/IP O PENFAIL TI MEOUT: 60             OUT QUEUE  BACK POINT ER: 3319
  3293     OUT QUEU E FRONT PO INTER: 331 6
  3294   HL7 Logica l Link
  3295   Table 56:  HL7 Logica l Link
  3296   HL7 Logica l Link
  3297   Descriptio n
  3298   HL7 Logica l Link Par ameter Nam e
  3299   PSORRXSEND
  3300  
  3301   Enhancemen t Category
  3302    New
  3303    Modify
  3304    Delete
  3305    No Change
  3306  
  3307   Enhancemen t Category
  3308   Current
  3309   Modified
  3310   Node
  3311   N/A
  3312   N/A
  3313   Institutio n
  3314   N/A
  3315   N/A
  3316   Domain
  3317   N/A
  3318   N/A
  3319   Autostart
  3320   N/A
  3321   Disabled
  3322   Queue Size
  3323   N/A
  3324   10
  3325   LLP Type
  3326   N/A
  3327   TCP
  3328   COTS Inter face
  3329   Not applic able.
  3330   Network De tailed Des ign
  3331   The OneVA  Pharmacy p atch is an  enhanceme nt to the  existing V istA softw are theref ore the pa tch is not  introduct ion any de sign chang e to the n etwork.  T he OneVA P harmacy so ftware int egrates eM I for comm unication  protocol f or HL& mes sages.
  3332   For inform ation abou t eMI’s Ne twork Desi gn, please  follow th is LINK to  access th e eMI proj ect and pr oduct docu mentation.
  3333   Security a nd Privacy
  3334   Security
  3335   No new fun ctionality  has been  added that  would req uire addit ional secu rity measu res to the  existing  VistA appl ication.
  3336   Secure Soc kets Layer  (SSL)
  3337   The OneVA  Pharmacy a rchitectur e does not  use SSL t o transpor t HL7 from  VistA to/ from the e MI ESB. Th e use of S SL is achi eved from  the eMI ES B to the H DR/CDS Rep ository. T he scope a nd complex ity of the  changes r equired to  VistA to  support HL 7 over SSL  are unkno wn.
  3338   Authentica tion and A uthorizati on
  3339   OneVA Phar macy authe ntication  and author ization oc cur fully  within the  context o f existing  VistA sys tems and a s such rel y on the p re-existin g complian ce of thes e applicat ions with  the securi ty and pri vacy requi rements an d their re sulting au thenticati on and aut horization .
  3340   Remote Pre scription  Locking
  3341   Existing p harmacy lo cking logi c is not a ffected. N o new lock ing will o ccur on re mote presc riptions.
  3342   Privacy
  3343   OneVA Phar macy priva cy standar ds occur f ully withi n the cont ext of exi sting Vist A systems  and as suc h rely on  the pre-ex isting com pliance of  these app lications  with the s ecurity an d privacy  requiremen ts. No new  functiona lity has b een added  that would  require a dditional  privacy me asures.
  3344   Service Or iented Arc hitecture  / ESS Deta iled Desig n
  3345   Services p rovided in clude:
  3346   Provides:  Transport  of HL7 mes sages to t arget Vist A
  3347   Provides:  Proxy call  to the HD R/CDS Repo sitory for  a patient ’s active  prescripti ons.
  3348   Consumes:  HDR/CDS Re pository q uery servi ce
  3349   For inform ation abou t the HDR/ CDS Reposi tory and t he web ser vice, plea se follow  this LINK  to access  the HDR/CD S project  and produc t document ation repo sitory.
  3350   For inform ation abou t eMI, ple ase follow  this LINK  to access  the eMI p roject and  product d ocumentati on.
  3351   Also avail able is th e OneVA Ph armacy ICD  document  that is ac cessible b y followin g this LIN K.
  3352   Service De scription  for Consum ed Service  Name
  3353   Not Applic able. No d evelopment  of new se rvice.
  3354   Service De sign for P rovided Se rvice Name
  3355   Not Applic able. No d evelopment  of new se rvice.
  3356   External S ystem Inte rface Desi gn
  3357   Interface  Architectu re
  3358   Interface  Detailed D esign
  3359   The OneVA  Pharmacy p atch sends  and recei ved HL7 v2 .5.1 messa ging via t he eMI ESB . The deta ils for th e HL7 mess ages are f ound in th e OneVA Ph armacy Int egration I nterface C ontrol (IC D) documen t that is  accessible  by follow ing this L INK.
  3360   The follow ing codes  are provid ed for ref erence.
  3361   Acknowledg ement Code s
  3362   Table 12:  Acknowledg ement Code s
  3363   Code
  3364   Status
  3365   Descriptio n
  3366   AA
  3367   Applicatio n Accept
  3368   Requested  action or  operation  was succes sfully per formed
  3369   AR
  3370   Applicatio n Reject
  3371   Requested  action or  operation  failed due  to servic e errors
  3372   AE
  3373   Applicatio n Error
  3374   Requested  action or  operation  failed due  to HL7 me ssage or s emantic er rors
  3375   Order Cont rol Codes
  3376   The OneVA  Pharmacy p atch sends  and recei ved HL7 v2 .5.1 messa ging via t he eMI ESB . The deta ils for th e HL7 mess ages are f ound in th e OneVA Ph armacy Int egration I nterface C ontrol (IC D) documen t that is  accessible  by follow ing this L INK.
  3377   The follow  codes are  provided  for refere nce.
  3378   Table 13:  Order Cont rol Codes
  3379   Code
  3380   Status
  3381   RF 
  3382   Refill ord er request
  3383   PF
  3384   Partial fi ll order r equest*
  3385   AF
  3386   Order refi ll authori zation req uest appro ved
  3387   DF
  3388   Order refi ll authori zation req uest denie d
  3389   FU
  3390   Order refi lled unsol icited at  patient’s  request
  3391   OF
  3392   Order refi lled as re quested by  placer sy stem
  3393   *PF is not  an HL7 st andard cod e
  3394   OneVA Phar macy HL7 M essages
  3395   Query by P arameter R equest HL7  Message
  3396   The ‘Query  by Parame ter Reques t’ is a QB P^Q13 HL7  message ty pe.
  3397   The detail s for the  all OneVA  Pharmacy H L7 message s are foun d in the O neVA Pharm acy Integr ation Inte rface Cont rol (ICD)  document t hat is acc essible by  following  this LINK .
  3398   Prescripti on Query S ervice Res ponse HL7  Message
  3399   The ‘Presc ription Qu ery Servic e Response ’ is a RTB ^K13 HL7 m essage typ e.
  3400   The detail s for the  all OneVA  Pharmacy H L7 message s are foun d in the O neVA Pharm acy Integr ation Inte rface Cont rol (ICD)  document t hat is acc essible by  following  this LINK .
  3401   Pharmacy/T reatment D ispense Me ssage Requ est HL7 Me ssage
  3402   The ‘Pharm acy/Treatm ent Dispen se Message  Request’  is a RDS^O 13’ HL7 me ssage type .
  3403   The detail s for the  all OneVA  Pharmacy H L7 message s are foun d in the O neVA Pharm acy Integr ation Inte rface Cont rol (ICD)  document t hat is acc essible by  following  this LINK .
  3404   Prescripti on Refill/ Partial Se rvices Res ponse HL7  Message
  3405   The ‘Presc ription Re fill/Parti al Service s Response ’ is a RRD ^O14’ HL7  message ty pe.
  3406   The detail s for the  all OneVA  Pharmacy H L7 message s are foun d in the O neVA Pharm acy Integr ation Inte rface Cont rol (ICD)  document t hat is acc essible by  following  this LINK .
  3407   Human-Mach ine Interf ace
  3408   OneVA Phar macy will  utilize ex isting Vis tA functio nality to  the fulles t extent p ossible. T he patch u ses Charac ter-Based  User Inter face (CBUI ) to displ ay query i nformation  to the us er. This t echnology  will somet imes be co mmonly ref erred to a s “roll an d scroll”  output. On eVA Pharma cy is a te rminal bas ed applica tion and d oes not ha ve a GUI.
  3409   Interface  Design Rul es
  3410   Not Applic able.
  3411   Inputs
  3412   Manual key board entr y is used  for OneVA  Pharmacy a pplication  input.
  3413   Outputs
  3414   Terminal o utput disp lay is use d for OneV A Pharmacy  applicati on output.
  3415   Navigation  Hierarchy
  3416   Figure 32:  Navigatio nal Hierar chy
  3417  
  3418   Prescripti on Display
  3419   PSO LM BAC KDOOR ORDE RS will be  modified  to display  prescript ions from  other VA P harmacy lo cations in  the same  screen whe re the loc al prescri ption orde rs are dis played for  a patient . The pres criptions  from other  VA Pharma cy locatio ns will li st after a ny local p rescriptio n order an d will hav e a sectio n header w ith the fo llowing fo rmat ‘---- -SITE NAME  (SITE NUM BER) ----‘ delineatin g the item s. Leverag ing existi ng functio nality mea ns less tr aining and  immediate  familiari ty with th e process.
  3420   Once the u ser select s to ‘Refi ll’ or ‘Pa rtially Re fill’ a pr escription  that orig inated fro m another  VA Pharmac y location , a prompt  will disp lay to ent er the req uired info rmation fo r sending  a request  to the ‘or iginating’  system, s o that the  refill or  partial f ill may be  completed  and the p rescriptio n record u pdated.
  3421   The ‘Selec t Order’ f unction wi thin PSO L M BACKDOOR  ORDERS wi ll be modi fied to di fferentiat e between  the dispen sing and h ost orders  and pull  from the h ost order  ^XTMP arra y when nee ded.
  3422   Once the u ser has se lected the  order, a  new option  is availa ble to eit her ‘refil l remote o rder’ or ‘ partial re fill remot e order’.  The update s to the d ata will o ccur on th e system o f origin.  Additional  fields wi ll be adde d to the P rescriptio n file (#5 2) (refer  to this se ction for  details).  The fields  will incl ude remote  pharmacis t name, re mote pharm acist phon e number,  and remote  filling s ite.
  3423   A new loca l file wil l be added  to hold t he informa tion about  the host  prescripti on that ha s been fil led. This  file will  contain in formation  about the  site, Rx n umber, pha rmacist wh o filled t he Rx, and  the date  the prescr iption was  filled in  the ‘disp ensing’ sy stem. This  file will  be used f or reporti ng and tra cking purp oses.
  3424   Figure 33:  Medicatio n Profile  Screen Exa mple – Rem ote Active  Rx
  3425  
  3426   Figure 34:  Remote OP  Medicatio n Screen
  3427  
  3428   Attachment  A – Appro val Signat ures
  3429   This secti on is used  to docume nt the app roval of t he OneVA P harmacy Im plementati on System  Design Doc ument duri ng the For mal Review . The revi ew should  be ideally  conducted  face to f ace where  signatures  can be ob tained ‘li ve’ during  the revie w however  the follow ing forms  of approva l are acce ptable:
  3430   1. Physica l signatur es obtaine d face to  face or vi a fax 
  3431   2. Digital  signature s tied cry ptographic ally to th e signer 
  3432   3. /es/ in  the signa ture block  provided  that a sep arate digi tally sign ed e-mail  indicating  the signe r’s approv al is prov ided and k ept with t he documen t
  3433   The follow ing member s of the g overning I ntegrated  Project Te am (IPT) a re require d to sign.  Please an notate sig nature blo cks accord ingly.
  3434  
  3435   Signed: 
  3436  
  3437   __________ __________ __________ __________ __________ __________ __________ ________
  3438   Joshua Pat terson Dat e
  3439   Integrated  Project T eam (IPT)  Chair
  3440  
  3441   __________ __________ __________ __________ __________ __________ __________ ________
  3442   Michael Va lentinoDat e
  3443   Business S ponsor
  3444  
  3445   __________ __________ __________ __________ __________ __________ __________ ________ 
  3446   Cecelia Wr ay Date
  3447   Project Ma nager
  3448  
  3449  
  3450   Additional  Informati on 
  3451   Identifica tion of Te chnology a nd Standar ds
  3452   Reference  materials  include th e followin g:
  3453   IEEE 16-20 09, System s Design /  Software  Design Des criptions  – http://s tandards.i eee.org/fi ndstds/sta ndard/1016 -2009.html
  3454   HL7 Messag ing Standa rd v2.5.1  - http://w ww.hl7.org /implement /standards /product_b rief.cfm?p roduct_id= 144
  3455   VA118-13-R -0445, B.3  Performan ce Work St atement is sued 2013- 07-26
  3456   Medical Do main Web S ervices (M DWS) docum entation -  http://va .gov/vdl/a pplication .asp?appid =192
  3457   HL7 (VistA  Messaging ) document ation - ht tp://va.go v/vdl/appl ication.as p?appid=8
  3458   My Healthe Vet docume ntation -  http://va. gov/vdl/ap plication. asp?appid= 153
  3459   Constraini ng Policie s, Directi ves and Pr ocedures
  3460   Not applic able.
  3461   Requiremen ts Traceab ility Matr ix
  3462   The Requir ements Tra ceability  Matrix (RT M) cis acc essible on  the VA Sh arePoint.  The OneVA  Pharmacy R TM can be  access by  following  this LINK.
  3463   Packaging  and Instal lation
  3464   There are  no known s pecial con sideration s for soft ware packa ging of th is VistA p atch and t he install ations ins tructions  will be de livered wi th the One VA Pharmac y Installa tion, Back  out, and  Roll Back  Plan.
  3465   Design Met rics
  3466   Not applic able.