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 |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: ORWPCE

Package: Order Entry Results Reporting

Routine: ORWPCE


Information

ORWPCE ; SLC/JM/REV - wrap calls to PCE and AICS ;09/18/14 12:36

Source Information

Source file <ORWPCE.m>

Call Graph

Call Graph

Call Graph Total: 18

Package Total Call Graph
Lexicon Utility 3 LOOK^LEXA  CONFIG^LEXSET  ($$CPCONE,$$CPTONE,$$IMPDATE,$$ONE,IMPDATE)^LEXU  
PCE Patient Care Encounter 3 ($$GETENC,$$VST2APPT)^PXAPI  $$SVC^PXKCO  SCCOND^PXUTLSCC  
CPT HCPCS Codes 2 $$CODM^ICPTCOD  $$MOD^ICPTMOD  
Kernel 2 ^%ZTLOAD  $$RES^XUDHSET  
Order Entry Results Reporting 2 $$CLINUSER^ORQQPL1  (DQDEL,DQSAVE)^ORWPCE1  
Text Integration Utility 2 DOCCNT^TIUSRVLV  $$VSTRBLD^TIUSRVP  
Automated Information Collection System 1 GETLST^IBDF18A  
DRG Grouper 1 ($$CODEBA,$$VLTD)^ICDEX  
Problem List 1 DSELECT^GMPLENFM  
Registration 1 ELIG^VADPT  

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: 26

Package Total Caller Graph
Order Entry Results Reporting 26 ORQQVI  ORWPCE ACTPROB  ORWPCE CPTMODS  ORWPCE CPTREQD  ORWPCE DELETE  ORWPCE DIAG  ORWPCE GETMOD  ORWPCE GETSVC  
ORWPCE HASVISIT  ORWPCE HF  ORWPCE I10IMPDT  ORWPCE ICDVER  ORWPCE IMM  ORWPCE LEX  ORWPCE LEXCODE  ORWPCE NOTEVSTR  
ORWPCE PED  ORWPCE PROC  ORWPCE SAVE  ORWPCE SCDIS  ORWPCE SCSEL  ORWPCE SK  ORWPCE TRT  ORWPCE VISIT  
ORWPCE XAM  ORWPCE3  

Entry Points

Name Comments DBIA/ICR reference
VISIT(LST,CLINIC,ORDATE) ; get list of visit types for clinic
PROC(LST,CLINIC,ORDATE) ; get list of procedures for clinic P12 for CPTMods
CPTMODS(LST,ORCPTCOD,ORDATE) ;Return CPT Modifiers for a CPT Code
GETMOD(MODINFO,ORMODIEN,ORDATE) ;Returns info for a specific CPT Modifier
DIAG(LST,CLINIC,ORDATE) ; get list of diagnoses for clinic
IMM(LST,CLINIC) ;get list of immunizations for clinic
SK(LST,CLINIC) ;get list of skin test for clinic
HF(LST,CLINIC) ;get list of health factors for clinic
PED(LST,CLINIC) ;get list of education topices for clinic
TRT(LST,CLINIC) ;get list of treatments for clinic
XAM(LST,CLINIC) ;get list of exams for clinic
ACTPROB(GLST,DFN,ORDATE) ;get list of patient's active problems
SCSEL(VAL,DFN,ATM,LOC,VST) ; return SC conditions that may be selected
; VAL=SCallow^SCdflt;AOallow^AOdflt;IRallow^IRdflt;ECallow^ECdflt;
; MSTallow^MSTdflt;HNCallow^HNCdflt;CVAllow^CVDflt;SHADAllow^SHADDflt
SCDIS(LST,DFN) ; Return service connected % and rated disabilities
CPTREQD(VAL,IEN) ; return 1 in VAL if note still needs a CPT code
NOTEVSTR(VAL,IEN) ; return the VSTR^AUTHOR for a note
HASVISIT(ORY,IEN,DFN,ORLOC,ORDTE) ;Has visit or is stand alone
DELETE(VAL,VSTR,DFN) ; delete PCE info when deleting a note
SAVE(OK,PCELIST,NOTEIEN,ORLOC) ; save PCE information
LEX(LST,X,APP,ORDATE) ; return list after lexicon lookup
LEXX
LEXCODE(VAL,IEN,APP,ORDATE)
ADDRES ; Add the ORW/PXAPI RESOURCE device
GETSVC(NEWSVC,SVC,LOC,INP) ; Returns the correct Service Connected Category
ICDVER(RESULT,ORDT) ; Get ICD codeset version (i.e., ICD-9-CM or ICD-10-CM)
ICDVERX
I10IMPDT(RESULT) ; Get ICD-10 Implementation Date
I10IMPX

