| 1 | //kt -- Modified with SourceScanner on 8/8/2007 | 
|---|
| 2 | unit UBAMessages; | 
|---|
| 3 |  | 
|---|
| 4 | {$OPTIMIZATION OFF} | 
|---|
| 5 | {.$define debug} | 
|---|
| 6 |  | 
|---|
| 7 | interface | 
|---|
| 8 |  | 
|---|
| 9 |  | 
|---|
| 10 | {$ifdef debug} | 
|---|
| 11 | const | 
|---|
| 12 | //BA_ASSRTF                     = 'Assertion failed' + #13;  <-- original line.  //kt 8/8/2007 | 
|---|
| 13 | function BA_ASSRTF                     : string; | 
|---|
| 14 | {$endif} | 
|---|
| 15 |  | 
|---|
| 16 | const | 
|---|
| 17 | //CPRS User Messages | 
|---|
| 18 | //BA_MAX_DX_ALLOWED             = 'Can Not Add Diagnosis' + #13 +  <-- original line.  //kt 8/8/2007 | 
|---|
| 19 | //                                 'Reason: Maximum (4) diagnoses have already been applied to this order.' + #13 +  <-- original line.  //kt 8/8/2007 | 
|---|
| 20 | //                                 'You may use the ''Diagnosis Editor'' to manage diagnoses for order(s).';  <-- original line.  //kt 8/8/2007 | 
|---|
| 21 | //BA_NO_ORDERS_SELECTED         = 'No orders have been selected.  Select one or more orders to be signed.';  <-- original line.  //kt 8/8/2007 | 
|---|
| 22 | //BA_CONFIRM_DX_OVERWRITE       = '''Lookup Diagnoses'' action will overwrite any existing diagnoses for selected orders.'+#13+'Do you wish to proceed?';  <-- original line.  //kt 8/8/2007 | 
|---|
| 23 | //BA_MAX_DX                     = 'A maximum of 4 diagnosis can be selected';  <-- original line.  //kt 8/8/2007 | 
|---|
| 24 | //BA_BILLING_DATA_SAVE_FAILED   = 'Error: Billing data was not saved';  <-- original line.  //kt 8/8/2007 | 
|---|
| 25 |  | 
|---|
| 26 | //BA_NA_COPY_DISALLOWED         = 'Can''t copy ''N/A'' orders.  Select non-''N/A'' order(s), and retry the copy.';  <-- original line.  //kt 8/8/2007 | 
|---|
| 27 | //BA_NA_PASTE_DISALLOWED        = 'Selected Diagnoses will not be pasted to orders flagged with N/A.';  <-- original line.  //kt 8/8/2007 | 
|---|
| 28 |  | 
|---|
| 29 | //BA_ONE_ORDER_ONLY             = 'Only 1 order at a time may be selected for copying';  <-- original line.  //kt 8/8/2007 | 
|---|
| 30 | //BA_PERSONAL_LIST_UPDATED      = 'Personal Diagnoses List Updated.';  <-- original line.  //kt 8/8/2007 | 
|---|
| 31 | //BA_NO_BILLABLE_ORDERS         = 'No billable orders have been selected.';  <-- original line.  //kt 8/8/2007 | 
|---|
| 32 |  | 
|---|
| 33 | //BA_INACTIVE_CODE              = 'Inactive Code';  <-- original line.  //kt 8/8/2007 | 
|---|
| 34 | //BA_INACTIVE_ICD9_CODE_1       = 'The diagnosis code (';  <-- original line.  //kt 8/8/2007 | 
|---|
| 35 | //BA_INACTIVE_ICD9_CODE_2       = ') is not active as of today''s date,' + #13#10+  <-- original line.  //kt 8/8/2007 | 
|---|
| 36 | //                                'Please select another.';  <-- original line.  //kt 8/8/2007 | 
|---|
| 37 |  | 
|---|
| 38 | BA_DATA_NOT_REQD              = '9'; | 
|---|
| 39 |  | 
|---|
| 40 | //BA_DUP_DX                     = 'Duplicate Diagnosis.';  <-- original line.  //kt 8/8/2007 | 
|---|
| 41 | //BA_DUP_DX_DISALLOWED_1        = 'Diagnosis (';  <-- original line.  //kt 8/8/2007 | 
|---|
| 42 | //BA_DUP_DX_DISALLOWED_2        = ') has already been selected.';   <-- original line.  //kt 8/8/2007 | 
|---|
| 43 |  | 
|---|
| 44 |  | 
|---|
| 45 | function BA_MAX_DX_ALLOWED             : string; | 
|---|
| 46 | function BA_NO_ORDERS_SELECTED         : string; | 
|---|
| 47 | function BA_CONFIRM_DX_OVERWRITE       : string; | 
|---|
| 48 | function BA_MAX_DX                     : string; | 
|---|
| 49 | function BA_BILLING_DATA_SAVE_FAILED   : string; | 
|---|
| 50 | function BA_NA_COPY_DISALLOWED         : string; | 
|---|
| 51 | function BA_NA_PASTE_DISALLOWED        : string; | 
|---|
| 52 | function BA_ONE_ORDER_ONLY             : string; | 
|---|
| 53 | function BA_PERSONAL_LIST_UPDATED      : string; | 
|---|
| 54 | function BA_NO_BILLABLE_ORDERS         : string; | 
|---|
| 55 | function BA_INACTIVE_CODE              : string; | 
|---|
| 56 | function BA_INACTIVE_ICD9_CODE_1       : string; | 
|---|
| 57 | function BA_INACTIVE_ICD9_CODE_2       : string; | 
|---|
| 58 | function BA_DUP_DX                     : string; | 
|---|
| 59 | function BA_DUP_DX_DISALLOWED_1        : string; | 
|---|
| 60 | function BA_DUP_DX_DISALLOWED_2        : string; | 
|---|
| 61 |  | 
|---|
| 62 |  | 
|---|
| 63 | implementation | 
|---|
| 64 |  | 
|---|
| 65 | uses DKLang;  //kt | 
|---|
| 66 |  | 
|---|
| 67 | {$ifdef debug} | 
|---|
| 68 | function BA_ASSRTF                     : string; | 
|---|
| 69 | begin Result := DKLangConstW('UBAMessages_Assertion_failed') + #13; //kt added 8/8/2007 | 
|---|
| 70 | end; | 
|---|
| 71 | {$endif} | 
|---|
| 72 |  | 
|---|
| 73 | function BA_MAX_DX_ALLOWED             : string; | 
|---|
| 74 | begin Result := DKLangConstW('UBAMessages_Can_Not_Add_Diagnosis') + #13 + //kt added 8/8/2007 | 
|---|
| 75 | DKLangConstW('UBAMessages_Reasonx_Maximum_x4x_diagnoses_have_already_been_applied_to_this_orderx') + #13 + //kt added 8/8/2007 | 
|---|
| 76 | DKLangConstW('UBAMessages_You_may_use_the_xxDiagnosis_Editorxx_to_manage_diagnoses_for_orderxsxx'); //kt added 8/8/2007 | 
|---|
| 77 | end; | 
|---|
| 78 |  | 
|---|
| 79 | function BA_NO_ORDERS_SELECTED         : string; | 
|---|
| 80 | begin Result := DKLangConstW('UBAMessages_No_orders_have_been_selectedx__Select_one_or_more_orders_to_be_signedx'); //kt added 8/8/2007 | 
|---|
| 81 | end; | 
|---|
| 82 |  | 
|---|
| 83 | function BA_CONFIRM_DX_OVERWRITE       : string; | 
|---|
| 84 | begin Result := DKLangConstW('UBAMessages_Lookup_Diagnosesxx_action_will_overwrite_any_existing_diagnoses_for_selected_ordersx')+#13+DKLangConstW('UBAMessages_Do_you_wish_to_proceedx'); //kt added 8/8/2007 | 
|---|
| 85 | end; | 
|---|
| 86 |  | 
|---|
| 87 | function BA_MAX_DX                     : string; | 
|---|
| 88 | begin Result := DKLangConstW('UBAMessages_A_maximum_of_4_diagnosis_can_be_selected'); //kt added 8/8/2007 | 
|---|
| 89 | end; | 
|---|
| 90 |  | 
|---|
| 91 | function BA_BILLING_DATA_SAVE_FAILED   : string; | 
|---|
| 92 | begin Result := DKLangConstW('UBAMessages_Errorx_Billing_data_was_not_saved'); //kt added 8/8/2007 | 
|---|
| 93 | end; | 
|---|
| 94 |  | 
|---|
| 95 | function BA_NA_COPY_DISALLOWED         : string; | 
|---|
| 96 | begin Result := DKLangConstW('UBAMessages_Canxxt_copy_xxNxAxx_ordersx__Select_nonxxxNxAxx_orderxsxx_and_retry_the_copyx'); //kt added 8/8/2007 | 
|---|
| 97 | end; | 
|---|
| 98 |  | 
|---|
| 99 | function BA_NA_PASTE_DISALLOWED        : string; | 
|---|
| 100 | begin Result := DKLangConstW('UBAMessages_Selected_Diagnoses_will_not_be_pasted_to_orders_flagged_with_NxAx'); //kt added 8/8/2007 | 
|---|
| 101 | end; | 
|---|
| 102 |  | 
|---|
| 103 | function BA_ONE_ORDER_ONLY             : string; | 
|---|
| 104 | begin Result := DKLangConstW('UBAMessages_Only_1_order_at_a_time_may_be_selected_for_copying'); //kt added 8/8/2007 | 
|---|
| 105 | end; | 
|---|
| 106 |  | 
|---|
| 107 | function BA_PERSONAL_LIST_UPDATED      : string; | 
|---|
| 108 | begin Result := DKLangConstW('UBAMessages_Personal_Diagnoses_List_Updatedx'); //kt added 8/8/2007 | 
|---|
| 109 | end; | 
|---|
| 110 |  | 
|---|
| 111 | function BA_NO_BILLABLE_ORDERS         : string; | 
|---|
| 112 | begin Result := DKLangConstW('UBAMessages_No_billable_orders_have_been_selectedx'); //kt added 8/8/2007 | 
|---|
| 113 | end; | 
|---|
| 114 |  | 
|---|
| 115 | function BA_INACTIVE_CODE              : string; | 
|---|
| 116 | begin Result := DKLangConstW('UBAMessages_Inactive_Code'); //kt added 8/8/2007 | 
|---|
| 117 | end; | 
|---|
| 118 |  | 
|---|
| 119 | function BA_INACTIVE_ICD9_CODE_1       : string; | 
|---|
| 120 | begin Result := DKLangConstW('UBAMessages_The_diagnosis_code_x'); //kt added 8/8/2007 | 
|---|
| 121 | end; | 
|---|
| 122 |  | 
|---|
| 123 | function BA_INACTIVE_ICD9_CODE_2       : string; | 
|---|
| 124 | begin Result := DKLangConstW('UBAMessages_x_is_not_active_as_of_todayxxs_datex') + #13#10+ //kt added 8/8/2007 | 
|---|
| 125 | DKLangConstW('UBAMessages_Please_select_anotherx'); //kt added 8/8/2007 | 
|---|
| 126 | end; | 
|---|
| 127 |  | 
|---|
| 128 | function BA_DUP_DX                     : string; | 
|---|
| 129 | begin Result := DKLangConstW('UBAMessages_Duplicate_Diagnosisx'); //kt added 8/8/2007 | 
|---|
| 130 | end; | 
|---|
| 131 |  | 
|---|
| 132 | function BA_DUP_DX_DISALLOWED_1        : string; | 
|---|
| 133 | begin Result := DKLangConstW('UBAMessages_Diagnosis_x'); //kt added 8/8/2007 | 
|---|
| 134 | end; | 
|---|
| 135 |  | 
|---|
| 136 | function BA_DUP_DX_DISALLOWED_2        : string; | 
|---|
| 137 | begin Result := DKLangConstW('UBAMessages_x_has_already_been_selectedx');  //kt added 8/8/2007 | 
|---|
| 138 | end; | 
|---|
| 139 |  | 
|---|
| 140 |  | 
|---|
| 141 |  | 
|---|
| 142 | end. | 
|---|