source: WorldVistAEHR/trunk/r/AUTOMATED_MED_INFO_EXCHANGE-DVBA-DVBC/DVBCWPD3.m@ 1096

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

initial load of WorldVistAEHR

File size: 1.3 KB
Line 
1DVBCWPD3 ;BP-CIOFO/MM - PTSD WORKSHEET TEXT ;3/27/2002
2 ;;2.7;AMIE;**43**;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 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="INITIAL EVALUATION FOR POST-TRAUMATIC STRESS DISORDER (PTSD)",TT=IOM-$L(DVBAX)\2,PG=1
11 ; $L("# XXXX Worksheet")=16 for all worksheets
12 ;
13 W !!?TT,DVBAX,!?(IOM-16\2),"# 0910 Worksheet",!!
14 W "Name: ",NAME,?45,"SSN: ",SSN
15 W !!,"Date of Exam: ____________________",?45,"C-number: ",CNUM
16 W !!,"Place of Exam: ___________________",!!
17 S DIF="^TMP($J,""DVBAW"",",XCNP=0
18 K ^TMP($J,"DVBAW")
19 F ROU="DVBCWPD4","DVBCWPD5" S X=ROU X ^%ZOSF("LOAD")
20 K DIF,XCNP,ROU
21 N LP,TEXT
22 S LP=0,STOP=0
23 F S LP=$O(^TMP($J,"DVBAW",LP)) Q:(LP="")!(STOP) D
24 .S TEXT=^TMP($J,"DVBAW",LP,0)
25 .I (TEXT'[";;")!(TEXT[";AMIE;") Q
26 .I TEXT["TOF" D HD2
27 .I TEXT["END" S STOP=1 Q
28 .W:TEXT'["TOF" $P(TEXT,";;",2),! I $Y>55 D HD2
29 K ^TMP($J,"DVBAW"),TEXT,STOP,LP,PG,DVBAX,X,TT
30 Q
31 ;
32HD2 S PG=PG+1 W @IOF,!,"Page: ",PG,!?10,"Compensation and Pension Exam for "_NAME,!!
33 W "INITIAL EVALUATION FOR POST-TRAUMATIC STRESS DISORDER (PTSD)",!!!
34 Q
35SETIOF ; ** Set device control var's
36 D HOME^%ZIS
37 Q
Note: See TracBrowser for help on using the repository browser.