HMPDJ01 ;SLC/MKB,ASMR/MBS -- Orders ;Aug 17, 2016 11:42:39
Source file <HMPDJ01.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 | HMPDJ0 |
Name | Comments | DBIA/ICR reference |
---|---|---|
OR1(ID) | ; -- order ID >> ^TMP("ORR",$J,ORLIST,HMPN)
|
|
ORX(IFN,ORD) | ; -- extract order IFN into ORD("attribute")
|
|
KIN | ; US11945 - Add parents/children (kin) to order
|
|
RESULTS | ; -- add ORD("results",n,"uid") list
|
|
NTX1(IFN) | ; -- extract nursing treatment order IFN into NTX("attribute")
|
|
USER(N,ROLE,IEN,DATE) | ; -- add signature/verification data
|
|
ORDACT(HMPDFN,ORDRNUM) | ; function, if patient and order are in HMP(800000) return status code, Jan 10, 2016 US10045, US11894
|
|
TM(X) | ; -- strip seconds off a FM time
|
Name | Field # of Occurrence |
---|---|
FIND^DIC | RESULTS+10 |
$$GET1^DIQ | OR1+7, ORX+7, ORX+49, ORX+51, ORX+52, ORX+53, ORX+56, ORX+57, ORX+58, ORX+81 , USER+6 |
DOCLIST^GMRCGUIB | RESULTS+4 |
$$FAC^HMPD | ORX+52 |
ADD^HMPDJ | OR1+18, NTX1+15 |
$$STS^HMPDOR | ORX+30 |
EVNTLOG^HMPDOR | OR1+9, ORX+5, ORX+9 |
ADD^HMPMETA | OR1+17, NTX1+14 |
$$SRVRNO^HMPOR | ORX+67, ORDACT+1 |
ADDORDR^HMPOR | ORX+74 |
ORDRVALS^HMPOR | ORX+71 |
RELATED^HMPORRPC | KIN+2 |
$$EN^HMPSTMP | OR1+14, NTX1+11 |
$$JSONDT^HMPUTILS | ORX+26, ORX+27, ORX+79, USER+2, TM+3 |
$$SETUID^HMPUTILS | ORX+19, ORX+50, ORX+54, ORX+57, ORX+58, KIN+3, KIN+5, RESULTS+5, RESULTS+8, RESULTS+13 , RESULTS+20, RESULTS+25, RESULTS+26, RESULTS+28, RESULTS+29, RESULTS+31, RESULTS+34, RESULTS+36, NTX1+4, USER+5 |
FACILITY^HMPUTILS | ORX+55 |
SETTEXT^HMPUTILS | ORX+31 |
SPLITVAL^HMPUTILS | ORX+23 |
$$LRDFN^HMPXGLAB | RESULTS+22 |
EXPAND^LR7OU1 | RESULTS+19 |
GET^ORQ12 | ORX+13 |
$$OI^ORX8 | ORX+20 |
$$VALUE^ORX8 | NTX1+5, NTX1+6 |
ZERO^PSS51P1 | NTX1+7 |
$$NOW^XLFDT | ORX+73 |
FileNo | Call Tags |
---|---|
^OR(100 - [#100] | GET1^DIQ |
^VA(200 - [#200] | GET1^DIQ |
^SC - [#44] | GET1^DIQ |
^MDD(702 - [#702] | FIND^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^HMP(800000 - [#800000] | ORX+69, ORX+76, ORX+77, ORX+84, ORX+85, ORDACT+3 |
^OR(100 - [#100] | OR1+4, ORX+35, ORX+40, ORX+41, ORX+45, ORX+94, ORX+95, RESULTS+2 |
^ORD(100.03 - [#100.03] | ORX+45 |
^PXRMINDX(63 | RESULTS+20, RESULTS+23, RESULTS+25 |
^RADPT("AO" | RESULTS+33, RESULTS+34 |
^TMP("HMPTEXT" | ORX+31, ORX+32 |
^TMP("ORR" | ORX+14, ORX+31 |
^TMP($J | NTX1+8, NTX1+9, NTX1+10! |
Name | Field # of Occurrence |
---|---|
^( | RESULTS+23 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARRAY | ORX+21~, ORX+23 |
ARRAY( | ORX+24 |
ARRAY("Code" | ORX+22* |
ARRAY("Name" | ORX+22*, ORX+23 |
ARRAY("PackageRef" | ORX+22* |
C | ORX+64~, ORX+66*, ORX+77*, ORX+79, ORX+81, ORX+82 |
CDT | RESULTS+16~, RESULTS+17*, RESULTS+20, RESULTS+23, RESULTS+25 |
CHILD | OR1+1~, OR1+11!, OR1+12 |
CN | RESULTS+33~, RESULTS+34* |
D | TM+1~*, TM+2 |
DA | ORX+11~ |
DATE | USER~, USER+2 |
>> DFN | OR1+8, ORX+4, ORX+8, ORX+16, ORX+19, ORX+57, ORX+58, KIN+3, KIN+5, RESULTS+5 , RESULTS+8, RESULTS+13, RESULTS+20, RESULTS+22, RESULTS+23, RESULTS+25, RESULTS+26, RESULTS+28, RESULTS+29, RESULTS+31 , RESULTS+33, RESULTS+34, RESULTS+36, NTX1+4 |
ERRMSG | ORX+15~, ORX+17* |
ERRPAT | ORX+15~, ORX+16* |
>> FAC | ORX+52*, ORX+55 |
HDC | ORX+39~, ORX+40*, ORX+41 |
HDCRSN | ORX+39~, ORX+45*, ORX+46 |
HDFN | ORX+11~, ORX+35*, ORX+36, ORX+67, ORX+69, ORX+74, ORX+76, ORX+77, ORX+84, ORX+85 |
HMORIN | ORX+64~, ORX+66*, ORX+76*, ORX+77 |
HMPC | OR1+1~, OR1+4*, OR1+7, OR1+8, OR1+11, OR1+12, RESULTS+10~ |
HMPC("DILIST" | RESULTS+11, RESULTS+12 |
HMPD | RESULTS+4~ |
HMPD(50 | RESULTS+6 |
HMPDFN | ORDACT~, ORDACT+1, ORDACT+3 |
HMPFND | ORX+64~, ORX+77*, ORX+78, ORX+79, ORX+80, ORX+82 |
>> HMPMETA | OR1+17, NTX1+14 |
>> HMPN | ORX+12 |
HMPNOJS | KIN+1~, KIN+2* |
HMPORACT | ORX+39~, ORX+41*, ORX+43, ORX+44 |
HMPORKIN | KIN+1~, KIN+2, KIN+3, KIN+4, KIN+5 |
HMPT | RESULTS+16~, RESULTS+19 |
HMPT( | RESULTS+20 |
HMPUF | ORX+64~, ORX+78*, ORX+79, ORX+81, ORX+82 |
HMSRVR | ORX+64~, ORX+67*, ORX+69, ORX+76, ORX+77, ORX+84, ORX+85 |
HMUSR | ORX+64~, ORX+80*, ORX+81 |
HMVALS | ORX+70~, ORX+71, ORX+74 |
HMVALS( | ORX+73* |
HMVALS(0 | ORX+72 |
HPROV | ORX+64~, ORX+85*, ORX+86, ORX+96*, ORX+97 |
HPTR | ORX+39~, ORX+45* |
HSIGN | ORX+39~, ORX+40*, ORX+44*, ORX+46 |
HX8 | ORX+64~, ORX+85*, ORX+86, ORX+87, ORX+88, ORX+89, ORX+95*, ORX+96, ORX+97, ORX+98 , ORX+99, ORX+100 |
I | ORX+11~, ORX+85*, ORX+86, ORX+87, ORX+88, ORX+89, ORX+93*, ORX+97, ORX+98, ORX+99 , ORX+100, KIN+1~, KIN+4*, KIN+5, RESULTS+4~, RESULTS+6*, RESULTS+11*, RESULTS+12 |
ID | OR1~, OR1+2, OR1+4, RESULTS+16~, RESULTS+20*, RESULTS+25* |
IDT | RESULTS+16~, RESULTS+17*, RESULTS+24, RESULTS+26, RESULTS+28, RESULTS+29, RESULTS+33~*, RESULTS+34 |
IDX | RESULTS+16~, RESULTS+24*, RESULTS+25* |
IEN | USER~, USER+4, USER+5, USER+6 |
IFN | ORX~, ORX+3, ORX+4, ORX+7, ORX+8, ORX+13, ORX+17, ORX+19, ORX+31, ORX+32 , ORX+35, ORX+36, ORX+40, ORX+41, ORX+45, ORX+49, ORX+52, ORX+56, ORX+57, ORX+58 , ORX+69, ORX+71, ORX+74, ORX+76, ORX+77, ORX+84, ORX+85, ORX+94, ORX+95, KIN+2 , RESULTS+2, RESULTS+31, RESULTS+36, NTX1~, NTX1+2, NTX1+4, NTX1+5, NTX1+6 |
ITM | RESULTS+16~, RESULTS+19*, RESULTS+22*, RESULTS+23*, RESULTS+25 |
LOC | ORX+11~, ORX+52*, ORX+53, ORX+54 |
LOGTXT | OR1+8~, OR1+9, ORX+4~, ORX+5, ORX+8~, ORX+9 |
LOGTXT(1 | OR1+8*, ORX+4*, ORX+8* |
LRDFN | RESULTS+16~, RESULTS+22*, RESULTS+24 |
N | RESULTS+4~, RESULTS+5*, RESULTS+8*, RESULTS+13*, RESULTS+16~, RESULTS+20*, RESULTS+22*, RESULTS+25*, RESULTS+26*, USER~ , USER+1*, USER+2, USER+3, USER+5, USER+6 |
NAME | ORX+21~, ORX+24* |
NTX | NTX1+1~, NTX1+2 |
NTX("adminTimes" | NTX1+9* |
NTX("instructions" | NTX1+5* |
NTX("lastUpdateTime" | NTX1+11*, NTX1+12 |
NTX("orderUid" | NTX1+3* |
NTX("scheduleName" | NTX1+8* |
NTX("stampTime" | NTX1+12*, NTX1+14 |
NTX("uid" | NTX1+3, NTX1+4*, NTX1+14 |
ORACTION | ORX+92~, ORX+93*, ORX+94*, ORX+95 |
ORD | ORX~ |
ORD("childrenOrderUids" | KIN+5* |
ORD("clinicians" | USER+2*, USER+3*, USER+5*, USER+6* |
ORD("content" | ORX+32*, ORX+46* |
ORD("displayGroup" | ORX+25*, RESULTS+2 |
ORD("entered" | ORX+26* |
ORD("localId" | ORX+19* |
ORD("locationName" | ORX+53* |
ORD("locationUid" | ORX+54* |
ORD("name" | ORX+23* |
ORD("oi" | ORX+24* |
ORD("oiPackageRef" | RESULTS+19 |
ORD("orderFlags" | ORX+79*, ORX+81*, ORX+82* |
ORD("parentOrderUid" | KIN+3* |
ORD("predecessor" | ORX+57* |
ORD("providerName" | ORX+51* |
ORD("providerUid" | ORX+50* |
ORD("results" | RESULTS+5*, RESULTS+8*, RESULTS+13*, RESULTS+20*, RESULTS+25*, RESULTS+26*, RESULTS+28*, RESULTS+29*, RESULTS+31*, RESULTS+34* , RESULTS+36* |
ORD("service" | ORX+56*, RESULTS+2 |
ORD("start" | ORX+27* |
ORD("statusCode" | ORX+28*, ORX+43* |
ORD("statusName" | ORX+29*, ORX+43* |
ORD("statusVuid" | ORX+30* |
ORD("stop" | ORX+27* |
ORD("successor" | ORX+58* |
ORD("uid" | ORX+19* |
ORDER | OR1+1~, OR1+2, OR1+13 |
ORDER("children" | OR1+12* |
ORDER("lastUpdateTime" | OR1+14*, OR1+15 |
ORDER("stampTime" | OR1+15*, OR1+17 |
ORDER("uid" | OR1+17 |
ORDG | RESULTS+1~, RESULTS+2*, RESULTS+9, RESULTS+36, RESULTS+37 |
ORDRNUM | ORDACT~, ORDACT+3 |
ORDSTAT | ORX+11~, ORX+36* |
ORFLG | ORX+64~ |
ORIFN | ORX+64~ |
ORIN | ORX+64~ |
ORLIST | ORX+11~, ORX+12*, ORX+13, ORX+14, ORX+31 |
ORLST | ORX+11~, ORX+12*, ORX+14, ORX+31 |
ORPK | RESULTS+1~, RESULTS+2*, RESULTS+4, RESULTS+5, RESULTS+10, RESULTS+15, RESULTS+17, RESULTS+31, RESULTS+33, RESULTS+34 |
ORPKG | RESULTS+1~, RESULTS+2*, RESULTS+3, RESULTS+14, RESULTS+30, RESULTS+32 |
ROLE | USER~, USER+3 |
RSLT | ORX+70~, ORX+74 |
SRV | ORDACT+1~*, ORDACT+2, ORDACT+3 |
SUB | RESULTS+16~, RESULTS+17*, RESULTS+18, RESULTS+21, RESULTS+26, RESULTS+28, RESULTS+29 |
T | RESULTS+16~, RESULTS+20*, TM+1~*, TM+2 |
U | ORX+22, ORX+25, ORX+26, ORX+27, ORX+28, ORX+29, ORX+30, ORX+35, ORX+43, ORX+44 , ORX+45, ORX+78, ORX+79, ORX+80, ORX+82, ORX+85, ORX+86, ORX+87, ORX+88, ORX+89 , ORX+95, ORX+96, ORX+97, ORX+98, ORX+99, ORX+100, RESULTS+7, ORDACT+3 |
X | ORX+11~, ORX+20*, ORX+23, ORX+49*, ORX+50, ORX+51, ORX+57*, ORX+58*, RESULTS+4~, RESULTS+6* , RESULTS+7, RESULTS+8, RESULTS+12*, RESULTS+13, NTX1+1~, NTX1+5*, NTX1+6*, NTX1+7, NTX1+8, NTX1+9 , TM~, TM+1 |
X0 | ORX+11~, ORX+14*, ORX+20, ORX+25, ORX+26, ORX+27, ORX+28, ORX+29, ORX+30 |
X8 | ORX+11~ |
Y | TM+1~, TM+2*, TM+3*, TM+4 |