Functionality INCLUDE NBAPI_ISH It is used to create, change and cancel diagnoses of a specific case.The input data must be passed in the following parameters:
- INPUT_CREATE_DIAGNOSIS> - diagnosis records to be created
- INPUT_CHANGE_DIAGNOSIS> - diagnosis records to be changed
- INPUT_DELETE_DIAGNOSIS> - diagnosis records to be canceled.
Notes INCLUDE NBAPI_DIAPARAMS Concerning the diagnoses to be changed, the same checks are run as whendiagnoses are created. The following is checked: INCLUDE NBAPI_DIACHECKS The following additional checks are performed:
- Is there a relationship between diagnosis and procedure
- Is the case final billed.
INCLUDE NBAPI_DIASETFurther information To be able to make the changes, you require the authorizationN_NDIA_ORG. 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 becreated. This is a structure with checkboxes; i.e. you have to flag thediagnosis data to be modified with an "X". The input parametersINSTITUTION> and PATCASEID> together with the sequencenumber DIAG_SEQNO> of the respective diagnosis record are used tochange a diagnosis. All of the fields that belong to the transfer structure are checked forconsistency and validity.Description In this table, you specify the data of the case-related diagnoses to becreated. When diagnoses are created, the fields CLIENT>, INSTITUTION > and PATCASEID> of the entries in this table are transferredfrom the input parameters of the same name and are not checked. If adiagnosis sequence number (field LFDNR) is also passed to the method,it is ignored too. For each diagnosis, an existing movement number of the case (fieldMOVEMNT_SEQNO>) must be specified to which the diagnosis can beassigned. If necessary, the movement number can be changed when thediagnosis is created, since the BAPI determines the movement denotingentry into the department and assigns the diagnosis to this movement. All of the fields of the respective diagnosis record are transferredfor creating the diagnosis. The consistency and validity of all IS-Hfields is checked, but no checks are performed on the transferredIS-H*MED fields.Description In this table you specify the data for the case-related diagnoses to bedeleted. For each diagnosis to be deleted, the sequence number of the diagnosismust be specified in the field DIAG_SEQNO>.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: Diagnosis & does not exist for case &
- N6 514: Movement of case & & is not assigned to an org. unit
- N6 519: Enter a diagnosis
- N6 523: A hospital main diagnosis has already been entered for case & &
- N6 569: Diagnosis will be flagged as a treatment diagnosis
- N6 543: Discharge diagnosis may have been output on the final billing
form
- N6 546: Diagnosis & is assigned to a surgery
- N6 525: You have not specified the number of surgeries
|