Ansicht
Dokumentation

EXIT_SAPLN030_002 - IS-H: Create an External Document ID when Creating a Medical Record

EXIT_SAPLN030_002 - IS-H: Create an External Document ID when Creating a Medical Record

Vendor Master (General Section)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is called when a medical record is created and when medical records are merged on account of a patient merge.

An external document type can be created in the module using the patient data available in the interface and in relation to the case type, medical record type, or the archive.

The external document number returned by the function module is saved as a data item pertaining to the medical record.

Enhancement of the User Exit:


In addition to the external document number, the internal document number and the internal document part number can now also be specified for creating a new medical record.

A number of import parameters have been added to the function exit:

  • IMPORT_DOCUMENT_ID,,,,proposed internal document number
  • IMPORT_DOCUMENT_PART_ID,,proposed internal document part number
  • ORGANIZATION_FORM,,,,organization form (e.g. '1' = create medical record per patient)
  • DEPARTMENT_OU,,,,,,departmental organizational unit
  • NURSING_OU,,,,,,nursing organizational unit

A number of export parameters have been added to the function module:

  • EXPORT_DOCUMENT_ID,,,,internal document number
  • EXPORT_DOCUMENT_PART_ID,,internal document part number

If the internal document number is to be specified, you must also make sure that the number range was synchronized accordingly, so as to avoid the error message 26/026 "Document number ... is not within external number range...".

Example

The internal document number should correspond to the patient number if the organization form of the medical record is defined as "Create medical record per patient".

IF organization_form = '1'.

   export_document_id = patient_master_data-patnr.

ENDIF.

Further information





Parameters

ARCHIVE
CASE_TYPE
DEPARTMENT_OU
DOCUMENT_TYPE
EXPORT_DOCUMENT_ID
EXPORT_DOCUMENT_PART_ID
EXTERNAL_DOCUMENT_ID
IMPORT_DOCUMENT_ID
IMPORT_DOCUMENT_PART_ID
INSTITUTION
NURSING_OU
ORGANIZATION_FORM
PATIENT_MASTER_DATA

Exceptions

Function Group

XNKA

ROGBILLS - Synchronize billing plans   General Material Data  
This documentation is copyright by SAP AG.

Length: 2747 Date: 20240523 Time: 060235     sap01-206 ( 33 ms )