Fonction SAP BAPI_CASEDIAGNOSIS_CHANGEMULT - IS-H BAPI CaseDiagnosis.ChangeMultiple - Change 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
INPUT_DIAGNOSIS BAPI2098DATAX 705 Table Containing Diagnosis Data to Be Changed
OUTPUT_DIAGNOSIS BAPI2098DATA 884 X Table Containing Generated Diagnosis Data
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It enables the diagnoses for a particular case to be modified. Thediagnoses to be modified are passed on in the INPUT_DIAGNOSISinput table.

Notes
INCLUDE NBAPI_DIAPARAMS
The same checks are carried out on the diagnoses to be modified as whencreating diagnoses. The following are checked:
INCLUDE NBAPI_DIACHECKS
The following additional checks are carried out:

  • Whether a link exists between diagnosis and procedure (if the surgery
  • indicator is reset),
    • Whether a link exists between diagnosis and procedure,

    • Whether the case has been final billed.

    • INCLUDE NBAPI_DIASET

      Further information
      The authorization N_NDIA_ORG is required to enable the modifications tobe 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 bechanged.
      This is a structure containing checkboxes, i.e. you must flag ('X') thediagnosis data to be changed. The input parameters INSTITUTIONand PATCASEID along with the sequential diagnosis numberDIAG_SEQNO of the respective diagnosis record are used to changea diagnosis.
      All fields that belong to the transfer structure are checked forcoherency and validity.

      Description
      This table contains the diagnosis records as they were changed in thedatabase.
      It does not contain the diagnoses of the input table that could not bechanged on account of incorrect data. The changed data can differ fromthe entered data if field contents were empty or inconsistent.

      Description
      INCLUDE BAPI_RET

      Value range
      The following error messages can occur:
      INCLUDE DIA_ERRORS

      • N6 570: Diagnoses & does not exist for caes &

      • N6 514: Movement of case & & is not assigned to an org. unit

      • N6 519: Please enter a diagnosis

      • N6 523: A hospital main diagnosis has already been entered for case & &

      • N6 569: The diagnosis is flagged as a treatment diagnosis

      • N6 512: Diagnosis & is not defined in catalog & (please check entry)

      • N6 543: Discharge diagnosis may have been output on the final billing
      • form
        • N6 546: Diagnosis & is assigned to a surgery

        • N6 525: The number of surgeries has not been specified