Changeset 636 for FOIAVistA/tag/r/SCHEDULING-SD-SC/SCRPTA2.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/SCRPTA2.m
r628 r636 1 1 SCRPTA2 ;ALB/CMM - Patient Listing w/Team Assignment Data ; 30 Jun 99 1:33 PM 2 ;;5.3;Scheduling;**41,88,140,148,174,181,177 ,526**;AUG 13, 1993;Build 82 ;;5.3;Scheduling;**41,88,140,148,174,181,177**;AUG 13, 1993 3 3 ; 4 4 ;Patient Listing w/Team Assignment Data Report continued … … 70 70 S PTNAME=$P($G(^DPT(PIEN,0)),"^") ;patient name 71 71 S PID=$P($G(^DPT(PIEN,.36)),"^",3),PID=$TR(PID,"-","") 72 ;9 digit ssn SD*5.3*526 - dmr 73 ;S PID=$E(PID,6,10) ;last four pid include 5th for pseudo notation 72 S PID=$E(PID,6,10) ;last four pid include 5th for pseudo notation 74 73 ; 75 74 S ADATE=$P(NODE,"^",3) ;position assignment date - fm format … … 119 118 S $E(@STORE@(IIEN,TIEN),40)="Primary Care Team: "_$S(PC=1:"YES",1:"NO") 120 119 ; 121 S @STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN)=$E(PTNAME,1, 17)122 S $E(@STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN), 19)=PID120 S @STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN)=$E(PTNAME,1,21) 121 S $E(@STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN),24)=PID 123 122 S $E(@STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN),31)=ADATE 124 123 S $E(@STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN),43)=PCAP … … 140 139 S PTNAME=$E($P($G(^DPT(PIEN,0)),"^"),1,20) ;patient name 141 140 S PID=$P($G(^DPT(PIEN,.36)),"^",3),PID=$TR(PID,"-","") 142 ;S PID=$E(PID,6,10) ;9 digit ssn patch 526141 S PID=$E(PID,6,10) ;last 4 plus 5th for psuedo 143 142 ; 144 143 S TIEN=+$P($G(^SCPT(404.42,PTIEN,0)),"^",3) ;team ien
Note:
See TracChangeset
for help on using the changeset viewer.