source: FOIAVistA/trunk/r/AUTOMATED_MED_INFO_EXCHANGE-DVBA-DVBC/DVBCWSM.m@ 1607

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

initial load of FOIAVistA 6/30/08 version

File size: 1.4 KB
Line 
1DVBCWSM ;ALB/CMM RESPIRATORY MISC DISEASES WKS ; 10 Oct 2000
2 ;;2.7;AMIE;**34**;Apr 10, 1995
3 ;
4 ; IOM represents cpl (characters per line) depending on print. select"
5 ; The header will be centered for any print out.
6 ;
7EN N XX D:'$D(IOF) SETIOF W:(IOST?1"C-".E) @IOF
8 S DVBAX="Compensation and Pension Examination",TT=IOM-$L(DVBAX)\2
9 W !?TT,DVBAX,!
10 S DVBAX(1)="RESPIRATORY DISEASES, MISCELLANEOUS",PG=1
11 S DVBAX(2)="(PVD, Neoplasms, Bacterial Infections,"
12 S DVBAX(3)="Mycotic Lung Disease, Sarcoidosis, and Sleep Apnea)"
13 F XX=1:1:3 S TT=IOM-$L(DVBAX(XX))\2 D
14 .W !,?TT,DVBAX(XX)
15 ; $L("# XXXX Worksheet")=16 for all worksheets
16 ;
17 W !?(IOM-16\2),"# 1520 Worksheet",!!
18 W "Name: ",NAME,?45,"SSN: ",SSN,!
19 W !,"Date of Exam: ____________________",?45,"C-number: ",CNUM
20 W !!,"Place of Exam: ___________________",!!
21 S DIF="^TMP($J,""DVBAW"",",XCNP=0
22 K ^TMP($J,"DVBAW")
23 F ROU="DVBCWSM1" S X=ROU X ^%ZOSF("LOAD")
24 K DIF,XCNP,ROU
25 N LP,TEXT
26 S LP=0,STOP=0
27 F S LP=$O(^TMP($J,"DVBAW",LP)) Q:(LP="")!(STOP) D
28 .S TEXT=^TMP($J,"DVBAW",LP,0)
29 .I (TEXT'[";;")!(TEXT[";AMIE;") Q
30 .;I TEXT["TOF" D HD2
31 .I TEXT["END" S STOP=1 Q
32 .I $Y>55 D HD2
33 .W:TEXT'["TOF" $P(TEXT,";;",2),!
34 K ^TMP($J,"DVBAW"),TEXT,STOP,LP,PG,DVBAX,X
35 Q
36 ;
37HD2 S PG=PG+1 W @IOF,!,"Page: ",PG,!?10,"Compensation and Pension Exam for "_NAME,!!
38 W "RESPIRATORY DISEASES, MISCELLANEOUS",!!!
39 Q
40SETIOF ; ** Set device control var's
41 D HOME^%ZIS
42 Q
Note: See TracBrowser for help on using the repository browser.