-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAT-7373: Include the FHIR Bundle returned from VSAC FHIR Term Servic…
…e in the Value Set search response. Note: The Bundle is returned as a String because the typed Bundle object is excessively huge when serialized as it includes null/empty values by default.
- Loading branch information
1 parent
a92583c
commit f8c0212
Showing
4 changed files
with
22 additions
and
7 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
16 changes: 16 additions & 0 deletions
16
src/main/java/gov/cms/madie/terminology/dto/ValueSetSearchResult.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package gov.cms.madie.terminology.dto; | ||
|
||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
@Builder | ||
public class ValueSetSearchResult { | ||
List<ValueSetForSearch> valueSets; | ||
// Returning bundle as String because the FHIR Parser generates | ||
// a typed Bundle object that is excessively huge when serialized | ||
// since it initializes all values and arrays to null/empty array. | ||
String resultBundle; | ||
} |
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
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