
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@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 upsertnpm 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 } } ] }
FHIRMongoBundleProcessorProcesses 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
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.