All RPC

Package: VistA Integration Adapter RPC List

Name Tag Routine Availability Description
Name Tag Routine Availability Description
VIABPCE2 GET HFACTORS TYPE HFTYPE VIABPCE2 Returns a list of active health factor types.
VIABPCE4 LEX LEX VIABPCE4 Returns list of coded elements based on lexicon look-up.
VIABU EXTNAME EXTNAME VIABU Returns the external form of a pointer value given the IEN and file number.
VIAB GETSURR GETSURR VIABRPC RESTRICTED This RPC returns information about a user's surrogate, including start and end date/times if they are specified.
VIAB SITENAME SNAME VIABRPC RESTRICTED This RPC will provide the Site Name to the calling application, given the site ID or station number is passed in.
VIAB GET USER DIVISIONS USERDIV VIABRPC RESTRICTED This RPC provides divisional information on the DUZ that is passed in as the input parameter.
VIAB BMS EN VIABMS SUBSCRIPTION This RPC is in support of the Bed Management System (BMS). It reads the parameter "Path" and determines from it what data to return. All BMS requests are handled by this RPC.
VIAB EDIT DEFAULT REASON EDITDRFR VIABRPC RESTRICTED Return value (see details here) determines if and when the consults 'reason for request' can be edited.
VIAB DEFAULT REQUEST REASON DEFRFREQ VIABRPC RESTRICTED
VIAB RADSRC RADSRC VIABRPC RESTRICTED
VIAB CURSPE CURSPE VIABRPC RESTRICTED
VIAB CPTMODS CPTMODS VIABRPC RESTRICTED Returns a list of CPT Modifiers for a given CPT Code.
VIAB NOTEVSTR NOTEVSTR VIABRPC RESTRICTED Returns VISIT LOCATION;EPISODE BEGIN DATE;VISIT TYPE from the TIU DOCUMENT file.
VIAB ACTPROB ACTPROB VIABRPC RESTRICTED Build list of active problems for patient.
VIAB EFR EN VIABEFR RESTRICTED This RPC supports the Embedded Fragment Registry (EFR) project. It reads and returns data from the RESEARCH File #67.1 and the LAB DATA File #63.
VIAB SCDIS SCDIS VIABRPC RESTRICTED
VIAB SCSEL SCSEL VIABRPC RESTRICTED
VIAB PROVDX PROVDX VIABRPC RESTRICTED
VIAB GET IMMUNIZATION TYPE IMMTYPE VIABRPC RESTRICTED Returns a list of active immunizations.
VIAB ISPROSVC ISPROSVC VIABRPC RESTRICTED
VIAB VISIT VISIT VIABRPC RESTRICTED Get list of visit types for clinic.
VIAB SRGY RPTLIST RPTLIST VIABRPC4 RESTRICTED Return list of surgery data for a patient.
VIABDXC ON ON VIABRPC4 RESTRICTED Returns E if order checking enabled, otherwise D.
VIAB DEA SIGINFO SIGINFO VIABRPC4 RESTRICTED Returns the provider/patient info that must be displayed when signing a controlled substance order(s).
VIAB SCHALL SCHALL VIABRPC4 RESTRICTED Returns a list of schedules.
VIAB VALSCH VALSCH VIABRPC4 RESTRICTED Validate a schedule, return 1 if valid, 0 if not,
VIAB ALLSPEC ALLSPEC VIABRPC3 SUBSCRIPTION Returns a list of specimens from the TOPOGRAPHY FIELD file (#61).
VIAB GET LAB TIMES GETLABTM VIABRPC3 SUBSCRIPTION Returns a list of lab collect times for a date and location.
VIAB LOC TYPE LOCTYPE VIARPC3 SUBSCRIPTION Returns C for a Clinic and W for a Ward or -1 if not a clinic or ward type.
VIAB IMOLOC IMOLOC VIABRPC4 RPC returns - Is it an IMO order?
VIAB INPLOC INPLOC VIABRPC4 Returns a list of wards from the HOSPITAL LOCATION file.
VIAB ALLSAMP ALLSAMP VIABRPC4 Returns all collection samples in the format: n^SampIEN^SampName^SpecPtr^TubeTop^^^LabCollect^^SpecName
VIAB MAXDAYS MAXDAYS VIABRPC4 Returns the maximum number of days for a continuous lab order.
VIAB DOWSCH DOWSCH VIABRPC3 This RPC returns a list of schedule that have a frequency defined and the frequency is less than or equal to 1440 minutes.
VIAB FUTURE LAB COLLECTS LCFUTR VIABRPC3 Returns the number of days in the future to allow lab collects.
VIAB DEATEXT DEATEXT VIABRPC3 Returns the text to show on the signature dialog mandated by DEA for when a controlled substance order is selected to be signed.
VIAB IC VALID ICVALID VIABRPC3 Determines whether the supplied time is a valid lab immediate collect time.
VIAB TIU SECVST SECVST VIABRPC This RPC save the secondary visit IEN (field #1207) in TIU (File #8925), if inpatient.
VIAB IMMED COLLECT IMMCOLL VIABRPC Returns help text showing lab immediate collect times for the user's division.
VIAB ADMIN ADMIN VIABRPC This RPC returns administration time infomation: - StartText^StartTime^Duration^FirstAdmin
VIAB DFLTSPLY DFLTSPLY VIABRPC This RPC returns days supply given quantity.
VIAB DEVICE DEVICE VIABRPC This RPC returns a list of print devices.
VIABDX SAVE SAVE VIABDX RESTRICTED Save the order by passing in the following information: ORVP=DFN ORNP=Provider ORL=Location DLG=Order Dialog, ORDG=Display Group ORIT=Quick Order Dialog, ORIFN=null if new order ORDIALOG=Response List
VIAB MEDHIST MEDHIST VIABRPC7 RESTRICTED
VIABPCE SAVE SAVE VIABRPC SUBSCRIPTION Saves PCE information and the following values must be passed in: If applicable: (n)=VST^PR^ Parent for secondary visit (n)=VST^OL^ Outside Location for Historical visits (n)=VST^SC^ Service Connected related? (n)=VST^AO^ Agent Orange related? (n)=VST^IR^ Ionizing Radiation related? (n)=VST^EC^ Environmental Contaminates related? (n)=VST^MST^ Military Sexual Trauma related? (n)=VST^HNC^ Head and/or Neck Cancer related? (n)=VST^CV^ Combat Vet related? (n)=VST^SHD^ Shipboard Hazard and Defense related? (n)=PRV(+: add, -: delete) ^ Provider IEN ^^^ Provider Name ^ Primary Provider? (n)=POV(+: add, -: delete) ^ ICD diagnosis code ^ Category ^ Narrative (Diagnosis description) ^ Primary Diagnosis? ^ Provider String ^ Add to Problem List? ^^^ Next comment sequence # if saving comments (n)=COM^COM (Comments) ^ Next comment sequence # ^ @ = no comments added PCELIST (n)= HDR ^ Encounter Inpatient? ^ Note has CPT codes? ^ Visit (n)=CPT (+: add, -: delete) ^ Procedural CPT code ^ Category ^ Narrative (Procedure description) ^ Quantity ^ Provider IEN ^^^ [# of modifiers; Modifier code/Modifier IEN ^ Next comment sequence # ^ (n)=IMM (+: add, -: delete) ^ Immunization IEN ^ Category ^ Narrative (Immunization description/name) ^ Series ^ Encounter Provider ^ Reaction ^ Contraindicated? ^ ^ Next comment sequence # ^ CVX Code ^ Event Info Source HL7 Code;IEN ^ Dose;Units;Units IEN ^ Route Name;HL7 Code;IEN ^ Admin Site Name;HL7 Code;IEN ^ Lot#;IEN ^ Manufacturer ^ string [Encounter location; Encounter date/time; Encounter Expiration Date ^ Event Date and Time ^ Ordering Provider ^ VIS IEN/VIS Date; VIS IEN n/VIS Date n ^ Remarks Start Seq #;Remarks End Seq # ^ Warning Ack ^ Override Reason (Seq #) (n)=SK (+: add, -: delete) ^ Skin Test IEN ^ Category ^ Narrative (Skin Test description/name) ^ Results ^Enc Provider ^ Reading ^ D/T Read ^ Event D/T ^ Next comment sequence # ^ Reader ^ Ordering Provider ^ Anatomic Location of Placement;HL7 Code;IEN ^ Reading Comment (Seq #) (n)=PED (+: add, -: delete) ^ Patient Education IEN ^ Category Narrative (Patient Education description/name) ^ Level of Service category] (REQUIRED) understanding ^^^^^ ^^ Next comment sequence # (n)=HF (+: add, -: delete) ^ Health Factor IEN ^ Category ^ Narrative (Health Factor description/name) ^ Level ^^^^^ Next comment sequence # ^ Get Reminder (n)=XAM(+: add, -: delete) ^ Exam IEN ^ Category ^ Narrative (Exam description/name) ^ Results ^^^^^ Next comment sequence # # (n)=ICR (+: add, -: delete) ^ Variable Pointer IMM Contraindication Reasons/IMM Refusal Reasons ^ Category ^ (n)=VST^DT^Encounter date/time Narrative ^ Immunization IEN ^ Warn Until Date ^ Event Date/Time ^ Enc Provider IEN ^ ^ Next comment sequence # (n)=VST^PT^Encounter patient (DFN) (n)=VST^HL^Encounter location (n)=VST^VC^ Encounter Service Category
VIAB GETDEM GETDEM VIABRPC3 PUBLIC CALLS VADPT WITH DFN AND RETURNS AN ARRAY WITH PATIENT DEMOGRAPHIC DATA : Using GLOBAL ARRAY with $NA returning the ^TMP global reference. See PIMS manual for details of the ^VADPT API call.
VIAB PATCH PATCH VIABRPC PUBLIC Calls $$PATCH^XPDUTL to return boolean that indicates whether the patch sent in in the string has been installed.