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

Package: Scheduling

Routine: SCRPW71


Information

SCRPW71 ;BP-CIOFO/KEITH - Clinic appointment availability extract (cont.) ; 14 May 99 9:19 PM

Source Information

Source file <SCRPW71.m>

Entry Points

Name Comments DBIA/ICR reference
CLINIC(SC,SDFMT,SDSTRTDT,MAXDT,MAX,SDPAST) ;Evaluate a clinic
DIV(SC0) ;Get facility division name and number
CPAIR(SC0,SDCP) ;Validate primary stop code, get credit pair
ACTC(SC,SDSTRTDT,MAXDT) ;Determine if clinic is active during date range
SPAT(SC,SDSTRTDT,ENDATE,SDS) ;Set patterns into ^TMP (modified clone of OVR^SDAUT1)
EN1
X1
W
W1
L
H
WM
ACTIVE(X,SDIN,SDRE) ;Determine if the clinic is active on a given date
INIT ;Initialize array for counting patterns
CCNT(SC,MAX,SDCP,SDFMT,SDSTRTDT,SDIV,SDPAST) ;Count clinic availability and capacity
PCT(SDPATT) ;Pattern count
ARRINI(SDCP,SC,MAX,SDPAST) ;Initialize array for counts
ARRSET(SDCP,SC,SDI,SDSL,SDCAP) ;Set daily counts into array
PCNT(X) ;Count open slots in a pattern
Info |  Source |  Entry Points