Fonction SAP BAPI_CASEPROCEDURE_GETLIST - IS-H BAPI CaseProcedure.GetList - List Case-Related Procedures

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COMPLETE_SURGERY_DATA BAPINALL-XIND C 1 'X' X Add Missing Procedure Data
INSTITUTION BAPI1303DATA-INSTITUTION C 4 Institution
MAXCNT BAPINALL-MAXCNT I 4 -1 X Maximum Number of Objects, Limit
ONLY_OFFICIAL_CODES BAPINALL-XIND C 1 SPACE X Transfer Official Procedure Codes Only
PATCASEID BAPI1303DATA-PATCASEID C 10 Case Number

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
CASEPROCEDURE_DATA BAPI1303DATA 382 Case-Related Procedures Determined
FILTER_CATEGORY BAPI1303RNGCATEGORY 5 X Filter for DRG Category
FILTER_EXTERNAL_ID BAPI1303RNGEXTID 43 X Filter for Codes from External System
FILTER_MAINCODE BAPI1303RNGMAINC 5 X Filter for Main Code Indicator
FILTER_MOVEMENT_SEQNO BAPI2097RNGMOVEMNTSEQNO 13 X Filter for Sequence Number of Movement
FILTER_PROCEDURE_TYPE BAPI1303RNGPROCTYP 7 X Filter for Procedure Type
FILTER_SG_PR_CODE BAPI1303RNGSRPRCODE 23 X Filter for Procedure Code
FILTER_SURGERY_TYPE BAPI1303RNGSURGTYP 7 X Filter for Surgery Type
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It returns the procedures performed for a specific case in a list. Theseare official and unofficial procedure codes.
You can further restrict the resulting set of procedures for the case byspecifying filter conditions (FILTER parameters).
Texts are not returned using this module.

Notes
INCLUDE NBAPI_PRECOND_AUTHORITIES
RESET N1
On case level: N_NICP_FAL;
EINRI,,,,= Institution passed
ACTVT,,= Display
N_NDIA_ORG
EINRI,,,,= Institution passed
ORGFA,,= Departmental organizational unit from movements
ACTVT,,= Display
The user must be authorized to display at least one departmentalorganizational unit of the movement.
INCLUDE NBAPI_FILTERS_AND_RELATION
INCLUDE BAPI_RET

