Fonction SAP BAPI_PATIENT_SEARCH - IS-H BAPI Patient.Search - Find Patient

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
FILTER_BIRTH_NAME BAPI1084SRCH-BIRTH_NAME C 30 X Filter Patient Birthname
FILTER_DOB_FROM BAPI1084SRCH-DOB D 8 X Filter Date of Birth From
FILTER_DOB_TO BAPI1084SRCH-DOB D 8 X Filter Date of Birth to
FILTER_DOC_NO BAPI1084SRCH-DOC_NO C 15 X Filter Identification Document Number
FILTER_EXT_PAT_ID BAPI1084SRCH-EXT_PAT_ID C 20 X Filter External Patient ID
FILTER_FRST_NAME_PAT BAPI1084SRCH-FRST_NAME_PAT C 30 X Filter Patient First Name
FILTER_LAST_NAME_PAT BAPI1084SRCH-LAST_NAME_PAT C 30 X Filter Patient Last Name
FILTER_PATCASEID BAPI2099DATA-PATCASEID C 10 X Filter Case Number
FILTER_PATIENTID BAPI1084SRCH-PATIENTID C 10 X Filter Patient Number
FILTER_SEX_EXT BAPI1084SRCH-SEX_EXT C 1 X Filter Sex (External Code)
FILTER_SSN BAPI1084SRCH-SSN C 20 X Filter Social Insurance Number
INSTITUTION BAPI1084SRCH-INSTITUTION C 4 Institution
MAXCNT BAPINALL-MAXCNT I 4 -1 X Maximum Number of Patients Read From Database
SEARCH_PHONETIC BAPINALL-XIND C 1 X Phonetic Search

Paramètre Reférence Type Long. Description
WORST_RETURNED_MSGTY BAPINALL-WORSTRETMSG C 1 Most Severe Message Type

Paramètre Reférence Long. Facultatif Description
PATIENTS BAPI1084SRCH 690 Patients Determined, Hit List
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It searches for patients with the attributes specified. The patient'sidentification number takes precedence here. Hits are returned in a lit(table). You can specify specific selection criteria using theFILTER parameters.

Notes
INCLUDE NBAPI_PRECOND_AUTHORITY
RESET N1
N_PATI_SRC.
INCLUDE NBAPI_FILTERS_AND_RELATION
INCLUDE BAPI_RET
INCLUDE NBAPI_WORST_RETURNED_MSGTY

Description
Search criterion for the patient's birth name.

Value range
You can use the following wildcards:
'*' for any character string
'+' for precisely one character

Description
Search criterion for the patient's date of birth. This is the lowervalue of a possible time interval.

Description
Search criterion for the patient's date of birth. This is the upperlimit of a possible time interval.

Description
Search criterion for the patient's identification document number.

Value range
You can use the following wildcards:
'*' for any character string
'+' for precisely one character

Description
Search criterion for the patient's external indentifiction number.

Value range
You can use the following wildcards:
'*' for any character string
'+' for precisely one character

Description
Search criterion for patient's first name.

Value range
You can use the following wildcards:
'*' for any character string
'+' for precisely one character

Description
Search criterion for patient's last name.

Value range
For the phonetic search, you must specify a last name withoutwildcards.
For the non-phonetic search, you can use the following wildcards:
'*' for any character string
'+' for precisely one character

Description
Explicit specification of the case number within the respectiveinstitution.

Value range
This field is alpha converted. This means that if you enter a number,you do not have to enter leading blanks or zeros.

Default
This is not a default value.

Description
Explicit specification of the patient number.

Value range
This field is alpha converted. This means that if you enter a number,you do not have to enter leading blanks or zeros.

Default
This is not a default value.

Description
Search criterion for patient's sex.

Description
Search criterion for patient's pension or social insurance number.

Value range
You can use the following wildcards:
'*' for any character string
'+' for precisely one character
INCLUDE NBAPI_INSTITUTION
INCLUDE NBAPI_MAXCNT

Description
Indicator whether the patient search is to be phonetic. If you flagthis indicator ('X'), you must specify a last name without wildcards inthe parameter FILTER_LAST_NAME_PAT.

Value range
The actual indicator can only have the values 'X' (phonetic search) and' ' (non-phonetic search).

Default
This is not a default value. If you make no specification here, thesearch is not phonetic.

Description
The patients determined together with the most important attributes arereturned in this table.

Description
Errors that occurred are returned in this table.

Value range

The following error messages can occur:

  • N1034:,,Case does not exist

  • N1036:,,Enter a valid institution

  • N1280:,,Sex is not permitted (check your entry)

  • N1541:,,Error during phonetic search

  • N1600:,,Authorization error

  • N1830:,,No patient with specified attributes found

  • N1831:,,Narrow your search

  • N1832:,,"Date of birth to" was replaced by current date

  • N1833:,,"Date of birth to" is after current date (check
  • your entry)
    • N1836:,,More than records selected, narrow
    • your search