Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (14 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/SCHEDULING-SD-SC/SCRPPAT3.m

    r628 r636  
    11SCRPPAT3 ;ALB/CMM - Practitioner's Patients ; 8/30/99 3:14pm
    2  ;;5.3;Scheduling;**41,52,148,174,181,177,297,526,520**;AUG 13, 1993;Build 26
     2 ;;5.3;Scheduling;**41,52,148,174,181,177,297**;AUG 13, 1993
    33 ;
    44 ;Listing of Practitioner's Patients
     
    1212 .S PT=0
    1313 .F  S PT=$O(@STORE@("PT",INS,SEC,TRD,POS,PTN,PT)) Q:'PT!(STOP)  D
     14 ..I (IOST'?1"C-".E),$Y>(IOSL-5) S MORE=0 D NEWP1^SCRPU3(.PAGE,TITL) D:'STOP HEAD2(INS,SEC,TRD,SEC3,ST3,ST4,POS) D:(('FIRST&'STOP)!($G(SORT)=3)) HEADER
     15 ..I (IOST?1"C-".E),$Y>(IOSL-5) S MORE=0 D HOLD^SCRPU3(.PAGE,TITL) D:'STOP HEAD2(INS,SEC,TRD,SEC3,ST3,ST4,POS) D:'FIRST&'STOP HEADER
     16 ..Q:STOP
    1417 ..I FIRST D HEADER S FIRST=0
    1518 ..W !,$G(@STORE@(INS,SEC,TRD,POS,PT)) ;print patient detail line
    16  ..;I FIRST D HEADER S FIRST=0
    17  ..N SCCN
    18  ..S SCCN=""
    19  ..F  S SCCN=$O(@STORE@(INS,SEC,TRD,POS,PT,SCCN)) Q:SCCN=""  D
    20  ...W !,$G(@STORE@(INS,SEC,TRD,POS,PT,SCCN)) ;print patient detail line
    21  ...I (IOST'?1"C-".E),$Y>(IOSL-5) S MORE=0 D NEWP1^SCRPU3(.PAGE,TITL) D:'STOP HEAD2(INS,SEC,TRD,SEC3,ST3,ST4,POS) D:(('FIRST&'STOP)!($G(SORT)=3)) HEADER
    22  ...I (IOST?1"C-".E),$Y>(IOSL-5) S MORE=0 D HOLD^SCRPU3(.PAGE,TITL) D:'STOP HEAD2(INS,SEC,TRD,SEC3,ST3,ST4,POS) D:'FIRST&'STOP HEADER
    23  ...Q:STOP
    24  ...;I FIRST D HEADER S FIRST=0
    25  ...Q
    2619 ..Q
    2720 .Q
     
    7467SHEAD ;
    7568 S @STORE@("H2")="Pt Name"
    76  S $E(@STORE@("H2"),15)="Pt ID"
     69 S $E(@STORE@("H2"),18)="Pt ID"
    7770 S $E(@STORE@("H1"),25)="M.T."
    7871 S $E(@STORE@("H2"),25)="Stat"
Note: See TracChangeset for help on using the changeset viewer.