Fonction SAP BAPI_CASEDIAGNOSIS_GETLIST - IS-H BAPI CaseDiagnosis.GetList - List Diagnoses for Case

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADMISSION_DIAG BAPI2098DATA-ADMISSION_DIA C 1 'X' X Checkbox for Admission Diagnosis
DEPT_MAIN_DIAG BAPI2098DATA-DEPT_MAIN_DIA C 1 'X' X Checkbox for Department Main Diagnosis
DISCHARGE_DIAG BAPI2098DATA-DISCHARGE_DIA C 1 'X' X Checkbox for Discharge Diagnosis
DRG_DIAG BAPINALL-XIND C 1 OFF X Checkbox for DRG Diagnoses Only
HOSP_MAIN_DIAG BAPI2098DATA-HOSP_MAIN_DIA C 1 'X' X Checkbox for Hospital Main Diagnosis
INSTITUTION BAPI2098DATA-INSTITUTION C 4 Institution
NO_DRGDIAG BAPINALL-XIND C 1 OFF X Checkbox for Diagnoses Other than DRG Diagnoses
PATCASEID BAPI2098DATA-PATCASEID C 10 Case Number
REFERRAL_DIAG BAPI2098DATA-REFERRAL_DIA C 1 'X' X Checkbox for Referral Diagnosis
SURGERY_DIAG BAPI2098DATA-SURGERY_DIA C 1 'X' X Checkbox for Surgery Diagnosis
TREATMENT_DIAG BAPI2098DATA-TREATMENT_DIA C 1 'X' X Checkbox for Treatment Diagnosis

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
CASE_DIAGNOSIS BAPI2098DATA 884 Diagnosis Data
FILTER_DIAG_DATE BAPINRNGDATE 19 X Filter on Diagnosis Date
FILTER_DIAG_DEPARTMENT BAPINRNGOU 19 X Filter on Departmental OU of Diagnosis
FILTER_EXT_DIAGNO BAPI2098RNGEXTNO 19 X Filter on External Diagnosis Number
FILTER_MOVEMENT_SEQNO BAPI2097RNGMOVEMNTSEQNO 13 X Filter on Movement Number
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It returns the data entered for a particular case in a list. Selectioncriteria can be specified using the FILTER parameters. These relate to:

  • The date on which the diagnosis was created

  • The movement number to which the diagnoses belong

  • The external diagnosis number

  • The departmental organizational unit in which the diagnosis was made

  • The diagnosis indicators (referral diagnosis, treatment diagnosis,
  • etc.)

    Example
    Note the following for the parameters in relation to the diagnosisindicator:

    • If you only require referral diagnoses, you must set the parameter
    • (REFERRAL_DIAG) corresponding to the 'referral diagnosis' checkbox.
      • If you require treatment diagnoses (i.e. admission, discharge,
      • department main, hospital main and surgical diagnoses), you must setthe parameter TREATMENT_DIAG.
        • If you require treatment and referral diagnoses, you must set both
        • parameters (REFERRAL_DIAG and TREATMENT_DIAG).
          • If you only require admission diagnoses, you must only set the
          • corresponding parameter (ADMISSION_DIAG) and NOT the parameter denotingthe superordinate diagnosis category 'treatment diagnosis'. Settingthis parameter as well is the equivalent of requesting all treatmentdiagnoses.

            Notes
            To be able to execute this method you require the authorizationN_NDIA_ORG. With documentation forms 1 or 2, the user must haveauthorization for the respective organizational unit, in which thediagnosis was made, for it to be returned by the BAPI.
            The diagnosis data is always read from the database. Data records arenot buffered.
            The BAPI GetList, however, sets the global buffer (dia_buffer) toenable buffered access should the BAPI GetDetail be called.

            Further information
            INCLUDE NBAPI_WORST_RETURNED_MSGTY

            Description
            If you flag this checkbox ('X'), all of the admission diagnoses of thecase are returned.

            Description
            If you flag this checkbox ('X'), all of the department main diagnosesof the case are returned.

            Description
            If you flag this checkbox ('X'), all of the discharge diagnoses of thecase are returned.

            Description
            If you flag this checkbox 'X', the method only returns those diagnosesthat can be interpreted by a DRG finder tool. If the checkbox DRGDIASis flagged, parameter NO_DRGDIAG is ignored, since these two parametersare mutually exclusive.

            Description
            If you flag this checkbox ('X'), all hospital main diagnoses of thecase are returned.
            INCLUDE NBAPI_INSTITUTION

            Description
            If you flag this checkbox (X), the method only returns those diagnosesthat cannot be interpreted by a DRG coding and grouping tool. If thecheckbox DRGDIAG is flagged, the parameter NO_DRGDIAG is ignored, sincethese two parameters are mutually exclusive.
            INCLUDE NBAPI_PATCASEID

            Description
            If you flag this checkbox ('X'), all referral diagnoses of the case arereturned.

            Description
            If you flag this checkbox ('X'), all surgery diagnoses of the case arereturned.

            Description
            If you flag this checkbox ('X'), all treatment diagnoses of the caseare returned.

            Description
            The diagnosis data of the case with respect to the filter conditions isreturned in this table.

            Description
            This filter enables you to restrict the value range of the diagnosiscreation date.

            Value range
            All valid date specifications.

            Description
            This filter enables you to restrict the value range of the departmentalorganizational unit on which the diagnoses should be made.

            Value range
            All of the organizational units defined in the specified institution.

            Description
            This filter enables you to restrict the value range of the externaldiagnosis number.

            Description
            This filter enables you to restrict the value range of the movementnumber.
            Each diagnosis is assigned to a movement of the patient's case.

            Value range
            All valid movement numbers of the case.
            If, for example, all diagnoses corresponding to the movement '002' areto be output, fill the range table FILTER_MOVEMENT_SEQNO as follows:
            Sign = I
            Option = EQ
            Low = 002
            High is empty

            Default
            None.

            Description
            INCLUDE BAPI_RET

            Value range
            The following error messages can occur:

            • N6 506: There are no diagnoses for case & &

            • N1 600: Authorization error

            • N6 533: You are not authorized to display all diagnoses

            • And all error messages of the authorization checks.