SCCVU ;ALB/RMO,TMP - Encounter Conversion Utilities; [ 08/02/95 10:15 AM ]
Source file <SCCVU.m>
Package | Total | Call Graph |
---|---|---|
VA FileMan | 2 | C^%DTC ^DIR |
Kernel | 1 | $$FMADD^XLFDT |
Scheduling | 1 | $$FMDATE^SCDXUTL |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
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
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
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 |
Name | Line Occurrences |
---|---|
$$SDVIEN | CON+8 |
PAUSE | OK+6 |
>> | 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 |