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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: SCMCTSK9

Package: Scheduling

Routine: SCMCTSK9


Information

SCMCTSK9 ;;BP/DMR - PCMM ; 18 Apr 2003 9:36 AM

Source Information

Source file <SCMCTSK9.m>

Entry Points

Name Comments DBIA/ICR reference
EXTKEY ;
EXTCHUI ;roll n scroll option to extend a patient
P1
P2
EXTEND(DATA,SCTEAM) ;return list of patients to inactivate in next 60 days
EX1
POS
SEEN ;was patient seen
GCL ;clean temp globals

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,!,$G(SCDHD)
  • Line Location: EXTKEY+1
Function Call: WRITE
  • Prompt: !
  • Condition for execution: $X>(IOM-40)
  • Line Location: EXTKEY+1
Function Call: WRITE
  • Prompt: ?(IOM-40)
  • Line Location: EXTKEY+1
Function Call: WRITE
  • Prompt: $P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$E(Y,4,5))_" "
  • Line Location: EXTKEY+2
Function Call: WRITE
  • Prompt: $J(Y#100\1,2)_","
  • Condition for execution: Y#100
  • Line Location: EXTKEY+2
Function Call: WRITE
  • Prompt: Y\10000+1700
  • Line Location: EXTKEY+2
Function Call: WRITE
  • Prompt: " "_$E(Y_0,9,10)_":"_$E(Y_"000",11,12)
  • Condition for execution: Y#1
  • Line Location: EXTKEY+2
Function Call: WRITE
  • Prompt: ?(IOM-15),"PAGE: "_($G(DC)+1)
  • Line Location: EXTKEY+3
Function Call: WRITE
  • Prompt: !,Y,!!
  • Line Location: EXTKEY+4
Function Call: WRITE
  • Prompt: !,"Column Heading Explanation of column headings"
  • Line Location: EXTKEY+5
Function Call: WRITE
  • Prompt: !
  • Line Location: EXTKEY+6
Function Call: WRITE
  • Prompt: !,"Patient Name Name of patient scheduled to be inactivated from their primary care team and position/provider."
  • Line Location: EXTKEY+7
Function Call: WRITE
  • Prompt: !,"SSN SSN number."
  • Line Location: EXTKEY+8
Function Call: WRITE
  • Prompt: !,"Institution Institution name, previously called Division, in which patient receives primary care."
  • Line Location: EXTKEY+9
Function Call: WRITE
  • Prompt: !,"PC Team The patient's assigned Primary Care team in PCMM."
  • Line Location: EXTKEY+10
Function Call: WRITE
  • Prompt: !,"Provider/ Name of Associate Primary Care Provider (AP) assigned to patient, if there is one."
  • Line Location: EXTKEY+11
Function Call: WRITE
  • Prompt: !," Team Position The name of the team position to which the Associate Primary Care Provider (AP) is assigned."
  • Line Location: EXTKEY+12
Function Call: WRITE
  • Prompt: !,"Current Preceptor/ Name of Primary Care Provider (PCP) assigned to patient. Every Primary Care patient should"
  • Line Location: EXTKEY+13
Function Call: WRITE
  • Prompt: !," Team Position be assigned to one PCP. The name of the team position to which the Primary Care Provider (PCP)"
  • Line Location: EXTKEY+14
Function Call: WRITE
  • Prompt: !," is assigned."
  • Line Location: EXTKEY+15
Function Call: WRITE
  • Prompt: !,"Date Scheduled for Date patient will be inactivated from PCMM and their Primary Care team and provider/position unless"
  • Line Location: EXTKEY+16
Function Call: WRITE
  • Prompt: !," Inactivation they have a completed outpatient appointment encounter with their current PCP or AP before this date."
  • Line Location: EXTKEY+17
Function Call: WRITE
  • Prompt: !," Note: There is a patient reassignment option, which allows an inactivated patient to be reactivated"
  • Line Location: EXTKEY+18
Function Call: WRITE
  • Prompt: !," to their previous Primary Care team and position if they return for care."
  • Line Location: EXTKEY+19
Function Call: WRITE
  • Prompt: !,"Reason for Extended The reason entered for extending the patient's time before inactivation from PC panels."
  • Line Location: EXTKEY+20
Function Call: WRITE
  • Prompt: !," Inactivation Entry of this field is in the PCMM GUI, Patient drop down menu, and the Extend Patient's Date for"
  • Line Location: EXTKEY+21
Function Call: WRITE
  • Prompt: !," Inactivation from PC Panels option."
  • Line Location: EXTKEY+22
Function Call: WRITE
  • Prompt: !,"Searching...",!
  • Line Location: P1+1
Function Call: WRITE
  • Prompt: !,"No Patients to Extend..."
  • Line Location: P1+3
Function Call: WRITE
  • Prompt: !,"Select From: ",!!
  • Line Location: P2+0
Function Call: WRITE
  • Prompt: $J(V1,2)_" ",$P(^TMP("SCMCTSK9","OUT",$J,V1),U,3),!
  • Line Location: P2+2
Function Call: READ
  • Variable: SCX
  • Timeout: DTIME
  • Line Location: P2+3
Function Call: WRITE
  • Prompt: !,"Select 1-",SCHIGH," or '^' to exit"
  • Line Location: P2+4
Function Call: WRITE
  • Prompt: !,"Select a valid number"
  • Line Location: P2+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SCPT(404.43 - [#404.43] Classic Fileman Calls
^SCTM(404.51 - [#404.51] Classic Fileman Calls
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call