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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: ORWPCE2

Package: Order Entry Results Reporting

Routine: ORWPCE2


Information

ORWPCE2 ; ISL/JM/RV - wrap calls to PCE ;04/06/2006

Source Information

Source file <ORWPCE2.m>

Call Graph

Call Graph Total: 19

Package Total Call Graph
Uncategorized 7 ENT^YSGAFAP1  GAFHX^YSGAFAPI  LISTONE^YTAPI  SAVEIT^YTAPI1  SHOWALL^YTAPI3  PREVIEW^YTAPI4  (GAFURL,PRIVL)^YTAPI5  
VA Fileman 3 $$FIND1^DIC  FIELD^DID  $$GET1^DIQ  
DRG Grouper 2 $$STATCHK^ICDAPIU  $$STATCHK^ICPTAPIU  
Text Integration Utility 2 $$CHKWKL^TIUPXAP2  DOCPARM^TIUSRVP1  
Clinical Reminders 1 (MH,MHR,MHS)^PXRMRPCC  
Kernel 1 $$PATCH^XPDUTL  
PCE Patient Care Encounter 1 ($$ACTIVPRV,$$GETENC)^PXAPI  
Scheduling 1 ($$MHCLIN,MHCLIN)^SDUTL2  
Toolkit 1 ($$GET,GETLST)^XPAR  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Care Management 1 ORRCTIU  
Order Entry Results Reporting 1 ORWPCE1  

Entry Points

Name Comments DBIA/ICR reference
CPTACTIV(ORCODE,ORDATE) ; Check for active CPT code
LOADGAF(ORY,ORINPUT) ; Retrieve GAF scores
EDTTYPE(ORWLST) ;get the list of active education topics
HFTYPE(ORWLST,ADDCATS) ;get the list of active health factors
GAFURL(URL) ;Returns the MH GAF Web Page URL
HASCPT(ORY,ORLIST)
ASKPCE(ORY,USER,LOC) ; Returns ORWPCE ASK ENCOUNTER UPDATE parameter value
ANYTIME(ORY) ;Returns status of the ORWPCE ANYTIME ENCOUNTERS parameter
GAFOK(ORY) ; Returns true if all supporting MH GAF Code exists
CXNOSHOW(ORY,ORDOCIEN) ; Should workload requirement be skipped for this note's visit?
; RETURN VALUE: 0=SKIP ALL GUI WORKLOAD REQUIREMENTS
; 1=CONTINUE WITH OTHER GUI WORKLOAD LOGIC
MHATHRZD(ORY,TEST,USER) ;Indicates that user can score test
TRTTYPE(ORWLST) ;get the list of active treatments
GETSET(ORWLST,ORWFILE,ORWFIELD,ORWNULL) ;gets set of codes
; ORWLST(n)=code^text for code
SAVEGAF(ORY,ORINPUT) ; Save new GAF score
IMMTYPE(ORWLST,ORDT) ;get the list of active immunizations
EXCLUDED(ORY,LOC,TYPE) ; Returns list of excluded PCE data elements
CODACTIV(ORY,ORCODE,ORAPP,ORDATE)
FORCE(ORY,USER,LOC) ; Retrieve FORCE GUI PCE Entry for a given User/Location
MHCLINIC(ORY,ORIEN)
EXAMTYPE(ORWLST) ;get the list of active exams
HNCOK(ORY) ; Returns true if Head and/or Neck Cancer is enabled
ISCLINIC(ORY,ORLOC) ; Returns TRUE if location is a clinic
DOCHKOUT(ORY,LOC) ; Returns TRUE if automatic selection of Visit Type
MHTESTOK(ORY) ; Returns True if all supporting MH Test APIs exist
CHKOUT(LOC) ; Returns TRUE if automatic selection of Visit Type
GETVISIT(VISIT,IEN,DFN,VSITSTR) ;Get the visit IEN
SKTYPE(ORWLST,ORDT) ;get the list of active skin test
AUTOVSIT(ORY,LOC) ; Returns TRUE if automatic selection of Visit Type
ICDACTIV(ORCODE,ORDATE) ; Check for active ICD code
ACTIVPRV(ORRETURN,ORWPROV,ORWDT) ;get if provider is active or not

External References

