SCCVEAE3 ;ALB/RMO,TMP - Add/Edit Conversion cont.; [ 04/05/95 8:46 AM ]
Source file <SCCVEAE3.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| SET(SCCVEVT,SCLOG,SCDTM,SCVALDT,SCDA,SCOEP,SCOE,SCCV) | ; Set variables, add encounter/visit
 ; Input -- SCCVEVT Conversion event ; SCLOG Scheduling conversion log IEN ; SCDTM Visit date/time (IEN) ; SCVALDT Valid converted Visit date/time (SCDTM) ; SCDA Clinic stop code sub-file IEN ; SCOEP Parent outpatient encounter IEN [optional] ; Output -- SCOE Outpatient encounter IEN ; SCCV Conversion array: ; SCCV("EVT") Conversion event ; ("LOG") Scheduling conversion log IEN ; ("NEW") Outpatient encounter or visit ; created by conversion flag ; 0 = no new encounter or visit ; 1 = new encounter and visit ; 2 = new visit only ; ("OE",0) Outpatient encounter 0th node ; ("CS",0) Clinic stop code 0th node ; ("CS",1) Clinic stop code 1 node ; ("CS","PR") Clinic stop code 'PR' node ; ("ERR") Code for specific error, if any ; ("VST") Visit file IEN  | 
|
| SETQ | ||
| DIV(DIV) | ; -- determine med div
 | 
|
| DIVQ | ||
| CSCAN(SCDTM,SCCV) | ; -- update 900 "CS" nodes with same clinic
 | 
|
| CSCANQ |