External References

Name Field # of Occurrence
^%ZTLOAD DELETE+12, SAVE+11
DSELECT^GMPLENFM ACTPROB+5
GETLST^IBDF18A VISIT+2, PROC+2, DIAG+3, IMM+1, SK+1, HF+1, PED+1, TRT+1, XAM+1
$$CODEBA^ICDEX DIAG+5
$$VLTD^ICDEX DIAG+5
$$CODM^ICPTCOD CPTMODS+3
$$MOD^ICPTMOD GETMOD+3
LOOK^LEXA LEX+12
CONFIG^LEXSET LEX+6
$$CPCONE^LEXU LEXCODE+5
$$CPTONE^LEXU LEXCODE+4
$$IMPDATE^LEXU ACTPROB+4, LEX+2, ICDVER+4, I10IMPDT+3
$$ONE^LEXU LEXCODE+3
IMPDATE^LEXU ICDVER+3, I10IMPDT+2
$$CLINUSER^ORQQPL1 SAVE+5
DQDEL^ORWPCE1 DELETE+12
DQSAVE^ORWPCE1 SAVE+11
$$GETENC^PXAPI HASVISIT+4, DELETE+4
$$VST2APPT^PXAPI HASVISIT+5
$$SVC^PXKCO GETSVC+5
SCCOND^PXUTLSCC SCSEL+4
DOCCNT^TIUSRVLV DELETE+6, DELETE+7
$$VSTRBLD^TIUSRVP NOTEVSTR+3
ELIG^VADPT SCDIS+2
$$RES^XUDHSET ADDRES+2

Used in RPC

