HMPD ;SLC/MKB,ASMR/RRB,CK - Serve VistA data as XML via RPC ;Aug 29, 2016 20:06:27
Source file <HMPD.m>
Package | Total | Call Graph |
---|---|---|
Kernel | 3 | $$TZ^XLFDT $$LOW^XLFSTR $$NS^XUAF4 |
Enterprise Health Management Platform | 1 | LOGDPT^HMPLOG |
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(HMP,DFN,TYPE,START,STOP,MAX,ID,FILTER) | ; -- Return search results as XML in @HMP@(n)
; RPC = HMP GET PATIENT DATA |
|
GTQ | ; end
|
|
RTN(X) | ; -- Return name of HMPDxxxx routine for clinical domain X
; X is also enforced as expected group tag name, if passed by ref |
|
TAG(X) | ; -- return plural name for group tags
|
|
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 @HMP@(n)=X
|
|
STRING(ARY) | ; -- Return text in ARY(n) or ARY(n,0) as a string, ARY passed by ref.
|
|
FAC(X) | ; -- return Institution file station# for location X
|
|
VUID(IEN,FILE) | ; -- Return VUID for item
|
|
VERSION(RET) | ; -- Return current version of data extracts
|
RPC Name | Call Tags |
---|---|
HMP DATA VERSION | VERSION |
HMP GET PATIENT DATA | GET |
FileNo | Call Tags |
---|---|
^SC - [#44] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | GET+11 |
^SC - [#44] | FAC+2 |
^TMP("HMP" | GET+3 |
Name | Line Occurrences |
---|---|
$$ALL | GET+9 |
$$RTN | GET+21 |
@( | GET+23 |
ADD | GET+19, GET+22, GET+24, GET+25, ERR+6, ERR+7, ERR+8 |
ERR | GET+11 |
GTQ | GET+11 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARY | STRING~ |
ARY( | STRING+5, STRING+6, STRING+7 |
ARY("" | STRING+4 |
ARY(0 | STRING+4 |
DFN | GET~, GET+7*, GET+8*, GET+11 |
FAC | FAC+1~, FAC+2*, FAC+4*, FAC+5, FAC+7 |
FILE | VUID~, VUID+1 |
FILTER | GET~ |
FILTER("id" | GET+15 |
FILTER("text" | GET+4 |
HLOC | FAC+1~, FAC+2*, FAC+4 |
HMP | GET~, GET+3*, GET+24, ADD+2 |
HMPHDR | GET+18~, GET+22*, GET+24 |
HMPI | GET+2~, GET+22, ADD+1*, ADD+2 |
HMPP | GET+18~, GET+20* |
HMPTAG | GET+18~, GET+20*, GET+21, GET+22, GET+24 |
HMPTEXT | GET+2~, GET+4* |
HMPTN | GET+18~, GET+21*, GET+23 |
HMPTOTL | GET+2~, GET+22*, GET+24 |
HMPTYPE | GET+18~, GET+19*, GET+20 |
I | ESC+3~, ESC+4*, ESC+5*, ESC+6*, ESC+7*, ESC+8*, STRING+2~, STRING+4*, STRING+5, STRING+6* , STRING+7 |
ICN | GET+2~, GET+7*, GET+8 |
ID | GET~, GET+7*, GET+15* |
IEN | VUID~, VUID+1 |
MAX | GET~, GET+12* |
MSG | ERR+1~*, ERR+2*, ERR+3*, ERR+4*, ERR+7 |
MXSTRNG | STRING+2~, STRING+3*, STRING+8 |
QOT | ESC+3~*, ESC+8 |
RET | VERSION~, VERSION+1* |
START | GET~, GET+12*, GET+13* |
STOP | GET~, GET+12*, GET+13*, GET+14* |
TYPE | GET~, GET+9*, GET+11, GET+19 |
U | FAC+2, FAC+4, FAC+5, FAC+6, FAC+7 |
VAL | ERR~, ERR+2, ERR+3 |
X | GET+13~*, RTN~, RTN+2*, RTN+3*, RTN+4*, RTN+5*, RTN+6*, RTN+7*, RTN+8*, RTN+9* , RTN+10*, RTN+11*, RTN+12*, RTN+13*, RTN+14*, RTN+15*, RTN+16*, RTN+17*, RTN+18*, RTN+19* , RTN+20*, RTN+21*, RTN+22*, RTN+23*, RTN+24*, RTN+25*, RTN+26*, RTN+27*, RTN+28*, RTN+29* , RTN+30*, RTN+31*, RTN+32*, RTN+33*, TAG~, TAG+1*, TAG+2, TAG+3, TAG+4, ERR~ , ERR+2, ERR+3, ERR+4, ESC~, ESC+4, ESC+5*, ESC+6*, ESC+7*, ESC+8*, ADD~ , ADD+2, STRING+2~, STRING+7*, STRING+8, STRING+9, STRING+11, FAC~, FAC+2, FAC+4 |
Y | RTN+2~*, RTN+3*, RTN+4*, RTN+5*, RTN+6*, RTN+7*, RTN+8*, RTN+9*, RTN+10*, RTN+11* , RTN+12*, RTN+13*, RTN+14*, RTN+15*, RTN+16*, RTN+17*, RTN+18*, RTN+19*, RTN+20*, RTN+21* , RTN+22*, RTN+23*, RTN+24*, RTN+25*, RTN+26*, RTN+27*, RTN+28*, RTN+29*, RTN+30*, RTN+31* , RTN+32*, RTN+33*, RTN+34, TAG+1~, TAG+2*, TAG+3*, TAG+4*, TAG+5, ESC+3~, ESC+4* , ESC+5*, ESC+6*, ESC+7*, ESC+8*, ESC+9, STRING+2~, STRING+5*, STRING+8*, STRING+9*, STRING+11* , STRING+12, FAC+1~*, FAC+6*, FAC+7*, FAC+8 |
Y0 | FAC+1~, FAC+5*, FAC+6 |
Name | Field # of Occurrence |
---|---|
$T(@HMPTN | GET+21 |