source: WorldVistAEHR/trunk/r/AUTOMATED_MED_INFO_EXCHANGE-DVBA-DVBC/DVBAL.m@ 1501

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

initial load of WorldVistAEHR

File size: 1.7 KB
RevLine 
[613]1DVBAL ; List Template Exporter ; 10-APR-1995
2 ;;2.7;AMIE;;Apr 10, 1995
3 W !,"'DVBA C VIEW EXAMS' List Template..."
4 S DA=$O(^SD(409.61,"B","DVBA C VIEW EXAMS",0)),DIK="^SD(409.61," D ^DIK:DA
5 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DVBA C VIEW EXAMS" D FILE^DICN S VALM=+Y
6 I VALM>0 D
7 .S ^SD(409.61,VALM,0)="DVBA C VIEW EXAMS^1^^80^3^20^1^1^^DVBA C VIEW EXAMS (MENU)^DVBA C VIEW EXAMS^1^^1"
8 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
9 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP"
10 .S ^SD(409.61,VALM,"FNL")="D EXIT^DVBCVW2"
11 .S ^SD(409.61,VALM,"HDR")="D HEADER^DVBCVW2"
12 .S ^SD(409.61,VALM,"HLP")="D HELP^DVBCVW2"
13 .S ^SD(409.61,VALM,"INIT")="D INIT^DVBCVW2"
14 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
15 .W "Filed."
16 ;
17 W !,"'DVBA DISCHARGE TYPES' List Template..."
18 S DA=$O(^SD(409.61,"B","DVBA DISCHARGE TYPES",0)),DIK="^SD(409.61," D ^DIK:DA
19 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DVBA DISCHARGE TYPES" D FILE^DICN S VALM=+Y
20 I VALM>0 D
21 .S ^SD(409.61,VALM,0)="DVBA DISCHARGE TYPES^1^^80^5^20^1^1^^DVBA DISCHARGE TYPES (MENU)^Discharge Type Selection^1^^1"
22 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
23 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""AMIE"",$J)"
24 .S ^SD(409.61,VALM,"COL",0)="^409.621^5^4"
25 .S ^SD(409.61,VALM,"COL",2,0)="DISCHARGE TYPE^8^41^DISCHARGE TYPE"
26 .S ^SD(409.61,VALM,"COL",3,0)="DISCHARGE CODE^51^4^CODE"
27 .S ^SD(409.61,VALM,"COL",4,0)="ITEM^2^4^ITEM"
28 .S ^SD(409.61,VALM,"COL",5,0)="STATUS^60^9^STATUS"
29 .S ^SD(409.61,VALM,"FNL")="D EXIT^DVBALD"
30 .S ^SD(409.61,VALM,"HDR")="D HDR^DVBALD"
31 .S ^SD(409.61,VALM,"HLP")="D HELP^DVBALD"
32 .S ^SD(409.61,VALM,"INIT")="D INIT^DVBALD"
33 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
34 .W "Filed."
35 ;
36 K DIC,DIK,VALM,X,DA Q
Note: See TracBrowser for help on using the repository browser.