Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: SCRPU4

SCRPU4.m

Go to the documentation of this file.
SCRPU4 ;ALB/CMM - PRINT PC TEAM/PRACT/ATTEND ; 29 Jun 99  04:11PM
 ;;5.3;Scheduling;**41,177,575**;AUG 13, 1993;Build 28
 ;
PCMM(DFN,ADATE,PRINT) ; display primary care team, primary care provider and team phone for patient DFN on date ADATE
 ;DFN - patient ien
 ;ADATE - date to find primary care team, provider and team phone (default = today)
 ;PRINT - default 1 to print data; otherwise don't print
 ;
 ;CPRSGUI - Set by CPRS used to display MHTC in CPRS Patient Inquiry. 
 ;
 I '$D(PRINT) S PRINT=1
 I PRINT'=""&(PRINT'=1) Q  ;don't print data
 I '$D(ADATE) S ADATE=DT
 I ADATE="" S ADATE=DT
 I '$D(DFN) Q
 D TDATA^SDPPTEM(DFN,"",ADATE,"P")
 I $G(CPRSGUI)=1 D START^SCMCMHTC(DFN)
 Q