Skip to content

Commit

Permalink
issues #2281 and #864 - batch/transaction bundle processing changes
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).

I also made significant formatting changes in FHIRRestHelper.

Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
  • Loading branch information
lmsurpre committed Apr 23, 2021
1 parent 8507138 commit 024212e
Show file tree
Hide file tree
Showing 3 changed files with 332 additions and 385 deletions.
Loading

0 comments on commit 024212e

Please sign in to comment.