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

    r628 r636  
    11SCRPSLT2 ;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 26
     2 ;;5.3;Scheduling;**41,174,177,231**;AUG 13, 1993
    33 ;
    44 ;Summary Listing of Teams Report
     
    2323 S POS=$P(TNODE,"^") ;position name
    2424 ;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
    2927 S ROLN=$P($G(^SD(403.46,+ROL,0)),U) ;role name
    3028 ;
     
    5755 ;
    5856 D FORMAT(APOS,POS,PCLIN,VAE,PRACT,PPC,DIV,TM,NPC,MAX,PCN,XDAT)
    59  N SCAC
    60  S SCAC=0
    61  F  S SCAC=$O(PCLIN(SCAC)) Q:SCAC=""  D FORMATAC(APOS,POS,PCLIN(SCAC),VAE,DIV,TM)
    6257 Q
    6358 ;
     
    9994 S $E(@STORE@(DIV,TM,VAE,APOS),128)=$J(TMP(2),5,0) ;precepted NPC
    10095 ;New code ends
    101  Q
    102 FORMATAC(APOS,POS,PCLIN,VAE,DIV,TM) ;clinic multiples
    103  S $E(@STORE@(DIV,TM,VAE,APOS,SCAC),72)=$E(PCLIN,1,30)
    10496 Q
    10597 ;
Note: See TracChangeset for help on using the changeset viewer.