Fonction SAP BAPI_PATCASE_ADDINPATADMISS - IS-H BAPI PatientCase.AddInpatAdmiss - Create Inpatient Case + Admission

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT BAPINALL-CLIENT C 3 Client
INPAT_ADMISS_DATA BAPI2097IAIN u 514 Data for Case/Admission to be Created
INPAT_ADMISS_DATA_AT BAPI2097IAINAT u 31 X IS-H AT: Data for Case/Admission to Created
INSTITUTION BAPINALL-INSTITUTION C 4 Institution
PATCASEID BAPINALL-PATCASEID C 10 SPACE X Case Number
PATIENTID BAPINALL-PATIENTID C 10 Patient Number
TESTRUN BAPINALL-TESTRUN C 1 SPACE X Test Mode (No Changes in Database)
TRANSACT_MODE BAPINALL-TRANSACT_MODE C 1 'N' X Transaction Mode for Number Assignment

Paramètre Reférence Type Long. Description
NEW_MOVEMNT_DATA BAPI2097MOVE u 584 Movement Data Created (Admission)
NEW_MOVEMNT_DATA_AT BAPI2097IAMOVEAT u 31 IS-H AT: Movement Data (Admission) Created
NEW_PATCASE_DATA BAPI2097CASE u 435 Case Data Created
WORST_RETURNED_MSGTY BAPINALL-WORSTRETMSG C 1 Most Severe Message Type

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It is used to create a new case with an inpatient admission. The casedata and admission data passed to the method is stored under the casenumber PATCASEID (for external number assignment) or under acase number assigned internally in the institution INSTITUTION.

Notes
INCLUDE NBAPI_PRECOND_AUTHORITIES
RESET N1
At case level: N_FALL_FNR;
At movement level: N_NBEW_AKT.
INCLUDE NBAPI_TESTMODE
INCLUDE BAPI_RET
INCLUDE NBAPI_CASE_SERVICE_SCENARIO OBJECT DOKU ID TX

Description
The movement data of the admission as it would be saved (whenTESTRUN = 'X') or was saved is returned in this parameter.
A case number is not specified here in test mode (TESTRUN = 'X')with internal number assignment.

Description
The IS-H AT-specific movement data as it would be saved (whenTESTRUN = 'X') or was saved is returned in this parameter.(country version Austria).

Description
The case data as it would be saved (TESTRUN = 'X') or was savedis returned in this parameter.
In particular, when using internal number assignment, you can take thenew PATCASEID from the field with the same name. The relatedcheck digit is contained in the field CHKDIGITCASE. A number isnot assigned internally in test mode (TESTRUN = 'X').Consequently, no case number or check digit is specified here in testmode with internal number assignment.
INCLUDE NBAPI_WORST_RETURNED_MSGTY
INCLUDE NBAPI_CLIENT

Description
In this structure you specify the data for the case and admission to becreated.

Description
In this structure, you specify the IS-H AT-specific data for the caseand admission to be created (country version Austria).
INCLUDE NBAPI_INSTITUTION

Description
Explicit specification of the case number within the respectiveinstitution.
If you wish to create the case with a PATCASEID specifiedexternally, you must enter this identification number here. Note thatthe number must occur within the permitted external number range. Makesure beforehand that this number is not already assigned (e.g. usingBAPI_PATCASE_GETLIST).
If you do not specify a case number, the system assigns a new numberinternally.

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
The default value of this parameter is SPACE. If the parameter is notincluded in the data passed when the method is called, a new casenumber is determined internally.
INCLUDE NBAPI_PATIENTID
INCLUDE NBAPI_TESTRUN
INCLUDE NBAPI_TRANSACT_MODE

Description
Errors that occurred are returned in this table.
INCLUDE NBAPI_RETS_ADMISSION_CREATE OBJECT DOKU ID TX