Further information
Error messages

  • NICP001,,You are not authorized to display procedure

  • N1597,,Case &1 &2 has no movements

  • N1613,,You are not authorized to process this case in institution &

  • NE504,,More than & records were selected; please refine your search.

  • Parameter COMPLETE_SURGERY_DATA
    • This parameter is set by default. This means that for a surgery-related
    • procedure, the system determines the fields "Date", "Time" and"Departmental Organizational Unit" and "Nursing Organizational Unit"from the assigned surgery movement, since these values are not allowedto exist for the procedure. If the method is used to create a list ofprocedures, it is recommended to leave this parameter set. However, ifyou wish to use this method to determine procedures that you then changeor cancel with other methods, this parameter should not be set.
      INCLUDE NBAPI_WORST_RETURNED_MSGTY

      Description
      Movement-related and case-related procedures can exist for a case.
      Movement-related procedures are assigned to a specific surgerymovement using the sequence number of this movement. The start date,start time, end date, nursing organizational unit and departmentalorganizational unit are not allowed to be specified for theseprocedures. Consequently, this data does not exist on the database.
      In dialog mode, this data is determined from the assigned surgerymovement.
      If you need this BAPI to create a list, it makes sense to have the BAPIdetermine this missing data.
      If you wish to change the returned procedures, you must not set thisparameter. If the changed movement-related procedures with data andorganizational units are then passed, for example, to the BAPIBAPI_CASEPROCEDURE_CHANGEMULTIP, an error message occurs.
      INCLUDE NBAPI_INSTITUTION
      INCLUDE NBAPI_MAXCNT

      Description
      With IS-H Releases 4.63B/21, 4.71/12, and 4.72/03, you can manageofficial and unofficial procedure codes in the procedure code catalog.
      Unofficial procedure codes must be assigned the charge type 80(NTPK-ENTGA = 80). If the unofficial procedure code is assigned to anofficial code, the official code must also be entered in the fieldAlternative Identification of Service Catalog Item (NTPK-EXTNR)in the procedure code catalog.
      Official and unofficial codes are transferred as standard. However, ifyou only want to process official codes, you must set the parameterONLY_OFFICIAL_CODES = X.
      In this case, all official procedure codes that are not assigned tocharge type 80 are returned in the transfer table CASEPROCEDURE_DATA. Inaddition, the official codes of the unofficial procedure codes aretransferred. In other words, the field SG_PR_CODE only contains officialcodes and namely those of the official procedure and those of theunofficial procedures that are assigned to an official code.

      Default
      The default value of this parameter is SPACE. With this setting,official and unofficial codes are transferred.
      INCLUDE NBAPI_PATCASEID

      Description
      The determined case-related and movement-related procedures togetherwith the most important attributes are returned in this table.

      Default
      If you have not made any restrictions, all of the procedures entered forthe case are returned.
      DE: Official and unofficial procedure codes are returned, by default.

      Description
      Selection criterion for the fieldNICP-DRG_CATEGORYICPML.
      This filter parameter lets you determine either principal proceduresonly or secondary procedures only.
      If you do not enter any value here, the procedures are determinedindependently of the content of the field "Category"(NICP-DRG_CATEGORY).

      Value range
      Possible values:

      • P,,Procedure is DRG principal procedure

      • S,,Procedure is DRG secondary procedure

      • " ",,No DRG procedure
      • Default
        There is no default value for this parameter. If you do not specify afilter procedure here, the procedures are determined independently ofthe DRG category. In other words, principal procedures, secondaryprocedures and procedures that are not DRG procedures are returned.

        Description
        Selection criterion for the field NICP-IDENT.

        Value range
        The field can have any numeric and alphanumeric value.

        Default
        There is no default value for this parameter. If you do not specify afilter condition here, the procedures are determined independently oftheir external code.

        Description
        Selection criterion for the field NICP-ICPHC.

        Value range
        The indicator can have the following values:

        • "X",,procedure is main code

        • " ",,procedure is not main code
        • Default
          There is no default value for this parameter. If you do not specify afilter condition here, procedures flagged as the main code andprocedures not flagged as the main code are returned.

          Description
          Selection criterion for the field NICP-LFDBEW.
          This selection criterion lets you determine all procedures that areassigned to a specific movement of the case. The sequence number of amovement is unique within a case.

          Value range
          The sequence number of a movement can have a value between "00001" and"99999".
          All specifications for this field are alpha converted. This means thatyou can omit leading blanks and zeros.
          Example
          "00002",,Only determine procedures that are assigned to the movementnumber 2.

          Default
          There is no default value for this parameter. If you do not specify afilter condition, procedures are determined independently of themovement assignment. In such cases, movement-related and case-relatedprocedures are returned.
          If you only want to determine case-related procedures, you must specifythe sequence number "00000".

          Description
          Selection criterion for the field NICP-PRTYP.
          The procedure type lets you determine, for example, only procedures thatare flagged as internal mechanical ventilation hours, or procedures thatwere entered after final billing.

          Value range
          Current possible values:

          • '01',,Procedure was entered after final billing

          • '73',,Procedure is an internal mechanical ventilation procedure

          • '80',,Procedure is an unofficial code

          • ,,Standard procedure
          • Default
            There is no default value for this parameter. If you do not specify afilter condition here, the procedures are determined independently oftheir procedure type.

            Description
            Selection criterion for the field NICP-ICPML.

            Value range
            Valid procedure codes are defined in the procedures catalog. The validprocedures catalog is stipulated in Customizing (system parameterOP_TARIF or DRGTARIF).

            Default
            There is no default value for this parameter. If you do not specify afilter condition, procedures are determined independently of theirprocedure code.

            Description
            Selection criterion for the field NICP-OPART.

            Value range
            The values that can be assigned to this field are defined inCustomizing (table TN140).

            Default
            There is no default value for this parameter. If you do not specify afilter condition here, the procedures are determined independently ofthere surgery type.

            Description
            Errors that occurred are returned in this table.

            Value range
            The following error messages can occur:

            • NS016:,,,,Institution does not exist

            • N1117:,,,,Institution does not exist

            • NICP001:,,You are not authorized to display procedure

            • N1597:,,,,Case &1 &2 has no movements

            • N1613:,,,,You are not authorized to process this case
            • in institution &
              • NE504:,,,,More than records were selected;
              • refine your search.