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

Package: Scheduling

Routine: SCRPO1


Information

SCRPO1 ;BP-CIOFO/KEITH - Historical Patient Position Assignment Listing ; 20 Aug 99 7:49 AM

Source Information

Source file <SCRPO1.m>

Entry Points

Name Comments DBIA/ICR reference
EN ;Queue report
PROMPT(LIST,SORT,SCSP,SCRTN,SCDESC) ;Prompt for report parameters, queue report
END
RUN ;Print report
EXIT
SLINE(SCX,SCY,SCZ) ;Print summary line
SHDR(SCX) ;Print report subheader
HDRX(SCX) ;extra header line
HINI ;Initialize header variables
STOP ;Check for stop task request
BUILD(SCFMT) ;Build report data
CKPOS(SCTP,SCFMT) ;Check team position
TPCL(SCLINIC) ;Get team position associated clinic
TMDV(SCTEAM,SCDIV) ;Get team and division
BTPOS(SCTP,SCDIV,SCTEAM,SCPOS,SCLINIC,SCFMT) ;Build list of patients for a position
FOOT1 ;Detail report footer
FOOT2 ;Summary report footer

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This report requires 132 column output!"
  • Line Location: PROMPT+24
Function Call: WRITE
  • Prompt: !
  • Line Location: PROMPT+25
Function Call: WRITE
  • Prompt: !
  • Line Location: RUN+32
Function Call: WRITE
  • Prompt: ?($P(SCY,U,SCI)),$P(SCX,U,SCI)
  • Line Location: RUN+33
Function Call: WRITE
  • Prompt: !
  • Line Location: RUN+57
Function Call: WRITE
  • Prompt: !,$J($P(SCX,U),70)
  • Line Location: SLINE+5
Function Call: WRITE
  • Prompt: ?71,$J(SCY,10),?81,$J(SCZ,10,2)
  • Line Location: SLINE+5
Function Call: WRITE
  • Prompt: !?20,"Pat.",?27,"Primary",?38,"MT",?94,"Enrolled",!,"Patient Name"
  • Line Location: SHDR+7
Function Call: WRITE
  • Prompt: ?20,"Id.",?27,"Elig.",?38,"Cat",?43,"Team",?57,"Provider"
  • Line Location: SHDR+8
Function Call: WRITE
  • Prompt: ?73,"Team Position",?89,"PC?",?94,"Clinic",?110,"Act. Date"
  • Line Location: SHDR+9
Function Call: WRITE
  • Prompt: ?122,"Inac. Date",!
  • Line Location: SHDR+10
Function Call: WRITE
  • Prompt: "------------------ ----- --------- --- ------------ -------------- -------------- --- -------------- ---------- ----------"
  • Line Location: SHDR+11
Function Call: WRITE
  • Prompt: !
  • Line Location: FOOT1+2
Function Call: WRITE
  • Prompt: !,SCLINE
  • Line Location: FOOT1+3
Function Call: WRITE
  • Prompt: !,"NOTE: More than one provider may be associated with a single patient position assignment. This output returns a separate output"
  • Line Location: FOOT1+4
Function Call: WRITE
  • Prompt: !?6,"line for each related provider during the date range selected."
  • Line Location: FOOT1+5
Function Call: WRITE
  • Prompt: !!?6,"'PC?' represents provider type: AP = Associate provider, PCP = Primary Care Provider, NPC = Non-Primary Care Provider."
  • Line Location: FOOT1+6
Function Call: WRITE
  • Prompt: !,SCLINE
  • Line Location: FOOT1+7
Function Call: WRITE
  • Prompt: !
  • Line Location: FOOT2+2
Function Call: WRITE
  • Prompt: !,SCLINE
  • Line Location: FOOT2+3
Function Call: WRITE
  • Prompt: !,"NOTE: More than one provider may be associated with a single patient position assignment. The sum of assignments related to"
  • Line Location: FOOT2+4
Function Call: WRITE
  • Prompt: !?6,"providers detailed in this summary is likely to be greater than the actual number of patient position assignments"
  • Line Location: FOOT2+5
Function Call: WRITE
  • Prompt: !?6,"returned by this report."
  • Line Location: FOOT2+6
Function Call: WRITE
  • Prompt: !,SCLINE
  • Line Location: FOOT2+7
Info |  Source |  Entry Points |  Interaction Calls