ORQ13 ;slc/dcm-Get patient orders in context ; 08 May 2002 2:12 PM
Source file <ORQ13.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
QUIT | ; -- stop
|
|
EN | ; -- Event Delayed: 24=All Delayed orders, or
; 15=Admission, 16=Discharge, 17=Transfer, 25=OR, 26=Manual ; or EVENT=ptr to Patient Event in #100.2 |
|
EVNT(EVENT) | ; -- Orders tied to EVENT in #100.2
|
|
ADD(IFN,TYPE) | ||
UNDO | ; -- un-invert dates from ORQ1
|
|
EN1 | ; -- Delayed for EVENT [and related Pt Events]
|
Name | Field # of Occurrence |
---|---|
GET^ORQ12 | ADD+9 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | EN+8, EVNT+6, EVNT+8, ADD+2, ADD+3, ADD+4, ADD+5, ADD+6 |
^ORD(100.5 - [#100.5] | EN+7 |
^ORE(100.2 - [#100.2] | EN+6, EN1+1, EN1+2, EN1+5, EVNT+2, EVNT+3, EVNT+4, EVNT+5, EVNT+6, EVNT+7 |
^TMP("ORGOTIT" | ADD+10* |
^TMP("ORR" | EN+9*, EN1+6*, ADD+11* |
Name | Line Occurrences |
---|---|
ADD | EN+8, EVNT+4, EVNT+5, EVNT+6, EVNT+7, EVNT+8 |
EN1 | EN+3 |
EVNT | EN1+3, EN1+4, EN1+5 |
UNDO | EN+3 |
Name | Field # of Occurrence |
---|---|
^( | EN+6, EVNT+3, ADD+6 |
^(3 | ADD+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CHLD | EN1+1~, EN1+4*, EN1+5* |
CURR | ADD+1~, ADD+5*, ADD+8 |
DA | ADD+1~, ADD+6*, ADD+8, ADD+9, ADD+10, ADD+11 |
DAD | EN1+1~*, EN1+2*, EN1+3, EN1+4, EN1+5 |
>> DETAIL | ADD+9 |
DONE | EVNT+1~, EVNT+2*, EVNT+8 |
>> EDATE | ADD+7, UNDO+1*, UNDO+2* |
EVENT | EN+3, EN+4~, EN+6*, EN+8, EN1+1, EN1+2, EN1+3, EVNT~, EVNT+2, EVNT+3 , EVNT+4, EVNT+5, EVNT+6, EVNT+7, EVNT+8, ADD+4, ADD+11 |
EVT | EN+4~, EN+6*, EN+7 |
>> FLG | EN+5 |
I | EVNT+1~, EVNT+3* |
IFN | EN+4~, EN+8*, EVNT+1~, EVNT+5*, EVNT+6*, EVNT+7*, EVNT+8*, ADD~, ADD+2, ADD+5 , ADD+6, ADD+9, ADD+10, ADD+11 |
ORDER | EVNT+1~, EVNT+4*, EVNT+6 |
>> ORGRP( | ADD+2 |
>> ORLIST | EN+9, EN1+6, ADD+9, ADD+11 |
>> ORLST | EN+9, EN1+6, ADD+10*, ADD+11 |
>> PAT | EN+6, EN+8, EVNT+6, EVNT+8 |
>> SDATE | ADD+7, UNDO+1*, UNDO+2* |
STS | EN+4~ |
TM | EN+4~, ADD+1~, ADD+7* |
TYPE | EN+4~, EN+5*, EN+7, ADD~, ADD+9, ADD+11 |
U | EN+7, EN1+1, EVNT+3, EVNT+4, ADD+2, ADD+3, ADD+4, ADD+5, ADD+7, ADD+8 |
X | EVNT+1~, EVNT+3*, UNDO+1~* |
X0 | EN+4~, ADD+1~, ADD+2* |
X3 | ADD+1~, ADD+2*, ADD+3, ADD+4, ADD+5 |
X8 | ADD+1~, ADD+6*, ADD+7, ADD+8 |