1 | //kt -- Modified with SourceScanner on 8/17/2007
|
---|
2 | unit UBAConst;
|
---|
3 |
|
---|
4 | {$OPTIMIZATION OFF}
|
---|
5 |
|
---|
6 | interface
|
---|
7 |
|
---|
8 | const
|
---|
9 |
|
---|
10 | BUFFER_ORDER_ID = '9999999999';
|
---|
11 |
|
---|
12 | CARET = '^';
|
---|
13 | NOT_APPLICABLE = 'N/A';
|
---|
14 |
|
---|
15 | //kt 8-17-07 removed to replace with functions
|
---|
16 | //ENCOUNTER_TODAYS_DX = '^Diagnoses from Today''s Orders'; //BAPHII 1.3.10 <-- original line. //kt 8/17/2007
|
---|
17 | //ENCOUNTER_PERSONAL_DX = '^Personal Diagnoses List Items'; <-- original line. //kt 8/17/2007
|
---|
18 | //DX_PROBLEM_LIST_TXT = 'Problem List Items'; <-- original line. //kt 8/17/2007
|
---|
19 | //DX_PERSONAL_LIST_TXT = 'Personal Diagnoses List Items'; <-- original line. //kt 8/17/2007
|
---|
20 | //DX_ENCOUNTER_LIST_TXT = 'Encounter Form Diagnoses'; <-- original line. //kt 8/17/2007
|
---|
21 | //DX_TODAYS_DX_LIST_TXT = 'Diagnoses from Today''s Orders'; <-- original line. //kt 8/17/2007
|
---|
22 |
|
---|
23 | MIN_SC_CONDITION = 0;
|
---|
24 | MAX_SC_CONDITION = 0;
|
---|
25 | BILLABLE_ORDER = '1';
|
---|
26 | SERVICE_CONNECTED = 'SC';
|
---|
27 | NOT_SERVICE_CONNECTED = 'NSC';
|
---|
28 | AGENT_ORANGE = 'AO';
|
---|
29 | IONIZING_RADIATION = 'IR';
|
---|
30 | ENVIRONMENTAL_CONTAM = 'EC';
|
---|
31 | HEAD_NECK_CANCER = 'HNC';
|
---|
32 | MILITARY_SEXUAL_TRAUMA = 'MST';
|
---|
33 | COMBAT_VETERAN = 'CV';
|
---|
34 |
|
---|
35 | MAX_DX = 4;
|
---|
36 | DXREC_INIT_FIELD_VAL = '';
|
---|
37 | UNSIGNED_REC_INIT_FIELD_VAL = '';
|
---|
38 |
|
---|
39 | //kt 8-17-07 removed to replace with functions
|
---|
40 | //PRIMARY_DX = 'Primary'; <-- original line. //kt 8/17/2007
|
---|
41 | //SECONDARY_DX = 'Secondary'; <-- original line. //kt 8/17/2007
|
---|
42 | function PRIMARY_DX: string; //kt
|
---|
43 | function SECONDARY_DX: string; //kt
|
---|
44 |
|
---|
45 | const
|
---|
46 | //Form identifiers
|
---|
47 | F_ORDERS_SIGN = 1;
|
---|
48 | F_REVIEW = 2;
|
---|
49 | F_CONSULTS = 3;
|
---|
50 | // Order Status
|
---|
51 |
|
---|
52 | BAOK2SIGN = 1;
|
---|
53 | DISCONTINUED = 5;
|
---|
54 | MIN_RECT = 0;
|
---|
55 | MAX_RECT = 199;
|
---|
56 |
|
---|
57 | ADD_TO_PROBLEM_LIST = 'PL';
|
---|
58 | ADD_TO_PERSONAL_DX_LIST = 'PD';
|
---|
59 | BA_INACTIVE_CODE = '#';
|
---|
60 |
|
---|
61 | //kt replacing constants with fn declarations to allow just-in-time translation
|
---|
62 | function ENCOUNTER_TODAYS_DX : string;
|
---|
63 | function ENCOUNTER_PERSONAL_DX : string;
|
---|
64 | function DX_PROBLEM_LIST_TXT : string;
|
---|
65 | function DX_PERSONAL_LIST_TXT : string;
|
---|
66 | function DX_ENCOUNTER_LIST_TXT : string;
|
---|
67 | function DX_TODAYS_DX_LIST_TXT : string;
|
---|
68 |
|
---|
69 |
|
---|
70 | implementation
|
---|
71 |
|
---|
72 | uses DKLang;
|
---|
73 |
|
---|
74 | function ENCOUNTER_TODAYS_DX : string;
|
---|
75 | begin
|
---|
76 | Result := '^'+DKLangConstW('UBAConst_Diagnoses_from_Todayxxs_Orders'); //BAPHII 1.3.10 //kt added 8/17/2007
|
---|
77 | end;
|
---|
78 |
|
---|
79 | function ENCOUNTER_PERSONAL_DX : string;
|
---|
80 | begin
|
---|
81 | Result := '^'+DKLangConstW('UBAConst_Personal_Diagnoses_List_Items'); //kt added 8/17/2007
|
---|
82 | end;
|
---|
83 |
|
---|
84 | function DX_PROBLEM_LIST_TXT : string;
|
---|
85 | begin
|
---|
86 | Result := DKLangConstW('UBAConst_Problem_List_Items'); //kt added 8/17/2007
|
---|
87 | end;
|
---|
88 |
|
---|
89 | function DX_PERSONAL_LIST_TXT : string;
|
---|
90 | begin
|
---|
91 | Result := DKLangConstW('UBAConst_Personal_Diagnoses_List_Items'); //kt added 8/17/2007
|
---|
92 | end;
|
---|
93 |
|
---|
94 | function DX_ENCOUNTER_LIST_TXT : string;
|
---|
95 | begin
|
---|
96 | Result := DKLangConstW('UBAConst_Encounter_Form_Diagnoses'); //kt added 8/17/2007
|
---|
97 | end;
|
---|
98 |
|
---|
99 | function DX_TODAYS_DX_LIST_TXT : string;
|
---|
100 | begin
|
---|
101 | Result := DKLangConstW('UBAConst_Diagnoses_from_Todayxxs_Orders'); //kt added 8/17/2007
|
---|
102 | end;
|
---|
103 |
|
---|
104 |
|
---|
105 | function PRIMARY_DX: string;
|
---|
106 | begin
|
---|
107 | Result := DKLangConstW('UBAConst_Primary'); //kt added 8/17/2007
|
---|
108 | end;
|
---|
109 |
|
---|
110 | function SECONDARY_DX: string;
|
---|
111 | begin
|
---|
112 | Result := DKLangConstW('UBAConst_Secondary'); //kt added 8/17/2007
|
---|
113 | end;
|
---|
114 |
|
---|
115 | end.
|
---|
116 |
|
---|
117 |
|
---|