; Add error entries from #409.75
; for transmission entry.
; Input
; SDXMT - Pointer to #409.75
; SDIV - Division IEN
; SDIVN - Division Name
; SDDCL - Clinic IEN
; SDDCLN - Clinic Name
; SDPCE - Piece to increment in ^TMP("SCRPI SUM",$J...
; 1 - Incomplete Encounter (P1)
; 2 - Deleted Incomplete Encounter (P2)
EN
; Entry point for summary report
; Variables
; VAUTD,VAUTC - VA variables
; SDDT - Date range, Begin^End
; SDRTYP - Report type S - Summary Only
; D - Summary with Detail
ASKQ
RPT
; Entry point for building the summary report
RPTQ
REPORT(SDR)
; Select type of summary report
; Variable Input
; SDR - Returns with Report Type S - Summary Only,
; D - Summary with detail
ENQ
ASKDT(SDT)
; Ask for date range for report
; Variable Input
; SDT - Returns date range as Begin^End
EXIT
;
BLD
; Search for errors in the transmitted outpatient encounter error file
; and begin building the report
BLDDEL
; Search for entries in the Deleted Outpatient Encounter File and add to
; the report.
; Variables
; See list in BLD
ENBLT
; Entry point for bulletin generation of summary only report
; Variables
; SDBLT - Flag to send output to a bulletin
; SDRTYP - See above
; SDDT - See above