Fonction SAP BAPI_CASEDIAGNOSIS_GETDETAIL - IS-H BAPI CaseDiagnosis.GetDetail - Display Details on Diagnosis

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DIAG_SEQNO BAPI2098DATA-DIAG_SEQNO N 3 X Sequence Number of a Diagnosis
EXT_DIAGNO BAPI2098DATA-EXT_DIAGNO C 8 X External Diagnosis Number
INSTITUTION BAPI2098DATA-INSTITUTION C 4 Institution
PATCASEID BAPI2098DATA-PATCASEID C 10 Case Number

Paramètre Reférence Type Long. Description
DEPT_ENTERING_DATE BAPI2098MOV-ENTER_DATE D 8 Date of Admission into Dept. OU
DEPT_ENTERING_TIME BAPI2098MOV-ENTER_TIME T 6 Time of Admission into Dept. OU
DIAGNOSIS_DATA BAPI2098DATA u 884 Details on Case-Related Diagnosis
DIAG_DEPARTMENT BAPI2098MOV-DEPARTMENT C 8 Dept. OU in which Diagnosis Was Made
WORST_RETURNED_MSGTY BAPINALL-WORSTRETMSG C 1 Most Severe Message Type

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

Functionality
INCLUDE NBAPI_ISH
It returns detailed information on a particular case-related diagnosis.
This information includes:

  • All diagnosis data available in the diagnosis table

  • The departmental organizational unit in which the diagnosis was made

  • The date of arrival on this departmental organizational unit.

  • The result of the BAPI depends on the documentation form. If this is 1(case-related by department stay and by outpatient visit) or 2(case-related by department), the data of the department (name, dateand time of arrival) are returned as well. With documentation form 3(for the complete case), no department data is returned.
    The same applies to the authorization checks: with documentation forms1 and 2 the authorization for the department is checked. This is not sowith documentation form 3.

    Example

    Notes
    The actual diagnosis data is read either via a buffered table(dia_buffer), or, if the diagnosis data is not available there,directly via the database.
    INCLUDE NBAPI_PRECOND_AUTHORITIES
    N_NDIA_ORG at diagnosis level

    Further information

    Description
    The date of arrival on the departmental organizational unit is returnedin this parameter.

    Description
    The date and time of arrival on the departmental organizational unitare returned in this parameter.

    Description
    Detailed information about the case-related diagnosis made is returnedin this structure.

    Description
    The departmental organizational unit on which the diagnosis was made isreturned in this parameter.
    INCLUDE NBAPI_WORST_RETURNED_MSGTY
    INCLUDE NBAPI_DIASEQNO
    INCLUDE NBAPI_DIAEXTNO
    INCLUDE NBAPI_INSTITUTION
    INCLUDE NBAPI_PATCASEID

    Description
    INCLUDE BAPI_RET

    Value range
    The following error messages can occur:

    • N8 111: Parameters not specified in the interface

    • N6 570: Diagnosis & does not exist for case &

    • N6 565: External diagnosis code & is not unique

    • N1 600: Authorization error

    • And all error messages of the authorization checks.