source: FOIAVistA/trunk/r/NURSING_SERVICE-NUR/NURSPA1.m@ 1582

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

initial load of FOIAVistA 6/30/08 version

File size: 6.5 KB
Line 
1NURSPA1 ; GENERATED FROM 'NURS-P-STF' PRINT TEMPLATE (#574) ; 06/28/03 ; (continued)
2 G BEGIN
3N W !
4T W:$X ! I '$D(DIOT(2)),DN,$D(IOSL),$S('$D(DIWF):1,$P(DIWF,"B",2):$P(DIWF,"B",2),1:1)+$Y'<IOSL,$D(^UTILITY($J,1))#2,^(1)?1U1P1E.E X ^(1)
5 S DISTP=DISTP+1,DILCT=DILCT+1 D:'(DISTP#100) CSTP^DIO2
6 Q
7DT I $G(DUZ("LANG"))>1,Y W $$OUT^DIALOGU(Y,"DD") Q
8 I Y W $P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$E(Y,4,5))_" " W:Y#100 $J(Y#100\1,2)_"," W Y\10000+1700 W:Y#1 " "_$E(Y_0,9,10)_":"_$E(Y_"000",11,12) Q
9 W Y Q
10M D @DIXX
11 Q
12BEGIN ;
13 S:'$D(DN) DN=1 S DISTP=$G(DISTP),DILCT=$G(DILCT)
14 D N:$X>35 Q:'DN W ?35 S Y=$P(X,U,2) S Y=$S(Y="":Y,$D(^VA(200,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,35)
15 D N:$X>10 Q:'DN W ?10 W "DATE WORK COPY SENT OUT: "
16 D N:$X>35 Q:'DN W ?35 S Y=$P(X,U,4) D DT
17 D N:$X>4 Q:'DN W ?4 W "DATE PROF RETURNED FOR TYPING: "
18 D N:$X>35 Q:'DN W ?35 S Y=$P(X,U,5) D DT
19 D N:$X>2 Q:'DN W ?2 W "TENTATIVE DATE FOR BOARD ACTION: "
20 D N:$X>35 Q:'DN W ?35 S Y=$P(X,U,6) D DT
21 D N:$X>6 Q:'DN W ?6 W "ACTUAL DATE OF BOARD ACTION: "
22 D N:$X>35 Q:'DN W ?35 S Y=$P(X,U,3) D DT
23 D N:$X>6 Q:'DN W ?6 W "DATE OF NEXT BOARD ACTION: "
24 D N:$X>35 Q:'DN W ?35 S Y=$P(X,U,7) D DT
25 Q
26D1R ;
27 W ?48 W !,NURSX K DIP K:DN Y
28 D N:$X>27 Q:'DN W ?27 W "PROFESSIONAL LICENSE INFORMATION"
29 D N:$X>27 Q:'DN W ?27 W "-------------------------------"
30 S I(1)=4,J(1)=210.03 F D1=0:0 Q:$O(^NURSF(210,D0,4,D1))'>0 X:$D(DSC(210.03)) DSC(210.03) S D1=$O(^(D1)) Q:D1'>0 D:$X>60 T Q:'DN D E1
31 G E1R
32E1 ;
33 D T Q:'DN D N D N:$X>18 Q:'DN W ?18 W "STATE: "
34 S X=$G(^NURSF(210,D0,4,D1,0)) D N:$X>25 Q:'DN W ?25 S Y=$P(X,U,1) S Y=$S(Y="":Y,$D(^DIC(5,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,30)
35 D N:$X>9 Q:'DN W ?9 W "LICENSE NUMBER: "
36 D N:$X>25 Q:'DN W ?25,$E($P(X,U,2),1,40)
37 D N:$X>8 Q:'DN W ?8 W "EXPIRATION DATE: "
38 D N:$X>25 Q:'DN W ?25 S Y=$P(X,U,3) D DT
39 D N:$X>12 Q:'DN W ?12 W "VERIFIED BY: "
40 D N:$X>25 Q:'DN W ?25 S Y=$P(X,U,5) S Y=$S(Y="":Y,$D(^VA(200,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,35)
41 Q
42E1R ;
43 W ?62 W !,NURSX K DIP K:DN Y
44 D N:$X>27 Q:'DN W ?27 W "PROFESSIONAL EDUCATION"
45 D N:$X>27 Q:'DN W ?27 W "----------------------"
46 D T Q:'DN D N D N:$X>1 Q:'DN W ?1 W "HIGHEST NURSING DEGREE: "
47 S X=$G(^NURSF(210,D0,17)) D N:$X>25 Q:'DN W ?25 S Y=$P(X,U,1) S Y=$S(Y="":Y,$D(^NURSF(212.1,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,30)
48 D N:$X>0 Q:'DN W ?0 W "HIGHEST ACADEMIC DEGREE: "
49 D N:$X>25 Q:'DN W ?25 S Y=$P(X,U,2) S Y=$S(Y="":Y,$D(^NURSF(212.1,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,30)
50 S I(1)=6,J(1)=210.04 F D1=0:0 Q:$O(^NURSF(210,D0,6,D1))'>0 X:$D(DSC(210.04)) DSC(210.04) S D1=$O(^(D1)) Q:D1'>0 D:$X>57 T Q:'DN D F1
51 G F1R
52F1 ;
53 D T Q:'DN D N D N:$X>17 Q:'DN W ?17 W "DEGREE: "
54 S X=$G(^NURSF(210,D0,6,D1,0)) D N:$X>25 Q:'DN W ?25 S Y=$P(X,U,1) S Y=$S(Y="":Y,$D(^NURSF(212.1,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,30)
55 D N:$X>18 Q:'DN W ?18 W "MAJOR: "
56 D N:$X>25 Q:'DN W ?25 S Y=$P(X,U,2) S Y=$S(Y="":Y,$D(^NURSF(212.3,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,50)
57 D N:$X>5 Q:'DN W ?5 W "COLLEGE/UNIVERSITY: "
58 D N:$X>25 Q:'DN W ?25,$E($P(X,U,3),1,50)
59 D N:$X>9 Q:'DN W ?9 W "YEAR COMPLETED: "
60 D N:$X>25 Q:'DN W ?25 S Y=$P(X,U,4) D DT
61 Q
62F1R ;
63 D N:$X>16 Q:'DN W ?16 W "FACULTY: "
64 S X=$G(^NURSF(210,D0,15)) D N:$X>25 Q:'DN W ?25 S Y=$P(X,U,9) W:Y]"" $S($D(DXS(10,Y)):DXS(10,Y),1:Y)
65 S I(1)=1,J(1)=210.08 F D1=0:0 Q:$O(^NURSF(210,D0,1,D1))'>0 X:$D(DSC(210.08)) DSC(210.08) S D1=$O(^(D1)) Q:D1'>0 D:$X>30 T Q:'DN D G1
66 G G1R
67G1 ;
68 D N:$X>4 Q:'DN W ?4 W "TYPE OF APPOINTMENT: "
69 S X=$G(^NURSF(210,D0,1,D1,0)) D N:$X>25 Q:'DN W ?25,$E($P(X,U,1),1,45)
70 D N:$X>12 Q:'DN W ?12 W "INSTITUTION: "
71 D N:$X>25 Q:'DN W ?25,$E($P(X,U,2),1,45)
72 Q
73G1R ;
74 D T Q:'DN W ?2 W !,NURSX K DIP K:DN Y
75 D N:$X>27 Q:'DN W ?27 W "NATIONAL CERTIFICATION"
76 D N:$X>27 Q:'DN W ?27 W "----------------------"
77 S I(1)=12,J(1)=210.024 F D1=0:0 Q:$O(^NURSF(210,D0,12,D1))'>0 X:$D(DSC(210.024)) DSC(210.024) S D1=$O(^(D1)) Q:D1'>0 D:$X>51 T Q:'DN D H1
78 G H1R
79H1 ;
80 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "NAME OF CERTIFICATION: "
81 D N:$X>23 Q:'DN W ?23 X ^DD(210.024,.05,9.3) S X=$P(Y(210.024,.05,101),U,2) S D0=Y(210.024,.05,80) S D1=Y(210.024,.05,81) W $E(X,1,50) K Y(210.024,.05)
82 D N:$X>4 Q:'DN W ?4 W "CERTIFYING AGENCY: "
83 D N:$X>23 Q:'DN W ?23
84 X ^DD(210.024,1,9.2) S D0=$P(Y(210.024,1,1),U,1) S:'$D(^NURSF(212.2,+D0,0)) D0=-1 S Y(210.024,1,101)=$S($D(^NURSF(212.2,D0,0)):^(0),1:"") S X=$P(Y(210.024,1,101),U,3) S D0=Y(210.024,1,80) S D1=Y(210.024,1,81) W $E(X,1,50) K Y(210.024,1)
85 D N:$X>0 Q:'DN W ?0 W "DATE OF CERTIFICATION: "
86 S X=$G(^NURSF(210,D0,12,D1,0)) D N:$X>23 Q:'DN W ?23 S Y=$P(X,U,3) D DT
87 D N:$X>3 Q:'DN W ?3 W "DATE OF EXPIRATION: "
88 D N:$X>23 Q:'DN W ?23 S Y=$P(X,U,4) D DT
89 Q
90H1R ;
91 W ?36 W !,NURSX K DIP K:DN Y
92 D N:$X>27 Q:'DN W ?27 W "PROFESSIONAL EXPERIENCE"
93 D N:$X>27 Q:'DN W ?27 W "-----------------------"
94 S I(1)=20,J(1)=210.13 F D1=0:0 Q:$O(^NURSF(210,D0,20,D1))'>0 X:$D(DSC(210.13)) DSC(210.13) S D1=$O(^(D1)) Q:D1'>0 D:$X>52 T Q:'DN D I1
95 G I1R
96I1 ;
97 D T Q:'DN D N D N:$X>24 Q:'DN W ?24 W "LOCATION: "
98 S X=$G(^NURSF(210,D0,20,D1,0)) D N:$X>34 Q:'DN W ?34,$E($P(X,U,4),1,30)
99 D N:$X>14 Q:'DN W ?14 W "TYPE OF EXPERIENCE: "
100 D N:$X>34 Q:'DN W ?34,$E($P(X,U,1),1,30)
101 D N:$X>18 Q:'DN W ?18 W "TITLE/POSITION: "
102 D N:$X>34 Q:'DN W ?34 S Y=$P(X,U,2) S Y=$S(Y="":Y,$D(^NURSF(211.3,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,10)
103 D N:$X>0 Q:'DN W ?0 W "DATE PREVIOUS ASSIGNMENT STARTED: "
104 D N:$X>34 Q:'DN W ?34 S Y=$P(X,U,5) D DT
105 D N:$X>2 Q:'DN W ?2 W "DATE PREVIOUS ASSIGNMENT ENDED: "
106 D N:$X>34 Q:'DN W ?34 S Y=$P(X,U,6) D DT
107 Q
108I1R ;
109 W ?47 W !,NURSX K DIP K:DN Y
110 D N:$X>27 Q:'DN W ?27 W "MILITARY EXPERIENCE"
111 D N:$X>27 Q:'DN W ?27 W "-------------------"
112 W ?48 D EN5^NURSAUTL K DIP K:DN Y
113 W ?59 W !,NURSX K DIP K:DN Y
114 D N:$X>27 Q:'DN W ?27 W "PRIVILEGES"
115 D N:$X>27 Q:'DN W ?27 W "----------"
116 S I(1)=16,J(1)=210.19 F D1=0:0 Q:$O(^NURSF(210,D0,16,D1))'>0 X:$D(DSC(210.19)) DSC(210.19) S D1=$O(^(D1)) Q:D1'>0 D:$X>39 T Q:'DN D J1
117 G J1R
118J1 ;
119 D T Q:'DN D N D N:$X>3 Q:'DN W ?3 W "PRIVILEGE: "
120 S X=$G(^NURSF(210,D0,16,D1,0)) D N:$X>14 Q:'DN W ?14 S Y=$P(X,U,1) S Y=$S(Y="":Y,$D(^NURSF(212.6,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,50)
121 D N:$X>0 Q:'DN W ?0 W "DATE GRANTED: "
122 D N:$X>14 Q:'DN W ?14 S Y=$P(X,U,2) D DT
123 D N:$X>4 Q:'DN W ?4 W "COMMENTS: "
124 S I(2)=1,J(2)=210.192 F D2=0:0 Q:$O(^NURSF(210,D0,16,D1,1,D2))'>0 S D2=$O(^(D2)) D:$X>16 T Q:'DN D A2
125 G A2R
126A2 ;
127 S X=$G(^NURSF(210,D0,16,D1,1,D2,0)) S DIWL=15,DIWR=78 D ^DIWP
128 Q
129A2R ;
130 D 0^DIWW
131 D ^DIWW
132 Q
133J1R ;
134 K Y K DIWF
135 Q
136HEAD ;
137 W !,"--------------------------------------------------------------------------------",!!
Note: See TracBrowser for help on using the repository browser.