Ansicht
Dokumentation

ISH_APP_BADI_PATSRCH - BAdI to Control Patient Index Search

ISH_APP_BADI_PATSRCH - BAdI to Control Patient Index Search

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

If you enter a preregistration or a visit appointment for a patient without running a search for the patient in the patient master, the system creates a new patient with provisional master data.

When you create the admission or visit for this patient, the patient search first has to be run to prevent multiple entry of identical data. The data you entered for the preregistration or visit appointment is available as criteria for the patient search.

To ensure that the patient search returns a representative hit rate, you can use this Business Add-In (BAdI) to reformat the search criteria from the entries made in the preregistration or the appointment so as to to conform with your standardized search methodology. This can be, for example, birthdate and the first letter of the last name.

This overriding of the search criteria is only effective if the patient search is specified by the program flow. If you explicitly run the search for a patient, for example, in admission, preregistration, appointment, etc. using Find Patient, the patient search uses the search criteria that you entered.

If the patient search is stipulated by the program flow, the last name and first name are used as you entered them in the preregistration or appointment, as standard.

After you have called the IMG activity, proceed as follows:

  1. In the following dialog box, enter in the field "Implementation" a name for the BAdI implementation and choose Copy.
If implementations have already been created for the BAdI, a dialog box with the existing implementations will be displayed. In this dialog box, choose Create.
  1. In the corresponding field, enter a short text for implementation .
  2. In the tab Propertiesenter filter properties - if this is a filter-dependent BAdI.
  3. Choose the tab Interface.
The name of the implementing class is generated by the system based on the name of your impmlementation. You can change the name.
If the BAdI is a menu exit, the tab FCodes also appears.Enter a function here and, if necessary, additional data.
  1. Save your entries and assign a package.
  2. Position the cursor on a method. Call up the Class Builder by double-clicking it.
  3. Between the statements method <Interface-Name>~<Name of Method>. and endmethod, enter the coding you request for the implementation.
  4. Save and activate your coding, and navigate back to the screen Change Implementation.
  5. Save on the screen Change Implementation.
Note: You can first create an implementation for the BAdI and then activate this later on. In this case, close the processing function at this time.
  1. Choose Activate.
When the application program is executed, the coding you have created will be run.

Methods: CRITERIA_SET






ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3619 Date: 20240606 Time: 233955     sap01-206 ( 119 ms )