Fonction SAP BAPI_PATCASE_ADDOUTPATVISITCAS - IS-H BAPI PatientCase.AddOutpatientVisitCase - Create Outpat. Case + 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 BAPI2097OCVIN u 514 Data for Case and Visit to be Created
OUTPAT_VISIT_DATA_AT BAPI2097ATIN u 77 X IS-H AT Data for Case and Visit to Be Created
OUTPAT_VISIT_DATA_MED BAPI2097N1MED u 18 X IS-H*MED Data for Case and Visit to Be Created
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 (Visit) Created
NEW_MOVEMNT_DATA_AT BAPI2097MOVEAT u 78 Movement Data (Visit) Created - AT Fields
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 outpatient case with an outpatient visit.The case data and visit data passed to the method is stored under thecase number PATCASEID (for external number assignment), or aninternally assigned case number 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 visit as it would be saved (when TESTRUN
= 'X') or was saved is returned in this parameter.
No case number is specified here in test mode (when TESTRUN ='X') with internal number assignment.

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.
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 of check digit is specified here in testmode with internal number assignment.
INCLUDE NBAPI_WORST_RETURNED_MSGTY
INCLUDE NBAPI_CLIENT
INCLUDE NBAPI_INSTITUTION

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

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

Description
In this structure, you specify the IS-H*MED-specific data for the caseand visit to be created.

Description
Explicit specification of the case number in the correspondinginstitution.
If you wish to create a case using a PATCASEID assignedexternally, you have to enter this case number here. Note that thenumber must occur within the permitted external number range. Checkbeforehand that this number has not been assigned already (usingBAPI_PATCASE_GETLIST, for example).
If you do not specify a 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
This value is defaulted to SPACE. If the parameter is not included inthe data passed to the method when the method is called, a new casenumber is determined internally.
INCLUDE NBAPI_PATIENTID
INCLUDE NBAPI_TESTRUN
INCLUDE NBAPI_TRANSACT_MODE

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