Changeset 636 for FOIAVistA/tag/r/SCHEDULING-SD-SC/SCRPPAT3.m
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (14 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/SCHEDULING-SD-SC/SCRPPAT3.m
r628 r636 1 1 SCRPPAT3 ;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 262 ;;5.3;Scheduling;**41,52,148,174,181,177,297**;AUG 13, 1993 3 3 ; 4 4 ;Listing of Practitioner's Patients … … 12 12 .S PT=0 13 13 .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 14 17 ..I FIRST D HEADER S FIRST=0 15 18 ..W !,$G(@STORE@(INS,SEC,TRD,POS,PT)) ;print patient detail line 16 ..;I FIRST D HEADER S FIRST=017 ..N SCCN18 ..S SCCN=""19 ..F S SCCN=$O(@STORE@(INS,SEC,TRD,POS,PT,SCCN)) Q:SCCN="" D20 ...W !,$G(@STORE@(INS,SEC,TRD,POS,PT,SCCN)) ;print patient detail line21 ...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)) HEADER22 ...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 HEADER23 ...Q:STOP24 ...;I FIRST D HEADER S FIRST=025 ...Q26 19 ..Q 27 20 .Q … … 74 67 SHEAD ; 75 68 S @STORE@("H2")="Pt Name" 76 S $E(@STORE@("H2"),1 5)="Pt ID"69 S $E(@STORE@("H2"),18)="Pt ID" 77 70 S $E(@STORE@("H1"),25)="M.T." 78 71 S $E(@STORE@("H2"),25)="Stat"
Note:
See TracChangeset
for help on using the changeset viewer.