-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add _tag and _profile search parameters for x-fhir-query (#1938)
* include _tag and _profile as search parameters in x-fhir-query. * include tests for _tag and _profile search parameter translation. * Added _tag and _profile as Constants. * Added tests for x-fhir-query search using _tag and profile params. * Modified _tag and _profile tests. * Use constants for _tag and _profile strings. * Modified tests. * Fix spelling * add standard search parameters to all resources. * include standard search parameters in SearchParameterRepositoryGeneratedTest * remove manual search parameter definition for _tag, _profile from XFhirQueryTranslator. * use generalized names for Tags and Patient. * change to uriFilterCriteria for _profile test. * fix NullPointerException on ResourceIndexer * Changed search parameter type from uri as defined in the current search-parameters.json file to reference as defined in fhir spec * Remove addIndexesFromResourceClass * Code refactor * Code refactor * Fix failing test. * Fix gettting id value for case when idPart is null but IdType has value * Code refactor: Create a separate function for common search parameters defined for all resources. * Update documentation for generating SearchParameterRepository_Generated.kt and SearchParameterRepositoryTestHelper_Generated.kt using codegen. * Changed search parameter type for _profile into Uri type as defined in R4 * Fix tests that uses reference type instead uri for _profile search parameter --------- Co-authored-by: Jing Tang <[email protected]>
- Loading branch information
1 parent
9cbc1f4
commit cfd88dc
Showing
6 changed files
with
230 additions
and
98 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
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
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.