All RPC

Package: Outpatient Pharmacy RPC List

Name Tag Routine Availability Description
Name Tag Routine Availability Description
PSOERXA0 DRGMTCH DRGMTCH PSOERXA0 This RPC is used to match incoming eRx drugs/supply items to the VistA If NDC, pass "N^ndc value" If UPN, pass "U^upn value" DGDESC - Textual drug description. Pass in the drug description or 'drug name'. (ex. ACETAMINOPHEN 400 MG TABLET). equivalent drug/supply items. Input: Both parameters are 'optional', but to receive any legitimate results, at least one of the two must be passed in. NDCUPN - NDC or UPN value to be match to the NDC/UPN file (#50.67).
PSOERXA0 PRVMTCH PRVMTCH PSOERXA0 RESTRICTED Provides logic for matching a provider identified for an incoming eRx prescription.
PSOERXA1 INCERX INCERX PSOERXA1 This RPC receives and processes an incoming ERX XML message, provider check information, and patient check information.
PSOERXI1 INCERX INCERX PSOERXI1 RESTRICTED This RPC receives incoming eRx messages that are in the 2017 script format. This RPC replaces PSOERXA1 INCERX, which was the RPC used for the 10.6 script format.
PSO VCC REFILL AP1 PSOVCCA AGREEMENT The RPC performs a refill on an outpatient pharmacy order request. In addition, the RPC will provide the ability in Outpatient Pharmacy to store the source of a refill request (eg. VCC, Computerized Patient Record System (CPRS), Outpatient Pharmacy) as well as the person making the request - if the name is known.
PSORPC RPC PSORPC01 PUBLIC
PSO EPCS EDIT ENTRY PSOEPED RESTRICTED This remote procedure stores information on editing changes in file 200 related to the electronic prescribing of controlled substances.
PSO EPCS ADD DEA FILEFM PSOEPUT RESTRICTED INPUT: DATA - DEA DATA LINE "^" DELIMITED. NPIEN - IEN OF PROVIDER TO BE LINKED TO THIS DEA NUMBER OUTPUT: RET - DEA IEN for SUCCESS, 0 for UNSUCCESSFUL
PSO EPCS DEADOJ DEADOJ PSOEPUT RESTRICTED This RPC call accepts a DEA Number as input. It calls the DOJ/DEA Web 5 - CITY 6 - STATE 7 - STATE POINTER 8 - ZIP CODE 9 - ACTIVITY CODE 10 - TYPE 11 - DEA NUMBER 12 - EXPIRATION DATE 13 - PROCESSED DATE 14 - DETOX NUMBER Service to get the most recent information for the provider which is 15 - SCHDEULE II NARCOTIC 16 - SCHEDULE II NON-NARCOTIC 17 - SCHEDULE III NARCOTIC 18 - SCHEDULE III NON-NARCOTIC 19 - SCHEDULE IV 20 - SCHEDULE V returned to the calling program in a single string with "^" delimited data. The values in the string are: 1 - PROVIDER NAME 2 - ADDRESS 1 3 - ADDRESS 2 4 - ADDRESS 3
PSO EPCS MBM MBM PSOEPUT RESTRICTED This RPC is provided to ePCS GUI to check if the site is setup for Meds by Mail service.
PSO EPCS REMOVE DEA DEAREM PSOEPUT RESTRICTED Functionality to remove a DEA multiple from file #200, Field 53.21 INPUT: NPIEN - NEW PERSON FILE #200 INTERNAL ENTRY NUMBER DEATXT - PROPERLY FORMATTED DEA NUMBER OUTPUT: RET - 1 for SUCCESS, 0 for UNSUCCESSFUL
PSO EPCS DEA DUP CHECK DUPCHK PSOEPUT RESTRICTED This RPC will accept a DEA in text format, and an institutional suffix if available. It will perform checking to determine if the DEA is being used by another user.
PSO EPCS DEALIST DEALIST PSOEPUT RESTRICTED This remote procedure call will provide a list of active DEA #s for a 4 - DETOX NUMBER 5 - EXPIRATION DATE: FROM THE DEA NUMBERS FILE (#8991.9), FIELD EXPIRATION DATE (#.04) 6 - NPIENS 7 - DNIENS 8 - SCHEDULE II NARCOTIC 9 - SCHEDULE II NON-NARCOTIC 10 - SCHEDULE III NARCOTIC 11 - SCHEDULE III NON-NARCOTIC 12 - SCHEDULE IV given provider. 13 - SCHEDULE V 14 - USE FOR INPATIENT ORDERS? INPUT: NPIEN - NEW PERSON FILE #200 INTERNAL ENTRY NUMBER OUTPUT: RET - A STRING OF DEA INFORMATION DELIMITED BY THE "^" 1 - DEA NUMBER 2 - INDIVIDUAL DEA SUFFIX 3 - STATE
PSO EPCS VERSION GUICHK PSOEPVR RESTRICTED This RPC is used to check the version of the ePCS GUI that should be running.
PSO EPCS DETOX CHECK DTXCHK PSOEPU1 RESTRICTED This RPC will accept a DEA number in text format, and a DETOX number in text format. It will perform checking to see if the DETOX number is a valid format, and will checking if the DETOX number is being used by another DEA number.
PSO EPCS VA# DUP CHECK VANUMCHK PSOEPU1 RESTRICTED This RPC will accept a VA# in text format, and a provider's NEW PERSON File #200 IEN (Internal Entry number). It will perform checking to determine if the VA# is being used by another provider.
PSO EPCS FILER FILEFMA PSOEPU1 RESTRICTED This RPC will accept a Field Number in the New Person, File #200, a single data item in text format, and Provider Internal Entry Number (IEN) in File #200.
PSO EPCS REPORTS RPTEN PSOEPREP RESTRICTED This call is used by all ePrescribing Controlled Substances (ePCS) GUI reports. It produces a report based on the criteria selected through the ePCS GUI application.
PSO EPCS SYSTEM DATE TIME EPCSDATE PSOEPUT2 SUBSCRIPTION Broker call returns the server date as a FileMan internal and external date format.
PSO EPCS FIELD HELP EPCSHELP PSOEPUT2 SUBSCRIPTION Get the field help from the data dictionary based on the field number.
PSO EPCS GET LIST SRCLST PSOEPUT2 RESTRICTED This call is used to perform a search on a file based on a search string.
PSO EPCS LIST NP SCHED NPSCHDL PSOEPU1 AGREEMENT Functionality to list the New Person file #200 Schedules for a provider. Schedule fields are 55.1,55.2,55.3,55.4,55.5,55.6
PSO EPCS FILE NP SCHED NPSCHDF PSOEPU1 RESTRICTED Functionality to file the New Person file #200 Schedules for a provider. Schedule fields are 55.1,55.2,55.3,55.4,55.5,55.6
PSO EPCS LIST OPTN DESC OPTNDESC PSOEPU1 RESTRICTED RPC to return Option file #19 description word processing text.
PSO EPCS TOPIC HELP EPCSHELP PSOEPUT2 PUBLIC Returns the text from the HELP FRAME file (#9.2) based on a help frame.
PSO ACTIVITY LOG ACT PSOVCC1 RESTRICTED This RPC allows retrieval of the Activity Log for a specific prescription reason #52.3, .02 initiatorOfActivity #52.3, .03 rxReference $52.3, .04 comment #52.3, .05 otherComments #52.34,.01 number (External) in the PRESCRIPTION (#52) file. Return list of ACTIVITY transactions for a particular PRESCRIPTION (#52) file entry. Each transaction will have the following fields (if populated in VistA): activityLogDate #52.3, .01
PSO CMOP LOG CMOP PSOVCC1 AGREEMENT This RPC allows retrieval of the CMOP Log for a specific prescription status #52.01 3 transmissionNumber #52.01 .01 fdaMedGuide #52.01 35 number Each transaction will have the following fields: dateShipped #52.01 9 ndcReceived #52.01 4 rxReference #52.01 2 sequenceNumber #52.01 1
PSO COPAY LOG COPAY PSOVCC1 AGREEMENT Return values from Copay Transaction log in PRESCRIPTION (#52) file. copayActivityLog #52.0107, .01 reason #52.0107, 1 initiatorofCopayActivity #52.0107, 2 rxReference #52.0107, 3 comment #52.0107, 4 Possible Return Values: RESULTS(0) = -n^Error message RESULTS(0) = 0^No Data RESULTS(1) = Array of return values in JSON format:
PSO ECME LOG ECME PSOVCC0 AGREEMENT Return list of ECME transactions for a particular PRESCRIPTION (#52) file entry. Each transaction will have the following fields: ecmeLogDate #52.3, .01 reason #52.3, .02 initiatorOfActivity #52.3, .03 rxReference #52.3, .04 comment #52.3, .05
PSO ERX LOG ERX PSOVCC0 AGREEMENT Return list of ERX transactions for a particular PRESCRIPTION (#52) file entry. Each transaction will have the following fields: eRxLogDate #52.3, .01 reason #52.3, .02 initiatorOfActivity #52.3, .03 rxReference #52.3, .04 comment #52.3, .05
PSO LABEL LOG LABEL PSOVCC1 AGREEMENT Allow listing of Label Log (#52.032) subfile in the PRESCRIPTION (#52) 1^Array of elements from the LABEL (#52.032) log file: labelDateTime #52.032, .01 rxReference #52.032, 1 printedBy #52.032, 3 labelComment #52.032, 2 fdaMedGuide #52.032, 35 file, given an external prescription number. RETURN VARIABLES: 0^No data - there are no LABEL entries for this prescription" -1^ Prescription Number is Required" -2^ Prescription Number is not recognized"
PSO LOT EXPIRATION LELF PSOVCC0 AGREEMENT Return list of LOT/EXP transactions for a particular PRESCRIPTION (#52)) file entry. Each Transaction will have the following fields: expirationDate #52.0401, 1 lotExp #52.0401, .01 rxIndicator #52.0401, 2
PSO PARTIALS LOG PART PSOVCC1 AGREEMENT This RPC allows retrieval of the Partials Log for a specific prescription. divisionNumber #52.2, .09 divisionName #52.2, .09 => 59, .06 dispensedDate #52.2, 7.5 releasedDateTime #52.2, 8 ndc #52.2, 1 Each transaction will have the following fields (if populated in VistA): loginDateTime #52.2, .08 partialDate #52.2, .01 qty #52.2, .04 routing #52.2, .02 lotNumber (lot#) #52.2, .06 pharmacistName #52.2, .05
PSO REFILL LOG RFIL PSOVCC1 AGREEMENT This RPC allows retrieval of the Refill Log for a specific prescription refillDate #52.1, .01 quantity #52.1, 1 divisionNumber #52.1, 8 divisionName #52.1, 8 => #59, .06 routing(Mail/Window/Park) #52.1, 2 dispensedDate #52.1, 10.1 ndc #52.1, 11 pharmacistName #52.1, 4 qty #52.1, 1 releasedDateTime #52.1, 17 number. personRequestingRefill #52.1, 95 Return list of REFILL transactions for a particular PRESCRIPTION (#52) file entry. Each transaction will have the following fields (if populated in VistA): loginDate #52.1, 7
PSO EPCS CRED LASTCRED PSOEPED RESTRICTED Return the last CREDENTIAL TYPE from SIGN-ON LOG file (#3.081) for user DUZ passed in.
PSO EPCS PSDRPH FILER PSDKEY PSOEPUT2 RESTRICTED Allocates and deallocates the PSDRPH key to the specified user and logs the event in the XUEPCS PSDRPH AUDIT (#8991.7) file.
PSO ADDRESS UPDATE PSOVPADDR PSOVCC0 PUBLIC This RPC allows the address fields in the PATIENT (#2) file to be updated. It takes two parameters: the patient ICN and the temporary address fields that are to be updated.
PSO GET ADDRESS PSOVRETADDR PSOVCC0 PUBLIC get a patient address
PSO TEMP ADDRESS ACTIVE FLAG PSOVTAAF PSOVCC0 This RPC allows the setting of the TEMPORARY ADDRESS ACTIVE? field in the patient file (field .12105 in file #2)
PSO DEL TEMPORARY ADDRESS PSOVDELAD PSOVCC0 PUBLIC This RPC deletes the patient's temporary address from the patient file