All RPC

Package: Registration RPC List

Name Tag Routine Availability Description
Name Tag Routine Availability Description
DG SENSITIVE RECORD ACCESS PTSEC DGSEC4 PUBLIC This Remote Procedure Call (RPC) will: - Determine if user accessing a sensitive record or an employee's record. - Verify user is not accessing his/her own Patient file record if the Restrict Patient Record Access (#1201) field in the MAS parameters (#43) file is set to yes and the user does not hold the DG RECORD ACCESS security key. If parameter set to yes and user is not a key holder , a social security number must be defined in the New Person file for the user to access any Patient file record.
DG SENSITIVE RECORD BULLETIN NOTICE DGSEC4 PUBLIC This Remote Procedure Call (RPC) will add an entry to the DG SECURITY LOG (#38.1) file and/or generate the sensitive record access bulletin depending on the value in ACTION input parameter. If ACTION parameter not defined, defaults to update DG Security Log file and generate Sensitive Record Access mail message.
DG CHK BS5 XREF Y/N GUIBS5 DPTLK6 PUBLIC CHECKS IF OTHER PATIENTS ON "BS5" XREF WITH SAME LAST NAME RETURNS 1 OR 0 IN 1ST STRING (OR -1 IF BAD DFN OR NO ZERO NODE) IF 1 RETURNS TEXT TO BE DISPLAYED
DG CHK BS5 XREF ARRAY GUIBS5A DPTLK6 PUBLIC CHECKS IF OTHER PATIENTS ON 'BS5' XREF WITH SAME LAST NAME RETURN 1 OR 0 IN 1ST STRING (-1 IF BAD DFN OR NO ZERO NODE). RETURNS ARRAY NODES WHERE TEXT IS PRECEEDED BY 0 AND PATIENT DATA IS PRECEEDED BY 1. PATIENT DATA WILL BE IN FOLLOWING FORMAT: 1^DFN^PATIENT NAME^DOB^SSN
DG CHK MEANS TEST DIV DISPLAY GUIDMT DPTLK6 PUBLIC CHECKS DIVISION FILE FOR DIV USER IS IN IF MEANS TEST REQUIRED IS SET TO YES RETURNS 1 IN 1ST STRING AND MEANS TEST TEXT IN 2ND AND 3RD STRING (IF ANY) OTHERWISE RETURNS 0 IN 1ST STRING
DG CHK PAT MEANS TEST REQUIRED GUIMT DPTLK6 PUBLIC CHECKS WHETHER MEANS TEST IS REQUIRED FOR PATIENT RETURNS 1 OR 0
DG CHK PAT/DIV MEANS TEST GUIMTD DPTLK6 PUBLIC CHECKS IF MEANS TEST REQUIRED FOR PATIENT AND CHECKS IF MEANS TEST DISPLAY REQUIRED FOR USER'S DIVISION RETURNS 1 IN 1ST STRING IF BOTH TRUE OTHERWISE 0 IF BOTH TRUE RETURNS TEXT IN 2ND AND 3RD STRING (IF ANY)
VAFCTFU CONVERT DFN TO ICN GETICN VAFCTFU1 PUBLIC This will return the Integration Control Number (ICN) from the Maser Patient Index (MPI) for a patient.
VAFCTFU CONVERT ICN TO DFN GETDFN VAFCTFU1 PUBLIC Given a patient Integration Control Number (ICN), this will return the patient Internal Entry Number (IEN) from the PATIENT file (#2).
VAFCTFU LOCAL ICN IFLOCAL VAFCTFU1 PUBLIC Given a patient DFN, it will determine if the Integration Control Number (ICN) assigned to the patient is a local ICN or a national ICN.
VAFCTFU GET TREATING LIST TFL VAFCTFU1 PUBLIC Given a patient DFN, this will return a list of treating facilities.
DG PATIENT TREATMENT DATA RPC DGPTFAPI PUBLIC This RPC will return data from the Patient Treatment (#45) file. RESULTS(0) - 1 (entry found) OR -1 (error) RESULTS(1) - Type of Disposition (#72)^Place of Disposition (#75)^ Principal Diagnosis (#79)^Coding System Version (pointer to ICD Coding Systems #80.4 file) RESULTS(2) - DX 2^DX 3^...^DX 24 (Secondary Diagnosis 2 through Secondary Diagnosis 24) RESULTS(3) - POA 1^POA 2^...^POA 25 (Present on Admission indicators for Principal Diagnosis and Secondary Diagnosis 2 through Secondary Diagnosis 24) Input: PTFNUMBR - The Patient Treatment IFN (.001 of the #45 file record) RESULTS - Results array (passed by reference) Output: RESULTS - Results array (passed by reference) with the following nodes.
VAFC REMOTE PDAT PDAT VAFCRPC PUBLIC This Remote Procedure Call will return the text Patient MPI/PD Data Inquiry report to a remote site.
DGWPT DFLTSRC DFLTSRC DGWPT Return user's default patient list source.
DGWPT TOP TOP DGWPT Returns the last selected patient by the defined user.
DGWPT SELCHK SELCHK DGWPT Returns a 1 if the patient record is flagged as senstive, otherwise returns 0.
DGWPT SAVDFLT SAVDFLT DGWPT Saves user's preference for default list source.
DGWPT CLINRNG CLINRNG DGWPT Returns a list of selectable options from which a user can choose a date range for appointments.
DGWPT BYWARD BYWARD DGWPT Returns a list of patients currently residing on a specified ward location.
DGWPT DIEDON DIEDON DGWPT Returns date of death if patient has expired. Otherwise returns 0.
DGWPT1 PRCARE PRCARE DGWPT1 Return primary care information for a patient in the format: VAL=Primary Care Team^Primary Care Provider^Attending
DGWPT SELECT SELECT DGWPT RPC to return key information on a patient as follows: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 NAME^SEX^DOB^SSN^LOCIEN^LOCNM^RMBD^CWAD^SENSITIVE^ADMITTED^CONV^SC^SC%^ICN
VAFC REMOTE AUDIT AUDIT VAFCRPC PUBLIC This Remote Procedure Call will allow users to pull an audit report from a remote site.
DGRR PATIENT LOOKUP SEARCH SEARCH DGRRLU PUBLIC This rpc is set to return an xml document via VistaLink that contains the display data for a gui patient lookup.
DGRR GET PTLK BUSINESS DATA BUS DGRRLU1 PUBLIC Returns XML document containing data needed to perform business logic checks on patient lookup.
DGRR SET SENSITIVE ACCESS LOG NOTICE DGRRLU2 PUBLIC This Remote Procedure Call (RPC) will add an entry to the DG SECURITY LOG (#38.1) file and/or generate the sensitive record access bulletin depending on the value in ACTION input parameter. If ACTION parameter not defined, defaults to update DG Security Log file and generate Sensitive Record Access mail message.
DGRR GET LOOKUP TYPE LIST GETLIST DGRRLU3 PUBLIC Returns an XML document containing a list of wards or a list of clinics (depending on what was requested)
DGRR PATIENT LKUP PREFERENCES START DGRRLU4 PUBLIC This remote procedure call returns an xml document containing the division or package preferences.
DGRR SET PTLK PREFERENCES UPDATE DGRRLU4 PUBLIC This remote procedure call updates the division/institutional preferences passed to the call. It returns an xml document containing the station number and status. If update was successful, status is returned as true. If errors were encountered during the update, false is returned with an error message.
DGRR CANCEL SEARCH CANCEL DGRRLU The DGRR CANCEL SEARCH RPC will cancel a patient search in VistA.
DGRR GET PATIENT SERVICES DATA PATIENT DGRRPSGT PUBLIC This RPC will return an XML via VistaLink containing Patient Service Demographic information for any given Patient ICN
VAFC VOA ADD PATIENT ADD VAFCPTAD RESTRICTED This Remote Procedure Call allows the remote creation of a VistA PATIENT (#2) record at the Preferred Facility for the Veteran On-Line Application (VOA) project.
VAFC LOCAL GETCORRESPONDINGIDS TFL VAFCTFU2 PUBLIC Given a patient DFN, ICN, or EDIPI, this Remote Procedure Call returns a Person (#200) file. list of Treating Facilities (including the SOURCE ID, STATION NUMBER and IDENTIFIER STATUS) from the Treating Facility (#391.91) file. The Remote Procedure call has been extended to now return a list of Treating Facilities (along with the SOURCE ID, STATION NUMBER and IDENTIFIER STATUS) from the New Person Treating Facility List (#391.92) file if the Identifiers passed aren't known to the Patient File (#2) meaning that the identifiers passed are for someone only known to the New
VAFC NEW NC TREATING FACILITY NEWTF VAFCTFU2 PUBLIC This Remote Procedure Call will be used by the North Chicago Common Registration User Interface (UI). Given a patient DFN and DOD EDIPI, the RPC adds an active Department of Defense correlation to the VistA TREATING FACILITY LIST (#391.91) file if it does not exist. It returns a list of Treating Facilities, including Source Identifier, Identifier Type, Assigning Authority, Assigning Facility, Identifier Status, and an indicator if the entry was entered into File 391.91.
VAFC AA UPDATE AAUPD VAFCRPC PUBLIC This remote procedure call will update assigning authority passed in by MPI to VAFC ASSIGNING AUTHORITY file #391.92.
DG VIC PATIENT LOOKUP RPCVIC DPTLK PUBLIC This RPC will allow lookup of a patient with the input from a VIC card or DOD CAC card. The VIC card can be an old VIC card or the newer VIC 4.0 card. The entire card's input should be provided. If the patient is known locally the patient's DFN will be returned.
VAFC DOD ACCEPT SET/DISPLAY EN VAFCDODA RESTRICTED Depending on the type of call, this RPC will SET the PROCESS MVI DOD UPDATE? (#1401) field in MAS Parameters (#43) or will DISPLAY the field via a remote call from the MPI.
DG DEATH SOURCE/DOC UPDATE BRDATA DGDTHBR PUBLIC This RPC will receive data from the MPI for updates to selectable Source of Notifications and Supporting Documents and their associated Business Rules.
DG FULL ICN SHOW/UPDATE EN DGFLICN PUBLIC This RPC is invoked by MPI option - MPI SHOW/UPDATE VISTA ICN. It will send ICN related fields (FULL ICN, INTEGRATION CONTROL NUMBER, ICN CHECKSUM) from PATIENT file #2 to MPI for given DFN. It will also update ICN fields in Patient file if user have selected to update them with Primary View ICN information for given DFN.
DG UPDATE NAME COMPONENTS UPDNC DGNAME PUBLIC This Remote Procedure updates or retrieves values in a NAME COMPONENTS file (#20) entry.
VAFC MVI MGRTD FACILITIES UPDT UPDMFAC VAFCRPC AGREEMENT This Remote Procedure Call (RPC) will be used to create/update entries in a site's EHRM MIGRATED FACILITIES (#391.919) file, which will allow the facility to determine if a site has migrated to the CERNER application. The Master Veteran Index (MVI) will be the authoritative source of this information and as such will push the migrated site information down to the sites on an as needed basis.
VAFC GETRELATIONSHIPS GET VAFCREL PUBLIC Given a patient DFN this Remote Procedure Call returns a list of IAM VA MPI Relationship records with relationship type, relationship status, relationship status change date and relationship type rolecode (which defines direction of the relationship [i.e. Son to Father vs Father to Son or Caregiver to Veteran receiving care vs Veteran receiving care to Caregiver].