Name Field # of Occurrence
$$FIND1^DIC HASCPT+5
FIELD^DID GETSET+5
$$GET1^DIQ HASCPT+6, ISCLINIC+3
$$STATCHK^ICDAPIU CODACTIV+8
$$STATCHK^ICPTAPIU CODACTIV+10
$$ACTIVPRV^PXAPI ACTIVPRV+1
$$GETENC^PXAPI GETVISIT+2
MH^PXRMRPCC MHTESTOK+2
MHR^PXRMRPCC MHTESTOK+2
MHS^PXRMRPCC MHTESTOK+2
$$MHCLIN^SDUTL2 MHCLINIC+2
MHCLIN^SDUTL2 MHCLINIC+1
$$CHKWKL^TIUPXAP2 CXNOSHOW+5
DOCPARM^TIUSRVP1 CXNOSHOW+4
$$GET^XPAR MHTESTOK+5, ANYTIME+3, AUTOVSIT+3, DOCHKOUT+3
GETLST^XPAR FORCE+4, ASKPCE+4, EXCLUDED+6
$$PATCH^XPDUTL HNCOK+2
ENT^YSGAFAP1 GAFOK+2, SAVEGAF+2
GAFHX^YSGAFAPI GAFOK+2, LOADGAF+1
LISTONE^YTAPI MHTESTOK+2
SAVEIT^YTAPI1 MHTESTOK+2
SHOWALL^YTAPI3 MHTESTOK+2
PREVIEW^YTAPI4 MHTESTOK+2
GAFURL^YTAPI5 GAFURL+2, GAFURL+4
PRIVL^YTAPI5 MHATHRZD+2, MHATHRZD+6

Used in RPC

