Fonction SAP BAPI_CASESERVICE_CHANGEMULT - IS-H BAPI CaseService.ChangeMultiple - Change Case-Related Services

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT BAPINALL-CLIENT C 3 Client
INSTITUTION BAPI2099DATA-INSTITUTION C 4 Institution
PATCASEID BAPI2099DATA-PATCASEID C 10 Case Number
TESTRUN BAPINALL-TESTRUN C 1 SPACE X Test Mode (No Changes in Database)

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
CASESERVICE_CASSPAR BAPI2099CASSPAR 52 X Assignments to Physicians (Bus. Partners) to Be Changed
CASESERVICE_CDATA BAPI2099CDATA 694 Data for the Services to Be Changed
DOCCONTENT BAPIDOCCOLLCONTENT 255 X IS-H Content of Collective Representation for Documents
DOCINFO BAPIDOCCOLLINFO 48 X IS-H Mgmt Structure for Collective Representation of Docs
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It enables you to change services (including assignments to physicians)of a given case.

Notes
INCLUDE NBAPI_PRECOND_AUTHORITIES
RESET N1
At case level: N_NLEI_FAL;
At service level: N_NLEI_ANF, N_NLEI_ANP and N_NLEI_ERB.
The system attempts to process (i.e. update) eachCASESERVICE_CDATA record that is passed to it. Recordscontaining errors are flagged accordingly in theCASESERVICE_CDATA parameter table. In test mode, you cancheck the consistency of the data.
Since certain modifications result in further services being generated,(splitting of extended services caused by transfer of patient), it canbe the case that more services are generated than have been passed on.The services that have been passed on are assigned explicitly to thegenerated data.
INCLUDE BAPI_RET
INCLUDE NBAPI_WORST_RETURNED_MSGTY
INCLUDE NBAPI_CLIENT
INCLUDE NBAPI_INSTITUTION
INCLUDE NBAPI_PATCASEID
INCLUDE NBAPI_TESTRUN

Description
If you want to change further assignments of physicians to a service,you can specify these in this table. In such cases, the related datarecords must be linked via the RULETYPE and ACTIONSEQNOfields in the CASESERVICE_CDATA and CASESERVICE_CASSPARtables. You must specify an 'A' for "Create physician assignment" or an'L' for "Delete physician assignment" in the ACTION field.

Description
Specify the data pertaining to the case-related services you want tochange in this table.
Specify the sequence number of the case-related service in theSERVICE_SEQNO field and a 'U' (for update) in the ACTIONfield. You must leave the SERVICEID field empty.
In the RULETYPE field, you must specify the identification keyfor the rule type that is also passed on to the database. The rule typemust, however, be authorized for use in BAPIs. For more informationabout this, refer to the IS-H Implementation Guide in the SAPsystem by choosing Patient Accounting -> Service Rules ->Maintain Check Procedure.
You can specify attributes for the services to be changed in the fieldsof the CASESERVICE_CDATA table for which there are alsocorresponding fields with the same name and the suffix 'X' in thestructure. The corresponding attribute is only evaluated if the related"X field" contains an 'X'.
The following applies for the country version Switzerland:
Since the session code is stored in field WNDNR, it must be included atpositions 3 + 4 in the data passed in fieldCASESERVICE_CDATA-WOUND_NO , so as to be correctly recognized andsaved by the system.
The method tries to process each record transferred. Records containingerrors are flagged (exclamation mark '!' in the fieldCASESERVICE_CDATA-ACTION) and skipped. The errors that occurredare collected in the parameter RETURN.
If you want to change additional assignments of physicians to a service,you can specify these in the CASESERVICE_CASSPAR table. In thiscase, the related data records must be linked explicitly via theRULETYPE and ACTIONSEQNO fields and the ACTIONSEQNOfield contains a sequence number you are free to assign.
INCLUDE NBAPI_DOCCOLLCONTENT
INCLUDE NBAPI_DOCCOLLINFO

Description
Any errors that may have occurred are returned in this table.

