ORQQAL ;SLC/CLA,JFR - FUNCTIONS THAT RETURN PATIENT ADVERSE REACTION DATA ;Oct 14, 2020@10:37:30
Source file <ORQQAL.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 |
---|---|---|
Order Entry Results Reporting | 4 | ORQQAL DETAIL ORQQAL LIST ORQQAL LIST REPORT ORVCODATA01 |
Shift Handoff Tool | 1 | CRHDUT |
Name | Comments | DBIA/ICR reference |
---|---|---|
LIST(ORAY,ORPT) | ; RETURN PATIENT'S ALLERGY/ADVERSE REACTION INFO:
; null:no allergy assessment, 0:no known allergies, 1:pt has allergies ; if 1 also get: allergen/reactant^reaction/symptom^severity^allergy ien |
|
SIGNS | ||
LRPT(ORAY,ORPT) | ; RETURN PT'S ALLERGY/ADVERSE REACTION INFO IN REPORT FORMAT:
; null:no allergy assessment, 0:no known allergies, 1:pt has allergies ; if 1 also get: allergen/reactant^reaction/symptom^severity^allergy ien |
|
DETAIL(ORAY,DFN,ALLR,ID) | ; RETURN DETAILED ALLERGY INFO FOR SPECIFIED ALLERGIC REACTION:
|
|
SYMP | ||
CLAS | ||
OBS | ||
HIST | ;Historical Severity and dates
|
|
COM |
RPC Name | Call Tags |
---|---|
ORQQAL LIST | LIST |
ORQQAL DETAIL | DETAIL |
ORQQAL LIST REPORT | LRPT |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ALLR | DETAIL~, DETAIL+1 |
CR | LRPT+3~, LRPT+4*, DETAIL+2~* |
DFN | DETAIL~ |
GMRA | LIST+3~ |
GMRACT | DETAIL+3, DETAIL+4, DETAIL+8, DETAIL+9, DETAIL+12, DETAIL+13, DETAIL+15! |
GMRACT("C" | DETAIL+14, COM+1, COM+3, COM+4, COM+5, COM+6 |
GMRACT("H" | DETAIL+11, HIST+2, HIST+3 |
GMRACT("O" | DETAIL+10, OBS, OBS+2, OBS+3, OBS+5, OBS+6 |
GMRACT("S" | DETAIL+6, SYMP, SYMP+1, SYMP+2 |
GMRACT("V" | DETAIL+7, CLAS, CLAS+1, CLAS+2 |
GMRAIDT | LRPT+3~, LRPT+5* |
GMRARXN | LIST+3~, LIST+6, LIST+7, LIST+8, LRPT+7, LRPT+8, LRPT+9, LRPT+19! |
GMRARXN( | LIST+8, SIGNS, SIGNS+1, SIGNS+2, LRPT+9, LRPT+10, LRPT+11, LRPT+12, LRPT+13, LRPT+14 , LRPT+15 |
I | LIST+3~, LIST+4*, LIST+6, LIST+7, LIST+8*, SIGNS+1, SIGNS+2, LRPT+3~, LRPT+5*, LRPT+7 , LRPT+8, LRPT+11*, LRPT+13, LRPT+14, LRPT+15, LRPT+16*, LRPT+17*, DETAIL+2*, DETAIL+3*, DETAIL+4* , DETAIL+5*, DETAIL+8*, DETAIL+9*, DETAIL+12*, DETAIL+13*, SYMP+1*, SYMP+2*, SYMP+4*, CLAS+1*, CLAS+2* , CLAS+4*, OBS+3*, OBS+6*, OBS+8*, HIST+3*, HIST+4*, COM*, COM+2*, COM+4*, COM+6* , COM+8* |
ID | DETAIL~ |
J | LIST+3~, LIST+4*, LIST+8*, SIGNS, SIGNS+1, SIGNS+2, LRPT+3~, LRPT+5*, LRPT+9*, LRPT+10 , LRPT+11, LRPT+12, LRPT+13, LRPT+14, LRPT+15 |
K | LIST+3~, LIST+4*, SIGNS*, SIGNS+1, SIGNS+2, LRPT+3~, LRPT+5*, LRPT+12*, LRPT+13, LRPT+14 , LRPT+15, SYMP*, SYMP+1, SYMP+2, SYMP+5!, CLAS*, CLAS+1, CLAS+2, CLAS+5!, OBS* , OBS+2, OBS+3, OBS+5, OBS+6, OBS+9!, COM*, COM+1*, COM+3, COM+4, COM+5 , COM+6, COM+9! |
L | COM+5*, COM+6, COM+9! |
N | SIGNS*, SIGNS+1, SIGNS+3*, LRPT+12*, LRPT+13, LRPT+16*, SYMP*, SYMP+1, SYMP+3*, SYMP+5! , CLAS*, CLAS+1, CLAS+3*, CLAS+5!, OBS*, OBS+1, OBS+7*, OBS+9!, COM*, COM+2 , COM+7*, COM+9! |
OH | DETAIL+2~ |
ORAY | LIST~, LRPT~, DETAIL~ |
ORAY( | LIST+6*, LIST+7*, LIST+8*, SIGNS+1*, SIGNS+2*, LRPT+7*, LRPT+8*, LRPT+11*, LRPT+13*, LRPT+14* , LRPT+15*, LRPT+17*, DETAIL+3*, DETAIL+4*, DETAIL+5*, DETAIL+8*, DETAIL+9*, DETAIL+12*, DETAIL+13*, SYMP+1* , SYMP+2*, SYMP+4*, CLAS+1*, CLAS+2*, CLAS+4*, OBS+3*, OBS+6*, OBS+8*, HIST+3*, HIST+4* , COM*, COM+2*, COM+4*, COM+6*, COM+8* |
ORAY(1 | LIST+9*, LRPT+18* |
ORPT | LIST~, LIST+5, LRPT~, LRPT+6 |
OX | DETAIL+2~ |
SEVER | LRPT+3~, LRPT+5*, LRPT+10*, LRPT+11 |
U | LRPT+10, LRPT+11, DETAIL+3, DETAIL+4, DETAIL+8, DETAIL+9, DETAIL+12, DETAIL+13, CLAS+1, CLAS+2 , OBS+2, OBS+3, OBS+5, OBS+6, HIST+2, HIST+3, COM+3, COM+4 |
Y | OBS+2*, OBS+3, OBS+5*, OBS+6, OBS+9!, HIST+1~, HIST+2*, HIST+3, COM+3*, COM+4 , COM+9! |