VPRDOR ;SLC/MKB -- Orders extract ;8/2/11 15:29
Source file <VPRDOR.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 3 | EN^ORQ1 GET^ORQ12 ($$OI,$$PKGID)^ORX8 |
Virtual Patient Record | 3 | ($$ESC,$$FAC,$$PROVSPC,$$PROVTAGS,$$VUID)^VPRD $$LOINC^VPRDLR $$VUID^VPRDPS |
VA FileMan | 2 | $$EXTERNAL^DILFD $$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 |
Package | Total | Caller Graph |
---|---|---|
Virtual Patient Record | 1 | VPRDJ01 |
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,VPRN) |
|
ENA | ; order [NEW] action info
|
|
STS(X) | ; -- return VUID for status abbreviation X
|
|
XML(ORD) | ; -- Return patient data as XML in @VPR@(n)
; as <element code='123' displayName='ABC' /> |
|
LOOP() | ; -- build sub-items string from NAMES and X
|
|
ADD(X) | ; Add a line @VPR@(n)=X
|
|
LABELS(X) | ; -- return string of attribute labels for element X
|
Name | Field # of Occurrence |
---|---|
$$EXTERNAL^DILFD | ENA+4, ENA+12 |
$$GET1^DIQ | EN1+12, EN1+15 |
EN^ORQ1 | EN+18 |
GET^ORQ12 | EN+9 |
$$OI^ORX8 | EN1+5 |
$$PKGID^ORX8 | EN1+18 |
$$ESC^VPRD | XML+15, XML+17, LOOP+2 |
$$FAC^VPRD | EN1+14 |
$$PROVSPC^VPRD | ENA+3, ENA+6 |
$$PROVTAGS^VPRD | LABELS+4 |
$$VUID^VPRD | EN1+25, STS+4 |
$$LOINC^VPRDLR | EN1+23 |
$$VUID^VPRDPS | EN1+21 |
FileNo | Call Tags |
---|---|
^OR(100 - [#100] | EXTERNAL^DILFD, GET1^DIQ |
100.008 | EXTERNAL^DILFD |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | ENA+2, ENA+9 |
^ORA(102.4 - [#102.4] | ENA+15, ENA+16 |
^ORD(100.98 - [#100.98] | EN+14, EN1+16, EN1+17 |
^ORD(101.43 - [#101.43] | EN1+6 |
^SC("B" | EN1+13 |
^TMP("ORGOTIT" | EN+11! |
^TMP("ORR" | EN+19, ENQ+1!, EN1+4, EN1+10 |
^TMP("VPRTEXT" | ENQ+1!, EN1+3!, EN1+10*, EN1+11 |
^VA(200 - [#200] | ENA+3, ENA+6, ENA+11, ENA+17 |
Name | Line Occurrences |
---|---|
$$LABELS | XML+5 |
$$LOOP | XML+10, XML+18 |
$$STS | EN1+9 |
ADD | XML+3, XML+4, XML+7, XML+10, XML+11, XML+14, XML+15, XML+16, XML+19 |
EN1 | EN+10, EN+21 |
ENQ | EN+6 |
XML | EN+10, EN+22 |
Name | Field # of Occurrence |
---|---|
^( | EN+19 |
>> | 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+2*, EN+18 |
DA | EN1+2~, ENA+1*, ENA+2, ENA+15*, ENA+16, ENA+18 |
DC | ENA+9~, ENA+10*, ENA+11*, ENA+13 |
DFN | EN~, EN+1*, EN+18, EN1+23 |
END | EN~, EN+2*, EN+18 |
>> FILTER("group" | EN+14 |
>> FILTER("view" | EN+15 |
I | STS+1~, STS+3*, STS+4, XML+2~, XML+8*, XML+9, XML+15* |
IFN | EN~, EN+6, EN+8, EN+9, EN1+2~, EN1+4*, EN1+5, EN1+10, EN1+11, EN1+12 , EN1+15, EN1+18, EN1+19, EN1+21, ENA+1, ENA+2, ENA+9, ENA+15 |
LNC | EN1+23~*, EN1+24, EN1+25 |
LOC | EN1+2~, EN1+12*, EN1+13*, EN1+14 |
MAX | EN~, EN+2*, EN+19 |
NAMES | XML+2~, XML+5*, LOOP+2 |
NUM | EN1~, EN1+4 |
OI | EN1+2~, EN1+5*, EN1+6, EN1+23 |
ORACT | EN+3~, EN+16*, EN+17, EN+20 |
ORD | EN1~, EN1+3!, XML~ |
ORD( | XML+4, XML+8, XML+9, XML+12 |
ORD("acknowledgement" | ENA+18* |
ORD("codingSystem" | EN1+6*, EN1+24* |
ORD("content" | EN1+11* |
ORD("discontinued" | ENA+13* |
ORD("entered" | EN1+7* |
ORD("facility" | EN1+14* |
ORD("group" | EN1+7* |
ORD("id" | EN1+5* |
ORD("location" | EN1+13* |
ORD("name" | EN1+5* |
ORD("provider" | ENA+3* |
ORD("released" | ENA+7* |
ORD("resultID" | EN1+20* |
ORD("service" | EN1+15* |
ORD("signatureStatus" | ENA+4* |
ORD("signed" | ENA+5* |
ORD("signer" | ENA+6* |
ORD("start" | EN1+8* |
ORD("status" | EN1+9*, ENA+8 |
ORD("stop" | EN1+8* |
ORD("type" | EN1+17* |
ORD("vuid" | EN1+21*, EN1+25* |
ORDER | EN+3~, EN+19*, EN+20 |
ORDG | EN+3~, EN+14*, EN+18 |
ORFLG | EN+3~, EN+15*, EN+16, EN+18 |
ORIGVIEW | EN+3~, EN+8*, EN+17* |
ORLIST | EN+3~, EN+7*, EN+9, EN+19, EN1+4, EN1+10 |
ORLST | EN+7~* |
ORPK | EN1+2~, EN1+18*, EN1+19, EN1+23 |
P | LOOP+1~, LOOP+2* |
PKG | EN1+2~, EN1+15*, EN1+19, EN1+20, EN1+21, EN1+22 |
STR | LOOP+1~*, LOOP+2*, LOOP+3 |
STS | STS+1~, STS+2*, STS+3 |
TAG | LOOP+1~, LOOP+2* |
U | EN+16, EN+20, EN1+4, EN1+5, EN1+6, EN1+7, EN1+8, EN1+9, EN1+13, EN1+16 , EN1+17, EN1+23, ENA+2, ENA+3, ENA+4, ENA+5, ENA+6, ENA+7, ENA+10, ENA+11 , ENA+12, ENA+13, ENA+16, ENA+17, ENA+18, STS+3, LOOP+2, LABELS+4 |
>> VPR | ADD+2 |
VPRCNT | EN+3~, EN+18*, EN+19, EN+22* |
>> VPRI | ADD+1*, ADD+2 |
VPRITM | EN+3~, EN+10, EN+21!, EN+22 |
VPRN | EN+3~, EN+9*, EN+10, EN+19*, EN+21, EN1+10 |
>> VPRTOTL | XML+3* |
X | EN1+2~, EN1+12*, EN1+13, EN1+16*, EN1+17, EN1+19*, EN1+20, ENA+2*, ENA+3, ENA+5* , ENA+6, ENA+7*, ENA+10*, ENA+11, ENA+12*, ENA+13, ENA+17*, ENA+18, STS~, STS+3 , XML+2~, XML+9*, XML+12*, XML+15, XML+17, XML+18, LOOP+2, ADD~, ADD+2, LABELS~ , LABELS+2, LABELS+3, LABELS+4, LABELS+5 |
X0 | EN1+2~, EN1+4*, EN1+7, EN1+8, EN1+9, EN1+16, ENA+16*, ENA+17, ENA+18 |
X6 | ENA+9~*, ENA+10, ENA+12 |
X8 | EN1+2~, ENA+2*, ENA+4, ENA+5, ENA+7 |
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*, LABELS+1~*, LABELS+2*, LABELS+3*, LABELS+4*, LABELS+5*, LABELS+6*, LABELS+7 |