source: WorldVistAEHR/trunk/r/AUTOMATED_MED_INFO_EXCHANGE-DVBA-DVBC/DVBCWLL5.m@ 1177

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

initial load of WorldVistAEHR

File size: 1.2 KB
Line 
1DVBCWLL5 ;ALB/RLC LIVER, GALL BLADDER AND PANCREAS WKS ;12 FEB 2007
2 ;;2.7;AMIE;**121**;Apr 10, 1995;Build 9
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="For "_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,!,?45,"C-number: ",CNUM,!,"Date of Exam: ____________________",!!,"Place of Exam: ___________________",!!
15 S DIF="^TMP($J,""DVBAW"",",XCNP=0
16 K ^TMP($J,"DVBAW")
17 F ROU="DVBCWLL6","DVBCWLL7" S X=ROU X ^%ZOSF("LOAD")
18 K DIF,XCNP,ROU
19 N LP,TEXT,STOP
20 S LP=0,STOP=0
21 F S LP=$O(^TMP($J,"DVBAW",LP)) Q:(LP="")!(STOP) D
22 .S TEXT=^TMP($J,"DVBAW",LP,0)
23 .I (TEXT'[";;")!(TEXT[";AMIE;") Q
24 .;I TEXT["TOF" D HD2
25 .I TEXT["END" S STOP=1 Q
26 .W:TEXT'["TOF" $P(TEXT,";;",2),! I $Y>55 D HD2
27 K ^TMP($J,"DVBAW"),TEXT,STOP,LP,PG,DVBAX,X
28 Q
29 ;
30HD2 S PG=PG+1 W @IOF,!,"Page: ",PG,!!,"Compensation and Pension Exam for "_NAME,!
31 W TNAM,!!!
32 Q
33SETIOF ; ** Set device control var's
34 D HOME^%ZIS
35 Q
Note: See TracBrowser for help on using the repository browser.