
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
@healthcare-interoperability/fhir-query-mongo-store
Advanced tools
MongoDB-specific query builder for FHIR resources, built on top of fhir-query-store.
MongoDB-specific query builder for FHIR resources, built on top of fhir-query-store.
@healthcare-interoperability/fhir-query-mongo-store
provides MongoDB-compatible query generation utilities for storing and updating FHIR resources using bulk operations. It extends the generic FHIR query framework provided by @healthcare-interoperability/fhir-query-store
, enabling support for real-world healthcare integration workflows and storage patterns.
collection
, transaction
, etc.)bulkWrite
-ready MongoDB update queriesupdateOne
with upsert
npm install @healthcare-interoperability/fhir-query-mongo-store
import { FHIRMongoBundleProcessor } from '@healthcare-interoperability/fhir-query-mongo-store';
const bundle = {
resourceType: 'Bundle',
type: 'collection',
entry: [/* array of FHIR resources */]
};
const processor = new FHIRMongoBundleProcessor(bundle)
.setIntegrationId('your-integration-id');
const queries = processor.query();
// `queries` is an object keyed by resource type, each with an array of MongoDB operations
// e.g. { Patient: [ { updateOne: { filter, update, upsert: true } } ] }
FHIRMongoBundleProcessor
Processes a FHIR bundle and generates MongoDB-compatible update queries.
new FHIRMongoBundleProcessor(bundle)
bundle
: A valid FHIR Bundle or single resource..setIntegrationId(integrationId)
Sets an integration ID to associate with all processed queries.
.query()
Returns an object where each key is a FHIR resource type (e.g., "Patient"
) and the value is an array of MongoDB update queries ready for bulkWrite
.
@healthcare-interoperability/fhir-query-store
: Generic FHIR query generation framework used as the base for MongoDB and other data stores.MIT
FAQs
MongoDB-specific query builder for FHIR resources, built on top of fhir-query-store.
We found that @healthcare-interoperability/fhir-query-mongo-store demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.