ORWPCE4 ;SLC/JM/REV - wrap calls to PCE and AICS ;May 26, 2022@12:27:43
Source file <ORWPCE4.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 | 3 | ORWLEX ORWPCE4 LEX ORWPCE4 STDCODES |
Name | Comments | DBIA/ICR reference |
---|---|---|
LEX(LST,X,APP,ORDATE,ORXTND,ORINCSYN) | ; return list after lexicon lookup IA#6441
; Call with: X (Required) The search text entered by the user ; APP (Required) The Lexicon APP parameter (e.g., "GMPX" ; for Problem List Subset, "10D" for ICD-10-CM, etc. ; [ORDATE] (Optional) the date of interest (Defaults to TODAY - should ; be passed as DATE OF SERVICE if not TODAY) ; [ORXTND] (Optional) Boolean flag specifying whether or not to ; use an extended search (Initial search is PL Subset ; of SCT, extended search is ICD (or 10D after impl.) ; (Defaults to 0 (FALSE)) ; [ORINCSYN] (Optional) Boolean flag specifying whether or not to ; include synonyms for SNOMED CT Concepts ; (Defaults to 0 (FALSE)) |
|
SRCH(LST,X,APP,SUBSET,ORDATE,ORINCSYN) | ; call LOOK^LEXA to execute the search
|
|
LEXXFRM(ORX,ORDATE,ORAPP) | ; Transform text for SCT look-up
|
|
SYNONYMS(LST,ILST,ORCSYS,ORCCODE,ORDT) | ; Get synonyms for expression
|
|
SETELEM(ORLEX,ORTXT,ORCODSYS,ORCCODE,ORDATE,ORDCODE) | ; Set List Element
|
|
STDCODES(LST,X,APP,ORDATE) | ; Standard Codes search
|
Name | Field # of Occurrence |
---|---|
$$TAX^LEX10CS | STDCODES+3 |
LOOK^LEXA | SRCH+2 |
CONFIG^LEXSET | LEX+27 |
$$GETSYN^LEXTRAN1 | SETELEM+9 |
GETSYN^LEXTRAN1 | SYNONYMS+2 |
$$IMPDATE^LEXU | LEX+19, SETELEM+3 |
$$ONE^LEXU | LEXXFRM+6, LEXXFRM+10 |
$$GETDX^ORQQPL1 | SETELEM+7 |
$$STRIP^XLFSTR | LEXXFRM+3 |
$$TRIM^XLFSTR | LEXXFRM+8 |
$$UP^XLFSTR | LEX+34 |
RPC Name | Call Tags |
---|---|
ORWPCE4 LEX | LEX |
ORWPCE4 STDCODES | STDCODES |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP( | STDCODES+2!, STDCODES+5, STDCODES+6, STDCODES+7, STDCODES+8, STDCODES+13! |
^TMP("LEXFND" | LEX+37!, SRCH+13, SRCH+14, SRCH+15 |
^TMP("LEXHIT" | LEX+37! |
^TMP("LEXLE" | LEX+37! |
^TMP("LEXSCH" | LEX+30*, LEX+32*, LEX+37! |
Name | Line Occurrences |
---|---|
$$LEXXFRM | SRCH+6, SRCH+17, STDCODES+9 |
$$SETELEM | LEXXFRM+11, SYNONYMS+6 |
SRCH | LEX+36 |
SYNONYMS | SRCH+11, SRCH+21 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APP | LEX~, LEX+20*, LEX+21*, LEX+24*, LEX+25, LEX+27, LEX+28, LEX+36, SRCH~, SRCH+2 , SRCH+4, SRCH+6, SRCH+7, SRCH+8, SRCH+11, SRCH+17, SRCH+18, SRCH+19, SRCH+21, SRCH+22 , STDCODES~, STDCODES+3, STDCODES+4, STDCODES+9, STDCODES+10, STDCODES+12 |
CNT | STDCODES+1~, STDCODES+3*, STDCODES+4 |
DIC | LEX+17~ |
DT | LEX+22, SYNONYMS+1 |
ELEMENT | SRCH+15~, SRCH+16*, SRCH+17*, SRCH+18, SRCH+19, SRCH+20, SYNONYMS+4~, SYNONYMS+6*, SYNONYMS+7, STDCODES+1~ , STDCODES+9*, STDCODES+10, STDCODES+11 |
FILTER | LEX+17~, LEX+18* |
I | LEX+17~, SRCH+1~, SRCH+12*, SRCH+13*, SRCH+14, SRCH+15, STDCODES+1~, STDCODES+5*, STDCODES+6, STDCODES+7 , STDCODES+8 |
IEN | LEX+17~, SRCH+1~, SRCH+12*, SRCH+14*, SRCH+15, SRCH+16, SYNONYMS+4~, SYNONYMS+5*, SYNONYMS+6 |
ILST | LEX+17~, SRCH+1~, SRCH+5*, SRCH+9*, SRCH+10*, SRCH+11, SRCH+20*, SRCH+21, SYNONYMS~, SYNONYMS+1 , SYNONYMS+7*, STDCODES+1~, STDCODES+2*, STDCODES+11* |
IMPLDT | LEX+17~, LEX+19*, LEX+24, LEX+25 |
J | STDCODES+1~, STDCODES+6*, STDCODES+7, STDCODES+8 |
LEX | LEX+17~, SRCH+1~ |
LEX("LIST" | SRCH+3, SRCH+6*, SRCH+7, SRCH+8, SRCH+9, SRCH+10 |
LST | LEX~, LEX+36, SRCH~, SRCH+11, SRCH+21, SYNONYMS~, STDCODES~ |
LST( | SRCH+20*, SRCH+21, SYNONYMS+7*, STDCODES+11* |
LST(1 | SRCH+4*, SRCH+9*, SRCH+10*, SRCH+11, SRCH+22*, STDCODES+4*, STDCODES+12* |
N0 | STDCODES+1~, STDCODES+8*, STDCODES+9 |
N1 | STDCODES+1~, STDCODES+7*, STDCODES+9 |
NODE | STDCODES+1~, STDCODES+2*, STDCODES+3, STDCODES+5, STDCODES+6, STDCODES+7, STDCODES+8, STDCODES+13 |
ORAPP | LEXXFRM~, LEXXFRM+9 |
ORCCODE | LEXXFRM+1~, LEXXFRM+2*, LEXXFRM+6*, LEXXFRM+10*, LEXXFRM+11, SYNONYMS~, SYNONYMS+2, SYNONYMS+6, SETELEM~, SETELEM+4 , SETELEM+7, SETELEM+9 |
ORCODSYS | LEXXFRM+1~, LEXXFRM+2*, LEXXFRM+5*, LEXXFRM+6, LEXXFRM+7*, LEXXFRM+10*, LEXXFRM+11, SETELEM~, SETELEM+4, SETELEM+5 , SETELEM+7 |
ORCSYS | SYNONYMS~, SYNONYMS+2 |
ORDAD | SYNONYMS+1~*, SYNONYMS+6 |
ORDATE | LEX~, LEX+22*, LEX+24, LEX+25, LEX+27, LEX+36, SRCH~, SRCH+2, SRCH+6, SRCH+11 , SRCH+17, SRCH+21, LEXXFRM~, LEXXFRM+6, LEXXFRM+10, LEXXFRM+11, SETELEM~, SETELEM+6, SETELEM+7, SETELEM+9 , STDCODES~, STDCODES+3, STDCODES+9 |
ORDCODE | LEXXFRM+1~, SYNONYMS+4~, SYNONYMS+5*, SYNONYMS+6, SETELEM~, SETELEM+8, SETELEM+9*, SETELEM+10*, SETELEM+13*, SETELEM+15* , SETELEM+16*, SETELEM+18 |
ORDT | SYNONYMS~, SYNONYMS+1*, SYNONYMS+2, SYNONYMS+6 |
ORFULLNAME | SETELEM+2~ |
ORI | SYNONYMS+1~, SYNONYMS+3*, SYNONYMS+5 |
ORICD | LEXXFRM+1~, SETELEM+2~, SETELEM+6*, SETELEM+7*, SETELEM+18 |
ORIMPDT | SETELEM+2~, SETELEM+3*, SETELEM+6 |
ORINCSYN | LEX~, LEX+23*, LEX+36, SRCH~, SRCH+11, SRCH+21 |
ORLEX | LEXXFRM+1~, LEXXFRM+2*, LEXXFRM+6, LEXXFRM+10, LEXXFRM+11, SETELEM~, SETELEM+4 |
ORNUM | SETELEM+2~, SETELEM+3*, SETELEM+14*, SETELEM+15 |
ORQT | SETELEM+2~, SETELEM+3*, SETELEM+12, SETELEM+13*, SETELEM+14, SETELEM+15* |
ORSCT | LEXXFRM+1~ |
ORSYN | SYNONYMS+1~, SETELEM+2~ |
ORSYN( | SETELEM+12, SETELEM+13, SETELEM+14, SETELEM+15 |
ORSYN("S" | SYNONYMS+3, SYNONYMS+5 |
ORTXT | LEXXFRM+1~, LEXXFRM+2*, LEXXFRM+3*, LEXXFRM+4, LEXXFRM+5, LEXXFRM+6, LEXXFRM+8*, LEXXFRM+11, SETELEM~, SETELEM+4 , SETELEM+13, SETELEM+15 |
ORTYP | SETELEM+2~, SETELEM+3*, SETELEM+12*, SETELEM+13, SETELEM+14, SETELEM+15 |
ORX | LEXXFRM~, LEXXFRM+2 |
ORXTND | LEX~, LEX+21 |
ORY | LEXXFRM+1~, LEXXFRM+11*, LEXXFRM+12, SETELEM+2~, SETELEM+4*, SETELEM+6*, SETELEM+18*, SETELEM+19*, SETELEM+20 |
SUBSET | LEX+17~, LEX+25*, LEX+27, LEX+36, SRCH~, SRCH+2 |
TXT | SRCH+15~*, SRCH+16, SYNONYMS+4~, SYNONYMS+5*, SYNONYMS+6 |
U | SRCH+7, SRCH+8, SRCH+11, SRCH+16, SRCH+17, SRCH+18, SRCH+19, SRCH+21, LEXXFRM+2, SYNONYMS+5 , SYNONYMS+6, SETELEM+4, SETELEM+6, SETELEM+10, SETELEM+13, SETELEM+15, SETELEM+18, SETELEM+19, STDCODES+9, STDCODES+10 |
X | LEX~, LEX+21, LEX+34*, LEX+36, SRCH~, SRCH+2, STDCODES~, STDCODES+3 |