HMPEF ;SLC/MKB,ASMR/BL,RRB,JD,SRG,CK - Serve VistA operational data as JSON via RPC;Aug 29, 2016 20:06:27
Source file <HMPEF.m>
Package | Total | Call Graph |
---|---|---|
Enterprise Health Management Platform | 13 | (ADDODG,ADDROUTE,ADDSCH,OI,QO)^HMPCORD4 (IMMTYPE,VCAT,VQUAL,VTYPE)^HMPCORD5 LKUP^HMPDJ00 HMP1^HMPDJ02 (LOC,NP,PROB)^HMPEF1 EN^HMPEFX (SHWCUMR2,SHWORPNL)^HMPELAB ENCODE^HMPJSON LOGDPT^HMPLOG TERM^HMPMDUTL ADD^HMPMETA ($$EN,$$FMTHL7)^HMPSTMP ($$JSONDT,$$SYS,SETERROR)^HMPUTILS |
Kernel | 2 | $$NOW^XLFDT $$UP^XLFSTR |
Registration | 1 | WIN^DGPMDDCF |
VA FileMan | 1 | GETS^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 |
Package | Total | Caller Graph |
---|---|---|
Enterprise Health Management Platform | 12 | HMP GET OPERATIONAL DATA HMP GET REFERENCE DATA HMPCORD4 HMPCORD5 HMPDJFSG HMPDJFSQ HMPDJX HMPEASU HMPEF1 HMPEFX HMPELAB HMPMDUTL |
Name | Comments | DBIA/ICR reference |
---|---|---|
GET(HMP,FILTER) | ; -- Return search results as JSON in @HMP@(n)
; RPC = HMP GET OPERATIONAL DATA ; where FILTER("domain") = name of desired data type (see $$TAG) ; FILTER("limit") = maximum number of items to return [opt] ; FILTER("start") = ien to start search from [opt] ; FILTER("id") = single item id to return [opt] |
|
GTQ | ; add item count and terminating characters
|
|
BUILDERR(RESULT) | ; error array
|
|
TAG(X) | ; -- linetag for reference domain X
|
|
ERR(X,VAL) | ; return error message
|
|
ERRMSG(X,VAL) | ; -- return error message
|
|
ERRQ | ; -- Quit on error
|
|
HL7NOW() | ; -- Return current time in HL7 format
|
|
ALL() | ;
|
|
ADD(ITEM) | ; -- add ITEM to @HMP@(HMPI)
|
|
COMMA(I) | ; -- add comma between items
|
|
TOTAL(ROOT) | ; -- Return total #items in @ROOT@(n)
|
|
TEST(TYPE,ID,IN) | ; -- test GET, write results to screen
|
|
PAT | ;Patients
|
|
LOC | ; Hospital Location (#44) and Ward Location (#42) /DE2818
|
|
ACTWRD(IEN) | ;Boolean TRUE if active WARD LOCATION
; IEN - IEN in file 42 |
|
ACTLOC(LOC) | ;Boolean TRUE if active hospital location
; ^SC - IA 10040 |
|
NP | ;New Persons
|
|
KEYS(IEN) | ;user's keys
|
|
ODG | ;
|
|
OI | ;
|
|
PROB | ;get problem list OPD store
|
|
QO | ;
|
|
SCHEDULE | ;
|
|
ROUTE | ;
|
|
HMP | ; HMP Objects
|
|
SOURCE(SRC) | ;
|
|
ASU | ; ASU files
|
|
MDTERMS | ; CP Terminology
|
|
LABGRP | ;
|
|
LABPNL | ;
|
|
ISPROXY(IEN) | ; Boolean function, is NEW PERSON entry an APPLICATION PROXY?
|
|
IMMTYPE | ;immunization types
|
|
ALLTYPE | ;allergy-list types
|
|
VTYPE | ;vital types
|
|
VQUAL | ;vital qualifiers
|
|
VCAT | ;vital categories
|
|
FILENAME | ; text of filenames for search treeview
|
Name | Field # of Occurrence |
---|---|
WIN^DGPMDDCF | ACTWRD+2, ACTLOC+3 |
GETS^DIQ | KEYS+2, ISPROXY+6 |
ADDODG^HMPCORD4 | ODG+1 |
ADDROUTE^HMPCORD4 | ROUTE+2 |
ADDSCH^HMPCORD4 | SCHEDULE+2 |
OI^HMPCORD4 | OI+1 |
QO^HMPCORD4 | QO+1 |
IMMTYPE^HMPCORD5 | IMMTYPE+1 |
VCAT^HMPCORD5 | VCAT+1 |
VQUAL^HMPCORD5 | VQUAL+1 |
VTYPE^HMPCORD5 | VTYPE+1 |
LKUP^HMPDJ00 | PAT+4, PAT+11 |
HMP1^HMPDJ02 | HMP+7, HMP+10 |
LOC^HMPEF1 | LOC+1 |
NP^HMPEF1 | NP+1 |
PROB^HMPEF1 | PROB+1 |
EN^HMPEFX | GET+24 |
SHWCUMR2^HMPELAB | LABGRP+1 |
SHWORPNL^HMPELAB | LABPNL+1 |
ENCODE^HMPJSON | ADD+4, ADD+10 |
LOGDPT^HMPLOG | PAT+9 |
TERM^HMPMDUTL | MDTERMS+1 |
ADD^HMPMETA | ADD+13 |
$$EN^HMPSTMP | ADD+3 |
$$FMTHL7^HMPSTMP | HL7NOW+1 |
$$JSONDT^HMPUTILS | KEYS+7 |
$$SYS^HMPUTILS | GET+10 |
SETERROR^HMPUTILS | ADD+9 |
$$NOW^XLFDT | HL7NOW+1 |
$$UP^XLFSTR | ASU+2 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
RPC Name | Call Tags |
---|---|
HMP GET OPERATIONAL DATA | GET |
HMP GET REFERENCE DATA | GET |
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | GETS^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | PAT+6, PAT+9 |
^HMP(800000.11 - [#800000.11] | HMP+5, HMP+8 |
^SC - [#44] | ACTLOC+2, ACTLOC+3, ACTLOC+4 |
^TMP("HMP" | GET+9 |
^TMP($J | GET+18!, GTQ+1, GTQ+8, GTQ+17, GTQ+18, GTQ+19!, BUILDERR+2, BUILDERR+5, BUILDERR+6 |
^XTMP( | GET+23 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APP | ISPROXY+1~, ISPROXY+7*, ISPROXY+9*, ISPROXY+10 |
CNT | BUILDERR+1~, BUILDERR+4*, BUILDERR+6*, KEYS+1~, KEYS+2*, KEYS+4*, KEYS+5, KEYS+7 |
COUNT | BUILDERR+1~, BUILDERR+2*, BUILDERR+3, BUILDERR+4 |
D0 | ACTWRD+2*, ACTLOC+2~, ACTLOC+3* |
DFN | PAT+1~, PAT+4*, PAT+6*, PAT+9, PAT+10, PAT+12, PAT+13 |
DOM | BUILDERR+1~ |
DOMCNT | BUILDERR+1~ |
DT | ACTLOC+5 |
ERRMSG | BUILDERR+1~, PAT+5~*, PAT+10*, HMP+6*, HMP+9* |
ERROR | GTQ+1~, GTQ+10, GTQ+18, BUILDERR+1~ |
ERROR("error" | BUILDERR+4* |
ERROR(1 | GTQ+1*, GTQ+6 |
FIELD | BUILDERR+1~ |
FILTER | GET~ |
FILTER("domain" | GET+13, GET+23 |
FILTER("id" | GET+16 |
FILTER("limit" | GET+14 |
FILTER("noHead" | GTQ+2 |
FILTER("start" | GET+15 |
HMP | GET~, GET+9*, GET+23*, GTQ+3, GTQ+4, GTQ+5, GTQ+6, GTQ+7, GTQ+8, GTQ+9 , GTQ+10, GTQ+12, GTQ+13, GTQ+14, GTQ+15, GTQ+16, GTQ+17, GTQ+18, ADD+16, COMMA+2 , COMMA+3 |
>> HMPBATCH | GET+23 |
HMPCNT | GET+8~, GET+14*, GTQ+14, PAT+3*, HMP+2* |
HMPERR | GET+8~, GET+21*, ADD+1~, ADD+5, ADD+9, ADD+10! |
>> HMPFADOM | ADD+13 |
HMPFINI | GET+8~, GTQ+5, PAT+13*, LOC+1, PROB+1, HMP+11* |
>> HMPFLDON | LOC+1 |
>> HMPFZTSK | GET+23 |
HMPI | GET+8~, GET+9*, GTQ+3, GTQ+7, GTQ+12, GTQ+13, GTQ+17*, GTQ+18*, ADD+14, ADD+16* , PAT+6, HMP+8 |
HMPID | GET+8~, GET+16*, GET+24, PAT+4, HMP+3, HMP+4, HMP+5 |
HMPITM | ADD+6~, ADD+7*, ADD+9 |
HMPKEY | KEYS+1~ |
HMPKEY( | KEYS+3, KEYS+4, KEYS+6 |
HMPLAST | GET+8~, GET+15*, GTQ+4, GTQ+15, PAT+6, PAT+12*, HMP+8, HMP+10* |
HMPMAX | GET+8~, GET+14*, GET+24, PAT+6, HMP+8 |
>> HMPMETA | ADD+13, LOC+1 |
HMPMSG | ISPROXY+1~ |
HMPPOPD | PAT+1~, PAT+2* |
>> HMPSTMP | ADD+2, ADD+13 |
HMPSYS | GET+8~, GET+10* |
HMPTMP | ADD+6~, ADD+9 |
HMPTN | GET+8~, GET+25*, GET+26 |
HMPTXT | ADD+6~, ADD+9 |
HMPTXT(1 | ADD+8* |
HMPUCLS | ISPROXY+1~ |
HMPY | ADD+1~, ADD+7!, ADD+11, ADD+16 |
I | COMMA~, COMMA+2, COMMA+3 |
ID | TEST~, TEST+4 |
IDX | TEST+1~, TEST+7*, TEST+8* |
IEN | ACTWRD~, ACTWRD+2, KEYS~, KEYS+2, HMP+1~, HMP+4*, HMP+5*, HMP+6, HMP+7, HMP+8* , HMP+9, HMP+10, HMP+11, ISPROXY~, ISPROXY+6 |
IENS | KEYS+1~, KEYS+3*, KEYS+4, KEYS+6 |
IN | TEST~, TEST+5 |
IN("domain" | TEST+3* |
IN("id" | TEST+4* |
ITEM | ADD~, ADD+2, ADD+3, ADD+4, ADD+7, ADD+12, ADD+13 |
J | COMMA+2~*, COMMA+3* |
>> LEX | PROB+1 |
LOC | ACTLOC~, ACTLOC+2, ACTLOC+3, ACTLOC+4 |
MESSAGE | BUILDERR+1~, BUILDERR+3*, BUILDERR+6*, BUILDERR+7 |
MSG | BUILDERR+1~, ERR+1~*, ERR+2*, ERR+3*, ERR+4*, ERR+5 |
MSGCNT | BUILDERR+1~, BUILDERR+5*, BUILDERR+6 |
OUT | TEST+1~, TEST+5, TEST+7 |
PAT | PAT+1~, PAT+11! |
RESULT | BUILDERR~, SCHEDULE+1~, ROUTE+1~ |
RESULT(1 | BUILDERR+7* |
ROOT | TOTAL~, TOTAL+1 |
RTN | ASU+1~, ASU+2*, ASU+3 |
SRC | SOURCE~, SOURCE+2, SOURCE+3, SOURCE+4, SOURCE+5, SOURCE+6, SOURCE+7, SOURCE+8, SOURCE+9 |
T | BUILDERR+1~, ISPROXY+1~, ISPROXY+7*, ISPROXY+9 |
TEMP | BUILDERR+1~ |
TYPE | GET+8~, GET+13*, GET+21, GET+24, GET+25, TEST~, TEST+3, HMP+8, ASU+1 |
U | TOTAL+1, TEST+2*, PAT+9, ACTLOC+5 |
>> USER("vistaKeys" | KEYS+5*, KEYS+7* |
V | ISPROXY+1~, ISPROXY+7*, ISPROXY+9* |
VAL | ERR~, ERR+2, ERR+3, ERRMSG~, ERRMSG+2 |
X | TAG~, TAG+1*, TAG+3, TAG+4, TAG+5, TAG+6, TAG+7, TAG+8, TAG+9, TAG+10 , TAG+11, TAG+12, TAG+13, TAG+14, TAG+15, TAG+16, TAG+17, TAG+19, TAG+20, TAG+21 , TAG+22, ERR~, ERR+2, ERR+3, ERR+4, ERRMSG~, ERRMSG+1, ACTWRD+2, ACTLOC+2~, ACTLOC+3 , ACTLOC+4*, ACTLOC+5, KEYS+1~, KEYS+4*, KEYS+5, KEYS+6*, KEYS+7, SOURCE+1~*, SOURCE+2*, SOURCE+3* , SOURCE+4*, SOURCE+5*, SOURCE+6*, SOURCE+7*, SOURCE+8*, SOURCE+9*, SOURCE+10, ASU+1~*, ASU+2, ASU+3 |
Y | TAG+1~*, TAG+3*, TAG+4*, TAG+5*, TAG+6*, TAG+7*, TAG+8*, TAG+9*, TAG+10*, TAG+11* , TAG+12*, TAG+13*, TAG+14*, TAG+15*, TAG+16*, TAG+17*, TAG+19*, TAG+20*, TAG+21*, TAG+22* , TAG+23, ERRMSG+1~*, ERRMSG+2*, ERRMSG+3 |
>> ZTQUEUED | GET+23, COMMA+1 |