Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: NURADEG3

NURADEG3.m

Go to the documentation of this file.
NURADEG3 ;HIRMFO/JH-INDEVIDUAL, COMBINED EDUCATIONAL REPORT ;6/14/94
 ;;4.0;NURSING SERVICE;;Apr 25, 1997
 S (NURPAGE,NUROUT,NURQUIT)=0,DA=N1 D EN3^NURSUT0 S NLO=$S($P($G(^NURSF(211.8,+NOD1,0)),U)'="":$P(^(0),U),1:"  BLANK")
 S NPWARD=NLO D EN7^NURSAUTL S DA=N1,DA(1)=N2
 S II=0 F I=0:0 S II=$O(^NURSF(210,DA,6,II)) Q:II'>0  D
 .  S NURAH=^NURSF(212.1,$P(^NURSF(210,DA,6,II,0),U),0),NURASSN=$P($G(^VA(200,DA(1),1)),U,9),^TMP($J,"DEG",DA,$P(^VA(200,DA(1),0),U),$S(NURASSN'="":NURASSN,1:999999999),II)=NURAH
 .  Q
 S NURAHIGH=$G(^NURSF(210,DA,17)) Q:'$P(NURAHIGH,U)&('$P(NURAHIGH,U,2))  S (NURANUR,NURAACA)="" D
 .  I $P(NURAHIGH,U)'="" S NURANUR=$P($G(^NURSF(212.1,$P(NURAHIGH,U),0)),U)
 .  I $P(NURAHIGH,U,2)'="" S NURAACA=$P($G(^NURSF(212.1,$P(NURAHIGH,U,2),0)),U)
 .  S:$D(NURANUR)!($D(NURAACA)) ^TMP($J,"HIGH",DA)=NURANUR_U_NURAACA_U_NPWARD_U_NPSPOS
 .  Q
QUIT K I,DATA,NURNODE4,ZZ,%DT,NX,NOD1,NOD2,NURFLAG,NPSPOS,N2,NO,N1,D1,NURHOSP,DIC,M,NADT,NL1,NLO,NI,NO,NURSZDA,NURSZORT,NURSZLO,NURSZAP,NURSZSP,NPWARD,N,NAD,NJ,NUREQWRD
 Q