Fonction SAP BAPI_PATCASE_GETPATCASELIST - IS-H BAPI PatientCase.GetList - List Cases

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CANCELLED_INCL BAPINALL-CANCELLED_INCL C 1 ' ' X Output Canceled Patients Also
CLIENT BAPINALL-CLIENT C 3 Client
INSTITUTION BAPINALL-INSTITUTION C 4 Institution
PATCASEID BAPINALL-PATCASEID C 10 Case Number

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
PATCASELIST BAPI2097EXCASE 420 Table of Enhanced Case Data
RETURN BAPIRET2 548 Message Table


INCLUDE NBAPI_ISH
It determines the patient for the given case number and outputs all ofthe cases belonging to this patient in a list. This list
PATCASELIST contains the data on which a further selectioncan be based.
INCLUDE NBAPI_PRECOND_AUTHORITIES
RESET N1
At case level: N_FALL_FNR;
At patient level: N_PATI_AKT;
INCLUDE BAPI_RET OBJECT DOKU ID TX LANGUAGE EN
INCLUDE NBAPI_WORST_RETURNED_MSGTY OBJECT DOKU ID TX

Description
In addition to the non-canceled cases, the canceled cases should alsobe displayed.

Value range
'X' - canceled cases are also read
' ' - canceled cases are not output

Default
' '
INCLUDE NBAPI_CLIENT
INCLUDE NBAPI_INSTITUTION OBJECT DOKU ID TX
INCLUDE NBAPI_PATCASEID OBJECT DOKU ID TX
INCLUDE NBAPI_EXPORTPARAM_OPTIONAL OBJECT DOKU ID TX LANGUAGE EN

Description
All of the cases for a patient are returned in this table.

Value range
Besides the case data, the following movement data is returned to helpselect the case:
Admission Date
Discharge Date
Admission Time
Discharge Time
Admitting Departmental Organizational Unit
Discharging Departmental Organizational Unit
Admitting Treatment Organizational Unit (CareUnit)
Discharging Treatment Organizational Unit(Care Unit)
Referral Type

Description
Errors that occur are returned in this table.

Value range
The following messages can occur:
* Enter a valid institution
* Authorization error
* No data matches the specified selection
* DB inconsistency for patient && case &&