source: WorldVistAEHR/trunk/r/AUTOMATED_MED_INFO_EXCHANGE-DVBA-DVBC/DVBCWLLA.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
Line 
1DVBCWLLA ;ALB/RLC LIVER, GALL BLADDER AND PANCREAS WKS ;19 FEBRUARY 1999
2 ;;2.7;AMIE;**86**;Jul 22, 2004
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 F ROU="DVBCWLL3","DVBCWLL4" 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,!!?7,"Compensation and Pension Exam for "_NAME,!!
31 W ?4,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.