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 |  Interaction Calls
Print Page as PDF
Routine: SCRPI02

Package: Scheduling

Routine: SCRPI02


Information

SCRPI02 ;ALB/SCK - Incomplete Encounter Mgmt Statistical Summary Report ; 2/4/97

Source Information

Source file <SCRPI02.m>

Entry Points

Name Comments DBIA/ICR reference
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
ENQ
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
RPT ; Entry point for building the summary report
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
ADD(SDXMT,SDIV,SDIVN,SDDCL,SDDCLN,SDPCE) ; 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)
REPORT(SDR) ; Select type of summary report
; Variable Input
; SDR - Returns with Report Type S - Summary Only,
; D - Summary with detail
RPTQ
ASKDT(SDT) ; Ask for date range for report
; Variable Input
; SDT - Returns date range as Begin^End
ASKQ
HELP ;

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Select Summary Report Only, or Summary Report with Detail",!
  • Line Location: EN+9
Function Call: WRITE
  • Prompt: !
  • Line Location: EN+17
Function Call: WRITE
  • Prompt: "."
  • Line Location: ADD+25
Function Call: WRITE
  • Prompt: !!,"Date Range for Encounters"
  • Line Location: ASKDT+9
Function Call: WRITE
  • Prompt: !?2,"Answering YES, will provide a table of all clinics,"
  • Line Location: HELP+1
Function Call: WRITE
  • Prompt: !?2,"showing total encounters, number of incomplete encounters, and"
  • Line Location: HELP+2
Function Call: WRITE
  • Prompt: !?2,"percentage. Answering NO will include a list of error details "
  • Line Location: HELP+3
Function Call: WRITE
  • Prompt: !?2,"for each selected clinic, in decsending order of occurrence,"
  • Line Location: HELP+4
Function Call: WRITE
  • Prompt: !?2,"and the number of encounters and incomplete encounters.",!
  • Line Location: HELP+5
Info |  Source |  Entry Points |  Interaction Calls