source: FOIAVistA/trunk/r/HEALTH_SUMMARY-GMTS/GMTSDSB.m@ 1397

Last change on this file since 1397 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 981 bytes
Line 
1GMTSDSB ; SLC/KER - Brief Discharge Summary ; 09/21/2001
2 ;;2.7;Health Summary;**12,28,35,45,47**;Oct 20, 1995
3 ;
4 ; External References
5 ; DBIA 2902 MAIN^TIULAPIC
6 ; DBIA 10006 ^DIC (file #8925.1)
7 ;
8MAIN ; Control branching
9 N ADATE,ADMIT,ASUB,ATDATE,ATTNDNG,ATTYPE,ATYPE,AUTHOR,CHILD,CONEED
10 N COSAME,COSGEDBY,COSIG,CURIEN,DISCHG,GMTSA,GMTSAI,GMTSAII,GMTSCNT
11 N GMTSD,GMTSDIC,GMTSEXSG,GMTSI,GMTSIEN,GMTSII,GMTSIQ,GMTSJ,GMTSK
12 N GMTSODIC,GMTSPDIC,GMTSTDIC,GMTSPR,GMTSREC,GMTST,GMTSX,GMTSXTRA
13 N I,PARIEN,PDATE,PN,PSUB,PTYPE,REASON,SIGNEDBY,STATUS,TSPEC,TYPE
14 N TIUTYPE,TIUFPRIV,TIUNAM,GMTSTIUC,DIC,X,Y S (TIUNAM,X)="DISCHARGE SUMMARY",GMTSTIUC="DSB"
15 S DIC="^TIU(8925.1,",DIC(0)="X",DIC("S")="I $P($G(^(0)),U,4)=""CL"",$P($G(^(0)),U)=TIUNAM"
16 D ^DIC Q:+($G(Y))=0 S TIUTYPE=+Y,TIUNAM="DISCHARGE SUMMARY BRIEF" K ^TMP("TIU",$J)
17 D MAIN^TIULAPIC(DFN,TIUTYPE,GMTS1,GMTS2,GMTSNDM,1)
18 Q:'$D(^TMP("TIU",$J)) D PNOTE^GMTSPN Q
Note: See TracBrowser for help on using the repository browser.