| 1 | DVBCWPW ;ALB/CMM PULMONARY TB AND MYCO DISEASE 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 PULMONARY TUBERCULOSIS AND MYCOBACTERIAL DISEASES",PG=1
|
---|
| 6 | W !?22,"Compensation and Pension Examination",!,?(IOM-$L(DVBAX)\2),DVBAX,!?33,"# 1515 Worksheet",!!
|
---|
| 7 | W "Name: ",NAME,?45,"SSN: ",SSN,!,?45,"C-number: ",CNUM,!,"Date of exam: ____________________",!!,"Place of exam: ___________________",!!
|
---|
| 8 | S DIF="^TMP($J,""DVBAW"",",XCNP=0
|
---|
| 9 | K ^TMP($J,"DVBAW")
|
---|
| 10 | F ROU="DVBCWPW1" S X=ROU X ^%ZOSF("LOAD")
|
---|
| 11 | K DIF,XCNP,ROU
|
---|
| 12 | N LP,TEXT
|
---|
| 13 | S LP=0,STOP=0
|
---|
| 14 | F S LP=$O(^TMP($J,"DVBAW",LP)) Q:(LP="")!(STOP) D
|
---|
| 15 | .S TEXT=^TMP($J,"DVBAW",LP,0)
|
---|
| 16 | .I (TEXT'[";;")!(TEXT[";AMIE;") Q
|
---|
| 17 | .I TEXT["TOF" D HD2
|
---|
| 18 | .I TEXT["END" S STOP=1 Q
|
---|
| 19 | .W:TEXT'["TOF" $P(TEXT,";;",2),! I $Y>55 D HD2
|
---|
| 20 | K ^TMP($J,"DVBAW"),TEXT,STOP,LP,PG,DVBAX,X
|
---|
| 21 | Q
|
---|
| 22 | ;
|
---|
| 23 | HD2 S PG=PG+1 W @IOF,!,"Page: ",PG,!!,"Compensation and Pension Exam for "_NAME,!
|
---|
| 24 | W "For PULMONARY TUBERCULOSIS AND MYCOBACTERIAL DISEASES",!!!
|
---|
| 25 | Q
|
---|
| 26 | SETIOF ; ** Set device control var's
|
---|
| 27 | D HOME^%ZIS
|
---|
| 28 | Q
|
---|