Home
outpatient pharmacy technical manual/security guide
Contents
1. PSO146PS 50153 5 PSO251PO PSO260PI PSO5241 505252 PSO525AP PSO5291 PSO52API PSO52B PSO52EX PSO53 5 55 2 PSO55FX3 PSO59 PSOADDR PSOAMIS PSOAMISO PSOAMIS1 PSOARC PSOARCCO PSOARCCV PSOARCDE PSOARCF1 PSOARCF2 PSOARCF3 PSOARCF4 PSOARCF5 PSOARCF6 PSOARCIN PSOARCLT PSOARCR1 PSOARCR2 PSOARCRR PSOARCS2 PSOARCSV PSOARCTG PSOARCTP PSOARX PSOARX1 PSOATRD PSOATRF PSOATRF1 PSOATRFC PSOATRP PSOATRPP PSOATRR PSOAUTOC PSOB PSOBAI PSOBAIR2 PSOBAIRP PSOBARV PSOBBC PSOBGMG1 PSOBGMG2 PSOBGMG3 PSOBGMGR PSOBING1 PSOBINGO PSOBKDE1 PSOBKDED PSOBMST PSOBORPO PSOBORP1 PSOBORP2 PSOBORP3 PSOBPSR1 PSOBPSRP PSOBPSSP PSOBPSU1 PSOBPSU2 PSOBPSUT PSOBRPRT PSOBSET PSOBSETI PSOBUILD PSOCAN PSOCAN1 PSOCAN2 PSOCAN3 PSOCAN3N PSOCAN4 PSOCLERK PSOCLO1 PSOCLOLS PSOCLPRE PSOCLUTL PSOCMOP PSOCMOPA PSOCMOPB PSOCMOPC PSOCMOPR PSOCOPAY PSOCOST PSOCOSTP PSOC
2. UMBER 1 CTRL CODE ABBREVIATION LLI FULL NAME LASER LABEL INIT CONTROL CODE 27 amp 1 27 27 6100 27 amp u300D 27 amp 13A 27 amp 10 p 54 UMBER 2 CTRL CODE ABBREVIATION F10 FULL NAME TEN POINT FONT NO BOLD COMO CODES Wy S27 LV c KAI Oye oi UMBER 3 CTRL CODE ABBREVIATION F8 FULL NAME EIGHT POINT FONT NO BOLD CONTRO MMC 9 EM 7 W CLOD S TS UMBER 4 CTRL CODE ABBREVIATION 12 FULL NAME TWELVE POINT FONT NO BOLD CODES Wy 5952 7 V LOU cz 552 8091 UMBER 5 CTRL CODE ABBREVIATION F9 FULL NAME NINE POINT FONT NO BOLD CUO 27 W Gs lOO 25 UMBER 6 CTRL CODE ABBREVIATION ST FULL NAME START OF TEXT CONMROTECODE ES PSOVSPSOVHESOVE WI B27 Vo WSO Us sow Viel UMBER 7 CTRL CODE ABBREVIATION CDII FULL NAME CRITICAL DRUG INTERACTION INITIALIZATION CON LROEBCOD ER Momo OX OF PONE AO OTE S GNE o eo OL UMBER 8 CTRL CODE ABBREVIATION PMII FULL NAME PMI SECTION INITIALIZATION CONDROMBCODE Po Ox Orr SONS EOS ONE IORS ORONT AROS OYM oss UMBER 12 CTRL CODE ABBREVIATION ACI FULL NAME ADDRESS CHANGE INITIALIZATION CONTROL CODE S PSOHFONT F12 PSOX 1210 PSOY 700 PSOFY 1270 UMBER 13 CTRL CODE ABBREVIATION ALI FULL NAME ALLERGY SECTION INITIALIZATIO CONTROL CODE MOS NE
3. 5 Resource Requiremients PETER 5 Options to be Deleted during Installation eese enne enne 6 Templates to be Deleted during Installation oe i eee dene ee PA diodes 7 Routines to be Deleted during Installation eese 7 M Audiofax Telephone Refill Requests a 7 Setting up the Bingo Board Device ue aaa eee aie a 8 Mail Group Setup for the HL7 External 8 Using th Mamtenance Menu olor stes ges ese poete ee tav ossa ed evade eia 8 Queue Backgro nd JobS e ee VOIR RES d dosdeneasbeodates 9 lui eL ee LI Outpatient Pharmacy Files e NR EY PRA STR IANUE BEN ARN ona NN Cet op era ee deed 11 IP NIB Exported Men ntt Diete Aha Suku 15 Sec rity n 15 as a E M Ei 16 Archiving and PUT OUI der LL Setting up the Archive Device uu tes estis qt eos
4. OUTPATIENT PHARMACY TECHNICAL MANUAL SECURITY GUIDE Version 7 0 December 1997 Revised March 2012 Department of Veterans Affairs Product Development Revision History Each time this manual is updated the Title Page lists the new revised date and this page describes the changes If the Revised Pages column lists All replace the existing manual with the reissued manual If the Revised Pages column lists individual entries e g 25 32 either update the existing manual with the Change Pages Document or print the entire new manual Revised Patch Description Pages Number i PSO 7 367 Added routine PSOFDAUT Updated NTE Segment listing N Goyal PM B Thomas Tech Writer i 9 11 31 PSO 7 354 Added new menu option Enter Edit Automated Dispensing 34 69 70 Devices 71 Updated list of files with file 52 53 Added file 52 53 to file security section Added new menu option Enter Edit Automated Dispensing Devices Added RXD 13 Dispense To location N Goyal PM J Owczarzak Tech Writer i vi 11 PSO 7 385 Removed from file 52 87 name E Changed name of PSO TRICARE and PSO TRICARE MGR security keys to PSO TRICARE CHAMPVA and PSO TRICARE CHAMPVA respectively 36 38 39 Updated ePharmacy Menu with correct menu items 58 60 63 Added Advanced Beneficiary Notice Code for ePharmacy Rx 64 in Appendix A references S Spence PM B Tomlin Tech Writer i ii 9 11
5. uD EN TU Uter 48 Laser Mabel Printers 5 eon eO DDR 44 Laser Label Printers Hardware Setup n eee enne ennenn 44 M M Audiofax Telephone Refill 5 2 2 0 200 0000000 000000000000 7 Mail Group Setup for the HL7 External 8 29 Men Assieninents in ee D eget e i haqa ped o D RUP bee iphiata 15 29 Men Diagranis naa Iioc RE ete aie ud d ig tee eti de ete ies 33 Message Rules e ete eere cadi ere e eite des ly ha ne vei ete cdit hua 55 MI290 E 43 MIE 661 i nto e Ree tide ete Ie nti eb ei P date tees 43 N New Label Stock Version 6 0 and Later Versions enne eene 42 Online DOCUMENTATION e EUST eeu Eee ee e Ee cett se IN gio 3 Options to be Deleted during Installation sa u DI n aaa EA a iR o iao enne 6 Order Messaging Exceptions nere PR eere reor tod ee er ei tee tot ees 78 QOPIENTATION PE M 3 OTG S60 N eed e ne d tee bte Reb bed ei ede 43 Outpatient Pharmacy Files tere e eee o ete ad de oe eren 11 Outpatient Pharmacy HL7 Interface Specifications sssssseeseseeeeee
6. 7 Messaging with an External System New Protocol A new protocol PSO RECEIVE ORDER is exported for processing orders from an external system To use this functionality this protocol must be added as a SUBSCRIBER to the Event Driver protocol in the PROTOCOL file 101 which sends the external order message New Application Parameter A new HL7 application parameter PSO RECEIVE is exported as the Receiving Application of the PSO RECEIVE ORDER protocol from the HL7 APPLICATION PARAMETER file 771 New Logical Link A new HL7 logical link PSO LLPO from the HL LOGICAL LINK file 870 is being exported as the Logical Link of the PSO RECEIVE ORDER protocol This link information will need to be edited to match the communication method of the interface if this interface is activated For any orders received from an external source two new fields are stored with the Outpatient Pending Order and with the prescription once the Pending Order is finished These fields are EXTERNAL PLACER ORDER NUMBER field 114 and EXTERNAL APPLICATION field 116 in the PENDING OUTPATIENT ORDERS file 52 41 These fields are also within the PRESCRIPTION file 52 and are the EXTERNAL PLACER ORDER NUMBER field 123 and EXTERNAL APPLICATION field 124 Any external systems that send orders through this interface to VistA must comply with having unique external placer order numbers within the orders from this system This number is used for
7. 5 CG 1 PSO NSC RX COPAY FT1 7 Transaction Code CE NEW 500 52 105 100 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Index A Archiving and Pureing pee REI HERE RE relier EAE tertie eats 17 B Barcodes and Label Printer Support n n enne nennen rennen enne nein nennen 41 Barcodes on Dot Matrix dodo eR her bite rese ie c ree Ere eb batir cae eee 41 C Calla ble Routin s inc eoo cone dee Domi te pem dt tet ie 19 Communication Protocol Q 5 rtr rat FEE a cer EHE HER 57 Control Code Entries Samples note teret n tee e DER RO OE 45 Control Codes in use by Laser Labels rete rette ten tu Dr t pee OE 48 D Data Base Integration Agreement 1 1 1100000000 23 IBETEENIQU UP 43 Dot Matrix Labels u indo ete hd eG ti t beiden dte eese 42 Dot Matrix Printers and 41 E El ctronic Signatures 1 uo esa pede ELI ete oe ELE Peer pode ieee dearer 29 Exported Options eese ree po E TR ERI PEDE en ieee 15 External Interfaces 1 nece ER EL dee Eo E re Pe pe ce dte tee as 19 External Relations 4er EG
8. 33 PHharimacis t Me Di hse a e qt M t M d 38 Pharmacy Technician s Mehlc uu rie of te ito cue E 39 Standalone S II 39 Journaling Glob ls ient scere ONSE NU URGE va iot ERR ii ven Barcodes and Label Printer Suppor t 41 Barcodes on Dot Matrix Printers n a 41 New Label Stock Version 6 0 and Later Versions Dot Matrix Labels 42 ase Label c ues i oda desde cha dient Ideen i fires 44 SCiP LAIKO ag 0 os e t EE 50 QI OSS REY MEM ER Appendix A Outpatient Pharmacy HL7 Interface Specifications 55 Appendix B HL7 Messaging with an External System 73 Appendix rr 1 Appendix D HL7 Messaging for VistA Data Extraction Framework VDEF 83 Inm ep i LOM vi Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Introduction This document briefly describes the technical and security aspects of Outpatient Pharmacy V 7 0 It is intended for members of the Automated Data Processing ADP Information Resources Management Service IRMS staff who have had exp
9. Outpatient Pharmacy V 7 0 may be expected to require about 350 Mbytes of disk space The actual disk utilization will of course depend primarily on the size of the 3 large files PRESCRIPTION file 52 PHARMACY PATIENT file 55 and DRUG COST file 50 9 The requirements for Video Display Terminals VDTs and printers also depend on the number of transactions Outpatient Pharmacy V 7 0 performs Approximately three VDTs and one printer are needed for each 500 prescriptions or fraction of 500 issued each day If mail out refills are handled separately at least one VDT and one printer for each 500 refills are required An additional VDT and a printer may be desired in the supervisor s office and 1 VDT in the office of people who are assigned to consult with patients about their medication regimens October 2007 Outpatient Pharmacy V 7 0 5 Technical Manual Security Guide There are no special device requirements for dot matrix labels except to print barcodes on labels In this case the label printer must be able to print barcodes and must be able to be set to a form length of either 4 inches or 24 lines The section in this document on barcodes provides additional information about this function Laser printed labels require one or more specially configured printers The printer must be able to print to a legal length form and must print barcodes In addition the printer must support Hewlett Packard s Printer Control Language PC
10. UMBER 31 CTRL CODE ABBREVIATION AWI FULL NAME ALLERGY WARNING INITIALIZATIO CONTROL CODE S PSOX 0 PSOY 1400 PSOYI 50 PSOFONT F10 UMBER 32 CTRL CODE ABBREVIATION F6 FULL NAME SIX POINT FONT NO BOLD CONTRO CODES Wy e227 LUI 2 3 W Slow Sloe 2 UMBER 33 CTRL CODE ABBREVIATION EBT FULL NAME END OF BARCODE TEXT 252 UY 27 e 66021 UMBER 34 CTRL CODE ABBREVIATION BLBC FULL NAME BOTTLE LABEL BARCODE CONTR CODES Wi 27 SloOlO Ios 12 2 aS T 0 Ww z 0s 2 7 c Vea 9227 OSE SOx LOO UMBER 35 CMRI COME ASI Ie FULL NAME PHARMACY FILL DOCUMENT TRAILER CONTROL CODE S PSOY 1015 PSOYI 45 PSOX 0 PSOFONT F10 PSOBYI 50 PSOTFONT F9 PSOBY 1280 NUMBER 36 CTRL CODE ABBREVIATION EBLBC FULL NAME END OF BOTTLE LABEL BARCODE CONMROL CODES W 52775 LOU 27 SlolOvVOSOloLeGd2u NUMBER 37 CTRL CODE ABBREVIATION SBT FULL NAME START OF BARCODE TEXT 46 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide 0 PSOY 35 PSORYI 40 PSOHYI CONTROL CODE S PSOY PSOY PSOYI W 27 p P
11. 102 1 from the PRESCRIPTION file 52 RXE 21 Pharmacy treatment dispense Instructions Label name amp VA PRINT NAME RXE 31 Supplementary Code contains three pieces of information e An indicator that the drug is a controlled substance or not Y N e An indicator if the patient is a ScripTalk patient 0 or 1 An indicator if the patient s PMI language preference is something other than English Y N RXD 1 Dispense Sub ID Counter identifies the prescription fill number RXD 2 Dispense Give code will contain the same give code as in RXE 2 RXD 9 Dispense Notes have two pieces of information e DEA SPECIAL HDLG field 3 from the DRUG file 50 e NDC field 27 from the PRESCRIPTION file 52 RXD 10 Dispensing Provider is the person who finished the order RXD 12 Total Daily Dose is the days of supply for a partial fill RXD 13 Dispense To Location will contain how the patient will receive the medication Possible answers are WINDOW REGULAR MAIL CERTIFIED MAIL or DO NOT MAIL RXD 15 Pharmacy Treatment Supplier s Special Dispensing Instructions will indicate what sort of bottle cap should be employed It is a safety cap or non safety cap RXD 25 Supplementary Code is the drug warning number and text NTE This segment following the RXD segment will contain the Patient Medication Instructions if any RXR 1 Route is the medication route Outpatient Pharmacy V 7 0 October 2007 Technical Manu
12. Select Filer and Link Management Options Option SL Start Stop Links This option is used to launch the lower level protocol for the appropriate device Please select the node with which you want to communicate Select HL LOGICAL LINK NODE PSO DISP Mine was lase sracte om JUN 02 2004 09952902 Okay to shut down this job YES The job for the PSO DISP Lower Level Protocol will be shut down October 2007 Outpatient Pharmacy V 7 0 Technical Manual Security Guide 22 This page included for two sided copying Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 External Relations The following software is not included in this package and must be installed before this version of Outpatient Pharmacy is completely functional Package Minimum Version Needed Accounts Receivable AR 4 5 Adverse Reaction Tracking ART 4 0 Clinical Information Resources Network CIRN 1 0 Consolidated Mail Outpatient Pharmacy CMOP 2 0 Computerized Patient Record System CPRS 3 0 Decision Support System DSS 3 0 Fee Basis 3 5 VA FileMan 22 0 HealtheVet Web Services Client HWSC 1 0 Integrated Funds Control Accounting and Procurement IFCAP 5 0 Inpatient Medications IP 5 0 Integrated Billing IB 2 0 Kernel 8 0 Laboratory 5 2 MailMan 7 1 Master Patient Index Patient Demographics MPI PD 1 0 National Drug File NDF 4 0 Order
13. 50 0733 DUE SECTION 50 9 DRUG COST 52 PRESCRIPTION 52 11 PATIENT NOTIFICATION Rx READY 52 4 RX VERIFY 52 41 PENDING OUTPATIENT ORDERS 52 43 PRESCRIPTION REFILL REQUEST Pp 52 5 RX SUSPENSE 52 51 PHARMACY EXTERNAL INTERFACE CLOZAPINE PRESCRIPTION 52 52 OVERRIDES 52 53 PHARMACY AUTOMATED DISPENSING DEVICES 52 8 PHARMACY ARCHIVE 52 86 EPHARMACY SITE PARAMETERS Pp 52 87 PSO AUDIT LOG Pp 52 9 PHARMACY PRINTED QUEUE 52 91 TPB ELIGIBILITY 52 92 TPB INSTITUTION LETTERS 53 RX PATIENT STATUS 59 OUTPATIENT SITE 59 1 OUTPATIENT AMIS DATA OUTPATIENT PHARMACY 29 42 MANAGEMENT DATA E 59 2 WAITING TIME 59 3 GROUP DISPLAY 59 8 OUTPATIENT CLINIC SORT GROUP October 2007 Outpatient Pharmacy V 7 0 31 Technical Manual Security Guide 32 This page included for two sided copying Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Outpatient Pharmacy V 7 0 Menu Diagrams Three main menus are exported with the package The Outpatient Pharmacy Manager PSO MANAGER menu should be assigned to supervisors package coordinators and members of the ADP IRMS staff Pharmacists should have the Pharmacist Menu PSO USER1 option and clerks and technicians should have the Pharmacy Technician s Menu PSO USER2 option Outpatient Pharmacy Manager Archiving Find Save to Ta
14. PM Jon Bolas Tech Writer 06 10 i 14 27 PSO 7 348 Added routines PPORLST amp PSORLST2 added options 35 36 Prescription List for Drug Warnings and List of Patients Prescriptions for Recall Notice in Output Reports menu N Goyal PM E Phelps Tech Writer E Wright PM S B Scudder Tech Writer G Tucker PM S B Scudder Tech Writer 08 09 9 34 PSO 7 311 Deleted Pharmacy Patient Non VA Meds Report Clean up menu A Scott PM T Dawson Tech Writer 07 09 11 13 16 PSO 7 289 Added files routines and the NDC Validation and ePharmacy 30 36 Site Parameter options to the list M Anthony PM G O Connor S B Scudder Tech Writers 01 09 13 15 63 PSO 7 305 Added routine PSOATRFC Extended the PPOAUTRE security key description Added the Privacy Notification element to the NTE segment G Tucker PM S B Scudder Tech Writer ii Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Revised Patch Description Pages Number 08 08 13 14 PSO 7 225 The following changes are included in this patch 56a b New routines have been added PSOCAN3N PSOHLSN3 5 PSOORFI6 PSOORFL PSOORRL3 PSOORRLN and PSOORRLO Special Escaping Characters information has been added S Templeton PM S B Scudder Tech Writer A Scott PM T Dawson Tech Writer PSO 7 288 Update for the new menu option Pharmacy Patient Non VA Meds Report Clean up A Scott PM T Dawson
15. PSO SIGED 51 PSO BATCH PARTIAL 52 Print File PSO ACTION PROFILE 3 44 PSOBJP 52 Sort File PSOBJP 52 Routines to be Deleted during Installation NOTE The routines listed below are deleted on the initial installation of Outpatient Pharmacy V 7 0 No options are deleted after the initial installation up to patch PSO 7 46 PSOCLDRG PSOCLUSI PSOCLUS2 PSOCLUS3 PSOCSRLI PSOCSTAR PSODRUG PSOGMINS PSOGMP12 PSOGMP25 PSOLIST PSONODIB PSONUM PSOPOST3 PSOPRE PSORX PSORXPAR Prior to the initial installation of Outpatient Pharmacy V 7 0 it is recommended that all PSO routines be deleted using the system utility to delete routines Back up local modifications to any PSO routines After installation of Outpatient Pharmacy V 7 0 compare routines to note the changes between locally modified routines and the V 7 0 routines Take care when installing local modifications as Outpatient Pharmacy V 7 0 has been modified greatly with patch PSO 7 46 M Audiofax Telephone Refill Requests If telephone refill requests are processed using M Audiofax a new VEXRX routine must be installed to interface with Outpatient Pharmacy V 7 0 To install this routine go to SHOP ALL on FORUM and in the TELEPHONE REFILL REQUESTS Basket retrieve the message VEXRX for Outpatient V 7 This message will contain the new VEXRX routine This routine must be forwarded and installed on the production account October 2007 Outpatient Pharmacy V 7 0
16. Tech Writer 05 08 13 14 PSO 7 294 Update Routine List with routines PSOQ0076 PSOQ0186 5000236 P50Q0496 PSOQ0595 PSOQCF04 PSOQMCAL PSOQRART PSOQTIU4 PSOQUAP PSOQUAP 2 and PSOQUTIL S Templeton PM S B Scudder Tech Writer i iv 13 PSO 7 260 Updated Routine List with routines PSO260PI PSOBPSRI 14 38 43 PSOBPSRP PSOBPSUI PSOBPSU2 PSONVAVW PSOPMPO PSOPMP1 PSOPMPPF PSOREJP3 Updated menu listing with new ePharmacy menu options S Spence PM S Krakosky Tech Writer 10 07 All PSO 7 264 Re numbered pages removed section heading numbering Updated Routine List with routines PPOATRD PSOATRF PSOATRFI PSOATRP PSOATRPP PSOATRR and PSORESUS Updated menu listing with new option E Williamson PM S Krakosky Tech Writer October 2007 Outpatient Pharmacy V 7 0 iii Technical Manual Security Guide This page included for two sided copying Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Table of Contents 55002205 O Onlme Documentatloh 3 ttti n a aQ apaq eei voe peret ect Ft uei Pavel 3 Related Manuals a te aate enata nite aad 3 Implementation and Maintenance
17. model of the International Standards Organization ISO The OSI model is divided into seven levels or layers The HL7 Standard is primarily focused on what happens within the seventh or application layer At this layer the definitions of the data to be exchanged the timing of the exchanges and the communication of certain application specific errors occurs The lower levels support the actual movement of data between systems The high level communication requirements for this interface include TCP IP HL7 Logical link and bi directional communications for the BusinessWare server at the VAMC BusinessWare will support MLLP connection Message Rules The HL7 Standard describes the basic rules for the exchange of information between two computer systems The unit of data transferred is referred to as the message It is comprised of a group of segments in a defined sequence Each message has a three character code called a message type that defines its purpose The real world event that initiates an exchange of messages is called a trigger event There is a one to many relationship between message types and trigger event codes A message type may be associated with more than one trigger event but the same trigger event code may not be associated with more than one message type All message type and trigger event codes beginning with Z are reserved for locally defined messages No such codes will be defined within the HL7 Standard Some special char
18. 0008 Acknowledgment Code AA 20 ST R Message Control ID 10001 October 2007 Outpatient Pharmacy V 7 0 69 Technical Manual Security Guide Segments used in the Outpatient Pharmacy HL7 interface Dispense Completion continued SEGMENT SEQ LEN DT R O RP TBL ELEMENT NAME EXAMPLE PID 3 250 CX R Y Patient ID will contain 218 USVHA amp SSN ICN Claim amp 0363 PI VA etc if exists FACILITY ID amp 500 amp L 5 250 XPN R Patient Name OPPATIENT ON E 7 26 TS R Date Time of Birth 19280622 8 1 IS 0001 Administrative Sex M ORC 1 2 ID R 0119 Order Control OR 2 22 EI Placer Order Number 12345 10 250 XCN Entered By 114 OPPROVID ER2 THREE 11 250 XCN Verified 115 OPPROVID ER TWO RXD 1 4 NM R Dispense Sub ID Counter 1 Fill Number 250 CE R 0292 Dispense Give Code XH001 HEMAT EST TAB NOT FOR ORAL USE 99PSNDF 3207 12039 4321 HEMATEST REAGENT TAB 100 BTL 99PSD 3 26 TS R Date Time Dispensed 20040405 7 20 ST R Prescription Number 100002202 9 25 ST Dispense Notes 6505 00 584 0398 2004040508 30 10 200 XCN Dispensing Provider 1234 OPPROVI DER1 ONE 13 200 CM Dispense To Location 12345678910111 2131415 18 20 ST O Substance Lot Number 45201 19 26 TS Substance Expiration Date 20050405 20 250 CE O 0227 Substance Manufacturer BAXTER Name 70 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Notes pertaining t
19. 7 Technical Manual Security Guide Important Telephone refill requests M Audiofax cannot be processed without the new VEXRX routine Setting up the Bingo Board Device A dedicated device must be set up for use with the bingo board The device setup is similar to that used to set up a printer except the sub type will be C VT Only devices with the sub type C VT will be allowed for entry at the DISPLAY DEVICE prompt in the Enter Edit Display PSO BINGO ENTER EDIT DISPLAY option found on the Bingo Board Manager PSO BINGO MANAGER menu For further information see the site s systems guide for information on setting up the device Once a dedicated device is set up the bingo board can be scheduled to automatically start and or stop at user defined times Mail Group Setup for the HL7 External Interface A mail group and device must be set up in order to run the HL7 external interface The recommended name of the mail group is PSO HLGROUPI The recommended device name is PSO HLDEVICEI Using the Maintenance Menu The Maintenance Outpatient Pharmacy PSO MAINTENANCE menu is used for implementation as well as maintenance of the Outpatient Pharmacy V 7 0 package The first five options Site Parameter Enter Edit PSO SITE PARAMETERS example follows Edit Provider PSO PROVIDER EDIT Add New Providers PSO PROVIDER ADD Queue Background Jobs PSO AUTOQUEUE JOBS and Autocancel Rx s on Admission PSO AUTOCANCEL are used f
20. 7 0 85 Technical Manual Security Guide If a VUID is not available for example if the local drug from the DRUG file 50 is not matched to the National Drug File the first three pieces would be Null DRUG Name from the DRUG file 50 Station Number 52 6 Also in the following table dosing information is sent in the RXE 1 segment There are different formats for the dosing information depending on the type of dosage Here are examples which include a possible dosage a local possible dosage and a possible dosage with complex dosing instructions Example 1 This example is for a possible dosage which is a numeric dosage with a numeric dispense units per dose These types of dosages are limited to single ingredient drugs with a numeric strength usually with a dosage form of tablets or capsules 2 amp 200MG 10D 20050720 20060721 FILL EXPIRATION The dosage in this case is 2 amp 200MG 10D where 2 represents the dispense units per dose 200MG represents the total dosage for the 2 tablets or capsules and 10D represents the duration which in this case is 10 days duration is optional Example 2 This example is for a local possible dosage which is a text dosage with no dispense units per dose These types of dosages apply to items such as multi ingredient drugs creams ointments drops etc amp 1 DROP 20050720 20060721 FILL EXPIRATION The dosage in this case is amp 1 DROP where 1 DROP represents the dosage Since i
21. Coded Value PID 3 Patient pointer to VistA IEN of Patient Composite ID File 2 from File 2 5 Patient Name Person Name PVI 3 Clinic pointer to VistA IEN of Hospital Composite File 44 Location from File 44 ORC 1 Order Control Code NW Coded Value 2 Placer Order External Placer Order Composite Number Number 9 Date Time of Current Date Time Time Stamp Transaction 10 Entered By VistA of Provider Composite ID Number and from File 200 Name 12 Ordering Provider VistA IEN of Provider Composite ID Number and from File 200 Name 15 Order Effective Date Current Date Time Time Stamp 74 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Segment Piece Description Field Data Data Type Name RXO 10 Dispense Drug VistA IEN of Drug Coded Element from File 50 11 Quantity Quantity Numeric 13 Number of Refills Number of Refills Numeric NTE 6 Provider s Free Text Provider String Instructions to Comments Dispensing Pharmacy 7 Patient s Expanded Sig String Instructions ZRN 1 Non VA N Coded Element N Non VA med 2 Statement Reason Non VA Medication String not recommended by VA provider or Medication prescribed by non VA provider ZRX 4 Routing for Window String Field must contain unique data October 2007 Outpatient Pharmacy V 7 0 Technical Manual Security Guide 75 The PSO RECEIVE ORDER protocol can also receive
22. Entry Results Reporting OERR 3 0 Patient Information Management System PIMS 5 3 Pharmacy Data Management 1 0 Remote Procedure Call RPC Broker 1 1 VistALink 1 5 NOTE For Outpatient Medication Copay options to be fully functional the Pharmacy Ordering Enhancement POE project software must be installed which includes patches to Outpatient Pharmacy PSO 7 46 Order Entry Results Reporting OR 3 94 Pharmacy Data Management PSS 1 38 and Inpatient Medications PSJ 5 50 NOTE For Clinical Indicator Data Capture CIDC to be fully functional the Outpatient Pharmacy CIDC software PSO 7 143 must be installed along with CPRS Version 25 Data Base Integration Agreements IAs Outpatient Pharmacy V 7 0 has Data Base Integration Agreements IAs with the packages listed above in addition to the following Consolidated Mail Outpatient Pharmacy CMOP Drug Accountability DA and Controlled Substances CS For complete information regarding the IAs for Outpatient Pharmacy V 7 0 please refer to the Integration Agreement Menu DBA IA ISC option under the DBA DBA option on FORUM October 2007 Outpatient Pharmacy V 7 0 23 Technical Manual Security Guide 24 This page included for two sided copying Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Internal Relations Very few of the options in this package can be invoked independently Those that can be so invoked independentl
23. FT1 CE FT1 20 Performed By Code XCN 12345 FINISHING PHARM 613_52_38 21 Ordered By Code XCN 22 Unit Cost CP 23 Filler Order Number EI FT1 24 Entered By Code XCN 25 Procedure Code CE Procedure Code FT1 26 Modifier CE 92 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Description Field Data Segment Sequence Name Type Data Value FT1 1 Set ID FT1 SI 2 Transaction ID ST 3 Transaction Batch ID ST FT1 4 Transaction Date TS 19950109 Transaction Posting 5 Date TS FT1 6 Transaction Type IS CO 1 PSO NSC RX COPAY FT1 7 Transaction Code CE NEW 500_52_ 105 OBX 1 Set ID OBX SI 1 OBX 2 Value Type ID CE Observation OBX 3 Identifier CE WAS THE PATIENT COUNSELED OBX 4 Observation Sub Id ST 4500633 YES 99VA 52 41 OR OBX 5 Observation Value CE 1 YES 613 52 41 OBX 6 Units CE OBX 7 References Range ST OBX 8 Abnormal Flags IS OBX 9 Probability NM Nature of Abnormal OBX 10 Test ID Observation Result OBX 11 Status ID F Date Last Observation Normal OBX 12 Value TS User Defined Access OBX 13 Checks ST Date Time of the OBX 14 Observation TS OBX 15 Producer s ID CE OBX 16 Responsible Observer XCN OBX 17 Observation Method CE Equipment Instance OBX 18 Identifier EI Date Time of the OBX 19 Analysis TS OBX 1 Set ID OBX SI 2 October 2007 Outpatient
24. Instructions CE BEDTIME 613 52 10 2 RXE 22 Give Per Time Unit ST D90 RXE 23 Give Rate Amount ST RXE 24 Give Rate Units CE RXE 25 Give Strength NM RXE 26 Give Strength Units CE RXE 27 Give Indication CE Dispense Package RXE 28 Size NM Dispense Package RXE 29 Size Unit CE Dispense Package RXE 30 Method ID Supplementary Code 11135 AMANTADINE HCL 100MG RXE 31 Local Drug ST CAP 613_50_ 01 Supplementary Code RXE 31 n CMOP ID C0255 613_50_27 October 2007 Outpatient Pharmacy V 7 0 91 Technical Manual Security Guide Piece Description Field Data Segment Sequence Name Type Data Value RXR 1 Route CE 1 ORAL BY MOUTH 613 52 0113 6 RXR 2 CE RXR 3 CE RXR 4 CE RXR 5 CE FT1 1 Set ID FT1 SI 2 Transaction ID ST 3 Transaction Batch ID ST FT1 4 Transaction Date TS 19950109 Transaction Posting 5 Date TS FT1 6 Transaction Type IS CG FT1 7 Transaction Code CE 620 AMANTADINE 613_52_39 2 Transaction 8 Description ST Transaction 9 Description Alt ST 10 Transaction Quantity NM Transaction Amount 11 Extended CP Transaction Amount FT1 12 Unit CP 0 009 FT 1 13 Department Code CE 14 Insurance Plan ID CE 15 Insurance Amount CP Assigned Patient 16 Location PL 17 Fee Schedule IS FT1 18 Patient Type IS ONSC Diagnosis Code FT1 19
25. Name National Drug File local file pointer local drug name and the local file RXE 3 Give Amount Minimum is a required field but it will not be used in Outpatient Pharmacy 7 0 It will always be a null value RXE 5 Give Units identifies the units for the give amount as encoded by the VA National Drug file RXE 6 Give Dosage Form is a coded element field The fourth component is the pointer to the DOSAGE FORM file 50 606 The fifth component is the form name and the sixth component is the name of coding system 99PSF RXE 8 Deliver To Location is the Method of Pickup Window or Mail October 2007 Outpatient Pharmacy V 7 0 63 Technical Manual Security Guide 64 RXE 9 Substitution Status is the value of the TRADE NAME field 6 5 found in the PRESCRIPTION file 52 RXE 10 Dispense Amount identifies the quantity RXE 11 Dispense Units identifies the units for the dispense amount as encoded by the Pharmacy RXE 13 Ordering Provider s DEA Number will contain the physician s DEA number if the drug is a controlled substance RXE 14 Pharmacist Treatment Supplier s Verifier ID identifies the pharmacist who verified the order The first component is the DFN pointer in the NEW PERSON file 200 of VistA and the second component is the name RXE 18 D T of Most Recent Refill or Dose Dispensed contains the last date time the patient received this particular drug This is the PRIOR FILL DATE field
26. OR AMANTADINE 100MG RXE 2 Give Code CE CAP 613_52_6 0781 2048 01 NDC Give Amount RXE 3 Minimum NM 0 Give Amount RXE 4 Maximum NM RXE 5 Give Units CE 20 MG 613 52 6 63 CAP 613 50 7 02 OR if VUID exists 63 CAP 613 50 7 02 11111 CAP 99V RXE 6 Give Dosage Form CE 50 7 02 Verb Noun Schedule TAKE 613_52 0113_8I CAPSULE 613 RXE Conjunction CE 52 0113 3 8 613 52 0113 7 RXE 7 n Patient Instructions CE QAMHS 613_52_114 90 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Description Field Data Segment Sequence Name Type Data Value Expanded Patient IN THE MORNING AND AT RXE 7 n Instructions CE BEDTIME 613_52 115 RXE 8 Deliver To Location CM WINDOW RXE 9 Substitution Status ID RXE 10 Dispense Amount NM 90 RXE 11 Dispense Units CE RXE 12 Number of Refills NM 1 Ordering Provider s RXE 13 DEA Number XCN Pharmacist Treatment 2992 OPPROVIDER42 THREE M RXE 14 Supplier s Verifier ID XCN PHARMACIST RXE 15 Prescription Number ST 5430744 Number of Refills RXE 16 Remaining NM Number of Refills Doses RXE 17 Dispensed NM D T of Most Recent Refill or Dose RXE 18 Dispensed TS 19950111170823 0500 RXE 19 Total Daily Dose CQ Needs Human RXE 20 Review ID Pharmacy Treatment TAKE ONE CAPSULE BY MOUTH Supplier s Special EVERY EIGHT HOURS IN THE Dispensing MORNING AND AT RXE 21
27. PSO 7 354 Updated list of files with file 52 53 31 34 69 N Goyal PM J Owczarzak Tech Writer iii 13 14 PSO 7 343 Added routine PSOFDAMG T Leggett PM B Thomas Tech Writer i 13 14 PSO 7 316 Removed routine PSOQUAP Documentation released with PSO 7 343 G Pickwood DM D Dertien Tech Writer October 2007 Outpatient Pharmacy V 7 0 1 Technical Manual Security Guide i ii 5 13 PSO 7 382 Added routine PPOMPHRC 14 N Goyal PM J Owczarzak Tech Writer Revised Patch Description Pages Number 04 11 PSO 7 251 Updated the Table of Contents Change the number of files from 24 to 26 Added the following routines per Bill Tatum developer for PRE PSO251PO PSOCPPRE PSODDPR1 PSODDPR2 PSODDPR3 PSODDPRA PSODDPRS PSODDPRE PSODGAL1 PSODGDGP PSODOSCL PSODOSUN PSODOSUT PSOORROC PSODOSU2 PSOVRPT Added information under Callable Routines section And Removed links and added references under the External Interfaces Updated the External Relations table Change the number of files from 24 to 26 Changed menu item Process Drug Drug Interactions to Process Order Checks Removed heading and information under Routine Mapping B Tatum Developer M Colyvas amp S Heiress Tech Writer 11 10 i ii 5 6 PSO 7 358 Update routine list security keys file list and options for the 11 14 16 Bypass Override functionality and added in the TRICARE 30 31 36 Active Duty Release S Spence
28. Pharmacy V 7 0 93 Technical Manual Security Guide Description Field Data Segment Sequence Name Type Data Value OBX 2 Value Type ID CE Observation OBX 3 Identifier CE WAS COUNSELING UNDERSTOOD OBX 4 Observation Sub Id ST 4500630 NO 99V A_52_ 42 OR OBX 5 Observation Value CE 0 NO 613 52 42 OBX 6 Units CE OBX 7 References Range ST OBX 8 Abnormal Flags IS OBX 9 Probability NM Nature of Abnormal OBX 10 Test ID Observation Result OBX 11 Status ID F Date Last Observation Normal OBX 12 Value TS User Defined Access OBX 13 Checks ST Date Time of the OBX 14 Observation TS OBX 15 Producer s ID CE OBX 16 Responsible Observer XCN OBX 17 Observation Method CE Equipment Instance OBX 18 Identifier EI Date Time of the OBX 19 Analysis TS NTE 1 Set ID NTE SI 1 2 Source of Comment ID NTE 3 Comment FT RENEWED FROM RX 123456 NTE 4 Comment Type CE RE REMARKS 613_52_12 ORC 1 Order Control ID RF ORC 2 Placer Order Number EI ORC 3 Filler Order Number EI 1 ORC 4 Placer Group Number EI ORC 5 Order Status ID ORC 6 Response Flag ID ORC 7 Quantity Timing TQ 19950330 DISPENSED ORC 8 Parent CM 1685567 94 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Piece Description Field Da
29. Rate Amount ST RXE 24 Give Rate Units CE RXE 25 Give Strength NM RXE 26 Give Strength Units CE RXE 27 Give Indication CE Dispense Package RXE 28 Size NM Dispense Package RXE 29 Size Unit CE Dispense Package RXE 30 Method ID Supplementary Code 11135 AMANTADINE HCL 100MG RXE 31 n Local Drug ST CAP 613_50_ 01 Supplementary Code RXE 31 n CMOP ID C0255 613_50_27 October 2007 Outpatient Pharmacy V 7 0 99 Technical Manual Security Guide Description Field Data Segment Sequence Name Type Data Value NTE 1 Set ID NTE SI NTE 2 Source of Comment ID PT OUT RX ON SUSP FOR 24 MORE NTE 3 Comment FT DAYS Comment Type Name of NTE 4 Coding System CE RE REMARKS 613 50 27 1 1 Set ID FT1 SI FT1 2 Transaction ID ST FT1 3 Transaction Batch ID ST FT1 4 Transaction Date TS 19950306 Transaction Posting FT1 5 Date TS FT1 6 Transaction Type IS CG Transaction Code Pharmacy Orderable Item Name Coding FT1 7 System CE 620 AMANTADINE 613 52 39 2 Transaction 1 amp Description ST Transaction 9 Description Alt ST 10 Transaction Quantity NM Transaction Amount FT1 11 Extended CP Transaction Amount FT1 12 Unit CP 0 009 FT1 1 Set ID FT1 SI FT1 2 Transaction ID ST FT1 3 Transaction Batch ID ST FT1 4 Transaction Date TS 19950306 Transaction Posting 5 5 6 Transaction
30. System CE 620 AMANTADINE 613_52_39 2 Transaction 8 Description ST Transaction 9 Description Alt ST 10 Transaction Quantity NM Transaction Amount 11 Extended CP Transaction Amount FT1 12 Unit CP 0 009 FT1 1 Set ID FT1 SI 2 Transaction ID ST 3 Transaction Batch ID ST FT1 4 Transaction Date TS 19950330 Transaction Posting 5 Date TS FT1 6 Transaction Type IS CG 1 PSO NSC RX COPAY FT1 7 Transaction Code CE NEW 500 52 105 ORC 1 Order Control ID RF ORC 2 Placer Order Number EI ORC 3 Filler Order Number EI 1 ORC 4 Placer Group Number EI ORC 5 Order Status ID ORC 6 Response Flag ID ORC 7 Quantity Timing TQ ORC 8 Parent CM 1685567 Date Time of ORC 9 Transaction TS 199503061212 0500 ORC 10 Entered By XCN ORC 11 Verified By XCN October 2007 Outpatient Pharmacy V 7 0 97 Technical Manual Security Guide Piece Description Field Data Segment Sequence Name Type Data Value 947 OPPROVIDER41 TWO A MD ORC 12 Ordering Provider XCN MD VistA200 ORC 13 Enterer s Location PL Call Back Phone ORC 14 Number XTN Order Effective ORC 15 Date Time TS Order Control Code ORC 16 Reason CE PARTIAL 613 MARTINSBURG Entering VAMC 613_52 2_ 09 5005423 MARTI ORC 17 Organization CE NSBURG VAMC NCPDP ORC 18 Entering Device CE ORC 19 Action By XCN Advanced Beneficiary Notice ORC 20 Code CE Ordering Facilit
31. Type AL 16 2 ID 0155 Application Ack Type AL PID 3 250 CX Y Patient ID will contain 218 USVHA amp SSN ICN Claim amp 0363 PI VA etc if exists FACILITY ID amp 500 amp L 5 250 XPN R Patient Name OPPATIENT ON E 7 26 TS R Date Time of Birth 19280622 8 1 15 0001 Administrative Sex M 11 250 R Y 3 Patient Address 164 Friendship DR TROY N Y 12180 P 13 250 XTN R Y 3 Phone Number Home 555 555 5555 PVI 2 1 15 0004 Patient Class O for Outpatient PV2 24 15 IS R Y Patient Status Code SC NO COPAY IAM 2 250 CE 0127 Allergen Type Code D DRUG LGM R120 8 3 250 CE R Allergen 128 ASPIRIN L Code Mnemonic Descripi GMR120 8 on 4 250 CE 0128 Allergy Severity Code SV 5 15 5 Allergy Reaction Code ALLERGY 13 26 TS Reported Date Time 19961205 17 250 CE 0438 Allergy Clinical Status C Code October 2007 Outpatient Pharmacy V 7 0 59 Technical Manual Security Guide Segments used in the Outpatient Pharmacy HL7 interface Dispense Request continued SEGMENT SEQ LEN DT R O RP TBL ELEMENT NAME EXAMPLE ORC 1 2 ID R 0119 Order Control NW 2 80 EI Placer Order Number 402331 OP7 0 9 26 TS O Date Time of Transaction 20040405 10 250 XCN R Entered By 10 OPPROVIDE R TWO 12 250 XCN O Ordering Provider 987 OPPROVID ER ONE 13 80 PL O Enterer s Location _TNA1225 15 26 TS O Order Effective Date 20030616 16 10 ST R Order Control Co
32. YES 5275 RX SUSPENSE YES YES 52051 PHARMACY EXTERNAL INTERFACE YES NO 52452 CLOZAPINE PRESCRIPTION OVERRIDE YES YES 52 53 PHARMACY AUTOMATED DISPENSING DEVICES YES 52 28 PHARMACY ARCHIVE YES YES 52 86 EPHARMACY SITE PARAMETERS YES YES 52 87 PSO AUDIT LOG YES YES 52 9 PHARMACY PRINTED QUEUE YES YES 52 91 PB ELIGIBILITY YES NO 52 92 PB INSTITUTION LETTERS YES YES 53 RX PATIENT STATUS YES YES 59 OUTPATIENT SITE YES YES October 2007 Outpatient Pharmacy V 7 0 11 Technical Manual Security Guide 12 SEND DATA USER DATE SEC COMES SI RSLV OVER FILE NAME DD CODE W FILE DATA PTS RIDE OUTPATIENT AMIS DATA YES YES NO 59 12 OUTPATIENT PHARMACY MANAGEMENT DATA YES YES NO 59 2 WAITING TIME YES YES NO 59 3 GROUP DISPLAY YES NO NO 5940 OUTPATIENT CLINIC SORT GROUP YES YES O The namespace for the Outpatient Pharmacy V 7 0 package is PSO Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Routine List The following routine list for Outpatient Pharmacy appears when the new routine set is loaded Each routine s first line contains a brief description of the routine s function Use the First Line Routine Print XU FIRST LINE PRINT option to print a list of just the first line of each PSO routine
33. ZEBRA PHARM Ages EANES ERMER PRINT SERVER NAME OR ADDRESS wp706 west palm med va gov REMOTE PRINTER NAME wp706 Example TERMINAL TYPE File 3 2 Set Up for VMS Sites NAME P ZEBRA PHARM SELECTABLE AT SIGN ON NO RIGHT MARGIN 132 FORM FEED 4 PAGE LENGTH 64 SiC 8 CLOSE UW X LO 1 1O 8 1O SZ10 39 S QUE QUEUE 2 SE ION 1 6 DELETE QUE S ZC SPRINT 10 QUE NUMBER 1 CTRL CODE ABBREVIATION FI FULL NAME FORMAT INITIALIZATION CONTROL CODE ISSN 1 WS SO GOAT I NUMBER 2 CTRL CODE ABBREVIATION SB FULL NAME START OF BARCODE CONTRO CODE Wi 001900700 ZI SON Nps NUMBER 3 CTRL CODE ABBREVIATION ST FULL NAME START OF TEXT CONTROL CODE W FO PSJBARX PSJBARY AON 30 20 S PSJBARY PSJBARY 40 NUMBER 6 CTRL CODE ABBREVIATION EB FU NAME END OF BARCODE CONTROL CODE S INE LINE 1 PSUBARY 130 NUMBER 7 CTRL CODE ABBREVIATION STF FULL NAME START OF TEXT FIELD CONTROL CODE ORI NUMBER 8 CTRL CODE ABBREVIATION SBF FULL NAME START OF BARCODE FIELD CONTROL CODE UARA NUMBER 9 CTRL CODE ABBREVIATION ETF FULL NAME
34. about 300 bytes 0 3 Kbytes of disk storage The archiving options under the manager s menu allow the package coordinator and IRMS ADP staff to manage this file Old prescriptions typically those that have been expired or canceled for more than a year can be saved to tape and then purged from online storage NOTE The purge options under the Archive Menu PRCAK AR SUPERVISOR option are out of order until further notice The User s Manual describes the operation of these options Because not all prescriptions require the same amount of space and because of the way the operating system utilizes the disk do not expect to regain 300 bytes of disk storage for every prescription purged As prescriptions are purged all references to these prescriptions from other files are also deleted The RX SUSPENSE file 52 5 holds information about all prescriptions that have been suspended for later printing There is an automatic purge for this file for prescriptions printed from 7 to 90 days ago The package coordinator can run the Auto delete from Suspense PSO PNDEL option at regular intervals to purge this file of suspended prescriptions which have been printed 7 to 90 days ago The purging is tasked to run every 7 days Specific entries can be deleted using the Change Suspense Date PSO PNDCHG or Pull Early From Suspense PSO PNDRX options Drug cost data can now be purged using the Purge Drug Cost Data PSO PURGE DRUG COST option Setting up t
35. above is a lower case L For the Genicom 4440 BAR CODE ON 27 533 153453453315 27 3t BAR CODE OFF 27 0t For the MT290 BAR CODE ON 26 F0 SS D X 2 X2 M 2 X2 S 1 X2 L 6 1 2 000 25 20 BAR CODE OFF 20 S D X1 X1 1 0 S D X2 X2 1 or BAR CODE ON 26 34 F3 000 25 20 BAR CODE OFF 20 For the OTC 560 BAR CODE ON 27 S D X 3 X M 6 X L 12 1 3 27 3t BAR CODE OFF 27 0t October 2007 Outpatient Pharmacy V 7 0 43 Technical Manual Security Guide For the Genicom 4490 BAR CODE ON 27 3t 14 BAR CODE OFF 15 27 0t 13 The setup of the MT290 will not allow for a form length of 5 inches It skips from 4 to 5 5 Following is the terminal type information that will allow the MT290 to print the labels at a form length of 5 inches NAME P MANNESMANN MT290 132 PHAR RIGHT MARGIN 132 FORM FEED 4 PAGE LENGTH 30 BACK SPACE 5 8 OPIN CUTE Ww 527 pg 23 93 23 so 10 SOC aw 12 pares SC Q7 sw DESCRIPTION MANNESMANN TALLY 290 132 COLUMNS 16 9627 ew DEFAULT PITCH C 27 4w BNR CODE Que g Well 20 01 9989 SD X1 s2X1 120 99 90 2 2 92 16 ww BAR CODE 26 0100 SS 9 SID 0 22 3 a2 Ke 6 182 Me OOo 420 The 27 30t was added to the Open Execute Laser Label Printers The Outpatien
36. and Link Management Options Systems Link Monitor Omulicoue Seo pers TCP Link Manager Start Stop Stop All Messaging Background Processes Restart Start All Links and Filers Default Filers Startup Start Stop Links Pim WC Link Errors ne Gp dp oy gt 20 le de E Select Filer and Link Management Options Option SL Start Stop Links This option is used to launch the lower level protocol for the appropriate device Please select the node with which you want to communicate Select HL LOGICAL LINK NODE PSO DISP Wines Inn wes lasc slnticclowm om MAY Ii 2004 O7s29353 This LLP has been enabled Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Example Shutting Down the Interface Select OPTION NAME HL MAIN MENU HL7 Main Menu Event monitoring menu Systems Link Monitor Filer and Link Management Options essage Management Options Interface Developer Options Site Parameter Edit Select HL7 Main Menu Option FILer and Link Management Options Systems Link Monitor Omakicoie Start Aers TCP Link Manager Start Stop Stop All Messaging Background Processes Restart Start All Links and Filers Default Filers Startup Start Stop Links Paki Link Edit ve oc 1 mo Gel IS Bs 3 gt ps IS I fe E
37. as callable from outside of this package For additional information of other external calls and their entry points go to VA Software Document Library VDL see under the Clinical Section on the Pharm Outpatient Pharmacy page Choose the API Manual Pharmacy Reengineering PRE External Interfaces For information on HL7 External Interface go to VA Software Document Library VDL select the Infrastructure Section then choose HL7 VistA Messaging NOTE The HL Logical Link Entry Node set up for Outpatient Pharmacy V 7 0 is PSO DISP This is a new Logical Link installed with Patch PSO 7 156 Steps for Startup Shutdown of the External Interface The following screens depict the steps necessary to startup and shutdown the external interface for Version 1 6 of the VistA Health Level Seven HL7 application package See Appendix A of this manual for more information on the Outpatient Pharmacy V 7 0 HL7 Specification The following examples are options from the HL7 package The top level menu option being used is HL MAIN MENU HL7 Main Menu option October 2007 Outpatient Pharmacy V 7 0 19 Technical Manual Security Guide Example Starting Up the Interface 20 Select OPTION NAME HL MAIN MENU HL7 Main Menu Event monitoring menu Systems Link Monitor Filer and Link Management Options essage Management Options Interface Developer Options Site Parameter Edit Select HL7 Main Menu Option FILer
38. discontinue order messages The following table gives the details of the fields that need to be received in the incoming order message Segment Piece Description Field Data Data Type Name MSH 1 Field Separator String 2 Encoding Characters 7 44 String 3 Sending Application Sending Application String Name 4 Sending Facility String 5 Receiving PSO RECEIVE String Application 6 Receiving Facility String 9 Message Type ORM OO01 Coded Value 10 Message Control ID String 11 Processing ID P Coded Value 12 Version ID 2 3 1 Coded Value 15 Accept NE Coded Value Acknowledgement 16 Application AL Coded Value Acknowledgement 16 Country Code USA Coded Value PID 3 Patient pointer to VistA IEN of Patient Composite ID File 2 from File 2 5 Patient Name Person Name PVI 3 Clinic pointer to VistA IEN of Hospital Composite File 44 Location from File 44 ORC 1 Order Control Code Coded Value 2 Placer Order External Placer Order Composite Number Number 9 Date Time of Current Date Time Time Stamp Transaction 10 Entered By VistA IEN of Provider Composite ID Number and from File 200 Name 12 Ordering Provider VistA IEN of Provider Composite ID Number and from File 200 Name 15 Order Effective Date Current Date Time Time Stamp 76 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide ZRN 1 Non VA N Co
39. element field The fifth component reflects the status of the order for example New Refill Partial Reprint or Partial Reprint ORC 17 Entering Organization is the Clinic number and name ORC 19 Action By is the physician who cosigned if any and is a composite field The first component is the physician s pointer to the NEW PERSON file 200 in VistA and the second component is his her name ORC 20 Advanced Beneficiary Notice Code is used to send an indicator to an automated dispensing system that the RX being dispensed is for an electronically billed prescription and that a patient signature is needed The value of VA5 will be sent as the indicator in the RDS O13 Dispense Request message for an ePharmacy patient prescription ORC 21 Ordering Facility Name is the facility name and number found in the OUTPATIENT SITE file 59 NTE The Set ID field will identify the NTE segment 1 Med Instructions 2 Patient Instructions Narrative 3 Drug Warning Narrative 4 Profile Information 5 Drug Interactions 6 Drug Allergy Indications 7 PMI Sheet 8 Medication Instructions 9 Privacy Notification The Comment field will contain the respective information RXE 1 Quantity Timing is a required field but it will not be used in Outpatient Pharmacy V 7 0 It will always be a null value RXE 2 Give Code identifies the substance ordered as encoded by the Pharmacy The components in order are the VA Product ID VA Product
40. for easy access by all users Menu Assignments The Outpatient Pharmacy Manager PSO MANAGER menu should be assigned to the Package Coordinator for Outpatient Pharmacy and also added to the menu of the Site Manager and any ADP IRMS staff that s he selects to help in the operation of Outpatient Pharmacy The Pharmacist Menu PSO 1 option should be assigned to all pharmacists and the Pharmacy Technician s Menu PSO USER2 option should be assigned to all pharmacy technicians and other pharmacy personnel who may view prescriptions and or inquire into other Outpatient Pharmacy files October 2007 Outpatient Pharmacy V 7 0 29 Technical Manual Security Guide Security Keys PSORPH PSO COPAY This key should be assigned to all pharmacists the package coordinator and all appropriate members of the ADP IRMS staff This key should be assigned to any users who need to be notified when a copay exemption cannot be determined at the time a prescription fill is released Holders of this key are also notified any time the Exempt Rx Patient Status from Copayment PSOCP EXEMPTION option is used to change the copay exemption for an Rx Patient Status PSO REJECTS BACKGROUND MESSAGE PSOA PURGE PSOLOCKCLOZ PSOINTERFACE When prescriptions remain on the Third Party Payer Reject Worklist over the specified number of days the system will send a Mailman Message to holders of this key NOTE Disabled until further notice This key s
41. physically connected to the network and then defined in the DEVICE 3 5 and TERMINAL TYPE 3 2 files To connect the printer to the network a micro print server is necessary for communication to VistA En Vision America can assist in identifying the micro print server necessary for the site The following are examples of the file set ups These examples are provided to guide the user in this set up Please note that these are only examples and there will be some differences in the settings Example DEVICE File 3 5 Set Up for VMS Sites NAME WP706 SI USERS DSM_SPOOL WP706 TXT LOCATION OF TERMINAL ScripTalk me ASK HFS I O OPERATION NO BARCODE AVAIL YES OPEN PARAMETERS NEWVERSION PROTECTION S RWED O RWED W RWED SUBTYPE P ZEBRA PHARM 50 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Example DEVICE File 3 5 Set Up for Cache Sites NAME WP706 ST PQS WP706SPRT TXT ASK DEVICE YES ASK PARAMETERS NO TASKMAN PRINT A HEADER PAGE NO SIGN ON SYSTEM DEVICE NO QUEUING FORCED LOCATION OF TERMINAL sili ASK HOST FILE NO ASK HFS I O OPERATION NO SUBERE So ORME HEED As Cis OSEE BIS BARCODE AVAIL YES OPEN PARAMETERS NWS SUBTYPE P
42. various look ups within the interface in conjunction with the EXTERNAL APPLICATION field 116 in the PENDING OUTPATIENT ORDERS file 52 41 and the EXTERNAL APPLICATION field 124 in the PRESCRIPTION file 52 Any message sent through this interface to VistA whether it is a New Order message or a Discontinue message must contain only one order per message The interface is not set up to receive multiple orders per message October 2007 Outpatient Pharmacy V 7 0 73 Technical Manual Security Guide HL7 Order Message Segment Definition Table When the PSO RECEIVE ORDER protocol is enabled to process orders from an external system the following table defines the data elements required for each segment of the incoming order message This is a unilateral interface No order information will be returned to the external system Segment Piece Description Field Data Data Type Name MSH 1 Field Separator String 2 Encoding Characters amp String 3 Sending Application Sending Application String Name 4 Sending Facility String 5 Receiving PSO RECEIVE String Application 6 Receiving Facility String 9 Message Type ORM OO01 Coded Value 10 Message Control ID String 11 Processing ID P Coded Value 12 Version ID 2 3 1 Coded Value 15 Accept NE Coded Value Acknowledgement 16 Application AL Coded Value Acknowledgement 17 Country Code USA
43. 1 Acknowledgement AA Coded Value Code 2 Message Control ID String 3 Text Message Null or Rejection String Reason October 2007 Outpatient Pharmacy V 7 0 77 Technical Manual Security Guide Order Messaging Exceptions Exceptions will occur when VistA rejects a new or discontinue order message For new order messages the rejections are largely based on the drug provider or patient associated with the prescription order Drug exceptions e Drug is inactive less than today s date Drug is not marked for outpatient use e Drug is not associated with a Pharmacy Orderable Item Invalid drug entry Provider exceptions e Provider is not authorized to write med orders e Provider has an inactive date date of today or less e Provider has a termination date date of today or less e Provider does not hold the PROVIDER key e Invalid provider entry Patient exceptions e Patient is deceased e Invalid patient entry Other exceptions Invalid NTE segment greater than 245 characters e Invalid message structure e Missing MSH segment e Missing PID segment e Missing PVI segment Missing ORC segment Missing RXO segment e External order unable to successfully transmit to CPRS e Unable to derive Institution from Clinic e Unable to add order to Pending file e Missing sending application name e Invalid Order Control Code No Patient Location e Missing Placer Order Number e Duplicate ord
44. 2 SAMS igi CAP 6015 50 01 C 0255615 50 27 ORAE e TS 52 0 GS 9 667 INO 51 5 5 2 319 52 5 9 9 7 OS LZ SAS ISHING PHARM 613 52 38 pr4 24 5 199501 09 9 60 0 1 99 0 NSC Ix COPAY gWe500 5 2 305 1 WANS Wel IAIN 4500633 ams WI m2 A eme eg OBX 2 CE WAS COUNSELING UNDERSTOOD 4500630 NO 99VA 52 42 F NTE l RENEWED FROM RX 123456 RE REMARKS 613 52 12 esce LOSS OS SAO coo DTE SE FIS EDI 56915 6 ROS 50 306 TL 6 A MD MD VistA200 REFILL 613 MARTINSBURG VAMC 613 52 1 8 5005423 MARTINSBURG VAMC NCPDP MARTINSBURG WV RXEO 19950330 REFILL 4005192 AMANTADINE HCL 100 6 99 52 6 0781 2048 01 NDC AMAA ZOMG 3 502 65 S029 922 GOE EBE pip RAZ 2 SIE STR ARAE 3119950 5177 610 ISAO SOO AD GOI 0 Ses PBO WONG CANNE 5 190 0E HOl02 551 3 50 227 lp SAAT s 0 6 6 7 SZ 0 AMAN IL ADDICT G13 5 2 19119 422 9 0 0 9 SALI 50S30 CECL2SO NSEC CORAM Simi S 00 52 35 OREM 6 556 LS DSO30GI AZIZ 0500 947 OPPROVIDER41 TWO A MD MD VistA200 PARTIAL 613 MARTINSBURG VAMC 613_52 2_ 09 5005423 MARTINSBURG VAMC NCPDP MARTINSBURG WV RXE 19950306 PARTIAL 4005192 AMANTA
45. 7 0 41 Technical Manual Security Guide On most printers printing a barcode is a graphics operation that causes the value of Y to be something other than the line count from the top of the page Forms with barcodes must use a form feed to go to the top of the next form rather than a counted number of line feeds This is why printers used to print barcodes on outpatient pharmacy labels must be set for a form length of 24 lines or four inches The following section New Label Stock contains barcode on and off sequences for various printers New Label Stock Version 6 0 and Later Versions Dot Matrix Labels 42 IMPORTANT Please test new label stock on all printers that will be used before going into production with new label stock Printers used to print the new label stock must be set to print at 12 characters per inch The form length must be set to 5 inches Previously old label stock printed barcodes in one column at 10 characters per inch New label stock prints barcodes at 12 characters per inch in 2 columns columns 54 and 102 The following barcode entries in the TERMINAL file 3 2 have worked at either the Birmingham Office of Information Field Office OIFO or at a site NOTE If you cannot find barcodes that work please contact the nearest OIFO Check to see that a line feed is performed after the barcode off sequence is executed Due to limited space information must be printed after certain barc
46. 73 PSOD DUE EDIT 50 0731 Print File PSO ACTION PROFILE 44 PSO ACTION PROFILE 2 44 PSO ALPHA DRUG LIST 50 PSO BBWAIT PRINT 52 11 PSO COST STAT 50 9 PSO DRUG LIST 50 PSO DRUG WARNINGS 52 PSO DRUG WARNINGS HEADER 52 PSO HOLD 52 PSO INACTIVE DRUG LIST 50 PSO INTERVENTIONS 9009032 4 PSO N F LIST 50 PSO NARC LIST 52 PSO PHARMACY STATS 50 9 PSO REQUEST STATISTICS 50 9 PSO SUSPENSE LIST 52 5 PSO SYNONYM LIST 50 PSOD PRINT ANSWER SHEET 50 0731 October 2007 Outpatient Pharmacy V 7 0 Technical Manual Security Guide 27 28 This page included for two sided copying Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Software Product Security Mail Group Setup for the HL7 External Interface A mail group and device should be set up in order to run the HL7 external interface The recommended name of the mail group is PSO HLGROUPI The recommended device name is PSO HLDEVICEI Archiving Purging For archiving and purging information see the section titled Archiving and Purging in this manual Interfacing For interface information see the section titled External Interfaces in this manual Electronic Signatures Electronic signatures may be established by using the Electronic Signature code Edit XUSESIG option In Kernel V 8 0 the Electronic Signature code Edit XUSESIG option has been tied to the Common Options under the User s Toolbox XUSERTOOLS submenu
47. AME EXAMPLE MSH 1 1 ST R Field Separator 2 4 ST R Encoding Characters N amp 3 180 HD R 0361 Sending Application PSO VISTA 4 180 HD R 0362 Sending Facility station 521 FO ID and station DNS name BIRM MED VA GOV DNS 5 180 HD R 0361 Receiving Application PSO DISPENSE 6 180 HD R 0362 Receiving Facility DNS DISPENSE VH name and port of A MED VA GOV dispensing machine 9300 DNS 7 26 TS Date Time of Message 20040405 152416 9 15 CM R 0076 Message Type RDS 013 10 20 ST R Message Control ID 10001 11 3 PT R 0103 Processing ID P 12 3 VID R 0104 Version ID 2 4 15 2 ID 0155 Accept Ack Type AL 16 2 1 0155 Application Ack Type AL PID 3 250 CX R Y Patient ID will contain 218 USVHA amp IEN SSN ICN Claim amp 0363 PI VA etc if exists FACILITY ID amp 500 amp L 5 250 XPN R Patient Name OPPATIENT ON E 7 26 TS R Date Time of Birth 19280622 8 1 IS 0001 Administrative Sex M 11 250 XAD R Y 3 Patient Address 164 Friendship DR TROY N Y 12180 P 13 250 XTN R Y 3 Phone Number Home 555 555 5555 PVI 2 1 15 0004 Patient Class O for Outpatient PV2 24 15 IS R Y Patient Status Code SC NO COPAY RXE 1 200 TQ R Quantity Timing Null 2 250 CE R Give Code XH001 HEMAT EST TAB NOT FOR ORAL USE 99PSNDF 3207 12039 4321 HEMATEST REAGENT TAB 100 BTL 99PSD 3 20 NM R Give Amount Minimum Null 5 250 Give Units 20 MG 99PSU 6 250 CE Give Dosage Form 165 TAB TEST 99PSF 8 200 CM Deliver To Location WINDOW 9 25 ST O Substitution
48. B CAPON 11 Patient Address XAD BRIDGE WV 12345 P PID 11 Patient Address_rep BARNES VILLE MD N PID 12 County Code IS 027 Phone Number PID 13 Home XTN 123 555 1212 Phone Number PID 14 Business XTN RT PID 15 Primary Language CE PID 16 Marital Status CE D PID 17 Religion CE 0 Patient Account PID 18 Number CX SSN Number PID 19 Patient ST 654321 Driver s License PID 20 Number Patient DLN PID 21 Mother s Identifier CX PID 22 Ethnic Group CE PID 23 Birth Place ST BARNESVILLE MD Multiple Birth PID 24 Indicator ID PID 25 Birth Order NM PID 26 Citizenship CE Veterans Military PID 27 Status CE PID 28 Nationality CE Patient Death Date PID 29 and Time TS 20000301 88 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Piece Description Field Data Segment Sequence Name Type Data Value Patient Death PID 30 Indicator ID Identity Unknown PID 31 Indicator ID Identity Reliability PID 32 Code IS Last Update PID 33 Date Time TS PID 34 Last Update Facility HD PID 35 Species Code CE PID 36 Breed Code CE PID 37 Strain ST Production Class PID 38 Code CE ORC 1 Order Control ID RE ORC 2 Placer Order Number EI ORC 3 Filler Order Number EI 1685567 613 52 001 4 Placer Group Number EI ORC 5 Order Status ID CM ORC 6 Response Flag ID 19950109 19960110 FILL EXPIRA ORC 7 Quantity
49. DINE HCL 100MG CAP 99VA 52 6 0781 2048 01 NDC AOA AZ OMME 51 5 52 O eoe WINDOW 30 2992 OPPROVIDER42 THREE M PHARMACI SS S SO PIAA 22 1 0 530 0 MSAD S 0 ASSP AREAL SS LOONE CA 519 50 01 COZS5 613_50_27 NTE PT OUT RX ON SUSP FOR 24 MORE DAYS RE REMARKS 613 50 27 Sie S J 50 5 6 16 LS 5 2 39 5 2 9 OOS 9530 300 06 AISO NSC RX CORA Tages 5 2 105 EI 2 IE gt HL7 Outpatient Pharmacy VDEF Message Some data values in the following table represent VistA data fields that have been assigned VUIDs VHA Unique Identifiers In these instances when a VUID is available the data value will be the VUID along with the appropriate coding scheme If for some reason the VUID is not available the data value will be the VistA data value along with the appropriate coding scheme The exception to this format would be the data value for the coded element for Give Code in the segment RXE 2 If a VUID is available the first three pieces would be VUID from the VA PRODUCT file 50 68 VA PRODUCT Name from the VA PRODUCT file 50 68 99VA 52 6 October 2007 Outpatient Pharmacy V
50. END OF TEXT FIELD CONTROL CODE ATS NUMBER 10 CTRL CODE ABBREVIATION SL FULL NAME START OF LABEL CONTROL CODE W XA S PSJBARY 50 PSUBARX 60 NUMBER 11 CTRL CODE ABBREVIATION EL FULL NAME END OF LABEL CONTROL CODE PASST RES A NUMBER 12 CTRL CODE ABBREVIATION EBF FULL NAME END OF BARCODE FIELD CONTROL CODE ct Example TERMINAL TYPE File 3 2 Set Up for Cache Sites NAME P ZEBRA PHARM SELECTABLE AT SIGN ON NO RIGHT MARGIN 140 FORM FEED PAGE LENGTH 64 BACK SPACE C 8 CLOSE EXECUTE D CLOSE NVSPRTU NUMBER 1 CTRL CODE ABBREVIATION FI FULL NAME FORMAT INITIALIZATION CONTROL CODE WAN 2 egere 60 me 1 October 2007 Outpatient Pharmacy V 7 0 51 Technical Manual Security Guide NUMBER 2 CTRL CODE ABBREVIATION SB FULL NAME START OF BARCODE CONTROL CODE W BY2 3 0 FO70 25 B3N N 80 Y N NUMBER 3 CTRL CODE ABBREVIATION ST FULL NAME START OF TEXT CONTROL CODE W FO PSJBARX PSJBARY AO0N 30 20 S PSJBARY PSJBARY440 NUMBER 6 CTRL CODE ABBREVIATION EB FULL NAME END OF BARCODE CONTROL CODE 5 LINE LINE 1 PSUBARY 130 NUMBER 7 CTRL CODE ABBREVIATION STF FULL NAME START OF TEXT FIELD CONTROL CODE Example TERMINAL TYPE File 3 2 Set Up for Cache Sites conti
51. ER TREE EE PS cade PIRE dle ERR TE ERI AERE ER 23 F larga H 56 dn eee RR ulcera e e e ete d eee Feu e pi efe t ed erdt eet 31 lg c S andes 11 G General Information ete e pde YR t E ee Une Ge ode nd Ente ben ulna eoe o ERE TE UR IRIS 55 Genicom 4440 n ede pee ra eere pre Ete Pere k 43 Genicom AAO ss oon cise Lettre e reete eerte ire reet a eere a r RATE 44 H Hardware Setup Laser Label Printers essen eene enne nnne eene ne ennt treten nnen nennen eene 44 HET Messaging with an External System iiec Re eec tes bi one ie fe D Eee rU HERE US 73 HL7 Order Message Segment Definition Table rennen enne ennt 74 Implementation and Maintenance 2 2 4422222 22 2 0000000000000000000000000000 5 Interfacing l o chen i utis d aia ee aet pre deci Sesh SS els ee 29 Internal Relations 2 ped deme t ebd eitis a dits det i echado eS 25 Introduction DIE 1 October 2007 Outpatient Pharmacy V 7 0 101 Technical Manual Security Guide J Journaling Globals 2 25 25 2 i e ts oe E ed a e ems 41 L Label Printer Support oe C P ea te Det abt AR 41 e RO
52. Enter Edit Print Bingo Board Statistics Print Bingo Board Wait Time Purge Bingo Board Data Start Bingo Board Display Stop Bingo Board Display Edit Data for a Patient in the Clozapine Program Enter Edit Clinic Sort Groups Initialize Rx Cost Statistics Edit Pharmacy Intervention Delete Intervention Auto delete from Suspense Automate Internet Refill Delete a Prescription Enter Edit Automated Dispensing Devices Expire Prescriptions Manual Auto Expire Rxs Prescription Cost Update Purge Drug Cost Data Purge External Batches Recompile AMIS Data Medication Profile 34 Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Output Reports Action Profile 132 COLUMN PRINTOUT Alpha Drug List and Synonyms AMIS Report Bad Address Reporting Main Menu Bad Address Suspended List List Prescriptions Not Mailed CMOP Controlled Substance Rxs Dispense Report Commonly Dispensed Drugs Cost Analysis Reports Clinic Costs Division Costs by Drug Drug Costs Drug Costs by Division Drug Costs by Division by Provider Drug Costs by Provider High Cost Rx Report Patient Status Costs Pharmacy Cost Statistics Menu Pharmacy Statistics Sort Statistics By Division Provider by Drug Costs Provider Costs Request Statistics Daily AMIS Report Drug List By Synonym Free Text Dosage Report Inactive Drug List Internet Refill Report List of Patients Prescriptions for Recall Notice List Prescriptions on Hold Managemen
53. FETY Supplier s Special Dispensing Instructions 19 26 TS Substance Expiration Date 20040615 25 250 CE Supplementary Code 8 NO ALCOHOL NTE 1 4 SI Set ID Notes and 7 Comments 3 6000 FT Comment PMI free text 4 250 CE Comment Type P MI Patient Medication Instructions RXR 1 250 CE 0162 Route 1 ORAL BY MOUTH 99PSR October 2007 Outpatient Pharmacy V 7 0 61 Technical Manual Security Guide Notes pertaining to some of the data elements 62 MSH 3 Sending Application is the station ID along with the DNS name of the sending facility MSH 5 Receiving Application is the DNS name and DNS port number of the dispensing application MSH 10 Message Control ID is the number that uniquely identifies the message It is returned in MSA 2 of the dispense completion message PID 3 Patient ID will contain the following possibilities to identify a patient NI ICN SS Social Security PN Claim PI DFN PID 11 If the BAD ADDRESS INDICATOR field 121 of the PATIENT file 2 is set the text VAB concatenated with the BAI code is sent in the Address field of the PID segment of the HL7 message to the filling equipment Example Permanent address active PADD 1 PADD 2 SPRING TX 77379 P PADD 3 201 NI III Example Temporary address active PADD 1 PADD 2 SPRING TX 77379 P PADD 3 201 N TADD 1 TADD 2 TADD 3 PLANO TX 12345 C Example Address fl
54. L version 5 or greater Options to be Deleted during Installation NOTE The options listed below are deleted on the initial installation of Outpatient Pharmacy V 7 0 No options are deleted after the initial installation up to patch PSO 7 46 Option Name Menu Text PSO DRUG Drug Enter Edit PSO DRUGMENU Drug Drug Interaction Functions PSO HOLDRX Hold Rx PSO INTERACTION Drug Interactions Menu PSO INTERACTION LOCAL ADD Enter Edit Local Drug Interaction PSO INTERACTION SEVERITY Edit Drug Interaction Severity PSO LAB MONITOR Mark Unmark Lab Monitor Drugs PSO NEW New Prescription Entry PSO REF Refill Prescriptions PSO RXEDIT Edit Prescriptions PSO RXHOLD Hold Features PSO RXPAR Partial Prescription PSO SIGED Medication Instruction File Add Edit PSO UNHOLDRX Unhold Rx PSO FACILITY SETUP Enter Facility Data for Clozapine PSO MARK DRUG Mark Clozapine Drug PSOL UNMARK DRUG Unmark Clozapine Drug PSOARCCO Find PSOARCHLIST List One Patient s Archived Rxs PSOARCIN Tape Retrieval PSOARCPURGE Purge PSOARCSV Save 6 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Templates to be Deleted during Installation NOTE The templates listed below are deleted on the initial installation of Outpatient Pharmacy V 7 0 No options are deleted after the initial installation up to patch PSO 7 46 Input File PSO DRUG 50
55. L DOCUMENT INITIALIZATION PFDQ PHARMACY FILL DOCUMENT QUANTITY PFDT PHARMACY FILL DOCUMENT TRAILER PFDW PHARMACY FILL DOCUMENT WARNING PFI PATIENT FILL INITIALIZATION PATIENT INSTRUCTION INITIALIZATION PMII PMI SECTION INITIALIZATION RMI RETURN MAIL INITIALIZATION RNI REFILL NARRATIVE INITIALIZATION RPI REFILL PRINT INITIALIZATION Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide RT ROTATE TEXT SBT START OF BARCODE TEXT SPI SUSPENSE PRINT INITIALIZATION ST START OF TEXT WLI WARNING LABEL INITIALIZATION In addition to escape sequences to control printer output variables are defined in the control codes that allow the routine to correctly position text and use the appropriate font The following is the description of the variables and their usage PSOX X coordinate PSOY Y coordinate PSOYI Y increment used to determine spacing between lines PSOFONT font size to be used The font used is Arial PSOYM bottom margin for this section Some sections contain variables specific only to that section They are as follows Control Code Variable MLI PSOHFONT font for header lines ACI PSOHFONT font for header lines RMI PSORYI Y coordinate for return mail name PSOHYI Y coordinate for header line PSOTFONT font for trailer line PSOTY Y coordinate for trailer line SPI PSOCX X coordinate for date RPI PSOBYI Y increment for barcode PSOTYI Y incre
56. MAND Press lt PF1 gt H for help Insert Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Files This package requires the 26 files listed below Information about the files can be obtained by using the VA FileMan to generate a list of file attributes The Data Dictionaries DDs are considered part of the online documentation for this software application Use the VA FileMan List File Attributes DILIST option under the Data Dictionary Utilities DI DDU option to print the DDs The following are the files for which DDs should be printed Outpatient Pharmacy Files UP SEND DATA USER DATE SEC COMES SITE RSLV OVER FILE NAME DD CODE W FILE DATA PTS RIDE 50 073 DUE QUESTIONNAIRE YES YES 5070731 DUE ANSWER SHEET YES YES O 50 0732 DUE QUESTION YES YES 50 0733 DUE SECTION YES YES 50 9 DRUG COST YES YES 52 PRESCRIPTION YES YES 52 11 PATIENT NOTIFICATION Rx READY YES YES 52 4 RX VERIFY YES YES 52 41 PENDING OUTPATIENT ORDERS YES YES 52 43 PRESCRIPTION REFILL REQUEST YES
57. MG LOOOWOU 5186265 05500853486 0398 157 O0PPROVIDER IWO 30 CERTIFIED MAIL NON SAFETY 20040615 PMI CORTICOSTEROIDS ORAL Patient Medication Instructions NTE RXR The Pharmacy Encoded Order Acknowledgment Message is as follows Example MSH RRD Pharmacy Encoded Order Ack Message MSH Message Header MSA Message Acknowledgement amp PSO DISPENS E BP CHEYENNE PSO VISTA BP CHEYENNE 20040227222454 0500 ACK 4425981296 T 2 4 MSA AA 10001 58 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Segments used in the Outpatient Pharmacy HL7 interface Dispense Request SEGMENT SEQ LEN DT R O RP TBL ELEMENT NAME EXAMPLE MSH 1 1 ST R Field Separator 2 4 ST R Encoding Characters amp 3 180 HD R 0361 Sending Application PSO VISTA 4 180 HD R 0362 Sending Facility station 521 FO ID and station DNS name BIRM MED VA GOV DNS 5 180 HD R 0361 Receiving Application PSO DISPENSE 6 180 HD R 0362 Receiving Facility DNS DISPENSE VH name and port of A MED V A GOV dispensing machine 9300 DNS 7 26 TS Date Time of Message 20040405152416 9 15 CM R 0076 Message Type RDS 013 10 20 ST R Message Control ID 10001 11 3 PT R 0103 Processing ID P 12 3 VID R 0104 Version ID 24 15 2 ID 0155 Accept Ack
58. MS staff that the Package Coordinator selects to help in the operation of Outpatient Pharmacy The Pharmacist Menu PSO USER1 option should be assigned to all pharmacists and the Pharmacy Technician s Menu PSO USER2 option should be assigned to all pharmacy technicians and other pharmacy personnel who may view prescriptions and or inquire into other Outpatient Pharmacy V 7 0 files Security Keys PROVIDER PSORPH PSO COPAY Holders of this key will be prompted for ICD 9 Diagnosis code entry This key is required to use all of the Outpatient Pharmacy V 7 0 options It should be assigned to all pharmacists the package coordinator and all appropriate members of the ADP IRMS staff This key is used to identify users to notify when a copay exemption cannot be determined at the time a prescription fill is released Holders of this key are also notified any time the Exempt Rx Patient Status from Copayment PSOCP EXEMPTION option is used to change the copay exemption for an Rx Patient Status PSO REJECTS BACKGROUND MESSAGE PSOA PURGE PSOLOCKCLOZ October 2007 When prescriptions remain on the Third Party Payer Reject Worklist over the specified number of days the system will send a Mailman Message to holders of this key NOTE Disabled until further notice This key should be assigned to the package coordinator and or any person who will be responsible for archiving prescriptions This key is used to override the lockout
59. O01 is transmitted whenever an order is placed in Outpatient Pharmacy V 7 0 and the criteria are met for the dispensing machine Upon successful receipt and storage of the message the dispensing machine will generate and transmit a Pharmacy Encoded Order Acknowledgement Message event type O02 The following HL7 messages will be used to support the exchange of Outpatient Pharmacy data with any automatic dispensing system RDS Pharmacy Encoded Order Message RRD Pharmacy Encoded Order Ack Message ACK General Ack Message The messages for the dispense request will consist of the following HL7 segments IAM Patient Adverse Reaction Information MSH Message Header NTE Notes and Comments PID Patient Identification PV1 Patient Visit PV2 Patient Visit additional information ORC Common Order RXE Pharmacy Treatment Encoded Order RXD Pharmacy Treatment Dispense RXR Pharmacy Treatment Route October 2007 Outpatient Pharmacy V 7 0 57 Technical Manual Security Guide Specific Transaction Dispense Request The Pharmacy Treatment Encoded Order Message Dispense Request is as follows Example MSH DISE PID USSSA SS USSSA OP RDS Pharmacy Treatment Encoded Order Message MSH Message Header PID Patient Identification PV 1 Patient Visit PV2 Patient Visit additional information IAM Patient Adverse Reaction Information ORC Common Order NTE Notes and Comments RXE Pharmacy Treatment Encoded Order RXD Pha
60. OLMPF PSOLMPI PSOLMPO PSOLMPO1 PSOLMPO2 PSOLMR PSOLMUTL PSOLSE PSOMAUEX PSOMGCM1 PSOMGCOM PSOMGM31 PSOMGMN1 PSOMGMN2 PSOMGMN3 PSOMGMN4 PSOMGMRP PSOMGR31 PSOMGREP PSOMGRP1 PSOMGRP2 PSOMGRP3 PSOMGRP4 PSOMHVI PSOMLLD2 PSOMLLDT PSON52 PSONCPDP PSONDCUT PSONDCV PSONEW3 PSONEW PSONEWI PSONEW2 PSONEWF PSONEWG PSONFI PSONGR PSONRX PSONTE PSONTEGO PSONVARI1 PSONVARP PSONVAVW PSONVNE PSOORAL PSOORAL1 PSOORAL2 PSOORAPI PSOORCPY PSOORDA PSOORDER PSOORDRG PSOORED1 PSOORED2 PSOORED3 PSOORED4 PSOORED5 PSOORED6 PSOORED7 PSOOREDT PSOORFI1 PSOORFI2 PSOORFI3 PSOORFI4 PSOORFI5 PSOORFI6 PSOORFIN PSOORFL PSOORNEI PSOORNE PSOORNE3 PSOORNE4 PSOORNES PSOORNE6 PSOORNEW PSOORNW1 PSOORNW2 PSOORRD2 PSOORRDI PSOORRL PSOORRL1 PSOORRL3 PSOORRLN PSOORRLO PSOORRNW PSOORROC PSOORUT1 PSOORUT2 PSOORUT3 PSOORUTL PSOP PSOP1 PSOP2 PSOPAT PSOPATLK PSOPFSUO PSOPFSU1 PSOPKIVI PSOPMPO PSOPMP1 PSOPMPPF PSOPOLY PSOPOST 5 5 1 PSOPOST2 PSOPOST3 October 2007 Outpatient Pharmacy V 7 0 13 Technical Manual Security Guide PSOPOST4 PSOPOST6 PSOPOST7 PSOPOST8 PSOPRA PSOPRF PSOPRFSS PSOPRI PSOPST68 PSOPTPST PSOQ0076 PSOQ0186 5000236 PSO
61. P 5 1 PSOCPA PSOCPB PSOCPBA2 PSOCPBAK PSOCPC PSOCPD PSOCPDUP PSOCPE PSOCPIB PSOCPPRE PSOCPTRH PSOCPTRI PSOCPVW PSOCSRL PSOCST PSOCST10 PSOCST11 PSOCST12 PSOCST2 PSOCST3 PSOCSTA PSOCST5 PSOCST6 PSOCST7 50 5 8 50 5 9 PSOCSTD PSOCST PSOCSTX PSODACT PSODAWUT PSODDPR1 PSODDPR2 PSODDPR3 PSODDPR4 PSODDPR5 PSODDPRE PSODEA PSODEDT PSODELI PSODEM PSODGAL PSODGAL1 PSODGDG1 PSODGDG2 PSODGDGI PSODGDGP PSODGNVI PSODI PSODIAG PSODIR PSODIRI PSODIR2 PSODIR3 PSODISP PSODISP1 PSODISP2 PSODISP3 PSODISPS PSODIV PSODLKP PSODOSCL PSODOSU2 PSODOSUN PSODOSUT PSODP PSODPT PSODRDUI PSODRDU2 PSODRDUP PSODRG PSODRGN PSODSPL PSODSRC PSODUE PSOELPST PSOEXBCH PSOEXDT PSOEXREF PSOEXRS PSOFDAMG PSOFDAUT PSOFSIG PSOFTDR PSOFUNC PSOHCPRS PSOHCSUM PSOHDR PSOHELP PSOHELPI PSOHELP2 PSOHELP3 PSOHELP4 PSOHLD PSOHLDA PSOHLDC PSOHLDIS PSOHLDS PSOHLDS1 PSOHLDS2 PSOHLDS3 PSOHLDS4 PSOHLEXC PSOHLEXP PSOHLINC PSOHLINL PSOHLNE PSOHLNE PSOHLNE3 PSOHLNE PSOHLNEW PSOHLPII PSOHLPIS PSOHLSG PSOHLSG1 PSOHLSG2 PSOHLSG3 PSOHLSG4 PSOHLSG5 PSOHLSIG PSOHLSIH PSOHLSN PSOHLSN1 PSOHLSN2 PSOHLSN3 PSOHLSNC PSOHLUP PSOHLUP1 PSOLAB PSOLBL PSOLBLI PSOLBL2 PSOLBL3 PSOLBL4 PSOLBLD PSOLBLD1 PSOLBLN PSOLBLN1 PSOLBLN2 PSOLBLS PSOLBLT PSOLLL1 PSOLLL2 PSOLLL3 PSOLLL4 PSOLLL5 PSOLLL6 PSOLLL7 PSOLLL8 PSOLLL9 PSOLLLH PSOLLLHN PSOLLLI PSOLLLW PSOLLUI PSOLLU2 PSOLLU3 PSOLLU4 PSOLMAL PSOLMAO PSOLMDA PSOLMLST PSOLMPAT PS
62. Q0496 PSOQ0595 PSOOMCAL PSOQRART PSOQTIU4 PSOQUAP2 PSOQUTIL 5 52 PSORDS PSOREFO PSOREF 1 PSOREF2 PSOREJPO PSOREJP1 PSOREJP2 PSOREJP3 JE PSOREJU1 PSOREJU2 PSOREJU3 PSOREJU4 PSOREJUT PSORELD1 PSORELDT PSORENWO PSORENWI PSORENW2 PSORENW3 PSORENW4 PSORESK PSORESK1 ES PSORFL PSORLST PSORLST2 PSORMRX PSORMRXD PSORMRXP PSORN52 5 PSORN52C PSORN52D PSORPTS PSORPTS1 PSORX1 PSORXCLE PSORXDL ED PSORXED1 PSORXED PSORXI PSORXL PSORXL1 PSORXLAB PSORXPA1 P PSORXPRI PSORXRP1 PSORXRP2 PSORXRPT PSORXVW PSORXVWI PSORXVW2 PSOSDO PSOSD1 PSOSD2 PSOSD3 PSOSDP PSOSIG PSOSIGCX PSOSIGMX PSOSIGNO PSOSIGTX PSOSITED PSOSPSIG PSOSTART PSOSUBCH PSOSUCHG PSOSUCLE PSOSUDCN PSOSUDEL PSOSUDP1 PSOSUDP2 PSOSUDPR PSOSULB1 PSOSULBL PSOSULOG PSOSUP PSOSUPAT PSOSUPOE PSOSUPRX PSOSUSTR PSOSUSRP PSOSUTL PSOSUTL1 PSOTALK PSOTALK1 PSOTALK2 PSOTPCAN PSOTPCEE PSOTPCL PSOTPCLP PSOTPCLR PSOTPCLW PSOTPCRP PSOTPCUL PSOTPENV PSOTPHL1 PSOTPHL2 PSOTPPOS PSOTPPRE PSOTPPRV PSOTRI PSOTRLBL PSOUTIL PSOUTL PSOUTLA PSOUTLAI PSOVCNT PSOVDF2 PSOVDF3 PSOVDFK PSOVER PSOVERI PSOVER2 PSOVERC 14 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Exported Options Menu Assignments Unless menus have already been assigned the Outpatient Pharmacy Manager PSO MANAGER menu should be assigned to the Package Coordinator for Outpatient Pharmacy It should also be added to the menu of the Site Manager and any ADP IR
63. SOX x PSOY Y 27 slp14 4v6 1 856 18s24670T UMBER 43 ABBREVIATION F6B FULL NAME SIX POINT FONT BOLDED CONTROL CODE W 27 10U 27 s1p6v0s3b16602T UMBER 44 ABBREVIATION F8B FULL NAME EIGHT POINT FONT BOLDED CONTROL CODE W 27 10U 27 s1p8v0s3b16602T UMBER 45 ABBREVIATION F9B FULL NAME NINE POINT FONT BOLDED CONTROL CODE W 27 10U 27 s1p9v0s3b16602T UMBER 46 ABBREVIATION F10B FULL NAME TEN POINT FONT BOLDED CONTROL CODE W 27 10U 27 slp10v0s3b16602T UMBER 47 ABBREVIATION F12B FULL NAME 12 POINT FONT BOLDED CONTROL CODE W 27 10U 27 slp12v0s3b16602T UMBER 72 ABBREVIATION PFI FULL NAME PATIENT FILL INITIALIZATION CONTROL CODE S PSOFONT F10 PSOX 1210 PSOY 710 PSOYI 45 PSOHFONT F12 PSOBY 1 100 NUMBER 73 ABBREVIATION PFDW FULL NAME PHARMACY FILL DOCUMENT WARNING CONTROL CODE S PSOY 1258 PSOX 660 PSOYI 30 PSOFONT F8 PSOYM 1329 NUMBER 74 ABBREVIATION LI FULL NAME MAILING LABEL INITIALIZATION CONTROL CODE S PSOFONT F10 PSOX 1680 PSOY 175 PSOYI 50 NUMBER 75 ABBREVIATION RMI FULL NAME RETURN MATL INITIALIZATION CONTROL CODE S PSOHFONT F8 PSOFONT F10 PSOX 168 40 PSOTFONT F8 PSOTY 550 NUMBER 12172 CTRL CODE ABBREVIATION LL FULL NAME LASER LABEL CONTROL CODE VMS Print Queue Setup If you use VMS print queues an additional setup may be necessary The form for laser labels must have specific characteristics If you need help defining the f
64. Security ST MSH 9 Message Type CM RDS O13 MSH 10 Message Control ID ST 61332594923 MSH 11 Processing ID PT T MSH 12 Version ID VID 2 4 MSH 13 Sequence Number NM MSH 14 Continuation Pointer ST Accept Acknowledgment MSH 15 Type ID AL Application Acknowledgment MSH 16 Type ID NE MSH 17 Country Code ID US MSH 18 Character Set ID Principal Language MSH 19 Of Message CE Alternate Character MSH 20 Set Handling Scheme ID Conformance MSH 21 Statement ID ID PID 1 Set ID PID SI 1 PID 2 Patient ID CX 1234567890V 123456 1234567890V 123456 US VHA amp amp 0363 PID 3 Patient Identifier List CX NI VA FACILITY ID amp 613 amp L Patient Identifier 000654321 USSSA amp amp 0363 SS VA PID 3 List_rep FACILITY ID amp 613 amp L October 2007 Outpatient Pharmacy V 7 0 87 Technical Manual Security Guide Piece Description Field Data Segment Sequence Name Type Data Value Patient Identifier 1234 USVHA amp amp 0363 PI VA PID 3 List rep FACILITY ID amp 613 amp L Patient Identifier 000654321 US VBA amp amp 0363 PN VA PID 3 List_rep FACILITY ID amp 613 amp L Alternate Patient ID PID 4 PID CX PID 5 Patient Name XPN LastName FirstName M L Mother s Maiden PID 6 Name XPN MotherMaidenLastName M PID 7 Date Time Of Birth TS 19150511 PID 8 Administrative Sex IS M PID 9 Patient Alias XPN PID 10 Race CE 11 22
65. Status Trade name 15 20 ST R Prescription Number 100002202 66 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Segments used in the Outpatient Pharmacy HL7 interface Dispense Release Date Time Request continued SEGMENT SEQ LEN DT R O RP TBL ELEMENT NAME EXAMPLE RXD 1 10 NM R Dispense Sub ID Counter 3 2 250 CE R Dispense Give Code XH001 HEMAT EST TAB NOT FOR ORAL USE 99PSNDF 3207 12039 4321 HEMATEST REAGENT TAB 100 BTL 99PSD 3 26 TS R Date Time Dispensed 20040405 7 20 ST R Prescription Number 100002202 9 25 ST Dispense Notes Release 2003 12120830435 Date Time Bingo Wait 6505 00 584 time NDC Code 0398 October 2007 Outpatient Pharmacy V 7 0 67 Technical Manual Security Guide Notes pertaining to some of the data elements MSH 3 Sending Application is the station ID along with the DNS name of the sending facility MSH 5 Receiving Application is the DNS name and DNS port number of the dispensing application MSH 10 Message Control ID is the number that uniquely identifies the message It is returned in MSA 2 of the dispense completion message PID 3 Patient ID will contain the following possibilities to identify a patient e NI ICN e SS Social Security e PN Claim e PI DFN PV 1 2 Patient Class is hard coded to an O for outpatient PV2 24 Patient Status Code contains the patient status from the prescriptions file followed by a
66. TIALIZATION CONTROL CODE 5 PSOY 2860 PSOX 1210 PSOYM 3950 PSOFONT F10 PSOYI 50 UMBER 21 CTRL CODE ABBREVIATION PII FULL NAME PATIENT INSTRUCTION INITIALIZATION CONTROL CODE S PSOX 1210 PSOY 760 PSOFONT F12 UMBER 22 CTRL CODE ABBREVIATION RPI FULL NAME REFILL PRINT INITIALIZATION CONTROL CODE S PSOFONT F10 PSOBYI 65 PSOTYI 50 PSOLX 0 PSORX 1210 PSOY 1350 PSOYM 3650 PSOXI 90 PSOSYI 135 NUMBER 23 CTRL CODE ABBREVIATION BLH FULL NAME BO i LABEL HEADER INITIALIZATION CONTROL CODE 5 PSOX 100 PSOY 50 PSOYI 30 PSOFONT F9 NUMBER 24 CTRL CODE ABBREVIATION BLB FULL NAME BO LABEL BODY INITIALIZATION CONTROL CODE 5 PSOX 0 PSODX 275 PSOY 150 PSOYI 40 PSOYM 379 PSOFONT F10 NUMBER 25 CTRL CODE ABBREVIATION BLF FULL NAME BO LABEL FOOTER INITIALIZATION CONTROL CODE S PSODY 460 PSOX 0 PSOCX 280 PSOOY 550 PSOTY 610 PSOFONT F10 P SOOFONT F8 PSODFONT F9 PSOTFONT F10 UMBER 26 CTRL CODE ABBREVIATION RT FULL NAME ROTATE EXT CONTROL CODI W AZ Gago UMBER 27 CTRL CODE ABBREVIATION NR FULL NAME NORMAL ROTATION 9 ONBIBE OIN OD EE PEE cll eau UMBER 28 I COME ANEW FULL NAME PHARMACY FILL DOCUMENT INITIALIZATION CONTROL CODE S PSOFONT F10 PSOX 0 PSOY 700 PSOYI 40 PSOYM 969 UMBER 29 CTRL CODE ABBREVIATION PFDO FULL NAME PHARMACY FILL DOCUMENT QUANTITY CONTROL CODE S PSOX 0 PSOCX 200 PSOY 970 PSOYI 50 PSOOFONT F8 PSOFONT F10
67. TS GER DIETE EONAR O 0 212 SIRO STIS Onell oO ato OM AOL UMBER 14 CTRL CODE ABBREVIATION FWU FULL NAME FONT WITH UNDERLINE CONTROL CODE 27 amp d0D UMBER 15 CTRL CODE ABBREVIATION FDU FULL NAME FONT DISABLE UNDERLINE CONTROL CODE 27 amp dQ UMBER 17 CTRL CODE ABBREVIATION SPI FULL NAME SUSPENSE PRINT INITIALIZATION CONI OPEGODEISMESMIE SOEONEIE SIND 5 Or Za October 2007 Outpatient Pharmacy 7 0 45 Technical Manual Security Guide UMBER 18 CTRL CODE ABBREVIATION WLI FULL NAME WARNING LABEL INITIALIZATION CONTROL CODE S PSOX 1050 PSOY 55 UMBER 19 CTRL CODE ABBREVIATION RNI FULL NAME REFILL NARRATIVE INITIALIZATION CONTROL CODE 5 PSOY 2860 PSOFONT F10 PSOX 0 PSOYI 50 PSOYM 3950 UMBER 20 CTRL CODE ABBREVIATION CNI FULL NAME COPAY NARRATIVE INI
68. Timing TQ TION ORC 7 Quantity Timing_rep 19950109 ISSUED 19950109 19950330 DISPENSED ORC 7 Quantity Timing_rep LAST DISPENSED ORC 7 Quantity Timing_rep 19950629 CANCEL ORC 8 Parent CM Date Time of ORC 9 Transaction TS 19950109123449 0500 63 OPPROVIDER40 TWO VistA2 ORC 10 Entered By XCN 00 ORC 11 Verified By XCN 947 OPPROVIDER41 TWO A MD ORC 12 Ordering Provider XCN MD RE Enterer s Location Room Hospital ORC 13 Location IEN Clinic PL CCS HOME VISIT 2559 Call Back Phone ORC 14 Number XTN Order Effective ORC 15 Date Time TS October 2007 Outpatient Pharmacy V 7 0 89 Technical Manual Security Guide Piece Description Field Data Segment Sequence Name Type Data Value Order Control Code ORC 16 Reason CE 613 MARTINSBURG Entering VAMC 613_52_20 5005423 MARTINS ORC 17 Organization CE BURG VAMC NCPDP ORC 18 Entering Device CE ORC 19 Action By XCN Advanced Beneficiary Notice ORC 20 Code CE Ordering Facility ORC 21 Name XON MARTINSBURG WV Ordering Facility ORC 22 Address XAD Ordering Facility ORC 23 Phone Number XTN Ordering Provider ORC 24 Address XAD 4500704 DISCONTINUED 9 Order Status Modifier 9 52 100 If drug send OR ORC 25 CMOP status CWE 12 DISCONTINUED 613 52 100 1 amp 100MG 19950109 19950629 FIL RXE 1 Quantity Timing TQ L CANCEL 4005192 AMANTADI NE HCL 100MG CAP 99VA_52_6 0781 2048 01 NDC
69. acters are used to construct messages They are the segment terminator field separator component separator sub component separator repetition separator and escape character The segment terminator is always a carriage return CR in ASCII or hex OD The other characters recommended by HL7 are used in this application See HL7 Standard V 2 4 Chapter 2 for details October 2007 Outpatient Pharmacy V 7 0 55 Technical Manual Security Guide Segment Rules A segment is a logical grouping of data fields Segments of a message may be required or optional They may occur only once in a message or they may be allowed to repeat Each segment is given a name and is identified by a unique three character code All segments beginning with Z are reserved for locally defined messages No such code will be defined within the HL7 Standard Field Rules A field is a string of characters HL7 does not care how systems actually store data within an application Except where noted HL7 data fields may take on the null value Sending the null value which is transmitted as two double quote marks is different from omitting an optional data field The difference appears when the contents of a message will be used to update a record in a database rather than create a new one If no value is sent 1 it is omitted the old value should remain unchanged If the null value is sent the old value should be changed to null In defining a segment the followin
70. agged as BAI PADD 1 PADD 2 SPRING TX 77379 V AB 1 PADD 3 2014 NI liilll V ABI indicates Bad Address Indicator and 1 is for UNDELIVERABLE 2 for HOMELESS 3 for OTHER PV 1 2 Patient Class is hard coded to an O for outpatient PV2 24 Patient Status Code contains the patient status from the prescriptions file followed by a tilde and then whether or not the patient is COPAY IAM 2 Allergen Type Code is the allergy type of F Food DF Drug Food D Drug DP Drug Other O Other DFO Drug Food Other IAM 5 Allergy Reaction Code will contain the possible reactions ALLERGY PHARMACOLOGIC or UNKNOWN IAM 17 Allergy Clinical Status Code is VERIFIED or NON VERIFIED ORC 2 Placer Order Number is a composite field The first component is the IEN from the PRESCRIPTION file 52 The second component is hard coded to a value of OP7 0 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide 10 Entered By is the person s pointer to the NEW PERSON file 200 and name in VistA who keyed in the order ORC 12 Ordering Provider is a composite ID field The first component is the Provider s pointer to the NEW PERSON file 200 in VistA and the second component is his her name ORC 13 Enterer s Location is the printer where the dispensing machine should print the label ORC 15 Order Effective Date is the date time the order took effect ORC 16 Order Control Code Reason is a coded
71. al Security Guide Specific Transaction Dispense Release Date Time The messages for the Dispense Release Date Time will consist of the following HL7 segments MSH Message Header PID Patient Identification PV1 Patient Visit PV2 Patient Visit additional information RXE Pharmacy Treatment Encoded Order RXD Pharmacy Treatment Dispense Example MSH amp PSO VISTA 521 OUTPATIENT PSO DISPENSE 521 20030620125043 RDS 013 RDS_013 10001 P 2 4 AL AL PID I5000000022V981671 USVAMC PN USVHA 1234 USVAMC USVAMC USVAMC 000456789 05854 55 0555 19590116 160 Park Pl amp Apt 25 amp Suite 5 00 205 35259 17 34 251 555 5355 1 0 2 I SCLE50 NO COPAY RXE D0082 DIGOXIN 0 25MG TAB 99PSNDF 372 3 DIGOXIN 0 25MG TAB 99PSD 20 MG 99PSU 120 TAB RAPID DISINTEGRATE 99PSF LAXOXIN TE ROD 9 925 MGE ZOOSOGAO 1 155 1 220070 SUA lt 2 522 03981 11111111120040615 October 2007 Outpatient Pharmacy V 7 0 65 Technical Manual Security Guide Segments used in the Outpatient Pharmacy HL7 interface Dispense Release Date Time Request SEGMENT SEQ LEN DT R O RP TBL ELEMENT N
72. amp 0363 PI VA FACILITY ID amp 613 amp L 000654321 USVBA amp amp 0363 PN VA FACILITY ID amp 613 amp L LastName FirstName M L MotherMaidenLastName MIE CETT BOK ESAE ONT BRIDGE WV 12345 P BARNESVILLE MD N 027 123 555 010 55 1512 1L OAST OA NINES V 1E lds a SAL ORC RE 1685567 613 52 001 CM 419950109 19960110 FILL EXPIRATION 19 950109 ISSUED 19950109 19950330 DISPENSED LAST DISPENSED 19950629 CANCEL 19950109123449 0500 63 OPPROVIDER40 TWO VistA200 947 OPPROVIDER41 TWO A MD MD RE CCS HOME VISIT 2559 613 MARTINSBURG VAMC 613_52_20 5005423 MARTINSBURG VAMC NCPDP MARTINSBURG WV 4500704 DISCONTINUED 99VA 52 100 84 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide RXE 1 amp 100MG 19950109 19950629 FILL CANCEL 4005192 AMANTADINE HCL 100MG CAPS S SAN 52610 119 1L 72 0 2 9 Ol SANDE OAS ZOMG 19 97 6 63 C0299 515 507 02 v 2mm 6515 523 0115 S GL 3_52 01133 032 6 1L 52 Riba dm WHOJSUNDEN GS ZN Nat iS 5 2 11115 enti WINDOW 90 1 2992 OPPROVIDER42 THREE M PHARMACIS T 5430744 19950111170823 0500 TAKE ONE CAPSULE BY MOUTH EVERY EIGHT HOURS Jr niens x GIS 5
73. chived Rx s Manual Print of Multi Rx Forms Reprint an Outpatient Rx Label Signature Log Reprint View Prescriptions Update Patient Record Verification List Non Verified Scripts Non Verified Counts Rx Verification by Clerk Pharmacy Technician s Menu Bingo Board User Enter New Patient Display Patient s Name on Monitor Remove Patient s Name from Monitor Status of Patient s Order Change Label Printer DUE User 1 Enter a New Answer Sheet 2 Edit an Existing Answer Sheet 3 Batch Print Questionnaires Medication Profile Patient Prescription Processing Pull Early from Suspense Queue CMOP Prescription Release Medication Update Patient Record Standalone Options The Transitional Pharmacy Benefit TPB options were available in previous releases of Outpatient Pharmacy V 7 0 but are currently placed Out of Order by PSO 7 227 October 2007 Outpatient Pharmacy V 7 0 Technical Manual Security Guide 39 40 On the following page the Routine Mapping heading and its information is no longer needed and has been deleted Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Journaling Globals The primary global the Outpatient Pharmacy V 7 0 package uses is PSRX This global is recommended if journaling is used The majority of the other files used by the Outpatient Pharmacy package are stored in the PS global This global is also recommended for journaling if used Barcode
74. de NEW Reason 17 250 CE Entering Organization 57 7 FLOOR 99PSC 19 250 XCN O Action By 65421 OPPROVI DER5 THREE 20 250 CE 0339 Advanced Beneficiary VAS Notice Code 21 250 XON Ordering Facility Name AL BANY 500 22 250 XAD Ordering Facility Address 101 CHURCH AVE ALBANY NY 12208 23 250 XTN O Ordering Facility Phone str 518 555 5554 NTE 1 1 51 O Set ID 1 3 6553 O Comment USE 50 FOR 6 TESTING BY MOUTH TWICE A DAY FOR 30 DAYS 4 250 Comment Type Medication 1 Medication Instructions Instructions 2 Patient Instructions Narrative 3 Drug Warning Narrative 4 Profile Information 5 Drug Interactions 6 Drug Allergy Indications 7 PMI Sheet 8 Medication Instructions 9 Privacy Notification 60 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Segments used in the Outpatient Pharmacy HL7 interface Dispense Request continued SEGMENT DT R O RP TBL ELEMENT NAME EXAMPLE RXE 1 200 TQ R Quantity Timing Null 2 250 CE R Give Code XH001 HEMAT EST TAB NOT FOR ORAL USE 99PSNDF 3207 12039 4321 HEMATEST REAGENT TAB 100 BTL 99PSD 3 20 NM R Give Amount Minimum Null 5 250 Give Units 20 MG 99PSU 6 250 CE Give Dosage Form 165 TAB TEST 99PSF 8 200 CM Deliver To Location WINDOW October 2007 Outpatient Pharmacy V 7 0 60a Technical Manual Security Guide This page included for two sided copying 60b Outpatie
75. ded Element N Non VA med 2 Statement Reason Non VA Medication String not recommended by VA provider or Medication prescribed by non VA provider Field must contain unique data An Application Acknowledgement message is returned for new and discontinue messages received from the external system Sequence 1 Acknowledgement Code of the MSA segment will always be Application Accept AA regardless of whether or not the incoming message passed all of the exception checks Sequence 3 Text Message of the MSA segment will be null if the message was accepted and passed all of the exception checks If the message is rejected by the receiving application Sequence 3 Text Message will contain the reason for the rejection Segment Piece Description Field Data Data Type Name MSH 1 Field Separator String 2 Encoding Characters amp String 3 Sending Application PSO RECEIVE String 4 Sending Facility Sending Facility String 5 Receiving Receiving Application String Application Name 6 Receiving Facility Receiving Facility String 7 Date time of Current Date Time Time Stamp Message 9 Message Type ORR OO1 Coded Value 10 Message Control ID String 11 Processing ID P Coded Value 12 Version ID 2 3 1 Coded Value 15 Accept NE Coded Value Acknowledgement 16 Application NE Coded Value Acknowledgement I4 Country Code US Coded Value MSA
76. dered field RXE segment piece 1 subpiece 1 e Schedule field RXE segment piece 1 subpiece 2 e VA Product Name field RXE segment piece 2 subpiece 2 e Generic drug name field RXE segment piece 2 subpiece 6 e Units name field RXE segment piece 5 subpiece 5 Dose Form name field RXE segment piece 6 subpiece 5 e Provider Comments field NTE 6 segment piece 3 e Expanded Patient Sig field NTE 7 segment piece 3 e Front Door Sig field NTE 21 segment piece 3 e Back Door Sig field NTE 21 segment piece 3 October 2007 Outpatient Pharmacy V 7 0 56a Technical Manual Security Guide This page included for double sided copying 56b Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide TRANSACTION SPECIFICATIONS Communication Protocol The lower level communication protocol used by Outpatient Pharmacy V 7 0 to transmit data between systems is either X3 28 or HLLP over an RS 232 connection A site parameter in the Outpatient Pharmacy V 7 0 application called External Interface controls transmission of data to the dispensing machine If the parameter is set to 0 no transmission will occur There is also a new parameter that is used for sites running HL7 V 2 4 It is in the OUTPATIENT SITE file 59 and is called AUTOMATED DISPENSE This must be set to determine which version of HL7 the site is running Processing Rules A Pharmacy Encoded Order Message event type
77. dications prescribed by providers outside VHA All Non VA Meds must be documented in patients medical records Pharmacy Ordering Enhancements project POE is a series of enhancements to improve the ordering processes between Inpatient Medications and Outpatient Pharmacy For Outpatient Pharmacy POE changes occur in patch PSO 7 46 This term is now referred to throughout the software as medication orders Prescriptions typically those that have been expired or canceled for more than a year are saved to tape Purging removes them from online storage Unlike a partial prescription a reprint does not count as workload VistA Data Extraction Framework Veterans Health Administration Acronym for Veterans Health Information Systems and Technology Architecture the new name for Decentralized Hospital Computer Program DHCP Outpatient Pharmacy V 7 0 53 Technical Manual Security Guide 54 VUID VHA Unique Identifier A unique integer assigned to reference terms VHA wide Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Appendix Outpatient Pharmacy HL7 Interface Specifications A General Information Introduction This document specifies an interface between the VistA Outpatient Pharmacy V 7 0 application and any automatic dispensing system It is based upon the Health Level 7 Standard HL7 V 2 4 The term Level 7 refers to the highest level of the Open System Interconnection OST
78. e 47 EE 85 October 2007 Outpatient Pharmacy V 7 0 103 Technical Manual Security Guide This page included for two sided copying 104 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide
79. e Amount NM 90 RXE 11 Dispense Units CE RXE 12 Number of Refills NM Ordering Provider s RXE 13 DEA Number XCN Pharmacist Treatment 2992 OPPROVIDER42 THREE M RXE 14 Supplier s Verifier ID XCN PHARMACIST RXE 15 Prescription Number ST Number of Refills RXE 16 Remaining NM Number of Refills Doses RXE 17 Dispensed NM D T of Most Recent Refill or Dose RXE 18 Dispensed TS 199503290934 0500 RXE 19 Total Daily Dose CQ Needs Human RXE 20 Review ID Pharmacy Treatment Supplier s Special Dispensing RXE 21 Instructions CE RXE 22 Give Per Time Unit ST D90 RXE 23 Give Rate Amount ST RXE 24 Give Rate Units CE RXE 25 Give Strength NM RXE 26 Give Strength Units CE RXE 27 Give Indication CE Dispense Package RXE 28 Size NM Dispense Package RXE 29 Size Unit CE Dispense Package RXE 30 Method ID Supplementary Code 11135 AMANTADINE HCL 100MG RXE 31 Local Drug ST CAP 613_50_ 01 Supplementary Code RXE 31 n CMOP ID C0255 613_50_27 96 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Description Field Data Segment Sequence Name Type Data Value FT1 1 Set ID FT1 SI 2 Transaction ID ST 3 Transaction Batch ID ST FT1 4 Transaction Date TS 19950330 Transaction Posting FT1 5 Date TS FT1 6 Transaction Type IS CG Transaction Code Pharmacy Orderable Item Name Coding FT1 7
80. er number in Outpatient Pending file e Duplicate order number in Outpatient Prescription file e Missing number of refills Missing effective date e Missing Entered by data 78 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide For discontinue order messages these are the possible exceptions Provider exceptions e Provider is not authorized to write med orders e Provider has an inactive date date of today or less e Provider has a termination date date of today or less e Provider does not hold the PROVIDER key Invalid provider entry Other exceptions e Invalid message structure Missing MSH segment e Missing PID segment Missing ORC segment Missing sending application name e Missing Placer Order Number e Unable to find order in Pharmacy e Patient mismatch in Pending order e Pending order is being edited by another user e Unable to cancel Pending order status is HOLD Unable to cancel Pending order status is RENEW e Unable to cancel Pending order status is DISCONTINUE EDIT e Unable to cancel Pending order status is DISCONTINUE e Unable to cancel Pending order status is REFILL REQUEST e Patient mismatch in prescription e Prescription is being edited by another user e Unable to cancel prescription status is DISCONTINUED e Unable to cancel prescription status is DELETED e Unable to cancel prescription status is DISCONTINUED BY PROVIDER e Unable to cance
81. erience with other Veterans Health Information Systems and Technology Architecture VistA software and have worked or will work with a package coordinator who is familiar with the functions of the Outpatient Pharmacy V 7 0 ina VA Medical Center Readers without this background are referred to the documentation for the Kernel the VA FileMan and the User s Manual for this release The Outpatient Pharmacy V 7 0 package provides a method for managing the medications given to veterans who have visited a clinic or who have received prescriptions upon discharge from the hospital Prescription labels are automatically generated and refill request forms are printed Medication histories are kept online to permit checks for potential interactions Profiles can be generated to assist the clinician in managing the patient s medication regimen Management reports aid the pharmacy in controlling inventory and costs A number of site parameters allow the individual Department of Veterans Affairs Medical Center VAMC to customize the package to meet local needs The User s Manual describes these site parameters and the ways they influence the operation of the package See Section 10 of this manual External Relations for a listing of software not included in this package that must be installed before this version of Outpatient Pharmacy is fully functional October 2007 Outpatient Pharmacy V 7 0 1 Technical Manual Security Guide This page incl
82. following HL7 segments MSA Message Acknowledgment MSH Message Header PID Patient Identification ORC Common Order RXD Pharmacy Treatment Dispense Example MSH amp PSO DISPENSE 521 PSO VISTA 5211 20031215125043 RRD O14 RRD 014 10001 P 2 4 AL AL MSA AA CA 10001 PID 15000000022V981671 USVAMC PN 1234 PN PI 000456789 USSSA SS OPPATIENT ONE 19590116 M 12345 1111 OPPROVIDER2 THREE OPPROVIDER TWO RXD 1 DO082 DIGOXIN 0 25MG TAB 99PSNDF 372 3 DIGOXIN 0 25MG TAB 99PSD 20031215 123987 6505 00 584 0398 20031212 1234567 0PPROVIDER1 ONE 123456789101112131415 45201 20041201 Segments used in the Outpatient Pharmacy HL7 interface Dispense Completion BAX ER SEGMENT DT R O RP TBL ELEMENT NAME EXAMPLE MSH 1 1 5 R Field Separator 2 4 ST R Encoding Characters M amp 3 180 HD R 0361 X Sending Application PSO DISPENSE 4 180 HD R 0361 Sending Facility DISPENSE VH A MED V A GOV 9300 DNS 5 180 HD R 0361 Receiving Application PSO VISTA 6 180 HD R 0362 Receiving Facility 7 26 TS R Date Time of Message 200304050938 9 15 CM R 0076 Message Type RRD 014 MSG 10 20 ST R Message Control ID 10001 11 3 PT R 0103 Processing ID P 12 60 VID R 0104 Version ID 24 15 2 ID 0155 Accept Acknowledgment AL 16 2 ID 0155 Application Acknowledgment MSA 1 2 ID R
83. g information is specified about each field a position position of the data field within the segment b name unique descriptive name for the field c ID number integer that uniquely identifies the data field throughout the Standard d maximum length maximum number of characters that one occurrence of the data field may occupy e optionality whether the data field is required R optional O or conditional C in a segment f repetition whether the field may repeat N no Y yes integer no of repeats g table a table of values for a field See HL7 Standard V 2 4 Section 2 7 6 for source of tables h data type restrictions on the contents of the data field See HL7 Standard V 2 4 Section 2 9 56 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Special Escaping Characters Standard HL7 field delimiters represented by the amp tilde ampersand pipe characters as well as the commonly used VistA caret are sometimes needed by users of Outpatient Pharmacy in various fields to provide complete information about a patient or order The use of these characters can cause sending and receiving software to format HL7 messages incorrectly and or construct deconstruct the information incorrectly Data loss can also occur if data is truncated at one of the special delimiter characters The following fields require special escaping characters Dosage Or
84. he Archive Device The following examples display archive device setups for file and tape These examples may differ from site to site If a device differs check with IRMS for information on device set up HOST FILE SERVER HES DEVICE SETUP NAME HFS SI ARCO797 TMP ASK DEVICE YES ASK PARAMETERS NO VOLUME SET CPU VAAQUEUING ALLOWED LOCATION OF TERMINAL COMPUTER AREA ASK HOST PILLES XES ASK HFS I O OPERATION YES MARGIN WIDTH 132 FORM FEED PAGE LENGTH 64 BACK SPACE 5 8 SUBTYPE P OTHER TYPE HOST FILE SERVER BAUD RATE c UNKNOWN October 2007 Outpatient Pharmacy V 7 0 17 Technical Manual Security Guide 18 MAGNETIC TAPE DEVICE SETUP NAME TAPE T7867 51 535 600 ASK DEVICE YES ASK PARAMETERS YES SIGN ON SYSTEM DEVICE NO LOCATION OF TERMINAL COMPUTER ROOM MARGIN WIDTH 255 FORM FEED PAGE LENGTH 256 BACK SPACE C 8 OPEN PARAMETERS FORMAT VAL4 BLOCKSIZE 2048 SUBTYPE MAGTAPE INAS MUNG PERFORM DEVICE CHECKING NO BAUD RATE c UNKNOWN Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Callable Routines Entry points provided by the Outpatient Pharmacy V 7 0 package to other packages can be found in the External Relations section of this manual No other routines are designated
85. hould be assigned to the package coordinator and or any person who will be responsible for archiving prescriptions This key is used to override the lockouts in the Clozapine option All members of the Clozapine treatment team must be entered as users on the system and must be given this key All pharmacists who have the ability to override the lockouts in this option must also hold this key The Pharmacy Service representative of the Clozapine treatment team should identify these pharmacists This key is used to access the External Interface Menu PSO EXTERNAL INTERFACE option PSO TRICARE CHAMPVA This key should be assigned to a pharmacist in order to perform an Override and electronically sign a prescription for a TRICARE or CHAMPVA patient PSO TRICARE CHAMPVA MGR 30 This key is required to access the TRICARE CHAMPVA Bypass Override Report PSO TRI CVA OVERRIDE REPORT option Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide File Security This package requires 26 files in addition to those of the Kernel and other files to which it points for example the PATIENT file 2 Information about all files including these can be obtained by using the VA FileMan to generate a list of file attributes File Numbers File Names DD RD WR DEL LAYGO 50 073 DUE QUESTIONNAIRE 50 0731 DUE ANSWER SHEET 50 0732 DUE QUESTION
86. ity Guide Pharmacist Menu Bingo Board User Enter New Patient Display Patient s Name on Monitor Remove Patient s Name from Monitor Status of Patient s Order Change Label Printer Change Suspense Date DUE Supervisor Entera New Answer Sheet 2 Editan Existing Answer Sheet 3 Create Edit a Questionnaire 4 Batch Print Questionnaires 5 DUE Report Enter Edit Clinic Sort Groups External Interface Menu Purge External Batches Reprint External Batches View External Batches Medication Profile Pharmacy Intervention Menu Enter Pharmacy Intervention Edit Pharmacy Intervention Print Pharmacy Intervention Delete Intervention View Intervention Print from Suspense File Process Order Checks Pull Early from Suspense Queue CMOP Prescription Release Medication Return Medication to Stock Rx Prescriptions Patient Prescription Processing Barcode Rx Menu Barcode Batch Prescription Entry Check Quality of Barcode Process Internet Refills Complete Orders from OERR Discontinue Prescription s Edit Prescriptions ePharmacy Menu Ignored Rejects Report ePharmacy Medication Profile View Only NDC Validation ePharmacy Medication Profile Division Preferences ePharmacy Site Parameters 38 Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Third Party Payer Rejects View Process Third Party Payer Rejects Worklist TRICARE CHAMPVA Bypass Override Report View ePharmacy Rx List One Patient s Ar
87. l on the left side of the page Please refer to the VistA Data Extraction Framework VDEF Installation amp User Configuration Guide for all technical assistance New Protocols Patch PSO 7 190 adds six new protocols to the PROTOCOL file 101 to facilitate the VistA Data Extraction Framework VDEF Outpatient Pharmacy messaging PROTOCOL VS Event Driver protocol HR Subscriber protocol PSO VDEF RDE O11 OP PHARM PRES VS PSO VDEF RDE O11 OP PHARM PRES HR PSO VDEF RDS O13 OP PHARM PPAR VS PSO VDEF RDS O13 OP PHARM PPAR HR PSO VDEF RDS O13 OP PHARM PREF VS PSO VDEF RDS O13 OP PHARM PREF HR New Application Parameters Patch PSO 7 190 adds four new HL7 application parameters to the HL7 APPLICATION PARAMETER file 771 HDRPPAR is exported as the Sending Application for the PSO VDEF RDS 013 OP PHARM PPAR VS protocol HDRPREF is exported as the Sending Application for the PSO VDEF RDS O13 OP PHARM PREF VS protocol HDRPRES is exported as the Sending Application for the PSO VDEF RDE O11 OP PHARM PRES VS protocol PSO VDEF IE SIDE is exported as the Receiving application for the three Subscriber protocols PSO VDEF RDE O11 OP PHARM PRES HR PSO VDEF RDS O13 OP PHARM PPAR HR PSO VDEF RDS O13 OP PHARM PREF HR October 2007 Outpatient Pharmacy V 7 0 83 Technical Manual Security Guide New Logical Link There are currently four HL7 logical links VDEFVIEn exported with VDEF V 1 0 The VDEFVIEn links will transmit messages fr
88. l prescription status is DISCONTINUED EDIT October 2007 Outpatient Pharmacy V 7 0 79 Technical Manual Security Guide 80 This page included for two sided copying Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Appendix The Transitional Pharmacy Benefit TPB functionality has been placed Out of Order with the PSO 7 227 patch October 2007 Outpatient Pharmacy V 7 0 81 Technical Manual Security Guide 82 This page included for two sided copying Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Appendix D HL7 Messaging for VistA Data Extraction Framework VDEF Important Note Patch PSO 7 190 should not be installed prior to the site s assigned HDR installation date Each site will be contacted approximately two weeks prior to the assigned HDR installation date and provided instructions on when and in what order to install this patch and the VDEF V 1 0 software Additionally sites should not configure or attempt to utilize the VDEF software associated with this patch prior to the assigned HDR installation date Technical Support Office personnel will work with each site to activate that application and start the site s data transmissions to the HDR database Information on HDR installation dates can be found by going to the link lt http vaww teamshare va gov hdr_implementation gt and selecting Implementation Schedule from the Quick Launch pane
89. ment for trailer information PSOLX X coordinate for left side of page PSORX X coordinate for right side of page PSOSYI Y increment for signature line PSOXI X increment BLB PSOBX X coordinate for barcode BLF PSODY Y coordinate for discard line X coordinate for continued line PSOQY Y coordinate for quantity information PSOTY Y coordinate for trailer information PSOQFONT font for quantity PSODFONT font for discard line PSOTFONT font for trailer information PFDQ X coordinate for continued line October 2007 Outpatient Pharmacy V 7 0 49 Technical Manual Security Guide PSOQFONT font for quantity PFDT Y increment for barcode PSOTFONT font for trailer information PSOBY Y coordinate for barcode PFI PSOHFONT font for header Y increment for barcode ScripTalk Printers ScripTalk is a registered trademark of En Vision America The Outpatient Pharmacy V 7 0 package with the release of PSO 7 135 supports the use of ScripTalk printers that print to microchip embedded label stock The label will have printed text on it along with the microchip containing the contents of the label Pharmacy or other designated staff will enroll patients to receive these labels and issue those patients a special reader When the patient holds a ScripTalk label near the reader and presses a button the content of the label is read aloud The TCP IP enabled printer must be
90. nt Pharmacy V 7 0 October 2007 Technical Manual Security Guide Segments used in the Outpatient Pharmacy HL7 interface Dispense Request continued SEGMENT SEQ LEN DT R O RP TBL ELEMENT NAME EXAMPLE 9 25 ST O Substitution Status Trade name 10 20 NM Dispense Amount 30 11 250 Dispense Units TAB 12 3 NM Number of Refills 3 13 250 XCN Ordering Provider s DEA EZ9278277 Number 14 250 XCN C Pharmacist Treatment 188 OPPROVIDE Supplier s Verifier ID R3 ONE 15 20 ST R Prescription Number 100002202 16 20 NM Number of Refills 3 Remaining 17 20 NM Number of Refills Doses 0 Dispensed 18 26 TS of Most Recent Refill 200404050830 21 250 CE R Pharmacy treatment BUPROFEN dispense instructions 400MG TAB 31 1 ID R Supplementary Code N O0 N spec hdlg ScripTalk PMI language preference RXD 1 10 Dispense Sub ID Counter 0 250 CE R Dispense Give Code XH001 HEMATE ST TAB NOT FOR ORAL USE 99PSNDF 3 207 12039 4321 H EMATEST REAGENT TAB 100 BTL 99PSD 3 26 TS R Date Time Dispensed 20040405 7 20 ST R Prescription Number 100002202 8 20 NM Number of Refills 3 Remaining 9 25 ST Dispense Notes DEA 193 2426 21 spec hdlg NDC code 10 200 XCN Dispensing Provider 157 OPPROVIDE R TWO 12 10 CQ Total Daily Dose 30 13 200 CM Dispense To Location CERTIFIED MAIL 15 10 CE Pharmacy Treatment NON SA
91. nts 17 Callable Routines unnn LD External Intepfaces 222200042004 N l LO External Relations 23 Data Base Integration Agreements IAs a 23 Internal Relafi6BS u l SIEHE TA Packase Wide Variables uu Ta Sau Templates dete wasapas Software Product Security Mail Group Setup for the HL7 External Interface 44442222221 29 Archiving P Eglng xut SRR gs Mie ade cud 29 llicurisi uM HL PH 20 Electronic SIC nat LBS cnt sios eset isa u AS speso tut 29 Ment Assignments saa aries 29 Keys E die 30 File M 31 October 2007 Outpatient Pharmacy V 7 0 Technical Manual Security Guide Outpatient Pharmacy V 7 0 Menu Diaserans 33 Outpatient Pharmacy Manager eco Dette bcn pepe ala ide
92. nued NUMBER 8 CTRL CODE ABBREVIATION SBF FULL NAME START OF BARCODE FIELD CONTROL CODES Wy l NUMBER 9 CTRL CODE ABBREVIATION ETF FULL NAME END OF TEXT FIELD CONTROL CODE eU d NUMBER 10 CTRL CODE ABBREVIATION SL CONTROL CODE W XA S PSJBARY 50 PSUBARX 60 NUMBER 11 CTRL CODE ABBREVIATION EL FULL NAME END OF LABEL CONTRO Mia CIO DIg R Wy d NUMBER 12 CTRL CODE ABBREVIATION EBF FULL NAME END OF BARCODE FIELD CONTROL CODE LESS 52 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Glossary ADP Archive CPRS DHCP IRMS Non VA Meds POE Prescription Purge Reprinted Label VDEF VHA VistA October 2007 Automated Data Processing Prescriptions typically those that have been expired or canceled for more than a year can be saved to tape and then purged from online storage Computerized Patient Record System CPRS is a Graphical User Interface GUI in VistA that provides order entry and results reporting for multiple packages See VistA Information Resources Management Service Term that encompasses any Over the Counter OTC medications Herbal supplements Veterans Health Administration VHA prescribed medications but purchased by the patient at an outside pharmacy and me
93. o some data elements MSH 3 Receiving Application is the DNS name and DNS port number of the dispensing application MSH 5 Sending Application is the station ID along with the DNS name of the facility MSH 10 Message Control ID is the number that uniquely identifies the message MSA 2 Message Control ID is the same number that was in MSH 2 in the dispense request message PID 3 Patient ID will contain the following possibilities to identify a patient e NI ICN e SS Social Security e PN Claim f e PI DFN ORC 2 Placer Order Number is the RX internal entry number ORC 10 Entered By is the name of the Filling Person for the prescription ORC 11 Verified By is the name of the Checking Pharmacist for the prescription RXD 1 Dispense Sub ID Counter is the fill number for the prescription RXD 3 Date Time Dispensed is the fill date and time RXD 9 Dispense Notes contains two components First component is the NDC code and the second component is the release date time of the prescription from the dispensing machine RXD 10 Dispensing Provider is the name of the releasing pharmacist RXD 13 Dispense To Location will contain the mail tracking number of the medication sent to the patient October 2007 Outpatient Pharmacy V 7 0 71 Technical Manual Security Guide 72 This page included for two sided copying Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Appendix
94. odes print without relying on a line feed in the Outpatient Pharmacy code test this print a test label for an Rx with no refills On the center copy of the label on the next line after the station number Rx no which prints directly under the barcode one of the two following lines should print clearly DNE DEENESERISISITSREESESMISISNBISN S S TGTANTIUSEWONDY or This prescription CANNOT be renewed If there is a problem insert a line feed at the end of the Barcode Off sequence Add a to the end of the sequence Remember to set the New Label Stock site parameter to Yes Three site parameters provide patient instructions that will print after each patient s prescriptions They are NARRATIVE NON REFILLABLE RX NARRATIVE REFILLABLE RX and NARRATIVE FOR COPAY DOCUMENT The NARRATIVE FOR COPAY DOCUMENT will only print if at least one of the patient s prescriptions is subject to a Copay charge Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide For the Data South 220 BAR CODE ON 27 1w 27 70s 94 H SS SD X 04 X M 04 Xz S 02 X L 10 1 04 94 BDB BAR CODE OFF 94 G 27 70c 27 2w For the MT 661 BAR CODE ON 27 lt 4 94 5 lt 60 7450 1 7850 94 9 5 1 94 1 35 1 3 13 BAR CODE 13 10 27 lt 41 27 5 The character after the lt 4 in the BAR CODE OFF
95. om the local site to the HDR Receiving host system at Austin VDEFVIE3 is the logical link assigned to Outpatient Pharmacy and it has been added to the HL LOGICAL LINK file 870 HL7 Outpatient Pharmacy VDEF Message When particular events listed below occur to a prescription within the Outpatient Pharmacy package a VDEF request will be queued up at the VDEF Request Queue with the MessageType EventType SubType and the internal entry number to the PRESCRIPTION file 52 VDEF will then go through the VDEF Request Queue to generate an HL7 message that contains all of the prescription information and send the message to the Receiving Facility through the VDEFVIE3 Logical Link Outpatient Pharmacy VDEF messages will be generated when A new order is entered through the Outpatient Pharmacy options A Pending Order from Computerized Patient Record System CPRS is finished in the Outpatient Pharmacy options A refill is entered for a prescription A partial fill for a prescription is entered All prescription status changes A Prescription is edited and does not create a new order Example of VDEF HL7 Message MSH amp HDRPREF 613 TEST MARTINSBURG MED VA GOV DNS PSO VDEF IE SIDE 200HD HDR MED VA GOV DNS 20041216192259 DSOO ARDS Ol 3 61 3 32 594 9 2 SAU 2 SLAIN WS PID 1 1234567890V123456 1234567890V123456 USVHA amp amp 0363 NI VA FACILITY ID amp 613 amp L 000654321 USSSA amp amp 0363 SS VA FACILITY ID amp 6136L 1234 USVHA amp
96. or implementation The remaining options on this menu may be used for maintenance An example is given below for the Queue Background Jobs PSO AUTOQUEUE JOBS option See the Outpatient Pharmacy V 7 0 User Manual for an explanation of the other options on this menu 8 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Maintenance Outpatient Pharmacy PSO MAINTENANCE menu Site Parameter Enter Edit Edit Provider Add New Providers Queue Background Jobs Autocancel Rx s on Admission Bingo Board Manager Edit Data for a Patient in the Clozapine Program Enter Edit Clinic Sort Groups Initialize Rx Cost Statistics Edit Pharmacy Intervention Delete Intervention Auto delete from Suspense Delete a Prescription Enter Edit Automated Dispensing Devices Expire Prescriptions Manual Auto Expire Rxs Prescription Cost Update Purge Drug Cost Data Purge External Batches Recompile AMIS Data Queue Background Jobs PSO AUTOQUEUE JOBS This option is used to queue all background jobs Once the Queue Background Jobs PSO AUTOQUEUE JOBS option is selected the option automatically pre selects the jobs Entering E for exit will not exit the option An up arrow must be entered to exit a specific job and go on to the next one The background jobs are as follows Autocancel Rx s on Admission Nightly Rx Cost Compile Nightly Management Data Compile Compile AMIS Data NIGHT JOB Expire Prescriptions Auto delete from S
97. orm please contact the National Help Desk NOTE The form must have a length of 255 and a width of 512 The following is an example form p WIDTH 512 Form name Number Description AABELFORM 2 ASER LABEL LENGTH 255 MARGIN BOTTOM 6 STOCK LABELFORM TRUNCATI October 2007 Outpatient Pharmacy V 7 0 Technical Manual Security Guide P 47 Control Codes To modify the control codes to work appropriately with your device use the following information Control Codes in use by Laser Labels 48 ACI ADDRESS CHANGE INITIALIZATION ALI ALLERGY SECTION INITIALIZATION AWI ALLERGY WARNING INITIALIZATION BLB BOTTLE LABEL BODY INITIALIZATION BLBC BOTTLE LABEL BARCODE BLF BOTTLE LABEL FOOTER INITIALIZATION BLH BOTTLE LABEL HEADER INITIALIZATION CDII CRITICAL DRUG INTERACTION INITIALIZATION CNI COPAY NARRATIVE INITIALIZATION EBLBC END OF BOTTLE LABEL BARCODE EBT END OF BARCODE TEXT F10 TEN POINT FONT NO BOLD F10B TEN POINT FONT BOLDED F12 TWELVE POINT FONT NO BOLD F12B 12 POINT FONT BOLDED F6 SIX POINT FONT NO BOLD F6B SIX POINT FONT BOLDED F8 EIGHT POINT FONT NO BOLD F8B EIGHT POINT FONT BOLDED F9 NINE POINT FONT NO BOLD F9B NINE POINT FONT BOLDED FDU FONT DISABLE UNDERLINE FWU FONT WITH UNDERLINE LL LASER LABEL LLI LASER LABEL INIT MLI MAILING LABEL INITIALIZATION NR NORMAL ROTATION PFDI PHARMACY FIL
98. pe Tape Retrieval Archive to File File Retrieval Purge gt Out of order Unavailable Under Construction List One Patient s Archived Rx s Print Archived Prescriptions Autocancel Rx s on Admission Bingo Board BM Bingo Board Manager Enter Edit Display Auto Start Enter Edit Print Bingo Board Statistics Print Bingo Board Wait Time Purge Bingo Board Data Start Bingo Board Display Stop Bingo Board Display BU Bingo Board User Enter New Patient Display Patient s Name on Monitor Remove Patient s Name from Monitor Status of Patient s Order Change Label Printer Clozapine Pharmacy Manager Display Lab Tests and Results Edit Data for a Patient in the Clozapine Program List of Override Prescriptions Register Clozapine Patient Menu CHAMPUS Billing Exemption Exempt Rx Patient Status from Copayment Reset Copay Status Cancel Charges DUE Supervisor October 2007 Outpatient Pharmacy V 7 0 33 Technical Manual Security Guide Enter a New Answer Sheet Edit an Existing Answer Sheet Create Edit a Questionnaire Batch Print Questionnaires 5 DUE Report Enter Edit Clinic Sort Groups External Interface Menu Purge External Batches Reprint External Batches View External Batches Label Profile Monitor Reprint Maintenance Outpatient Pharmacy Site Parameter Enter Edit Edit Provider Add New Providers Queue Background Jobs Autocancel Rx s on Admission Bingo Board Manager Enter Edit Display Auto Start
99. reneeereen eene enne nennen 55 Outpatient Pharmacy Manager 33 Outpatient Pharmacy V 7 0 Menu 8 33 P Package Security u suu D s DP HE e ba ee be be ei 16 Package Wide Variables 2 enin Idee eb eben ore pe ere bres tente pereo Dee eese E 25 Pharmacist ege peo eb pec eben ie pen been ect San 38 Pharmacy Technician s Menu ener tentent tese tenere entere trennen entren nennen 39 Print Queue Setup VMS uuu n iege DI gie Pie co n n REN Lt Ie ERE I DIE ge aS teo 47 Processing Rules s u hee eet ooo ite eet co e eel eire 57 Q Queue Background Jobs ee eir Rei RA pr rhe e pr epe Fre apta 9 R Related Manud ls US SQ uh S ice e eon rio Cere tated ee ote hee Pe pines n 3 Resource Requirements RI DS u age c ele rr E E ee n u Sa SS qe tee 5 Routine B C 53 IU DIRE EUR bt EE UR RUE qui 13 Routines to be Deleted during nennen rennen nennt nennen rennen 7 102 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide S Scrip Talk Printers can SU hee age ee d tee tes pM IER REA Tte re ERES 50 Security KEYS noo ies Go RSE eee setenta es RS o eL 15 30 Segment Rules aspas RD tatc D a RD e usu teil bue eti te a
100. rk VDEF Installation amp User Configuration Guide Pharmacy Re Engineering PRE Application Program Interface API Manual October 2007 Outpatient Pharmacy V 7 0 3 Technical Manual Security Guide This page included for two sided copying Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Implementation and Maintenance Resource Requirements Outpatient Pharmacy V 7 0 contains approximately 521 routines including all PSO routines and compiled templates PSOX and APSPT that take up approximately 1 5MB disk space Response Time monitor hooks have been placed in the following routines Routine Purpose 5 52 File New Prescriptions in File 52 PSORN52 File Renewed Prescriptions in File 52 PSOR52 File Refill Prescriptions in File 52 This package requires 27 files see Files section in this manual A typical site may require the following disk space 1 Mbyte DRUG file 50 4000 entries 3 Mbytes per month DRUG COST file 50 9 800 items dispensed by 200 dispensing physicians 150 Mbytes PRESCRIPTION file 52 500 000 prescriptions 50 Mbytes PHARMACY PATIENT file 55 500 000 prescriptions About to 2 Mbytes Routines and the other files except for RX VERIFY file 52 4 RX SUSPENSE file 52 5 and PHARMACY ARCHIVE file 52 8 3 to 5 Mbytes of swing space RX VERIFY file 52 4 RX SUSPENSE file 52 5 and PHARMACY ARCHIVE file 52 8
101. rmacy Treatment Dispense NTE Notes and Comments contains PMI RXR Pharmacy Treatment Route amp PSO VISTA 5 52112003062 15000000022 981 21 OUTPATIENT 5 0125043 RDS 013 RDS_013 10001 P 2 4 AL AL 671 USVAMC PN USVHA 1234 USVAMC USVAMC USVAMC 000456789 PATIENT ONE 19590116 M 60 Park Pl amp Apt 25 amp Suite ream avem VN 42593 555 5555 PV1 PV2 IAM ORC ANE Sout 0 D Drug LGMR120 12 34501270 0030616 5777 h 19th Street B t Warning Narrative Pr RXE TAB FE RXD DAB D0082 DIGOX E Gina OS NOme OR As 8 128 ASPIRIN LGMR120 8 SV ALLERGY LYIGLZOS 5 067 10 987 OPPROVIDER ONE _TNA1225 TH FLOOR 99PSC 65421 OPPROVIDER5 THREE VA5 Albany 52312 700 3 3 91 7 555 5555 E 1 Free Text Medication Instructions Patient Instructions Narrative Drug ofile Information Drug Interactions Drug Allergy Indications IN 0 25MG TAB 99PSNDF 372 3 DIGOXIN 0 25MG 99PSD 20 MG 99PSU 120 TAB RAPID DISINTEGRATE 99PSF WINDOW LANOXIN 0 125MG 30 TAB 3 E29278277 188 OPPROVIDERS3 ONE 123987 3 2 199809070830 IBUPRO 400MG 1111 3 D0082 DIGOXI 99PSD 20030610 0 25MG TAB 99PSNDF 372 3 DIGOXIN 0 25
102. s and Label Printer Support This version of Outpatient Pharmacy includes the ability to print barcodes on the patient copy the pharmacist s copy and the patient narrative documents for new label stock and laser labels Two options utilize the barcodes Check Quality of Barcode PSO BARCODE CHECK option is used to monitor the quality and readability of the barcode before it is mailed Barcode Batch Prescription Entry PSO BATCH BARCODE option is used to actually refill the prescriptions utilizing barcodes in a batch entry If barcodes not used enter an OUT OF ORDER MESSAGE for these two options Barcodes on Dot Matrix Printers Three parameters are used X is the barcode height Values can be S M or L If X is undefined or not equal to one of these the default value of S is used S is 2 10 inch for the DS 220 and 1 6 inch for the MT 290 M is 4 10 inch for the DS 200 and 1 3 inch for the MT 290 L is one inch for both is the value of X at the left edge of the barcode If is undefined the default value of 0 1s used X2 is the data to be bar coded Remember the code 39 character set that the VA uses is a limited subset of the ASCII character set containing only the numbers uppercase letters and eight punctuation characters In most cases any other characters are not printed For example the barcode for the string 123abc will be the same as the string 123 October 2007 Outpatient Pharmacy V
103. s in the Clozapine options All members of the Clozapine treatment team must be entered as users on the system and must be given this key All pharmacists who have the ability to override the lockouts in this option must also hold this key The Pharmacy Service representative of the Clozapine treatment team should identify these pharmacists Outpatient Pharmacy V 7 0 15 Technical Manual Security Guide PSOINTERFACE This key is used to access the External Interface Menu PSO EXTERNAL INTERFACE option PSOAUTRF This key allows the use of the Automate Internet Refill functionality and the Automate CPRS Refill functionality PSO TRICARE CHAMPVA This key is required to be able to do an override on TRICARE or prescription PSO TRICARE CHAMPVA MGR This key is required to access the TRICARE CHAMPVA Bypass Override Report PSO TRI CVA OVERRIDE REPORT option Package Security Electronic signatures may be established by using the Electronic Signature code Edit XUSESIG option In Kernel V 8 0 the Electronic Signature code Edit XUSESIG option has been tied to the Common Options under the User s Toolbox XUSERTOOLS submenu for easy access by all users 16 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Archiving and Purging Detailed information is kept for each prescription including all information about the original prescription all refills and all editing An average prescription requires
104. t One Patient s Archived Rx s Manual Print of Multi Rx Forms Reprint an Outpatient Rx Label Signature Log Reprint View Prescriptions 36 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide ScripTalk Main Menu PT ScripTalk Patient Enter Edit QBAR Queue ScripTalk Label by Barcode QRX Queue ScripTalk Label by Rx RPT ScripTalk Reports AUD ScripTalk Audit History Report WHO Report of ScripTalk Enrollees Reprint a non voided Outpatient Rx Label Set Up and Test ScripTalk Device ScripTalk Device Definition Enter Edit Print Sample ScripTalk Label Test ScripTalk Device Reinitialize ScripTalk Printer Supervisor Functions Add New Providers Daily Rx Cost Delete a Prescription Edit Provider Initialize Rx Cost Statistics Inter Divisional Processing Inventory Lookup Clerk by Code Monthly Rx Cost Compilation Patient Address Changes Report Pharmacist Enter Edit Purge Drug Cost Data Recompile AMIS Data Site Parameter Enter Edit View Provider Suspense Functions Auto delete from Suspense Change Suspense Date Count of Suspended Rx s by Day Delete Printed Rx s from Suspense Log of Suspended Rx s by Day this Division Print from Suspense File Pull Early from Suspense Queue CMOP Prescription Reprint Batches from Suspense Update Patient Record Verification List Non Verified Scripts Non Verified Counts Rx Verification by Clerk October 2007 Outpatient Pharmacy V 7 0 Technical Manual Secur
105. t Pharmacy package with the release of PSO 7 120 supports the use of laser printers to print prescription labels and all associated documents Hardware Setup The printer must be physically connected to the network and then defined in the DEVICE 3 5 and TERMINAL TYPE 3 2 files just as any other laser printer on your network is defined In addition the CONTROL CODES field 55 of the TERMINAL TYPE file 3 2 must be defined correctly To facilitate this a new routine assists with the setup At the programmer prompt enter D PSOLLU2 You will be prompted for the device Enter the device you want to use for printing laser labels Then you will be prompted for HP or LexMark Enter the appropriate selection Phase I of Laser Labels introduced the routine PSOLLU2 A pre release to Phase II introduced the PSOLLUS routine and Phase II introduced the PSOLLUA routine Instructions for running the PSOLLU3 and PSOLLU4 routines the same as running the PSOLLU2 routine above If you are setting up a laser printer for the first time run all three routines in order PSOLLU2 PSOLLU3 and PSOLLU4 If you are already running laser labels you will only need to run the PSOLLUA routine to update the control codes NOTE If you are not using either an HP or a LexMark printer select one Then you may need to modify the control codes to work correctly with your printer NOTE Since there are many options for the barcode chip your printer supports
106. t Reports Menu Daily Management Report Menu Reports Cost of Prescriptions Count of Prescriptions Intravenous Admixture Type of Prescriptions Filled Date Range Recompile Data Initialize Daily Compile Monthly Management Report Menu Reports Cost of Prescriptions Count of Prescriptions Intravenous Admixture Type of Prescriptions Filled One Day Recompile Data October 2007 Outpatient Pharmacy V 7 0 Technical Manual Security Guide 35 Purge Data Medication Profile Monthly Drug Cost Narcotic Prescription List Non Formulary List Non VA Meds Usage Report Poly Pharmacy Report Prescription List for Drug Warnings Released and Unreleased Prescription Report Pharmacy Intervention Menu Enter Pharmacy Intervention Edit Pharmacy Intervention Print Pharmacy Intervention Delete Intervention View Intervention Process Order Checks Release Medication Return Medication to Stock Rx Prescriptions Patient Prescription Processing Barcode Rx Menu Barcode Batch Prescription Entry Check Quality of Barcode Process Internet Refills Complete Orders from OERR Discontinue Prescription s Edit Prescriptions ePharmacy Menu Ignored Rejects Report ePharmacy Medication Profile View Only NDC Validation ePharmacy Medication Profile Division Preferences ePharmacy Site Parameters Third Party Payer Rejects View Process Third Party Payer Rejects Worklist TRICARE CHAMPVA Bypass Override Report View ePharmacy Rx Lis
107. t is a local possible dosage there is no dispense units per dose and in this case there is no duration though a duration can be applied to any type of dosage Example 3 This example is for a possible dosage with complex dosing instructions 1 amp 100MG 10D 20050720 20060721 FILL EXPIRATIOND2 amp 200MG 5D The first set of dosing instructions is 1 amp 100MG 10D where 1 represents the dispense units per dose 100MG represents the total dosage and 10D represents a duration of 10 Days The next set of dosing instructions is 2 amp 200MG 5D where 2 represents the dispense units per dose 200MG represents the total dosage and 5D represents a duration of 5 Days NOTE The dosage will only appear in the RXE segment associated with the original fill it will not appear in RXE segments associated with refills or partial fills 86 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Example of VDEF HL7 Message Details Piece Description Field Data Segment Sequence Name Type Data Value MSH 1 Field Separator ST MSH 2 Encoding Characters ST N amp MSH 3 Sending Application HD HDRPREF 613 TEST MARTINSBURG MED V A G MSH 4 Sending Facility HD OV DNS Receiving MSH 5 Application HD PSO VDEF IE SIDE MSH 6 Receiving Facility HD 200HD HDR MED VA GOV DNS Date Time Of MSH 7 Message TS 20041216192259 0500 MSH 8
108. ta Segment Sequence Name Type Data Value Date Time of ORC 9 Transaction TS 19950306 ORC 10 Entered By XCN ORC 11 Verified By XCN 947 OPPROVIDER41 TWO A MD ORC 12 Ordering Provider XCN MD VistA200 ORC 13 Enterer s Location PL Call Back Phone ORC 14 Number XTN Order Effective ORC 15 Date Time TS Order Control Code ORC 16 Reason CE REFILL 613 MARTINSBURG Entering VAMC 613_52 1_8 5005423 MARTINS ORC 17 Organization CE BURG VAMC NCPDP ORC 18 Entering Device CE ORC 19 Action By XCN Advanced Beneficiary Notice ORC 20 Code CE Ordering Facility ORC 21 Name XON MARTINSBURG WV Ordering Facility ORC 22 Address XAD Ordering Facility ORC 23 Phone Number XTN Ordering Provider ORC 24 Address XAD ORC 25 Order Status Modifier CWE RXE 1 Quantity Timing TQ 19950330 REFILL 4005192 AMANTADI NE HCL 100MG CAP 99VA_52_6 0781 2048 01 NDC OR AMANTADINE 100MG RXE 2 Give Code CE CAP 613 52 6 0781 2048 01 NDC Give Amount RXE 3 Minimum NM 0 Give Amount RXE 4 Maximum NM RXE 5 Give Units CE 20 MG 613 52 6 RXE 6 Give Dosage Form CE 20 613 52 6 October 2007 Outpatient Pharmacy V 7 0 95 Technical Manual Security Guide Description Field Data Segment Sequence Name Type Data Value Provider s Administration RXE Instructions CE RXE Deliver To Location CM MAIL RXE Substitution Status ID RXE 10 Dispens
109. tc ett 56 Setting up the Archive Device onere ble ce d bute 17 Setting up the Bingo Board Device e S 8 Setting Up the Int rface a oe poetice tem tue uti ttc 20 Shutting Down the Interface eiui RR S e e bri UR oo e n eR pets 21 Software Product Security sss eere enne enne 29 Specific Eransacllon ae isse erem ie e Po ER REL EUR Vet stun ERU 58 65 69 Standalone Options seriei dO eife ont bee D e ca D beoe tote ti Mose 39 Steps for Setup Shutdown of the External Interface essent nnnm trennen rennen enne 19 T Telephone Refill Req 6sts eene e eee EE nere 7 Templates oss 1er Reducir EU apache es tede it m etim uie ie Ee E E ERE e 27 Templates to be Deleted during Installation seen nennen nennen enne nenne 7 Transaction Specifications eec t eee bem egeta chaste be ie rero eee tante ee een 57 U Using the Maintenance Menw eite e ame re T RAEES rp ENKE Per er asisqa 8 V S M a 83 View of Queue Background Jobs Screen sess nennen enne teen trennen 10 VMS Print Queue Set p u n n lu ete dde obe e Id de eee
110. tilde and then whether or not the patient is COPAY RXE 1 Quantity Timing is a required field but it will not be used in Outpatient Pharmacy V 7 0 It will always be a null value RXE 2 Give Code identifies the substance ordered as encoded by the Pharmacy The components in order are the VA Product ID VA Product Name National Drug File local file pointer local drug name and the local file RXE 3 Give Amount Minimum is a required field but it will not be used in Outpatient Pharmacy nn 7 0 It will always be a null value RXE 5 Give Units identifies the units for the give amount as encoded by the VA National Drug file RXE 6 Give Dosage Form is a coded element field The fourth component is the pointer to the DOSAGE FORM file 50 606 The fifth component is the form name and the sixth component is the name of coding system 99 5 RXD 1 Dispense Sub ID Counter identifies which fill the prescription is RXD 2 Dispense Give code will contain the same give code as in RXE 2 RXD 9 Dispense Notes has three pieces of information FILE RELEASE DATE TIME field 105 1 from the PRESCRIPTION file 52 BINGO WAIT TIME field 32 from the PRESCRIPTION file 52 e NDC field 27 from the PRESCRIPTION file 52 68 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Specific Transaction Dispense Completion The messages for the dispense completion will consist of the
111. uded for two sided copying Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Orientation Online Documentation Throughout the entire Outpatient Pharmacy V 7 0 package enter a question mark to obtain online information to assist in choosing actions at any prompt Where examples of screen dialogs are given user responses are shown as bolded text Additional information about this package is contained in help prompts and comments which are available online Detailed information can also be obtained by using the Kernel routine XINDEX to produce detailed listings of the routines and by using the VA FileMan to generate listings of data dictionaries for the files The Data Dictionaries DDs are considered part of the online documentation for this software application Use VA FileMan List File Attributes DILIST option under the Data Dictionary Utilities DI DDU option to print the DDs Related Manuals Outpatient Pharmacy V 7 0 Release Notes Outpatient Pharmacy V 7 0 User Manual Computerized Patient Record System V 1 0 Installation Guide Computerized Patient Record System V 1 0 Set up Guide Pharmacy Ordering Enhancements POE Phase 2 Release Notes Outpatient Medication Copay Release Notes Laser Printed Prescription Labels with PMI Sheets Phase I Release Notes ScripTalk amp Talking Prescription Labels Installation Guide Herbal OTC Non VA Meds Documentation Release Notes VistA Data Extraction Framewo
112. uspense A date and time at least 2 minutes in the future must be entered The jobs should be set to run at a time convenient for the site NOTE The options listed above must be scheduled to run through the Queue Background Jobs PSO AUTOQUEUE JOBS option Attempting to run them from any other option will cause problems October 2007 Outpatient Pharmacy V 7 0 9 Technical Manual Security Guide 10 Only the following prompts require responses All others will be left blank QUEUED TO RUN AT WHAT TIME This is the date time desired for TaskMan to start this option RESCHEDULING FREQUENCY If this field is blank then the job will run only once Example View of Queue Background Jobs Screen Select Maintenance Outpatient Pharmacy Option QUEue Background Jobs If time to run option is current do not edit Autocancel System Parameter must be set to YES before prescriptions are discontinued Edit Option Schedule Option Name PSO AUTOCANCEL enu Text Autocancel on Admission TASK ID 2617405 QUEUED TO RUN AT WHAT TIME JUN 13 2000 01 00 These default values are highlighted on the DEVICE FOR QUEUED JOB OUTPUT PP6 P OTHER 132 64 QUEUED TO RUN ON VOLUME SET screen display not to indicate user input RESCHEDULING FREQUENCY 1D TASK PARAMETERS SPECIAL QUEUEING COM
113. y ORC 21 Name XON MARTINSBURG WV Ordering Facility ORC 22 Address XAD Ordering Facility ORC 23 Phone Number XTN Ordering Provider ORC 24 Address XAD ORC 25 Order Status Modifier CWE RXE 1 Quantity Timing TQ 19950306 PARTIAL 4005192 AMANTADI NE HCL 100MG CAP 99VA_52_6 0781 2048 01 NDC OR AMANTADINE 100MG RXE 2 Give Code CE CAP 613_52_6 0781 2048 01 NDC Give Amount RXE 3 Minimum NM 0 Give Amount RXE 4 Maximum NM RXE 5 Give Units CE 20 MG 613 52 6 98 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide Piece Description Field Data Segment Sequence Name Type Data Value RXE 6 Give Dosage Form CE Provider s Administration RXE 7 Instructions CE RXE 8 Deliver To Location CM WINDOW RXE 9 Substitution Status ID RXE 10 Dispense Amount NM 30 RXE 11 Dispense Units CE RXE 12 Number of Refills NM Ordering Provider s RXE 13 DEA Number XCN Pharmacist Treatment 2992 OPPROVIDER42 THREE M RXE 14 Supplier s Verifier ID XCN PHARMACIST RXE 15 Prescription Number ST Number of Refills RXE 16 Remaining NM Number of Refills Doses RXE 17 Dispensed NM D T of Most Recent Refill or Dose RXE 18 Dispensed TS 19950307 144822 0500 RXE 19 Total Daily Dose CQ Needs Human RXE 20 Review ID Pharmacy Treatment Supplier s Special Dispensing RXE 21 Instructions CE RXE 22 Give Per Time Unit ST D30 RXE 23 Give
114. y are PSO MANAGER Outpatient Pharmacy Manager PSO P Medication Profile PSO USERI Pharmacist Menu PSO USER2 Pharmacy Technician s Menu Any other option may not run independently Any locally created menu which includes options from this package must have the ENTRY ACTION field read D D PSOPAR PSOLSET and should have the MENU EXIT ACTION field read D FINAL PSOLSET Package Wide Variables The variables PSODIV PSOINST PSOIOS PSOPAR PSOPAR7 PSOSYS PSOLAP PSOPROP PSOCLC PSOCNT PSODTCUT PSOSITE PSOPRPAS PSOBARO PSOBARI and PSOBARS are used extensively throughout the package They are set by the routine PSOLSET and are not killed until exiting from the package October 2007 Outpatient Pharmacy V 7 0 25 Technical Manual Security Guide 26 This page included for two sided copying Outpatient Pharmacy V 7 0 Technical Manual Security Guide October 2007 Templates Sort File PSO COST STAT 50 9 PSO BBWAIT SORT 52 11 PSO DRUG LIST 50 PSO DRUG WARNINGS 52 PSO HOLD LIST 52 PSO INTERVENTIONS 9009032 4 PSO NARC LIST 52 PSOUPAT 52 Input File PSO CLOZDRUG 50 PSO DISPLAY EDIT 59 3 PSO INTERACT 56 PSO INTERVENTION EDIT 9009032 4 PSO INTERVENTION NEW 9009032 4 PSO OUTPT 2 PSO OUTPTA 2 PSO PARTIAL 52 PSO SITE 59 PSOD DUE BUILD QUESTIONNAIRE 50 0
115. you may have 44 Outpatient Pharmacy V 7 0 October 2007 Technical Manual Security Guide to modify the codes that control the barcode The names of the codes BLBC EBLBC SBT and EBT If you were already using this printer to print barcodes you can use the information in the fields BAR CODE ON 60 and BAR CODE OFF 61 from the TERMINAL TYPE file 3 2 as a guide If you weren t the barcode chip should have come with documentation showing the sequences necessary If the documentation is not available many printers have the ability to print the font set with escape sequences from the control panel of the printer Example S gt D ession PSOLLU2 D EVICE HOM E HP or LexMark You will X CODYN FIDO L Sample Control Code Entries PRINT be copying the CONTROL CO ERS CORN ET iR I LINE 000 DES Wenegums il 92 7 to device LTA9053 are you sure The following are sample control code entries from one TERMINAL TYPE Actual entries may vary depending on make and model of printer or barcode chip
Download Pdf Manuals
Related Search
Related Contents
Kalorik USK PPG 25714 User's Manual 取扱説明書 - Ossur SD Card Mobile DVR User Manual V1.07E 取付工事・取扱説明書 none CP1020 Instructions / Assembly Mode d`emploi d`emploi d`emploi Manuale d`uso e manutenzione Competition Racing System Patent Pending User Manual v0.5 Cisco Systems OL-6240-02 User's Manual Copyright © All rights reserved.
Failed to retrieve file