Changeset 636 for FOIAVistA/tag/r/SCHEDULING-SD-SC/SCRPSLT2.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/SCRPSLT2.m
r628 r636 1 1 SCRPSLT2 ;ALB/CMM - Summary Listing of Teams Continued ; 9/15/99 10:43am 2 ;;5.3;Scheduling;**41,174,177,231 ,520**;AUG 13, 1993;Build 262 ;;5.3;Scheduling;**41,174,177,231**;AUG 13, 1993 3 3 ; 4 4 ;Summary Listing of Teams Report … … 23 23 S POS=$P(TNODE,"^") ;position name 24 24 ;SD*5.3*231 - call SCMCLK to determine in AP or not 25 S PPC=$S($P(TNODE,"^",4)<1:"NPC",+$$OKPREC3^SCMCLK(APOS,DT)>0:" AP",1:"PCP") ;PC? 26 ;S PCLIN=$P($G(^SC(+$P(TNODE,"^",9),0)),"^") ;associated clinic 27 D SETASCL^SCRPRAC2(APOS,.PCLIN) 28 S PCLIN=$G(PCLIN(0)) 25 S PPC=$S($P(TNODE,"^",4)<1:"NPC",+$$OKPREC3^SCMCLK(APOS,DT)>1:" AP",1:"PCP") ;PC? 26 S PCLIN=$P($G(^SC(+$P(TNODE,"^",9),0)),"^") ;associated clinic 29 27 S ROLN=$P($G(^SD(403.46,+ROL,0)),U) ;role name 30 28 ; … … 57 55 ; 58 56 D FORMAT(APOS,POS,PCLIN,VAE,PRACT,PPC,DIV,TM,NPC,MAX,PCN,XDAT) 59 N SCAC60 S SCAC=061 F S SCAC=$O(PCLIN(SCAC)) Q:SCAC="" D FORMATAC(APOS,POS,PCLIN(SCAC),VAE,DIV,TM)62 57 Q 63 58 ; … … 99 94 S $E(@STORE@(DIV,TM,VAE,APOS),128)=$J(TMP(2),5,0) ;precepted NPC 100 95 ;New code ends 101 Q102 FORMATAC(APOS,POS,PCLIN,VAE,DIV,TM) ;clinic multiples103 S $E(@STORE@(DIV,TM,VAE,APOS,SCAC),72)=$E(PCLIN,1,30)104 96 Q 105 97 ;
Note:
See TracChangeset
for help on using the changeset viewer.