source: WorldVistAEHR/trunk/r/AUTOMATED_MED_INFO_EXCHANGE-DVBA-DVBC/DVBCWDM.m@ 1582

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

initial load of WorldVistAEHR

File size: 1.2 KB
RevLine 
[613]1DVBCWDM ;ALB/CMM DIGESTIVE, MISC. DISEASES ; 5 MARCH 1997
2 ;;2.7;AMIE;**12**;Apr 10, 1995
3 ;
4EN D:'$D(IOF) SETIOF W:(IOST?1"C-".E) @IOF
5 S DVBAX="For DIGESTIVE CONDITIONS, MISCELLANEOUS",PG=1
6 W !?22,"Compensation and Pension Examination",!,?(IOM-$L(DVBAX)\2),DVBAX
7 S DVBAX="(Tuberculous Peritonitis, Inguinal Hernia, Ventral Hernia,"
8 W !,?(IOM-$L(DVBAX)\2),DVBAX
9 S DVBAX="Femoral Hernia, Visceroptosis, and Benigh and Malignant"
10 W !,?(IOM-$L(DVBAX)\2),DVBAX
11 S DVBAX="New Growths)"
12 W !,?(IOM-$L(DVBAX)\2),DVBAX,!?33,"# 0330 Worksheet",!!
13 W "Name: ",NAME,?45,"SSN: ",SSN,!,?45,"C-number: ",CNUM,!,"Date of exam: ____________________",!!,"Place of exam: ___________________",!!
14 S DIF="^TMP($J,""DVBAW"",",XCNP=0
15 K ^TMP($J,"DVBAW")
16 F ROU="DVBCWDM1" S X=ROU X ^%ZOSF("LOAD")
17 K DIF,XCNP,ROU
18 N LP,TEXT
19 S LP=0,STOP=0
20 F S LP=$O(^TMP($J,"DVBAW",LP)) Q:(LP="")!(STOP) D
21 .S TEXT=^TMP($J,"DVBAW",LP,0)
22 .I (TEXT'[";;")!(TEXT[";AMIE;") Q
23 .;I TEXT["TOF" D HD2
24 .I TEXT["END" S STOP=1 Q
25 .W:TEXT'["TOF" $P(TEXT,";;",2),! I $Y>55 D HD2
26 K ^TMP($J,"DVBAW"),TEXT,STOP,LP,PG,DVBAX,X
27 Q
28 ;
29HD2 S PG=PG+1 W @IOF,!,"Page: ",PG,!!,"Compensation and Pension Exam for "_NAME,!
30 W "For DIGESTIVE CONDITIONS, MISCELLANEOUS",!!!
31 Q
32SETIOF ; ** Set device control var's
33 D HOME^%ZIS
34 Q
Note: See TracBrowser for help on using the repository browser.