HMPDOR ;SLC/MKB,ASMR/RRB,BL - Orders extract;Aug 17, 2016 11:42:39
Source file <HMPDOR.m>
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 | 1 | HMPDJ01 |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(DFN,BEG,END,MAX,IFN) | ; -- find a patient's orders
|
|
ENQ | ; end
|
|
EN1(NUM,ORD) | ; -- return an order in ORD("attribute")=value
; from EN: expects ^TMP("ORR",$J,ORLIST,HMPN) |
|
STS(X) | ; -- return VUID for status abbreviation X
|
|
XML(ORD) | ; -- Return patient data as XML in @HMP@(n), DE5111, calls in this routine to here disabled
; as <element code='123' displayName='ABC' /> |
|
LOOP() | ; -- build sub-items string from NAMES and X
|
|
ADD(X) | ; Add a line @HMP@(n)=X
|
|
EVNTLOG(ENVNTXT,EVNTYP) | ; log information in HMP EVENT, 10 August 2016
|
FileNo | Call Tags |
---|---|
^OR(100 - [#100] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ORA(102.4 - [#102.4] | EN1+26, EN1+27 |
^SC("B" | EN1+22 |
^TMP("HMPTEXT" | ENQ+1!, EN1+3!, EN1+18*, EN1+19 |
^TMP("ORGOTIT" | EN+20! |
^TMP("ORR" | EN+24, ENQ+1!, EN1+4, EN1+18 |
^VA(200 - [#200] | EN1+20, EN1+28 |
Name | Line Occurrences |
---|---|
$$LOOP | XML+10, XML+18 |
$$STS | EN1+17 |
ADD | XML+3, XML+4, XML+7, XML+10, XML+11, XML+14, XML+15, XML+16, XML+19 |
EN1 | EN+19, EN+25 |
ENQ | EN+11 |
EVNTLOG | EN+5, EN+15, EN1+8, EN1+12 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ATT | XML+2~, XML+4*, XML+5, XML+6, XML+7, XML+8, XML+9, XML+10, XML+11, XML+12 , XML+13, XML+17, XML+18 |
BEG | EN~, EN+7*, EN+23 |
DA | EN1+2~, EN1+26*, EN1+27, EN1+29 |
DFN | EN~, EN+1*, EN+4, EN+5, EN+15, EN+23, EN1+7, EN1+11 |
END | EN~, EN+7*, EN+23 |
ENVNTXT | EVNTLOG~ |
ENVNTXT( | EVNTLOG+5 |
EVNTYP | EVNTLOG~, EVNTLOG+10 |
>> HMP | ADD+2 |
HMPCNT | EN+8~, EN+23*, EN+24 |
>> HMPI | ADD+1*, ADD+2 |
HMPITM | EN+8~, EN+19, EN+25! |
HMPN | EN+8~, EN+18*, EN+19, EN+24*, EN+25, EN1+18 |
>> HMPTOTL | XML+3* |
I | STS+1~, STS+3*, STS+4, XML+2~, XML+8*, XML+9, XML+15* |
IFN | EN~, EN+11, EN+14, EN+15, EN+18, EN1+2~, EN1+4*, EN1+6, EN1+7, EN1+10 , EN1+11, EN1+14, EN1+18, EN1+19, EN1+20, EN1+21, EN1+24, EN1+26 |
J | EVNTLOG+3~, EVNTLOG+5*, EVNTLOG+8*, EVNTLOG+10* |
LNCNT | EVNTLOG+3~, EVNTLOG+5*, EVNTLOG+6*, EVNTLOG+7*, EVNTLOG+8*, EVNTLOG+9* |
LOC | EN1+2~, EN1+21*, EN1+22*, EN1+23 |
LOGTXT | EN+5~, EN+15~, EN1+7~, EN1+8, EN1+11~, EN1+12, EVNTLOG+3~, EVNTLOG+10 |
LOGTXT( | EVNTLOG+5*, EVNTLOG+6*, EVNTLOG+7*, EVNTLOG+8*, EVNTLOG+9* |
LOGTXT(1 | EN+5*, EN+15*, EN1+7*, EN1+11* |
MAX | EN~, EN+7*, EN+24 |
NAMES | XML+2~, XML+5*, LOOP+2 |
NUM | EN1~, EN1+4 |
ORD | EN1~, EN1+3!, XML~ |
ORD( | XML+4, XML+8, XML+9, XML+12 |
ORD("acknowledgement" | EN1+29* |
ORD("content" | EN1+19* |
ORD("entered" | EN1+15* |
ORD("facility" | EN1+23* |
ORD("group" | EN1+15* |
ORD("id" | EN1+14* |
ORD("location" | EN1+22* |
ORD("name" | EN1+14* |
ORD("provider" | EN1+20* |
ORD("service" | EN1+24* |
ORD("start" | EN1+16* |
ORD("status" | EN1+17* |
ORD("stop" | EN1+16* |
ORLIST | EN+8~, EN+17*, EN+18, EN+24, EN1+4, EN1+18 |
ORLST | EN+17~* |
P | LOOP+1~, LOOP+2* |
STKINFO | EVNTLOG+3~, EVNTLOG+4 |
STKINFO( | EVNTLOG+8 |
STR | LOOP+1~*, LOOP+2*, LOOP+3 |
STS | STS+1~, STS+2*, STS+3 |
TAG | LOOP+1~, LOOP+2* |
U | EN1+15, EN1+16, EN1+17, EN1+20, EN1+22, EN1+27, EN1+28, EN1+29, STS+3, LOOP+2 |
X | EN1+2~, EN1+20*, EN1+21*, EN1+22, EN1+28*, EN1+29, STS~, STS+3, XML+2~, XML+9* , XML+12*, XML+15, XML+17, XML+18, LOOP+2, ADD~, ADD+2 |
X0 | EN1+2~, EN1+4*, EN1+14, EN1+15, EN1+16, EN1+17, EN1+27*, EN1+28, EN1+29 |
Y | STS+1~, STS+4*, STS+5, XML+2~, XML+4, XML+6*, XML+10*, XML+12*, XML+13*, XML+14* , XML+15*, XML+17*, XML+18* |