Skip to main content
This page explains what data flows through OMOPHub, what gets stored, and how the API handles authentication and privacy. It’s written for security reviewers, compliance officers, and developers evaluating OMOPHub for production use.

1. The Core Principle: No PHI

OMOPHub is a vocabulary lookup service intended for medical terminology codes, concept identifiers, and search terms without patient-linked information. It is not intended to receive, process, or store Protected Health Information (PHI). Do not send PHI to the API. A typical API call looks like this:
The request contains an OMOP concept ID. The response contains vocabulary metadata - concept names, codes, domains, relationships. No patient identifiers, no clinical records, no dates of service, no free-text notes.
Do not include PHI in API requests. OMOPHub endpoints accept concept IDs, vocabulary codes, and search terms. If your workflow involves patient data, resolve the vocabulary codes before or after the patient-data processing step - never send patient-linked data to the API.

2. Authentication

All API access requires a Bearer token in the Authorization header:
API keys are:
  • Per-user - each key is tied to a specific account
  • Revocable - deactivate a key at any time from the dashboard
  • Scopeable - create separate keys for different environments (dev, staging, production)
API keys are transmitted over HTTPS (TLS 1.2+). All API endpoints enforce HTTPS - plain HTTP requests are rejected. The FHIR Terminology Service additionally accepts OAuth2 client_credentials via POST https://fhir.omophub.com/oauth2/token for Spring Security OAuth2 clients (HAPI FHIR JPA Starter, EHRbase). The token endpoint accepts both client_secret_basic and client_secret_post methods. See the FHIR Terminology Service authentication section for details.

3. What OMOPHub Stores

About you. Email address, account metadata, API key hashes (not plaintext keys), and usage metrics (call counts, endpoint distribution). This data is used for authentication, billing, and service improvement. About your requests. OMOPHub logs API request metadata for operational purposes: timestamp, endpoint path, response status, latency, API key identifier, and client IP address where available. Request parameters (search terms, concept IDs, vocabulary filters) may be logged for debugging and service quality. These records are processed for service operations and may be processed by Tinybird, our request logging and analytics provider. About vocabulary content. OMOPHub hosts OMOP vocabulary data - concepts, relationships, and mappings. This is public reference data published by OHDSI, not customer data.

4. Data to Keep Within Your Application

Do not include the following in vocabulary requests:
  • Patient data or PHI
  • Clinical records or EHR data
  • Your application’s source code or configuration
  • Custom mappings or transformation logic (those stay on your side - see Lean ETL Mapping Cache)

5. Encryption

  • In transit: All API traffic is encrypted via TLS 1.2 or higher
  • Backups: Offsite database backups are encrypted before upload. Contact us for details of storage encryption and other controls relevant to your review; do not assume cloud-provider default encryption applies to every storage layer.

6. Infrastructure

The API, dashboard, MCP server, PostgreSQL, and Redis run on a dedicated Hetzner server behind Cloudflare. The marketing website is hosted on Vercel and documentation on Mintlify. Encrypted offsite database backups are stored in Google Cloud Storage.

7. GDPR

OMOPHub processes limited personal data (email, usage metrics) under GDPR. The Privacy Policy and Data Use Agreement cover data-processing details. Users can request data export or deletion via omophub.com/contact.

8. Compliance Considerations

OMOPHub is a vocabulary reference service, not a clinical data processor. For most healthcare organizations:
  • HIPAA: For workflows that do not send PHI, a Business Associate Agreement (BAA) is typically not required. Whether a BAA is required depends on the actual architecture and data flow. Do not route PHI through API requests; contact us before integrating if your proposed workflow would do so. See the HHS guidance on business associates.
  • SOC 2: Not currently certified. OMOPHub follows security best practices but has not undergone a formal SOC 2 audit.
  • GDPR: Compliant for the limited personal data processed (see §7 above).
If your organization requires a formal security review or vendor questionnaire, reach out via omophub.com/contact with your requirements.