RPC Name Call Tags
ORWPCE DIAG DIAG
ORWPCE PROC PROC
ORWPCE VISIT VISIT
ORWPCE SCDIS SCDIS
ORWPCE SCSEL SCSEL
ORWPCE SAVE SAVE
ORWPCE CPTREQD CPTREQD
ORWPCE NOTEVSTR NOTEVSTR
ORWPCE DELETE DELETE
ORWPCE LEX LEX
ORWPCE LEXCODE LEXCODE
ORWPCE IMM IMM
ORWPCE SK SK
ORWPCE PED PED
ORWPCE HF HF
ORWPCE TRT TRT
ORWPCE XAM XAM
ORWPCE ACTPROB ACTPROB
ORWPCE HASVISIT HASVISIT
ORWPCE CPTMODS CPTMODS
ORWPCE GETMOD GETMOD
ORWPCE GETSVC GETSVC
ORWPCE ICDVER ICDVER
ORWPCE I10IMPDT I10IMPDT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(391 - [#391] SCDIS+4
^DIC(31 - [#31] SCDIS+6
^DPT - [#2] SCDIS+5
^SC - [#44] GETSVC+2
^TIU(8925 - [#8925] CPTREQD+1, NOTEVSTR+2, HASVISIT+3
^TMP("IB" ACTPROB+2!, ACTPROB+8, ACTPROB+9!, ACTPROB+10, ACTPROB+16*, ACTPROB+17!, ACTPROB+18*, ACTPROB+19
^TMP("LEXFND" LEX+17, LEX+18, LEX+19, LEXX!
^TMP("LEXHIT" LEXX!
^TMP("LEXLE" LEXX!
^TMP("LEXSCH" LEX+9*, LEX+11*, LEXX!
^TMP("ORWPCE" DELETE+4, SAVE+3!, SAVE+4*

Label References

Name Line Occurrences
I10IMPX I10IMPDT+2
ICDVERX ICDVER+3
LEXX LEX+13

Naked Globals

Name Field # of Occurrence
^( SCDIS+5
^(12 NOTEVSTR+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APP LEX~, LEX+3*, LEX+5*, LEX+6, LEX+7, LEX+12, LEX+14, LEXCODE~, LEXCODE+3, LEXCODE+4
, LEXCODE+5
ATM SCSEL~, SCSEL+4
CLINIC VISIT~, VISIT+2, PROC~, PROC+2, DIAG~, DIAG+3, IMM~, IMM+1, SK~, SK+1
, HF~, HF+1, PED~, PED+1, TRT~, TRT+1, XAM~, XAM+1
CODES PROC+3~, PROC+6*, PROC+9*, PROC+10*, PROC+12
DFN ACTPROB~, SCSEL~, SCSEL+4, SCDIS~, SCDIS+5, HASVISIT~, HASVISIT+4, DELETE~, DELETE+4, DELETE+7
DIAGINC ACTPROB+1~
DIS SCDIS+1~, SCDIS+6*, SCDIS+8
DSS GETSVC+1~, GETSVC+2*, GETSVC+3, GETSVC+5
DT VISIT+1, PROC+1, CPTMODS+2, GETMOD+2, DIAG+2, DIAG+5, ACTPROB+3, LEX+4, LEXCODE+2, ICDVER+1
DUZ SAVE+5
FIRST PROC+3~, PROC+6*, PROC+8*, PROC+12
GLST ACTPROB~, ACTPROB+19*
GMPINDT ACTPROB+1~, ACTPROB+4*
GMPLUSER SAVE+1~, SAVE+5*
I SCDIS+1~, SCDIS+5*, LEX+1~, LEX+16*, LEX+17*, LEX+18, LEX+19
IDX PROC+3~*, PROC+4*, PROC+5, PROC+7, PROC+10, PROC+11, PROC+12
IEN CPTREQD~, CPTREQD+1, NOTEVSTR~, NOTEVSTR+2, HASVISIT~, HASVISIT+3, LEX+1~, LEX+16*, LEX+18*, LEX+19
, LEXCODE~, LEXCODE+3, LEXCODE+4, LEXCODE+5
ILST SCDIS+1~, SCDIS+5*, SCDIS+8*, SCDIS+9, LEX+1~, LEX+15*, LEX+19*
INP GETSVC~, GETSVC+5
LEX LEX+1~
LEX("LIST" LEX+13, LEX+15
LOC SCSEL~, SCSEL+4, GETSVC~, GETSVC+2, GETSVC+5
LST VISIT~, PROC~, CPTMODS~, DIAG~, IMM~, SK~, HF~, PED~, TRT~, XAM~
, SCDIS~, LEX~
LST( PROC+4, PROC+5!, PROC+7, PROC+10, PROC+11!, PROC+12*, CPTMODS+7*, DIAG+4, DIAG+5*, SCDIS+8*
, LEX+19*
LST(1 SCDIS+3*, LEX+14*, LEX+15*
LST(2 SCDIS+4*, SCDIS+9*
MOD PROC+3~, PROC+6*, PROC+7*, PROC+10
MODINFO GETMOD~, GETMOD+4*
MODNAME CPTMODS+1~, CPTMODS+6*, CPTMODS+7
NEWSVC GETSVC~, GETSVC+5*
NOTEIEN SAVE~, SAVE+5*
OK SAVE~
ORCOD ACTPROB+1~
ORCODSYS ACTPROB+1~
ORCOUNT DELETE+1~, DELETE+7, DELETE+8
ORCPTCOD CPTMODS~, CPTMODS+3
ORDATA GETMOD+1~, GETMOD+3*, GETMOD+4, ACTPROB+1~
ORDATE VISIT~, VISIT+1*, VISIT+2, PROC~, PROC+1*, PROC+2, CPTMODS~, CPTMODS+2*, CPTMODS+3, GETMOD~
, GETMOD+2*, GETMOD+3, DIAG~, DIAG+2*, DIAG+3, ACTPROB~, ACTPROB+3*, ACTPROB+4, ACTPROB+9, LEX~
, LEX+4*, LEX+5, LEX+6, LEX+12, LEXCODE~, LEXCODE+2*, LEXCODE+3, LEXCODE+4, LEXCODE+5
ORDT ACTPROB+1~, ICDVER~, ICDVER+1*, ICDVER+4
ORDTE HASVISIT~, HASVISIT+4, DELETE+1~, DELETE+3*, DELETE+4
ORI CPTMODS+1~, CPTMODS+4*, CPTMODS+6*, CPTMODS+7, DIAG+1~*, DIAG+4*, DIAG+5
ORIDX CPTMODS+1~, CPTMODS+4*, CPTMODS+5*, CPTMODS+6, CPTMODS+7
ORIMPDT ACTPROB+1~, ACTPROB+4*, ACTPROB+9, LEX+1~, LEX+2*, LEX+5
ORLOC HASVISIT~, HASVISIT+4, DELETE+1~, DELETE+3*, DELETE+4, SAVE~
ORM CPTMODS+1~, CPTMODS+3
ORM( CPTMODS+5, CPTMODS+6, CPTMODS+7
ORMODIEN GETMOD~, GETMOD+3, GETMOD+4
ORPRCNT ACTPROB+1~, ACTPROB+6*, ACTPROB+15*, ACTPROB+18
ORPROB ACTPROB+1~, ACTPROB+10*, ACTPROB+11*, ACTPROB+12*, ACTPROB+13, ACTPROB+14, ACTPROB+16
ORPROB( ACTPROB+13, ACTPROB+14*
ORPROBIX ACTPROB+1~, ACTPROB+7*, ACTPROB+8*, ACTPROB+9, ACTPROB+10, ACTPROB+16, ACTPROB+17
ORTRY ACTPROB+1~
ORTXT ACTPROB+1~
ORTXT1 ACTPROB+1~
ORVISIT HASVISIT+1~, HASVISIT+3*, HASVISIT+4*, HASVISIT+5
ORWSVC GETSVC+1~, GETSVC+4*, GETSVC+5
ORX SCSEL+3~, SCSEL+4
ORX("AO" SCSEL+5
ORX("CV" SCSEL+5
ORX("EC" SCSEL+5
ORX("HNC" SCSEL+5
ORX("IR" SCSEL+5
ORX("MST" SCSEL+5
ORX("SC" SCSEL+5
ORX("SHAD" SCSEL+5
ORY HASVISIT~, HASVISIT+2*, HASVISIT+5*
PCELIST SAVE~, SAVE+4
PCELIST(1 SAVE+3
QTLTXT ACTPROB+1~
RESULT ICDVER~, ICDVER+2*, ICDVER+4*, I10IMPDT~, I10IMPDT+1*, I10IMPDT+3*
S SCSEL+3~*, SCSEL+5
SC SCDIS+1~, SCDIS+7*, SCDIS+8
SCD ACTPROB+1~
SVC GETSVC~, GETSVC+4
U PROC+12, CPTMODS+6, CPTMODS+7, GETMOD+4, DIAG+5, ACTPROB+11, SCDIS+3, SCDIS+4, SCDIS+6, SCDIS+7
, SCDIS+8, CPTREQD+1, NOTEVSTR+2, NOTEVSTR+4, HASVISIT+3, SAVE+3, LEX+19, LEXCODE+3, LEXCODE+4, LEXCODE+5
, GETSVC+2
VAEL SCDIS+1~
VAEL(3 SCDIS+3
VAEL(4 SCDIS+4
VAEL(6 SCDIS+4
VAERR SCDIS+1~
VAL SCSEL~, SCSEL+5*, CPTREQD~, CPTREQD+1*, NOTEVSTR~, NOTEVSTR+3*, NOTEVSTR+4*, DELETE~, DELETE+4*, DELETE+5*
, DELETE+6*, DELETE+8*, LEXCODE~, LEXCODE+1*, LEXCODE+3*, LEXCODE+4*, LEXCODE+5*
VISIT NOTEVSTR+1~, NOTEVSTR+2*, NOTEVSTR+3, DELETE+1~
VST SCSEL~, SCSEL+4
VSTR DELETE~, DELETE+3, DELETE+4, DELETE+5, DELETE+7, DELETE+11, SAVE+1~, SAVE+3*, SAVE+4, SAVE+9
X SCDIS+1~, SCDIS+5*, SCDIS+6, SCDIS+7, SCDIS+8, LEX~, LEX+12, ADDRES+1~, ADDRES+2*
X0 NOTEVSTR+1~, NOTEVSTR+2*, NOTEVSTR+4
X12 NOTEVSTR+1~, NOTEVSTR+2*, NOTEVSTR+4
ZTDESC DELETE+2~, DELETE+10*, SAVE+2~, SAVE+7*
ZTDTH DELETE+2~, DELETE+9*, SAVE+2~, SAVE+6*
ZTIO DELETE+2~, DELETE+9*, SAVE+2~, SAVE+6*
ZTRTN DELETE+2~, DELETE+9*, SAVE+2~, SAVE+6*
ZTSAVE DELETE+2~, SAVE+2~
ZTSAVE("DFN" DELETE+10*
ZTSAVE("DUZ" SAVE+8*
ZTSAVE("GMPLUSER" SAVE+8*
ZTSAVE("NOTEIEN" SAVE+8*
ZTSAVE("ORLOC" SAVE+10*
ZTSAVE("PCELIST(" SAVE+7*
ZTSAVE("VSTR" DELETE+10*
ZTSK DELETE+2~, DELETE+12, SAVE+2~, SAVE+11
ZTSYNC DELETE+2~, DELETE+11*, SAVE+2~, SAVE+9*

Marked Items

Name Field # of Occurrence
$T(DOCCNT^TIUSRVLV DELETE+6
$T(IMPDATE^LEXU ICDVER+3, I10IMPDT+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All