@bluehalo/fhir-qb-mongo
v0.13.0
Published
FHIR query builder for Mongo DB
Downloads
5
Keywords
Readme
FHIR-Query-Builder-Mongo
Utility for building Mongo DB queries based on incoming requests.
Install
yarn add @bluehalo/fhir-qb-mongo
Usage
This module is meant to be imported and used by the fhir-qb. Included are implementations of the following methods:
assembleSearchQuery,
buildAndQuery,
buildComparatorQuery,
buildContainsQuery,
buildEndsWithQuery,
buildEqualToQuery,
buildExistsQuery,
buildOrQuery,
buildInRangeQuery,
buildStartsWithQuery,
These are used by the fhir-qb to build a query that will work in the mongo aggregation pipeline.