Ignore:
Timestamp:
Jul 6, 2008, 8:20:14 PM (16 years ago)
Author:
Kevin Toppenberg
Message:

Uploading from OR_30_258

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/foia-cprs/CPRS-Chart/fAllgyFind.pas

    r459 r460  
    1919    tvAgent: TORTreeView;
    2020    imTree: TImageList;
    21     Label1: TLabel;
     21    lblDetail: TLabel;
     22    lblSearchCaption: TLabel;
    2223    procedure cmdSearchClick(Sender: TObject);
    2324    procedure cmdCancelClick(Sender: TObject);
     
    4950  ST_FOUND      = 'Select from the matching entries on the list, or search again.';
    5051  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 +
    5354                  'the list of available allergies?' + #13#10 + #13#10 +
    5455                  '"YES" will send a bulletin to request addition of your' + #13#10 +
     
    5859                  'check your spelling, try alternate spellings or a trade name,' + #13#10 +
    5960                  '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.';
    6282  TC_BULLETIN_ERROR = 'Unable to Send Bulletin';
    6383  TX_BULLETIN_ERROR = 'Free text entries are no longer allowed.' + #13#10 +
     
    186206  x: string;
    187207  tmpList: TStringList;
    188   OKtoContinue: boolean;
     208  OKtoContinue: boolean ;
    189209begin
    190210  inherited;
     
    206226    begin
    207227      FAllergy := '';
    208       case InfoBox(TX_FREE_TEXT, TC_FREE_TEXT, MB_YESNOCANCEL or MB_DEFBUTTON2 or MB_ICONQUESTION)of
     228      case InfoBox(TX_FREE_TEXT, TC_FREE_TEXT + UpperCase(txtSearch.Text), MB_YESNOCANCEL or MB_DEFBUTTON2 or MB_ICONQUESTION)of
    209229        ID_YES   :  // send bulletin and abort free-text entry
    210230                    begin
Note: See TracChangeset for help on using the changeset viewer.