
| Name | Tag | Routine | Availability | Description |
|---|---|---|---|---|
| Name | Tag | Routine | Availability | Description |
| MD TMDUSER | RPC | MDRPCOU | RESTRICTED | Manages the VistA interface to the TMDUser object. Available options: SIGNON Connects session to the server and attempts signon. ESIG Verifies passed e-sig. CHKVER Verifies client version is compatible with server. |
| MD TMDPARAMETER | RPC | MDRPCOV | RESTRICTED | Used to set/retrieve/modify parameters in the Kernel ToolKit PARAMETERS Param[4] := Value (XPAR) files. RPC is called as follows: Param[0] := OPTION Param[1] := Entity Param[2] := Parameter name Param[3] := Instance |
| MD TMDRECORDID | RPC | MDRPCOR | RESTRICTED | General RPC for VA Fileman functions. SAVEFDA: Saves any data stored in FDA CLEARFDA: Clears any data in the FDA without saving GETDATA: Retrieves a single field value GETCODES: Retrieves the set of codes for a field GETLABEL: Retrieves a fields TITLE or LABEL if no Title GETIDS: Returns required identifiers for a DD Number GETHELP: Returns Fileman help for a field RENAME: Validates and renames .01 field if valid NEWREC: Creates a new record CHANGES: Returns 0/1 if changes exist in FDA CHKVER: Version check Client <-> Server LOCK: Locks a record by DD and IENS UNLOCK: Unlocks record locked by LOCK option Param 1 is passed in as the function to perform and includes the following: LOOKUP: Performs very generic file lookup functionality VALIDATE: Validates input to a fileman field and saves to FDA DELREC: Validates ability to delete and if able deletes a record SETFDA: Validates input and stores in FDA |
| MD TMDOUTPUT | RPC | MDRPCOO | RESTRICTED | Manages the output of VistA data to the client via the default HFS device. |
| MD TMDPROCEDURE | RPC | MDRPCOD | RESTRICTED | |
| MD TMDPATIENT | RPC | MDRPCOP | RESTRICTED | |
| MD TMDTRANSACTION | RPC | MDRPCOT | RESTRICTED | |
| MD UTILITIES | RPC | MDRPCU | RESTRICTED | |
| MD GATEWAY | RPC | MDRPCOG | RESTRICTED | |
| MDK GET VISTA DATA | RPC | MDKRPC1 | RESTRICTED | |
| MD TMDWIDGET | RPC | MDRPCOW | RESTRICTED | |
| MDK UTILITY | RPC | MDKUTLR | RESTRICTED | |
| MDK GET/SET RENAL DATA | RPC | MDKRPC2 | RESTRICTED | |
| MD TMDNOTE | RPC | MDRPCNT | RESTRICTED | This remote procedure call does the following: study. The pieces returned are: Note IEN, Note ^TMP("TIUVIEW",538992716,22) = ^TMP("TIUVIEW",538992716,23) = Signed: 10/15/2001 13:04 title, Date/Time Creation, Author, and Hospital Location. VIEWTIU = Return the text lines of a document from NOTELST. MDSID - Study internal Entry Number. MDTIU - TIU Document Internal Entry Number. Accepts the following Inputs: MDDTE - Date/Time of Document Creation. MDAUTH - Author of document. MDESIG - Encrypted Electronic Signature. MDTXT - Text of the new document in an array. Return Results are the following: RESULTS - Both (Input and Output) - Passed in as the array to return OPTION = NEWDOC > D RPC^MDRPCNT(.RESULTS,"NEWDOC",904,"",3050524.0915,679,74RHLld;flk,MDTXT) > D ^%G Global ^TMP("MDKUTL",$J TMP("MDKUTL",$J ^TMP("MDKUTL",538992716,0) = Note internal entry number or -1^Error Message results in. OPTION = NOTELIST > D RPC^MDRPCNT(.RESULTS,"NOTELST",476) > D ^%G Global ^TMP("MDKUTL",$J TMP("MDKUTL",$J ^TMP("MDKUTL",538992716,1) = 968^PROCEDURE NOTE^OCT 10, 2001@17:08:36 ^MDPROVIDER,ONE ^PROSTHETICS ^TMP("MDKUTL",538992716,2) = 969^PROCEDURE NOTE^OCT 10, 2001@17:10:44^^PROSTHETI CS ^TMP("MDKUTL",538992716,3) = 970^PROCEDURE NOTE^OCT 10, 2001@17:11:50^^PROSTHETI CS ^TMP("MDKUTL",538992716,4) = 971^PROCEDURE NOTE^OCT 10, 2001@17:15:45^^PROSTHETI CS ^TMP("MDKUTL",538992716,5) = 972^PROCEDURE NOTE^OCT 10, 2001@17:16:34^^PROSTHETI CS ^TMP("MDKUTL",538992716,6) = 974^PROCEDURE NOTE^OCT 11, 2001@10:56:03^^PROSTHETI OPTION - NEWDOC = Add additional new document to the Hemodialysis CS ^TMP("MDKUTL",538992716,7) = 975^PROCEDURE NOTE^OCT 11, 2001@12:50:29^^PROSTHETI CS Global ^ OPTION = VIEWTIU > D RPC^MDRPCNT(.RESULTS,"VIEWTIU",476,968) > D ^%G study. Global ^TMP("TIUVIEW",$J TMP("TIUVIEW",$J ^TMP("TIUVIEW",538992716,1) = TITLE: PROCEDURE NOTE ^TMP("TIUVIEW",538992716,2) = DATE OF NOTE: OCT 10, 2001@17:08:36 ENTRY DATE: O CT 10, 2001@17:08:36 ^TMP("TIUVIEW",538992716,3) = AUTHOR: MDPROVIDER,ONE EXP COSIGNER: ^TMP("TIUVIEW",538992716,4) = URGENCY: STATUS: C OMPLETED ^TMP("TIUVIEW",538992716,5) = ^TMP("TIUVIEW",538992716,6) = PROCEDURE SUMMARY CODE: Abnormal ^TMP("TIUVIEW",538992716,7) = DATE/TIME PERFORMED: OCT 15, 2001 ^TMP("TIUVIEW",538992716,8) = ^TMP("TIUVIEW",538992716,9) = *** PROCEDURE NOTE Has ADDENDA *** ^TMP("TIUVIEW",538992716,10) = ^TMP("TIUVIEW",538992716,11) = Complete consult 1104. 6 attached images. ^TMP("TIUVIEW",538992716,12) = NOTELIST = Returns a list of documents associated with the ^TMP("TIUVIEW",538992716,13) = /es/ MDPROVIDER,ONE ^TMP("TIUVIEW",538992716,14) = ^TMP("TIUVIEW",538992716,15) = Signed: 10/15/2001 13:02 ^TMP("TIUVIEW",538992716,16) = ^TMP("TIUVIEW",538992716,17) = 10/15/2001 ADDENDUM STATUS: COMPLETED ^TMP("TIUVIEW",538992716,18) = aDDENDUM LA LA LA ^TMP("TIUVIEW",538992716,19) = LA LA LA ^TMP("TIUVIEW",538992716,20) = ^TMP("TIUVIEW",538992716,21) = /es/ MDPROVIDER,ONE |
| MD TMDCIDC | RPC | MDRPCW | RESTRICTED | This RPC will do the following: DFN - (Input) Patient internal entry number MDSTUD - (Input) CP Study internal entry number Input Parameter: RESULTS - (Both Input/Output) Passed in as the array to return the results. OPTION - (Input) PROC - obtain a list of Procedures defined for a clinic. DIAG - obtain a list of diagnosis defined for a clinic. SCDISP - Obtain the patient's service connection and rated disability. |
| MD TMDLEX | LEX | MDRPCW1 | RESTRICTED | This RPC will return a list of CPT or ICD for a search typed in. |
| MD TMDENCOUNTER | GETENC | MDRPCW1 | RESTRICTED | This remote procedure will return the existing data in an encounter. |
| MD TMDSUBMITU | RPC | MDRPCOWU | RESTRICTED | |
| MD CLIO | RPC | MDCLIO | PUBLIC | This is the primary RPC called by the CliO engine for normal command processing. |
| MDCP RESULTS BY STATUS | GTMSGIDS | MDCPHL7B | SUBSCRIPTION | This broker call will return a list of IENS from the CP RESULT REPORT file based on the STATUS passed in as a parameter. |
| MDCP MESSAGE BY IEN | GETMSG | MDCPHL7B | SUBSCRIPTION | This RPC returns an HL7 message based on its IEN. |
| MDCP CORRECTIONS BY IEN | GETCORR | MDCPHL7B | SUBSCRIPTION | Gets a list of corrections for a given HL7 message. |
| MDCP UPDATE MESSAGE STATUS | UPDATERP | MDCPHL7B | PUBLIC | This call will update the status of an entry in file 704.002 (the CLIO_HL7_LOG file). Note that if the status passed through is 'PROCESSED', the CP INSTRUMENT file entry pointed to by field .03 will be checked to see if it has a routine in its .11 field. If it does, the HL7 message will be copied to a temp global and the PROCESSING ROUTINE will be invoked. |
| MDCP UPDATE MESSAGE REASON | UPDRSN | MDCPHL7B | RESTRICTED | This RPC call will add word processing text to the CLIO_HL7_LOG file to explain the reason for the current status. It is primarily intended to be used to store error text from CliO. |