NHINV ;SLC/MKB - Serve VistA data as XML via RPC
Source file <NHINV.m>
Package | Total | Call Graph |
---|---|---|
Kernel | 2 | $$UP^XLFSTR $$NS^XUAF4 |
Master Patient Index VistA | 1 | $$GETDFN^MPIF001 |
Registration | 1 | $$SITE^VASITE |
VA FileMan | 1 | $$GET1^DIQ |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
GET(NHIN,DFN,TYPE,START,STOP,MAX,ID) | ; -- Return search results as XML in @NHIN@(n)
; RPC = NHIN GET VISTA DATA |
|
GTQ | ; end
|
|
RTN(X) | ; -- Return name of NHINVxxx routine for clinical domain X
|
|
ALL() | ; -- return string for all types of data
|
|
ERR(X,VAL) | ; -- return error message
|
|
ESC(X) | ; -- escape outgoing XML
; Q $ZCONVERT(X,"O","HTML") ; uncomment for fastest performance on Cache |
|
ADD(X) | ; Add a line @NHIN@(n)=X
|
|
STRING(ARRAY) | ; -- Return text in ARRAY(n) or ARRAY(n,0) as a string
|
|
FAC(X) | ; -- return Institution file station# for location X
|
|
VUID(IEN,FILE) | ; -- Return VUID for item
|
RPC Name | Call Tags |
---|---|
NHIN GET VISTA DATA | GET |
FileNo | Call Tags |
---|---|
^DG(40.8 - [#40.8] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | GET+8 |
^SC - [#44] | FAC+2 |
^TMP("NHINV" | GET+3 |
Name | Line Occurrences |
---|---|
$$ALL | GET+9 |
$$RTN | GET+19 |
@( | GET+20 |
ADD | GET+17, GET+21, ERR+6, ERR+7, ERR+8 |
ERR | GET+8 |
GTQ | GET+8 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARRAY | STRING~ |
ARRAY( | STRING+3, STRING+4, STRING+5 |
ARRAY("" | STRING+2 |
ARRAY(0 | STRING+2 |
DFN | GET~, GET+6*, GET+7*, GET+8 |
FAC | FAC+1~, FAC+2*, FAC+4*, FAC+5, FAC+7 |
FILE | VUID~, VUID+1 |
HLOC | FAC+1~, FAC+2*, FAC+4 |
I | ESC+3~, ESC+4*, ESC+5*, ESC+6*, ESC+7*, ESC+8*, STRING+1~, STRING+2*, STRING+3, STRING+4* , STRING+5 |
ICN | GET+2~, GET+6*, GET+7 |
ID | GET~, GET+13* |
IEN | VUID~, VUID+1 |
MAX | GET~, GET+10* |
MSG | ERR+1~*, ERR+2*, ERR+3*, ERR+4*, ERR+7 |
NHIN | GET~, GET+3*, GET+23, ADD+2 |
NHINI | GET+2~, ADD+1*, ADD+2 |
NHINP | GET+16~, GET+18* |
NHINTOTL | GET+2~, GET+23 |
NHINTYPE | GET+16~, GET+17*, GET+18 |
QOT | ESC+3~*, ESC+8 |
RTN | GET+16~, GET+19*, GET+20 |
START | GET~, GET+10*, GET+11* |
STOP | GET~, GET+10*, GET+11*, GET+12* |
TYPE | GET~, GET+9*, GET+17, GET+18*, GET+19 |
U | FAC+2, FAC+4, FAC+5, FAC+6, FAC+7 |
VAL | ERR~, ERR+2, ERR+3 |
X | GET+11~*, RTN~, RTN+1*, RTN+2, RTN+3, RTN+4, RTN+6, RTN+7, RTN+8, RTN+9 , RTN+10, RTN+11, RTN+13, RTN+14, RTN+15, RTN+16, RTN+17, RTN+18, RTN+19, RTN+20 , ERR~, ERR+2, ERR+3, ERR+4, ESC~, ESC+4, ESC+5*, ESC+6*, ESC+7*, ESC+8* , ADD~, ADD+2, STRING+1~, STRING+5*, STRING+6, STRING+7, FAC~, FAC+2 |
Y | RTN+1*, RTN+2*, RTN+3*, RTN+4*, RTN+6*, RTN+7*, RTN+8*, RTN+9*, RTN+10*, RTN+11* , RTN+13*, RTN+14*, RTN+15*, RTN+16*, RTN+17*, RTN+18*, RTN+19*, RTN+20*, RTN+21, ESC+3~ , ESC+4*, ESC+5*, ESC+6*, ESC+7*, ESC+8*, ESC+9, STRING+1~*, STRING+3*, STRING+6*, STRING+7* , STRING+8, FAC+1~*, FAC+6*, FAC+7*, FAC+8 |
Y0 | FAC+1~, FAC+5*, FAC+6 |
Name | Field # of Occurrence |
---|---|
$T(@RTN | GET+19 |