Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ORWPCE4

Package: Order Entry Results Reporting

Routine: ORWPCE4


Information

ORWPCE4 ;SLC/JM/REV - wrap calls to PCE and AICS ; 10/26/17 12:48pm

Source Information

Source file <ORWPCE4.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Lexicon Utility 4 LOOK^LEXA  CONFIG^LEXSET  ($$GETSYN,GETSYN)^LEXTRAN1  ($$IMPDATE,$$ONE)^LEXU  
Kernel 1 ($$STRIP,$$TRIM,$$UP)^XLFSTR  
Order Entry Results Reporting 1 $$GETDX^ORQQPL1  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Order Entry Results Reporting 2 ORWLEX  ORWPCE4 LEX  

Entry Points

Name Comments DBIA/ICR reference
LEX(LST,X,APP,ORDATE,ORXTND,ORINCSYN) ; return list after lexicon lookup
; 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))
LEXX
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

External References

Name Field # of Occurrence
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
$$GETDX^ORQQPL1 SETELEM+7
$$STRIP^XLFSTR LEXXFRM+3
$$TRIM^XLFSTR LEXXFRM+8
$$UP^XLFSTR LEX+34

Used in RPC

RPC Name Call Tags
ORWPCE4 LEX LEX

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("LEXFND" LEXX!, SRCH+13, SRCH+14, SRCH+15
^TMP("LEXHIT" LEXX!
^TMP("LEXLE" LEXX!
^TMP("LEXSCH" LEX+30*, LEX+32*, LEXX!

Label References

Name Line Occurrences
$$LEXXFRM SRCH+6, SRCH+17
$$SETELEM LEXXFRM+9, SYNONYMS+6
LEXX SRCH+3
SRCH LEX+36
SYNONYMS SRCH+11, SRCH+20

Local Variables

Legend:

>> 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+20, SRCH+21
DIC LEX+17~
DT LEX+22, SYNONYMS+1
ELEMENT SRCH+15~, SRCH+16*, SRCH+17*, SRCH+18, SRCH+19, SYNONYMS+4~, SYNONYMS+6*, SYNONYMS+7
FILTER LEX+17~, LEX+18*
I LEX+17~, SRCH+1~, SRCH+12*, SRCH+13*, SRCH+14, SRCH+15
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+19*, SRCH+20, SYNONYMS~, SYNONYMS+1
, SYNONYMS+7*
IMPLDT LEX+17~, LEX+19*, LEX+24, LEX+25
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+20, SYNONYMS~
LST( SRCH+19*, SRCH+20, SYNONYMS+7*
LST(1 SRCH+4*, SRCH+9*, SRCH+10*, SRCH+11, SRCH+21*
ORAPP LEXXFRM~
ORCCODE LEXXFRM+1~, LEXXFRM+2*, LEXXFRM+6*, LEXXFRM+9, SYNONYMS~, SYNONYMS+2, SYNONYMS+6, SETELEM~, SETELEM+4, SETELEM+7
, SETELEM+9
ORCODSYS LEXXFRM+1~, LEXXFRM+2*, LEXXFRM+5*, LEXXFRM+6, LEXXFRM+7*, LEXXFRM+9, 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+20, LEXXFRM~, LEXXFRM+6, LEXXFRM+9, SETELEM~, SETELEM+6, SETELEM+7, SETELEM+9
ORDCODE LEXXFRM+1~, SYNONYMS+4~, SYNONYMS+5*, SYNONYMS+6, SETELEM~, SETELEM+8, SETELEM+9*, SETELEM+10*, SETELEM+12*, SETELEM+14*
, SETELEM+15*, SETELEM+16
ORDT SYNONYMS~, SYNONYMS+1*, SYNONYMS+2, SYNONYMS+6
ORI SYNONYMS+1~, SYNONYMS+3*, SYNONYMS+5
ORICD LEXXFRM+1~, SETELEM+2~, SETELEM+6*, SETELEM+7*, SETELEM+16
ORIMPDT SETELEM+2~, SETELEM+3*, SETELEM+6
ORINCSYN LEX~, LEX+23*, LEX+36, SRCH~, SRCH+11, SRCH+20
ORLEX LEXXFRM+1~, LEXXFRM+2*, LEXXFRM+6, LEXXFRM+9, SETELEM~, SETELEM+4
ORNUM SETELEM+2~, SETELEM+3*, SETELEM+13*, SETELEM+14
ORQT SETELEM+2~, SETELEM+3*, SETELEM+11, SETELEM+12*, SETELEM+13, SETELEM+14*
ORSCT LEXXFRM+1~
ORSYN SYNONYMS+1~, SETELEM+2~
ORSYN( SETELEM+11, SETELEM+12, SETELEM+13, SETELEM+14
ORSYN("S" SYNONYMS+3, SYNONYMS+5
ORTXT LEXXFRM+1~, LEXXFRM+2*, LEXXFRM+3*, LEXXFRM+4, LEXXFRM+5, LEXXFRM+6, LEXXFRM+8*, LEXXFRM+9, SETELEM~, SETELEM+4
, SETELEM+12, SETELEM+14
ORTYP SETELEM+2~, SETELEM+3*, SETELEM+11*, SETELEM+12, SETELEM+13, SETELEM+14
ORX LEXXFRM~, LEXXFRM+2
ORXTND LEX~, LEX+21
ORY LEXXFRM+1~, LEXXFRM+9*, LEXXFRM+10, SETELEM+2~, SETELEM+4*, SETELEM+6*, SETELEM+16*, SETELEM+17*, SETELEM+18
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+20, LEXXFRM+2, SYNONYMS+5, SYNONYMS+6
, SETELEM+4, SETELEM+6, SETELEM+10, SETELEM+12, SETELEM+14, SETELEM+16, SETELEM+17
X LEX~, LEX+21, LEX+34*, LEX+36, SRCH~, SRCH+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All