Changeset 460 for cprs/branches/foia-cprs/CPRS-Chart/fAllgyFind.pas
- Timestamp:
- Jul 6, 2008, 8:20:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/foia-cprs/CPRS-Chart/fAllgyFind.pas
r459 r460 19 19 tvAgent: TORTreeView; 20 20 imTree: TImageList; 21 Label1: TLabel; 21 lblDetail: TLabel; 22 lblSearchCaption: TLabel; 22 23 procedure cmdSearchClick(Sender: TObject); 23 24 procedure cmdCancelClick(Sender: TObject); … … 49 50 ST_FOUND = 'Select from the matching entries on the list, or search again.'; 50 51 ST_NONE_FOUND = 'No matching items were found.'; 51 TC_FREE_TEXT = 'Causative Agent Not On File ';52 TX_FREE_TEXT = 'Would you like to request that this term be added to' + #13#10 +52 TC_FREE_TEXT = 'Causative Agent Not On File - No Matches for '; 53 (* TX_FREE_TEXT = 'Would you like to request that this term be added to' + #13#10 + 53 54 'the list of available allergies?' + #13#10 + #13#10 + 54 55 '"YES" will send a bulletin to request addition of your' + #13#10 + … … 58 59 'check your spelling, try alternate spellings or a trade name,' + #13#10 + 59 60 'or contact your allergy coordinator for assistance.' + #13#10 + #13#10 + 60 '"CANCEL" will abort this entry process completely.'; 61 TX_BULLETIN = 'Bulletin has been sent.'; 61 '"CANCEL" will abort this entry process completely.';*) 62 // NEW TEXT SUBSTITUTED IN V26.50 - RV 63 TX_FREE_TEXT = 'The agent you typed was not found in the database.' + CRLF + 64 'Consider the common causes of search failure:' + CRLF + 65 ' Misspellings' + CRLF + 66 ' Typing more than one agent in a single entry ' + CRLF + 67 ' Typing "No known allergies"' + CRLF + 68 CRLF + 69 'Select "NO" to attempt the search again. Carefully check your spelling,'+ CRLF + 70 'try an alternate spelling, a trade name, a generic name or just entering' + CRLF + 71 'the first few characters (minimum of 3). Enter only one allergy at a time.' + CRLF + 72 'Use the "No Known Allergies" check box to mark a patient as NKA.' + CRLF + 73 CRLF + 74 'Select "YES" to send a bulletin to the allergy coordinator to request assistance.' + CRLF + 75 'Only do this if you''ve tried alternate methods of finding the causative agent' + CRLF + 76 'and have been unsuccessful.' + CRLF + 77 CRLF + 78 'Select "CANCEL" to abort this entry process.'; 79 80 TX_BULLETIN = 'Bulletin has been sent.' + CRLF + 81 'NOTE: This reactant was NOT added for this patient.'; 62 82 TC_BULLETIN_ERROR = 'Unable to Send Bulletin'; 63 83 TX_BULLETIN_ERROR = 'Free text entries are no longer allowed.' + #13#10 + … … 186 206 x: string; 187 207 tmpList: TStringList; 188 OKtoContinue: boolean ;208 OKtoContinue: boolean ; 189 209 begin 190 210 inherited; … … 206 226 begin 207 227 FAllergy := ''; 208 case InfoBox(TX_FREE_TEXT, TC_FREE_TEXT , MB_YESNOCANCEL or MB_DEFBUTTON2 or MB_ICONQUESTION)of228 case InfoBox(TX_FREE_TEXT, TC_FREE_TEXT + UpperCase(txtSearch.Text), MB_YESNOCANCEL or MB_DEFBUTTON2 or MB_ICONQUESTION)of 209 229 ID_YES : // send bulletin and abort free-text entry 210 230 begin
Note:
See TracChangeset
for help on using the changeset viewer.