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/SCRPTA2.m

    r628 r636  
    11SCRPTA2 ;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 8
     2 ;;5.3;Scheduling;**41,88,140,148,174,181,177**;AUG 13, 1993
    33 ;
    44 ;Patient Listing w/Team Assignment Data Report continued
     
    7070 S PTNAME=$P($G(^DPT(PIEN,0)),"^") ;patient name
    7171 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
    7473 ;
    7574 S ADATE=$P(NODE,"^",3) ;position assignment date - fm format
     
    119118 S $E(@STORE@(IIEN,TIEN),40)="Primary Care Team: "_$S(PC=1:"YES",1:"NO")
    120119 ;
    121  S @STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN)=$E(PTNAME,1,17)
    122  S $E(@STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN),19)=PID
     120 S @STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN)=$E(PTNAME,1,21)
     121 S $E(@STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN),24)=PID
    123122 S $E(@STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN),31)=ADATE
    124123 S $E(@STORE@(IIEN,TIEN,PIEN,TPIEN,PTNAME,PTIEN),43)=PCAP
     
    140139 S PTNAME=$E($P($G(^DPT(PIEN,0)),"^"),1,20) ;patient name
    141140 S PID=$P($G(^DPT(PIEN,.36)),"^",3),PID=$TR(PID,"-","")
    142  ;S PID=$E(PID,6,10) ;9 digit ssn patch 526
     141 S PID=$E(PID,6,10) ;last 4 plus 5th for psuedo
    143142 ;
    144143 S TIEN=+$P($G(^SCPT(404.42,PTIEN,0)),"^",3) ;team ien
Note: See TracChangeset for help on using the changeset viewer.