RPC Name Call Tags
ORWPCE GET SET OF CODES GETSET
ORWPCE GET IMMUNIZATION TYPE IMMTYPE
ORWPCE GET SKIN TEST TYPE SKTYPE
ORWPCE GET EDUCATION TOPICS EDTTYPE
ORWPCE GET HEALTH FACTORS TY HFTYPE
ORWPCE GET EXAM TYPE EXAMTYPE
ORWPCE GET TREATMENT TYPE TRTTYPE
ORWPCE ACTIVE PROV ACTIVPRV
ORWPCE GET VISIT GETVISIT
ORWPCE MHCLINIC MHCLINIC
ORWPCE GAFOK GAFOK
ORWPCE LOADGAF LOADGAF
ORWPCE SAVEGAF SAVEGAF
ORWPCE FORCE FORCE
ORWPCE HASCPT HASCPT
ORWPCE ASKPCE ASKPCE
ORWPCE GAFURL GAFURL
ORWPCE MHTESTOK MHTESTOK
ORWPCE MH TEST AUTHORIZED MHATHRZD
ORWPCE ANYTIME ANYTIME
ORWPCE AUTO VISIT TYPE SELECT AUTOVSIT
ORWPCE ALWAYS CHECKOUT DOCHKOUT
ORWPCE GET EXCLUDED EXCLUDED
ORWPCE ISCLINIC ISCLINIC
ORWPCE HNCOK HNCOK
ORWPCE ACTIVE CODE CODACTIV
ORWPCE CXNOSHOW CXNOSHOW

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SC - [#44] GET1^DIQ
^PXD(811.1 - [#811.1] FIND1^DIC,  GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUTTEDT - [#9999999.09] EDTTYPE+2
^AUTTEDT("B" EDTTYPE+2
^AUTTEXAM - [#9999999.15] EXAMTYPE+2
^AUTTEXAM("B" EXAMTYPE+2
^AUTTHF - [#9999999.64] HFTYPE+5
^AUTTHF("B" HFTYPE+3, HFTYPE+4
^AUTTIMM - [#9999999.14] IMMTYPE+4
^AUTTIMM("B" IMMTYPE+3
^AUTTSK - [#9999999.28] SKTYPE+4
^AUTTSK("B" SKTYPE+3
^AUTTTRT - [#9999999.17] TRTTYPE+2
^AUTTTRT("B" TRTTYPE+2
^TIU(8925 - [#8925] GETVISIT+3
^VA(200 - [#200] FORCE+3, ASKPCE+3, MHTESTOK+4, ANYTIME+2, AUTOVSIT+2, DOCHKOUT+2, EXCLUDED+4

Label References

Name Line Occurrences
CODACTIV ICDACTIV+1, CPTACTIV+1
DOCHKOUT CHKOUT+2
GAFOK MHTESTOK+1

Naked Globals

Name Field # of Occurrence
^( IMMTYPE+3, SKTYPE+3, EDTTYPE+2, EXAMTYPE+2, TRTTYPE+2
^(0 IMMTYPE+4, SKTYPE+4, EDTTYPE+2, EXAMTYPE+2, TRTTYPE+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADDCATS HFTYPE~, HFTYPE+2*, HFTYPE+7, HFTYPE+10
BINDEX IMMTYPE+1~*, IMMTYPE+3*, SKTYPE+1~*, SKTYPE+3*, EDTTYPE+1~*, EDTTYPE+2*, HFTYPE+1~, HFTYPE+2*, HFTYPE+3*, HFTYPE+4
, EXAMTYPE+1~*, EXAMTYPE+2*, TRTTYPE+1~*, TRTTYPE+2*
CNT IMMTYPE+1~*, IMMTYPE+4*, SKTYPE+1~*, SKTYPE+4*, EDTTYPE+1~*, EDTTYPE+2*, HFTYPE+1~, HFTYPE+2*, HFTYPE+9*, HFTYPE+10
, EXAMTYPE+1~*, EXAMTYPE+2*, TRTTYPE+1~*, TRTTYPE+2*
DFN GETVISIT~, GETVISIT+2
DT IMMTYPE+2, SKTYPE+2, CODACTIV+5
DUZ FORCE+2, ASKPCE+2, MHTESTOK+2, MHTESTOK+4, MHTESTOK+5, ANYTIME+2, ANYTIME+3, AUTOVSIT+2, AUTOVSIT+3, DOCHKOUT+2
, DOCHKOUT+3, EXCLUDED+4
FOUND HASCPT+1~, HASCPT+4*, HASCPT+6*, HASCPT+7
IDX HASCPT+1~, HASCPT+2*, HASCPT+3*, HASCPT+5, HASCPT+7
IEN IMMTYPE+1~*, IMMTYPE+3*, IMMTYPE+4, SKTYPE+1~*, SKTYPE+3*, SKTYPE+4, EDTTYPE+1~*, EDTTYPE+2*, HFTYPE+1~, HFTYPE+2*
, HFTYPE+4*, HFTYPE+5, HFTYPE+9, EXAMTYPE+1~*, EXAMTYPE+2*, TRTTYPE+1~*, TRTTYPE+2*, GETVISIT~, GETVISIT+1, GETVISIT+3
, HASCPT+1~, HASCPT+5*, HASCPT+6
LOC FORCE~, FORCE+4, ASKPCE~, ASKPCE+4, AUTOVSIT~, AUTOVSIT+3, DOCHKOUT~, DOCHKOUT+3, CHKOUT~, CHKOUT+2
, EXCLUDED~, EXCLUDED+6
ORANS MHATHRZD+1~, MHATHRZD+6
ORANS(1 MHATHRZD+7
ORANS(2 MHATHRZD+7
ORAPP CODACTIV~, CODACTIV+7, CODACTIV+9
ORCODE CODACTIV~, CODACTIV+8, CODACTIV+10, ICDACTIV~, ICDACTIV+1, CPTACTIV~, CPTACTIV+1
ORDATA SAVEGAF+1~, SAVEGAF+2
ORDATA(1 SAVEGAF+3
ORDATE CODACTIV~, CODACTIV+5*, CODACTIV+8, CODACTIV+10, ICDACTIV~, ICDACTIV+1, CPTACTIV~, CPTACTIV+1
ORDOCIEN CXNOSHOW~, CXNOSHOW+4, CXNOSHOW+5
ORDT IMMTYPE~, IMMTYPE+2*, SKTYPE~, SKTYPE+2*
ORERR FORCE+1~, FORCE+4, ASKPCE+1~, ASKPCE+4, EXCLUDED+6
ORIEN MHCLINIC~, MHCLINIC+2
ORINPUT LOADGAF~, LOADGAF+1, SAVEGAF~, SAVEGAF+2
ORLIST HASCPT~
ORLIST( HASCPT+3, HASCPT+5, HASCPT+7
ORLOC ISCLINIC~, ISCLINIC+3
ORRETURN ACTIVPRV~, ACTIVPRV+1*
ORTIU CXNOSHOW+3~, CXNOSHOW+4
ORTIU(0 CXNOSHOW+5
ORTMP FORCE+1~, FORCE+4, ASKPCE+1~, ASKPCE+4
ORTMP(1 FORCE+5, ASKPCE+5
ORTYP ISCLINIC+1~, ISCLINIC+3*, ISCLINIC+4
ORWDT ACTIVPRV~, ACTIVPRV+1
ORWFIELD GETSET~, GETSET+5
ORWFILE GETSET~, GETSET+5
ORWLST GETSET~, IMMTYPE~, SKTYPE~, EDTTYPE~, HFTYPE~, EXAMTYPE~, TRTTYPE~
ORWLST( GETSET+10*, IMMTYPE+4*, SKTYPE+4*, EDTTYPE+2*, HFTYPE+9*, HFTYPE+10*, EXAMTYPE+2*, TRTTYPE+2*
ORWLST(0 GETSET+11*
ORWNULL GETSET~, GETSET+11
ORWPCE GETSET+2~
ORWPCE("POINTER" GETSET+6, GETSET+8, GETSET+9
ORWPCEC GETSET+2~, GETSET+7*, GETSET+8, GETSET+9, GETSET+10
ORWPCECD GETSET+2~, GETSET+8*, GETSET+10
ORWPCEHI GETSET+2~, GETSET+4*, GETSET+10
ORWPCEL GETSET+2~, GETSET+6*, GETSET+7
ORWPCELO GETSET+2~, GETSET+3*, GETSET+10
ORWPCET GETSET+2~, GETSET+9*, GETSET+10
ORWPROV ACTIVPRV~, ACTIVPRV+1
ORY GAFOK~, GAFOK+1*, GAFOK+2*, MHCLINIC~, MHCLINIC+1*, MHCLINIC+2*, LOADGAF~, LOADGAF+1, SAVEGAF~, SAVEGAF+3*
, FORCE~, FORCE+5*, HASCPT~, ASKPCE~, ASKPCE+5*, GAFURL+3~, GAFURL+4, MHTESTOK~, MHTESTOK+1, MHTESTOK+2
, MHTESTOK+5*, MHTESTOK+6*, MHATHRZD~, MHATHRZD+2*, MHATHRZD+3*, MHATHRZD+7*, ANYTIME~, ANYTIME+3*, ANYTIME+4*, AUTOVSIT~
, AUTOVSIT+3*, AUTOVSIT+4*, AUTOVSIT+5*, DOCHKOUT~, DOCHKOUT+3*, DOCHKOUT+4*, DOCHKOUT+5*, CHKOUT+1~, CHKOUT+2, CHKOUT+3
, EXCLUDED~, EXCLUDED+6, ISCLINIC~, ISCLINIC+2*, ISCLINIC+4*, HNCOK~, HNCOK+1*, HNCOK+2*, CODACTIV~, CODACTIV+6*
, CODACTIV+8*, CODACTIV+10*, ICDACTIV+1, ICDACTIV+2, CPTACTIV+1, CPTACTIV+2, CXNOSHOW~, CXNOSHOW+5*
ORY( HASCPT+7*
ORY(1 GAFURL+5
ORY(2 GAFURL+5
ORYS MHATHRZD+1~, MHATHRZD+6
ORYS("CODE" MHATHRZD+4*
ORYS("STAFF" MHATHRZD+5*
PARAM EXCLUDED+1~, EXCLUDED+2*, EXCLUDED+3, EXCLUDED+5*, EXCLUDED+6
REC HFTYPE+1~, HFTYPE+5*, HFTYPE+6*, HFTYPE+7*, HFTYPE+8, HFTYPE+9, HFTYPE+10
SRV FORCE+1~, FORCE+3*, FORCE+4, ASKPCE+1~, ASKPCE+3*, ASKPCE+4, MHTESTOK+3~, MHTESTOK+4*, MHTESTOK+5, ANYTIME+1~
, ANYTIME+2*, ANYTIME+3, AUTOVSIT+1~, AUTOVSIT+2*, AUTOVSIT+3, DOCHKOUT+1~, DOCHKOUT+2*, DOCHKOUT+3, EXCLUDED+1~, EXCLUDED+4*
, EXCLUDED+6
TEST MHATHRZD~, MHATHRZD+4
TYPE EXCLUDED~, EXCLUDED+2
U HFTYPE+6, HFTYPE+7, HFTYPE+9, HFTYPE+10, GETVISIT+3, FORCE+3, FORCE+5, ASKPCE+3, ASKPCE+5, MHTESTOK+4
, MHATHRZD+7, ANYTIME+2, AUTOVSIT+2, DOCHKOUT+2, EXCLUDED+4
URL GAFURL~, GAFURL+1*, GAFURL+5*
USER FORCE~, FORCE+2*, FORCE+3, ASKPCE~, ASKPCE+2*, ASKPCE+3, MHATHRZD~, MHATHRZD+5
VISIT GETVISIT~, GETVISIT+2*, GETVISIT+3*
VSITSTR GETVISIT~, GETVISIT+2

Marked Items

Name Field # of Occurrence
$T(ENT^YSGAFAP1 GAFOK+2
$T(GAFHX^YSGAFAPI GAFOK+2
$T(GAFURL^YTAPI5 GAFURL+2
$T(LISTONE^YTAPI MHTESTOK+2
$T(MHCLIN^SDUTL2 MHCLINIC+1
$T(MHR^PXRMRPCC MHTESTOK+2
$T(MHS^PXRMRPCC MHTESTOK+2
$T(MH^PXRMRPCC MHTESTOK+2
$T(PREVIEW^YTAPI4 MHTESTOK+2
$T(PRIVL^YTAPI5 MHATHRZD+2
$T(SAVEIT^YTAPI1 MHTESTOK+2
$T(SHOWALL^YTAPI3 MHTESTOK+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All