source: WorldVistAEHR/trunk/r/AUTOMATED_MED_INFO_EXCHANGE-DVBA-DVBC/DVBCWLQ.m@ 1226

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

initial load of WorldVistAEHR

File size: 1.1 KB
RevLine 
[613]1DVBCWLQ ;ALB/JAM LIVER, GALL BLADDER AND PANCREAS WKS ;19 FEBRUARY 1999
2 ;;2.7;AMIE;**36,39**;Apr 10, 1995
3 ;
4 ; IOM - cpl (characters per line)
5EN ;
6 N DVBAX,ROU,DIF,XCNP,X,PG,TT,TNAM
7 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 TNAM="LIVER, GALL BLADDER, AND PANCREAS"
11 S DVBAX=TNAM,TT=IOM-$L(DVBAX)\2,PG=1
12 W !?TT,DVBAX
13 S DVBAX="# 0305 Worksheet",TT=IOM-$L(DVBAX)\2 W !?TT,DVBAX,!!
14 W "Name: ",NAME,?45,"SSN: ",SSN,!!,"Date of Exam: ____________________",?45,"C-number: ",CNUM,!!,"Place of Exam: ___________________",!!
15 S DIF="^TMP($J,""DVBAW"",",XCNP=0
16 K ^TMP($J,"DVBAW")
17 S ROU="DVBCWLQ1" S X=ROU X ^%ZOSF("LOAD")
18 N LP,TEXT,STOP
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")
27 Q
28 ;
29HD2 S PG=PG+1 W @IOF,!,"Page: ",PG,!!?7,"Compensation and Pension Exam for "_NAME,!!
30 W ?4,TNAM,!!!
31 Q
32SETIOF ; ** Set device control var's
33 D HOME^%ZIS
34 Q
Note: See TracBrowser for help on using the repository browser.