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 |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SCCVU

Package: Scheduling

Routine: SCCVU


Information

SCCVU ;ALB/RMO,TMP - Encounter Conversion Utilities; [ 08/02/95 10:15 AM ]

Source Information

Source file <SCCVU.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA FileMan 2 C^%DTC  ^DIR  
Kernel 1 $$FMADD^XLFDT  
Scheduling 1 $$FMDATE^SCDXUTL  

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

Package Total Caller Graph
Scheduling 20 SCCVCDSP  SCCVCST  SCCVCST1  SCCVCST2  SCCVCST3  SCCVDEL  SCCVDEL1  SCCVDSP  
SCCVDSP1  SCCVE  SCCVEAE3  SCCVEAP2  SCCVEAP3  SCCVEAP4  SCCVEDI3  SCCVPAR  
SCCVPCE  SCCVPOST  SCCVU1  ^SD(404.91  

Entry Points

Name Comments DBIA/ICR reference
INACT(SCDT) ; -- Check if encounter is "inactive"
CON(SCOE) ; -- Check if encounter has already been converted
; Input -- SCOE Outpatient encounter IEN
; Output -- 1=Yes and 0=No
PAUSE ;
CCREATE(SCOE) ; Check if encounter or its visit was created by the conversion
; routines
; SCOE = ien of the encounter
; RETURNS:
; 0 if neither the encounter nor the visit were created by the
; conversion
; 1 if the encounter and visit were created by the conversion
; 2 if the visit only was created by the conversion
OK(SCMODE) ; -- is it ok to allow conversion and re-conversion (for testing)
; input: SCMODE := 1 - interactive | 0 - silent
SDVIEN(DFN,DATE) ; -- get sdv ien for patient/date-time
ENDDATE() ; -- conversion end date

External References

Name Field # of Occurrence
C^%DTC INACT+6
^DIR PAUSE+2
$$FMDATE^SCDXUTL ENDDATE+2
$$FMADD^XLFDT ENDDATE+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: PAUSE+2
Function Call: WRITE
  • Prompt: !
  • Line Location: PAUSE+2
Function Call: WRITE
  • Prompt: !!,"Conversion functionality is disabled."
  • Line Location: OK+6
Routine Call
  • DIR
  • Line Location:
    • PAUSE+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] CON+6, CON+10
^SCE - [#409.68] CON+4, CCREATE+14
^SDV - [#409.5] CON+8
^SDV("ADT" SDVIEN+1

Label References

Name Line Occurrences
$$SDVIEN CON+8
PAUSE OK+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DATE SDVIEN~, SDVIEN+1
DFN SDVIEN~, SDVIEN+1
DIR PAUSE+1~, PAUSE+2!
DIR("A" PAUSE+2*
DIR(0 PAUSE+2*
DT INACT+6
SCCVNV CCREATE+9~, CCREATE+14*, CCREATE+15, CCREATE+16
SCDT INACT~, INACT+7
SCMODE OK~, OK+5
SCOE CON~, CON+4, CCREATE~, CCREATE+14
SCOE0 CON+3~, CON+4*, CON+6, CON+8, CON+10
SCOK OK+3~, OK+4*, OK+5, OK+7
SCORG CON+3~, CON+4*, CON+5, CON+7, CON+9
STAT CCREATE+9~, CCREATE+11*, CCREATE+15*, CCREATE+16*, CCREATE+17
U CON+4, CON+6, CON+8, CON+10, CCREATE+15, CCREATE+16
X INACT+5~, INACT+7
X1 INACT+5~, INACT+6*
X2 INACT+5~, INACT+6*
Y CON+3~, CON+6*, CON+8*, CON+10*, CON+11, ENDDATE+1~, ENDDATE+2*, ENDDATE+3*, ENDDATE+4*, ENDDATE+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All