-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
1. FHIRRestHelper.validateBundle now returns a sparse array (modeled as a map) of bundle response entries with warnings. It used to construct an entire response bundle. 2. FHIRRestHelper.processEntriesByMethod replaces FHIRRestHelper.processEntriesForMethod and iterates the request entries a single time, instead of once-per-method. 3. Entries are collected into an array instead of "modifying" the responseBundle with each one (which forced lots of needless copying since our model is now immutable). 4. Stop duplicating custom operation results in the `Bundle.entry.response.outcome` field of the response. We already copy the operation's result in the `Bundle.entry.resource` and that should be sufficient. I also made significant formatting changes in FHIRRestHelper. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
- Loading branch information
Showing
4 changed files
with
350 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.