Ansicht
Dokumentation

ISH_NCSSN_GETLIST - IS-H: Function Module for Obtaining List of SSN Records for a Case/TC

ISH_NCSSN_GETLIST - IS-H: Function Module for Obtaining List of SSN Records for a Case/TC

rdisp/max_wprun_time - Maximum work process run time   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This API is used to retrieve the SDO records associated with a case or/and a SSN unique identifier per institution. This API is also used to retrieve AMB records associated with a case or/and internal treatment certificates or/and Ambulatory numbers or/and Ambulatory Code per institution.

By doing this, the history of each SSN record sent in a file is obtained from the tables NCSSNID and NCSSN.

The communication header information is stored in the database table NCSSNID. This contains details such as the Institution, Case number, and the SSN ID (SDO ID) which was considered for file creation. In addition to these details, for the AMB record, the internal Treatment Certifcate (TC) number, Ambulatory number and the Ambulatory Code are also stored. The header table also contains additional details like the sequence number of the SSNID (SDO ID) per case/AMBID per internal TC or the sequence number of the internal TC per case, the EDI procedure used for communicating the SSN record, the user who created the record, and the date and time of creation of the record.

The communication item information is stored in the database table NCSSN. This contains details similar to the table NCSSNID. In addition, it contains details specific to communication standards such as the communication standard, version, owner code, message type, and message segment. It also stores the internal communication status of the SSN record, indicating if it is 'First Submission', 'Amendment' or 'Cancelation'. The SSN record as a whole is also saved in this table in the form of a string.

The importing parameter 'I_EINRI' (Institution) has to be mandatorily passed to this API. Apart from this, atleast one of the other importing parameters has to be passed mandatorily as well. Note that, Ambulatory Code is an exception to this. It has to be passed along with atleast one other importing parameter (apart from Institution) if the retrieval of SSN records has to be done specific to an Ambulatory Code.

The importing parameter 'I_SSNID' is used only for retrieving SDO records of an inpatient case. This shall contain the SDO unique identifier of the SDO records. Note that, this parameter is valid only for SDO records and not for AMB records.

Also note that, the importing parameter 'I_BELNR' is the internal treatment certifiate number and not the external treatment certificate number.

Note: An entry is made into the table NCSSNID only if the case or the treatment certificate has not previously been communicated to SSN i.e. only the first time it is communicated to SSN. However, entries in the table NCSSN for a case or a internal treatment certificate are made every time it is communicated to SSN.

Checks for the validity of all the importing parameters are also done within this API. If these checks for any single Case/internal TC/AMB Number then the further processing of the API is stopped.

Example

For example, to determine the value of the field Internal communication statuswithin the SDO record, the record in the table NCSSN corresponding to the case or /and SSN unique ID is retrieved.

Also, to determine the value of the field Internal communication statuswithin the AMB record, the record in the table NCSSN corresponding to the respective Case/internal TCs/Ambulatory numbers per Ambulatory code and institution are retrieved.

Notes

Further information





Parameters

ET_NCSSN
ET_NCSSNID
ET_RETURN
E_RETMAXTYPE
IT_AMBID
IT_BELNR
I_AMBCODE
I_CHECK_BELNR
I_EINRI
I_FALNR
I_SSNID

Exceptions

Function Group

N_API_NCSSN

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3988 Date: 20240523 Time: 144832     sap01-206 ( 100 ms )