Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: SCCVEAP2

Package: Scheduling

Routine: SCCVEAP2


Information

SCCVEAP2 ;ALB/RMO,TMP - Appointment Conversion cont.; [ 04/05/95 10:19 AM ]

Source Information

Source file <SCCVEAP2.m>

Entry Points

Name Comments DBIA/ICR reference
VISIT(SCDTM,SCCV) ;Create visit when encounter already exists
; Input -- SCDTM Appointment date/time
; SCCV Conversion array
; Output -- Visit file IEN
VISITQ
ANC(SCOEP,DFN,SCDTM,SCCLN,SCCV,SCLOG) ;Create stp code enctr/visit for ancillary tests
; Input -- SCOEP Parent encounter (if known)
; DFN Patient IEN
; SCDTM Appointment date/time
; SCCLN Clinic IEN
; SCCV Conversion array
; SCLOG Scheduling conversion log IEN [optional]
; Output -- None
ANCQ
CHK(DFN,SCDTM,SCCLN,SCCV,SCSCDI,SCOE) ;Check if stop code should be added for ancillary test
; Input -- DFN Patient IEN
; SCDTM Appointment date/time
; SCCLN Clinic IEN
; SCCV Conversion array
; SCSCDI Clinic Stop Code IEN
; Output -- 1=Add enctr and visit 2=Add only visit and 0=No,don't add
; SCOE IEN of the encounter for the anc test
CHKQ
CHLD(SCOEP,SCCV,SCLOG) ;Convert children
; Input -- SCOEP Parent outpatient encounter IEN
; SCCV Conversion array
; SCLOG Scheduling conversion log IEN [optional]
; Output -- None
SETSCCVT(SCCVT,SCCONS) ; Set the SCCVT array for source and service type
Info |  Source |  Entry Points