Fonction SAP BAPI_CASEDIAGNOSIS_DELETEMULT - IS-H BAPI CaseDiagnosis.DeleteMultiple - Delete Diagnoses for Case

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT BAPINALL-CLIENT C 3 Client
INSTITUTION BAPI2098DATA-INSTITUTION C 4 Institution
PATCASEID BAPI2098DATA-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
WORST_RETURNED_MSGTY BAPINALL-WORSTRETMSG C 1 Most Severe Message Type

Paramètre Reférence Long. Facultatif Description
DELETED_DIAGNOSIS BAPI2098DATA 884 X Table Containing Deleted Diagnosis Data
INPUT_DIAGNOSIS BAPI2098DELETE 3 Table Containing Diagnosis Data to Be Deleted
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It deletes diagnoses for a given case. The sequence numbers of thediagnoses to be deleted are included with the data passed in tableINPUT_DIAGNOSIS.

Notes
INCLUDE NBAPI_DIAPARAMS
The method checks the following with regard to the diagnoses to bedeleted:

  • Status of the case (if final billing already peformed for the case, a
  • warning is issued)
    • Assignments to procedures (if the diagnosis is assigned to procedures,
    • it is not deleted)
      • Coherence with regard to other diagnoses for ICD-10 diagnoses (if a
      • dagger diagnosis is to be deleted, and dependent asterisk diagnosesstill exist, deletion is not possible).
        IS-H*MED-Specific Checks:
        • Use of the diagnosis in a service request or in a surgery request (this
        • diagnosis will not be deleted)
          • Use of the diagnosis in clinical documentation (this diagnosis will not
          • be deleted)

            Further information
            The authorization N_NDIA_ORG is required to enable changes to be made.
            INCLUDE NBAPI_WORST_RETURNED_MSGTY
            INCLUDE NBAPI_CLIENT
            INCLUDE NBAPI_INSTITUTION
            INCLUDE NBAPI_PATCASEID
            INCLUDE NBAPI_TESTRUN

            Description
            In this table you specify the data of the case-related diagnoses to bedeleted.
            For each diagnosis, you must specify the sequence number of thediagnosis in the field DIAG_SEQNO.

            Description
            INCLUDE BAPI_RET

            Value range
            The following error messages can occur:
            INCLUDE DIA_ERRORS