Fonction SAP BAPI_PATCASE_ADDOUTPATVISIT - IS-H BAPI PatientCase.AddOutpatientVisit - Create Visit

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT BAPINALL-CLIENT C 3 Client
INSTITUTION BAPINALL-INSTITUTION C 4 Institution
OUTPAT_VISIT_DATA BAPI2097OVIN u 528 Data for Case to be Changed and Visit to be Created
OUTPAT_VISIT_DATA_AT BAPI2097ATIN u 77 X IS-H AT Data for Case to Be Changed and Visit to Be Created
OUTPAT_VISIT_DATA_MED BAPI2097N1MED u 18 X IS-H*MED Data for Case to be Changed and Visit to be Created
PATCASEID BAPINALL-PATCASEID C 10 Case Number
TESTRUN BAPINALL-TESTRUN C 1 SPACE X Test Mode (No Changes in Database)

Paramètre Reférence Type Long. Description
NEW_MOVEMNT_DATA BAPI2097MOVE u 584 Movement Data (Visit) Created
NEW_MOVEMNT_DATA_AT BAPI2097MOVEAT u 78 Movement Data (Visit) Created - AT Fields
NEW_PATCASE_DATA BAPI2097CASE u 435 Case Data Changed
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 change a case and create an outpatient visit. The casedata and visit data passed to the method is stored under the casenumber PATCASEID 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 as it would be saved (when TESTRUN
= 'X'), or was saved is returned in this parameter. All data and notjust the modified data is returned here.
INCLUDE NBAPI_EXPORTPARAM_OPTIONAL OBJECT DOKU ID TX

Description
The Austria-specific movement data as it would be saved (when TESTRUN ='X') or was saved is returned in this parameter. This is all data andnot just the changed data.
INCLUDE NBAPI_EXPORTPARAM_OPTIONAL OBJECT DOKU ID TX
The field ASSIGNED_FROM_TO is obsolete and is not supported.

Description
The case data as it would be saved (when TESTRUN = 'X') or wassaved is returned in this parameter. This is all data, and not just thechanged data.
INCLUDE NBAPI_EXPORTPARAM_OPTIONAL OBJECT DOKU ID TX
INCLUDE NBAPI_WORST_RETURNED_MSGTY
INCLUDE NBAPI_CLIENT
INCLUDE NBAPI_INSTITUTION

Description
In this structure you specify the data for the case to be changed andthe visit to be created.

Description
In this structure you specify the IS-H AT-specific data for the case tobe changed and the visit to be created (country version Austria).
The field ASSIGNED_FROM_TO is obsolete and is not supported.

Description
You specify the IS-H*MED-specific data for the case to be changed andthe visit to be created in this structure.
INCLUDE NBAPI_PATCASEID OBJECT DOKU ID TX
INCLUDE NBAPI_TESTRUN

Description
Errors that occur are returned in this table.
INCLUDE NBAPI_RETS_VISIT_CREATE OBJECT DOKU ID TX