Value range
The following error messages can occur:

  • NC 603: Current client is , but data is determined for client

    • NC 604: Unit of measure cannot be changed. Catalog value applies.

    • NS 016: Institution does not exist

    • NS 017: Company code does not exist

    • MC 600: System error occurred during lock administration

    • MC 601: Object requested is currently locked by user

    • MC 602: The requested object is locked by another transaction

    • MC 603: Lock table overflow

    • DA 300: No active nametab exists for

    • NE 521: You are not authorized to change services

    • N1 117: Institution does not exist

    • N1 034: Case does not exist

    • N1 613: You are not authorized to process this case in institution
    • .
      • N1 601: Number of parameters in check object is
      • invalid
        • N1 602: Specified object not maintained in user
        • master
          • N1 603: No profile is entered in user master

          • N1 604: Authorization for not
          • found in user master
            • N1 606: You are not authorized to carry out actions in the SAP System

            • N1 605: The user master is incorrectly set upb (SY-SUBRC =
            • )
              • N1 026: Case is cancelled

              • N1 002: Case has no further movements

              • N1 114: On , no entry for system parameter in inst.
              • (time-dept.)
                • NE 532: Invalid rule type

                • NE 508: Invalid action (only permitted)

                • NE 524: A service code may not be entered here

                • NE 525: Enter the service code

                • 00 126: Negative values not allowed

                • NE 526: Only one change record permitted per service

                • NE 508: Invalid action (only permitted)

                • N3 267: Enter a business partner for the function

                • N3 269: Service : Business partner already has
                • the function
                  • NE 501: Service // is not
                  • defined
                    • N3 338: Specify a valid service code

                    • N3 071: Business partner does not exist (check entry)

                    • N3 270: Function does not exist (check entry)

                    • N3 269: Service : Business partner already has
                    • the funtion
                      • NE 527: Physician does not exist with function

                      • N0 466: Service catalog is not defined in institution

                        • N3 404: Service does not exist

                        • N0 084: Column is not defined in service catalog

                        • N2 077: Enter a valid assignment type

                        • N2 041: Organizational unit does not exist

                        • 00 002: Please enter a valid value

                        • NE 501: Service // is not
                        • defined
                          • N1 563: Movement number of case does not exist

                          • NE 523: You are not authorized to change this service

                          • NE 528: Assignment type cannot be changed

                          • N3 886: Specify an alternative price for service

                          • N3 632: Service already billed for. No/limited changes are
                          • possible.
                            • N3 284: Provisional billing carried out for the case - limited changes
                            • possible
                              • N3 456: Final billing done for case . Billable services
                              • cannot be maintained.
                                • N3 864: Service is blocked for entry

                                • NE 511: Alternative service text not allowed for service

                                • NE 512: Enter a non-billable service group

                                • N3 887: An alternative price is not allowed for service

                                • NE 515: System Error: RNLSR does not correspond to NLEI

                                • NE 516: Invalid movement assignment of an extended service

                                • NE 517: Extended services must be for longer than one second

                                • N3 320: Immediate service: A time interval in invalid here.

                                • N3 006: Start date is after end

                                • N3 302: Service in service catalog only valid
                                • between and
                                  • N3 625: Service : Admission date is after start date

                                  • N3 626: Service : Discharge date is before end date

                                  • NE 518: Complete time specification for service

                                  • N3 313: Extended service, a quantity specification is invalid here

                                  • N3 376: You cannot enter planned services in the past

                                  • N3 768: Check the service status

                                  • NE 507: You are not authorized to enter services for OU

                                  • N3 874: Service was already fully billed for on

                                  • N3 309: Time overlap with identical service

                                  • NE 519: Number range interval not found

                                  • NE 520: Number assignment failed

                                  • NF 575: Enter a valid localization

                                  • The following warning messages can occur:
                                    • NE 514: Assignment type ignored by the system

                                    • N3 768: Check the service status

                                    • N3 779: Movement has "planned" status, service has "actual" status

                                    • N3 331: Movement has "planned" status. Extnd. svces. must have
                                    • "planned" status.

382849IS-H: No change from non-billed for Services