Skip to content

Commit

Permalink
Merge branch 'task/returnDltdResources' of https://github.com/kanikas…
Browse files Browse the repository at this point in the history
  • Loading branch information
kanikasharma97 committed May 9, 2024
2 parents 022153a + d0a69a3 commit 5515e2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/tutorials/4 Request Handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ onSavePress: function(){
Depending on the submit mode the callback will be invoked with specific type of parameters.

If the group submit mode is Batch/Transaction then the success callback will contain all the FHIR Resources which were part of the request and in case of failed enteries in Bundle the error callback will be invoked with the successful resources and the operation outcome enteries.
In case of delete if the API doesn't return FHIR resources which got deleted successfuly, while resolving the promise, the removed resources are fetched from the model and assigned to aFHIRResource.

```javascript
onSavePress: function() {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
"eslint": "^8.57.0",
"eslint-watch": "^8.0.0",
"js-beautify": "^1.15.1",
"jsdoc": "^4.0.2",
"jsdoc": "^4.0.3",
"@jsdoc/salty": "^0.2.8",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-junit-reporter": "^2.0.1",
"karma-ui5": "^3.0.4",
"@ui5/cli": "^3.9.2",
"@ui5/cli": "^3.10.0",
"coveralls": "^3.1.1",
"replace-in-file": "^7.1.0",
"js-yaml": "^4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/sap/fhir/model/r4/FHIRUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,8 @@ sap.ui.define([

/**
* Filters an array of FHIR resources by their IDs, removing those that match the provided IDs.
* @param {Array<object>} aResources - The array of FHIR resources to filter.
* @param {Array<string>} aSIds - The array of resource IDs to exclude from the filtered result.
* @param {Array<object>} aResource - The array of FHIR resources to filter.
* @param {Array<string>} aID - The array of resource IDs to exclude from the filtered result.
* @returns {Array<object>} - The filtered array of FHIR resources.
* @private
* @since 2.4.0
Expand Down

0 comments on commit 5515e2d

Please sign in to comment.