1 | DVBCWRM ;ALB/CMM RESPIRATORY MISC DISEASES WKS ; 6 MARCH 1997
|
---|
2 | ;;2.7;AMIE;**12**;Apr 10, 1995
|
---|
3 | ;
|
---|
4 | EN D:'$D(IOF) SETIOF W:(IOST?1"C-".E) @IOF
|
---|
5 | S DVBAX="For RESPIRATORY DISEASES, MISCELLANEOUS",PG=1
|
---|
6 | W !?22,"Compensation and Pension Examination",!,?(IOM-$L(DVBAX)\2),DVBAX
|
---|
7 | S DVBAX="(PVD, Neoplasms, Bacterial Infections,"
|
---|
8 | W !,?(IOM-$L(DVBAX)\2),DVBAX
|
---|
9 | S DVBAX="Mycotic Lung Disease, Sarcoidosis, and Sleep Apnea)"
|
---|
10 | W !,?(IOM-$L(DVBAX)\2),DVBAX,!?33,"# 1520 Worksheet",!!
|
---|
11 | W "Name: ",NAME,?45,"SSN: ",SSN,!,?45,"C-number: ",CNUM,!,"Date of exam: ____________________",!!,"Place of exam: ___________________",!!
|
---|
12 | S DIF="^TMP($J,""DVBAW"",",XCNP=0
|
---|
13 | K ^TMP($J,"DVBAW")
|
---|
14 | F ROU="DVBCWRM1" S X=ROU X ^%ZOSF("LOAD")
|
---|
15 | K DIF,XCNP,ROU
|
---|
16 | N LP,TEXT
|
---|
17 | S LP=0,STOP=0
|
---|
18 | F S LP=$O(^TMP($J,"DVBAW",LP)) Q:(LP="")!(STOP) D
|
---|
19 | .S TEXT=^TMP($J,"DVBAW",LP,0)
|
---|
20 | .I (TEXT'[";;")!(TEXT[";AMIE;") Q
|
---|
21 | .;I TEXT["TOF" D HD2
|
---|
22 | .I TEXT["END" S STOP=1 Q
|
---|
23 | .I $Y>55 D HD2
|
---|
24 | .W:TEXT'["TOF" $P(TEXT,";;",2),!
|
---|
25 | K ^TMP($J,"DVBAW"),TEXT,STOP,LP,PG,DVBAX,X
|
---|
26 | Q
|
---|
27 | ;
|
---|
28 | HD2 S PG=PG+1 W @IOF,!,"Page: ",PG,!!,"Compensation and Pension Exam for "_NAME,!
|
---|
29 | W "For RESPIRATORY DISEASES, MISCELLANEOUS",!!!
|
---|
30 | Q
|
---|
31 | SETIOF ; ** Set device control var's
|
---|
32 | D HOME^%ZIS
|
---|
33 | Q
|
---|