Ansicht
Dokumentation

ISH_PCS_CASE_KEYFIGURES - IS-H: Determines Case-Related PCS Keyfigures

ISH_PCS_CASE_KEYFIGURES - IS-H: Determines Case-Related PCS Keyfigures

Addresses (Business Address Services)   ABAP Short Reference  
Diese Dokumentation steht unter dem Copyright der SAP AG.
SAP E-Book

Funktionalität

This function module calculates key figures for a case dependent on the Patient Classification Systems (PCS) that is utilized in a given country. Examples for PCS are the following:

  • Germany: G-DRG (German DRGs)
  • Austria: LDF (Leistungsbezogene Diagnosen-Fallgruppen)
  • Netherlands: DBC (Diagnose Behandel Combinatie).

The returned key figures cover generic ones like the case's classification which is the ID of the PCS class (e.g. the DRG code for Germany) and the ID of the superordinate PCS group (e.g. the MDC code for Germany) and the length of stay.

In addition to the generic key figures, PCS specific key figures are calculated dependent on the PCS type like the cost weight for G-DRG.

Import parameters:

  • I_INSTITUTION: the institution in which the case exists.
  • I_CASE_NO: the number of the case you want to calculated the key figures for.
  • I_PCS_TYPE: the ID of the PCS type you are using (the values are defined as fixed values of the domain ISH_PCS_TYPE) like
  • G_DRG (German Diagnosis Related Groups)

  • LDF (Austria specific, Leistungsbezogene Diagnosen-Fallgruppen)

  • DBC (Netherlands specific, Diagnose Behandel Combinatie)

  • GENER (Generic version for PCS that are not yet implemented in SAP Patient Management. In this case, we made the assumption that transaction NPDRG2 is used for entering PCS data for a given case. Then only generic key figures are returned (see export parameter ES_COMMON_KEYFIGURES for details)).

  • IS_CASE_DATA (optional): if the case record is not passed over, it is read from the database.
  • IS_SPECIFIC_IMPORT_PARAMS (optional): for a specific PCS type, additional data might be needed for key figure calculation. This parameter will typically be handed over to the PCS specific function module. For example for the call of this function module with I_PCS_TYPE = G_DRG, a variable of type RNPCS_IMPORT_PARAMS_G_DRG will have to be passed over via IS_SPECIFIC_IMPORT_PARAMS.
  • I_READ_PCS_FROM_DB (optional):
  • ON: PCS code, PCS catalog, PCS super group and PCS super group catalog are read from the database. The corresponding import parameters in IS_SPECIFIC_IMPORT_PARAMS will be ignored.

  • OFF: PCS code, PCS catalog, PCS super group and PCS super group catalog are taken from IS_SPECIFIC_IMPORT_PARAMS, even if they are initial.

Import/Export parameters:

  • IT_MOVEMENT_DATA (optional): if the movement table is not passed, it is read from the database and then returned.

Export parameters:

  • ES_COMMON_KEYFIGURES: this structure contains the generic data independent of a PCS type.
    When this function module is called in the generic mode (I_PCS_TYPE = GENER, then only the following fields are populated:
  • PCS_CODE: the PCS code from the active DRG (NDRG-DRG_CODE)

  • PCS_CAT: the corresponding catalog (NDRG-DRG_CAT)

  • PCS_GROUP: the MDC of the active DRG (NDRG-MDC_CODE)

  • PCS_GROUP_CAT: the corresponding MDC catalog (NDRG-MDC_CAT).

  • LOS: the length of stay in days, calculated as discharge date minus admission date.

  • If the additonal fields like REVENUE, LLOS (lower length of stay) are filled, depends on the PCS type.
    See the documentation of the PCS specific function modules for the values of the generic fields.

  • ES_SPECIFIC_KEYFIGURES: via this parameter, the PCS specific data is returned. When calling this function module, the type of the actual parameter will depend on the PCS type, e.g. for G-DRGs it will be type RNDRG_CASE_KEYFIGURES and will contain the G-DRG specific key figures.
Some of the specific key figures are redundant with the generic figures returned in ES_COMMON_KEYFIGURES, e.g. for G-DRGs the value of PCS_CODE (passed via parameter ES_COMMON_KEYFIGURES in structure RNPCS_CASE_KEYFIGURES) is the same as the value of DRG (passed via parameter ES_SPECIFIC_KEYFIGURES in structure RNDRG_CASE_KEYFIGURES)

Beispiel

If you want to calculate key figures for the German G-DRG system you have to call ISH_PCS_CASE_KEYFIGURES with parameter I_PCS_TYPE = 'G_DRG'. Then the german keyfigure calculation module ISH_DRG_CASE_KEYFIGURES will be called.

You may provide an import parameter structure IS_SPECIFIC_IMPORT_PARAMS of type RNPCS_IMPORT_PARAMS_G_DRG.

You have to provide an export structure ES_SPECIFIC_KEYFIGURES of type RNDRG_CASE_KEYFIGURES for the German specific key figures.

Hinweise

Weiterführende Informationen





Parameter

ES_COMMON_KEYFIGURES
ES_SPECIFIC_KEYFIGURES
IS_CASE_DATA
IS_SPECIFIC_IMPORT_PARAMS
IT_MOVEMENT_DATA
I_CASE_NO
I_INSTITUTION
I_NO_BUFFERING
I_PCS_TYPE
I_READ_PCS_FROM_DB
I_READ_TE
I_READ_ZE

Ausnahmen

CALCULATION_ERROR
MISSING_PCS_PARAMETERS
NO_ADMISSION
NO_PCS_CODE
PCS_TYPE_NOT_SUPPORTED

Funktionsgruppe

NPCS_KEYFIGURES

Addresses (Business Address Services)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
Diese Dokumentation steht unter dem Copyright der SAP AG.

Length: 6214 Date: 20240523 Time: 130326     sap01-206 ( 154 ms )