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 |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PXCECCLS

Package: PCE Patient Care Encounter

Routine: PXCECCLS


Information

PXCECCLS ;WASH/BDB - UPDATE ENCOUNTER SC/EI FROM DX SC/EI ;5/18/05 1:31pm

Source Information

Source file <PXCECCLS.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
PCE Patient Care Encounter 2 ENCEVENT^PXKENC  UPD^VSIT  

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

Package Total Caller Graph
PCE Patient Care Encounter 1 PXKMAIN  

Entry Points

Name Comments DBIA/ICR reference
VST(PXVIEN) ;
; VISITIEN Pointer to the Visit (#9000010)
; Loop over the diagnoses SC/EI, auto-populate the encounter level
; SC/EI based on the following rule:
;
; If the SC/EI for at least one ICD-9 is "Yes"the Encounter Level
; SC/EI will automatically be set to "Yes" regardless if the
; Encounter Level SC (or EI) was previously populated ("Yes", "No" or Null).
; Note: This presumes that a single ICD-9 with SC/EI determination of "Yes"
; makes the Encounter SC/EI determination "Yes"
;
; If the SC/EI for all ICD-9s are "No" the Encounter Level SC/EI will
; automatically be set to "No" regardless if the Encounter Level SC/EI
; was previously populated ("Yes", "No" or Null).
; Note: This presumes that an Encounter SC/EI can not be "Yes" if all
; ICD-9s have an SC/EI determination of "No".
;
; If at least one ICD-9 is missing SC/EI determination and none of the
; other ICD-9s SC/EI determination is "Yes" do not change the SC/EI
; determination of the Encounter level.
; Note: This presumes that if one or more ICD-9s do not have an SC/EI
; determination then no inference can be made upon the Encounter Level SC
; determination. In addition if another package populates SC/EI
; directly do not overwrite that value in the case of incomplete
; data. In other words do not set the Encounter Level to Null.
;
; VARIABLE LIST TO AUTO POPULATE THE ENCOUNTER LEVEL SC/EI
; For each SC/EI in the PXSCEINW string:
; =1 SC/EI Classification determined by the DX's is found to be "Yes"
; =0 SC/EI Classification determined by the DX's is found to be "NO"
; =-1 SC/EI can not be determined by the DX's
; ="" Do not ask the SC/EI questions
;
; Edit flag for SC: SCEF, AO: AOEF, IR: IREF, EC:ECEF, MST: MSTEF, HNC: HNCEF
; , CV: CVEF, SHAD:SHADEF - Used in Visit File Filing - See ^VSITFLD
; example below
; VIST("SCEF")=1 SC/EI Classification determined by the DX's - do not ask SC/EI
; VIST("SCEF")=0 SC/EI Classification undetermined by the DX's - ask SC/EI
; etc.
;

External References

Name Field # of Occurrence
ENCEVENT^PXKENC VST+43
UPD^VSIT VST+68

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("PXKENC" VST+45, VST+48, VST+69!

Naked Globals

Name Field # of Occurrence
^( VST+49

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
PX0 VST+40~
PXCL VST+40~
PXDFN VST+40~, VST+45*, VST+46
PXDT VST+40~
PXPOV VST+40~, VST+48*, VST+49
PXPOV800 VST+40~, VST+49*, VST+50, VST+51, VST+52, VST+53, VST+54, VST+55, VST+56, VST+57
PXSCEI VST+40~
PXSCEINW VST+40~, VST+41*, VST+50*, VST+51*, VST+52*, VST+53*, VST+54*, VST+55*, VST+56*, VST+57*
, VST+60, VST+61, VST+62, VST+63, VST+64, VST+65, VST+66, VST+67
PXVIEN VST~, VST+43, VST+45, VST+48, VST+58
U VST+45, VST+50, VST+51, VST+52, VST+53, VST+54, VST+55, VST+56, VST+57, VST+60
, VST+61, VST+62, VST+63, VST+64, VST+65, VST+66, VST+67
VSIT VST+40~
VSIT("AO" VST+61*
VSIT("AOEF" VST+59*, VST+61*
VSIT("CV" VST+66*
VSIT("CVEF" VST+59*, VST+66*
VSIT("EC" VST+63*
VSIT("ECEF" VST+59*, VST+63*
VSIT("HNC" VST+65*
VSIT("HNCEF" VST+59*, VST+65*
VSIT("IEN" VST+58*
VSIT("IR" VST+62*
VSIT("IREF" VST+59*, VST+62*
VSIT("MST" VST+64*
VSIT("MSTEF" VST+59*, VST+64*
VSIT("SC" VST+60*, VST+61, VST+62, VST+63
VSIT("SCEF" VST+59*, VST+60*
VSIT("SHAD" VST+67*
VSIT("SHADEF" VST+59*, VST+67*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All