What data OMOPHub receives and stores, plus how the API handles authentication, logging, and privacy - written for security reviewers and developers.
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:
Authorization: Bearer oh_xxxxxxxxxxxxxxxxxxxx
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.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"OMOPHub.com API","colors":{"primary":"#000000","light":"#ebeced","dark":"#000000"},"logo":{"light":"https://mintcdn.com/medilensio/d8KZ5UNRHYv--jGr/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=d8KZ5UNRHYv--jGr\u0026q=85\u0026s=cf586cc87e1e46b0e11ae3b80c0467da","dark":"https://mintcdn.com/medilensio/d8KZ5UNRHYv--jGr/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=d8KZ5UNRHYv--jGr\u0026q=85\u0026s=75298961a99d0709eb810214da094a40","href":"https://docs.omophub.com"},"favicon":"https://mintcdn.com/medilensio/43z4gIZ35uGFl_xd/favicon.png?fit=max\u0026auto=format\u0026n=43z4gIZ35uGFl_xd\u0026q=85\u0026s=5ec51092b7b0170ac44b10606d77940f","api":{"playground":{"display":"none"},"examples":{"languages":["javascript","curl","python"]}},"navbar":{"links":[{"href":"https://dashboard.omophub.com/login","label":"Sign In"}],"primary":{"type":"button","label":"Get Started","href":"https://dashboard.omophub.com"}},"footer":{"socials":{"github":"https://github.com/omophub"}},"seo":{},"styling":{"eyebrows":"breadcrumbs","latex":true},"integrations":{"ga4":{"measurementId":"G-NLV13YZ0HW"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"medilensio","hasAudioNarration":false,"actualSubdomain":"medilensio","customDomains":["docs.omophub.com"],"gitSource":{"type":"github","owner":"omophub","repo":"platform","deployBranch":"develop","contentDirectory":"docs/mintlify","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae338fe4c2492fe62cb6eb8","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"default","tag":"API Reference","count":58},{"language":"default","tag":"Documentation","count":27},{"language":"default","tag":"SDKs","count":24},{"language":"default","tag":"FHIR Terminology","count":17},{"language":"default","tag":"FHIR Terminology Service","count":17},{"language":"default","tag":"Concepts","count":12},{"language":"default","tag":"Workflows","count":12},{"language":"default","tag":"Search","count":11},{"language":"default","tag":"Vocabularies","count":10},{"language":"default","tag":"Production","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/production/security-data-handling","slug":"/guides/production/security-data-handling","pageMetadata":{"title":"Security \u0026 Data Handling","description":"What data OMOPHub receives and stores, plus how the API handles authentication, logging, and privacy - written for security reviewers and developers.","href":"/guides/production/security-data-handling"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"What data OMOPHub receives and stores, plus how the API handles authentication, logging, and privacy - written for security reviewers and developers.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`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.`}),`\n`,_jsx(Heading,{level:`2`,id:`1-the-core-principle-no-phi`,children:`1. The Core Principle: No PHI`}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsx(_components.p,{children:`A typical API call looks like this:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.omophub.com/v1/concepts/201826`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer oh_xxxxxxxxx\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`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 `,_jsx(_components.em,{children:`before`}),` or `,_jsx(_components.em,{children:`after`}),` the patient-data processing step - never send patient-linked data to the API.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`2-authentication`,children:`2. Authentication`}),`\n`,_jsxs(_components.p,{children:[`All API access requires a Bearer token in the `,_jsx(_components.code,{children:`Authorization`}),` header:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer oh_xxxxxxxxxxxxxxxxxxxx`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`API keys are:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Per-user`}),` - each key is tied to a specific account`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Revocable`}),` - deactivate a key at any time from the dashboard`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Scopeable`}),` - create separate keys for different environments (dev, staging, production)`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`API keys are transmitted over HTTPS (TLS 1.2+). All API endpoints enforce HTTPS - plain HTTP requests are rejected.`}),`\n`,_jsxs(_components.p,{children:[`The FHIR Terminology Service additionally accepts OAuth2 `,_jsx(_components.code,{children:`client_credentials`}),` via `,_jsx(_components.code,{children:`POST https://fhir.omophub.com/oauth2/token`}),` for Spring Security OAuth2 clients (HAPI FHIR JPA Starter, EHRbase). The token endpoint accepts both `,_jsx(_components.code,{children:`client_secret_basic`}),` and `,_jsx(_components.code,{children:`client_secret_post`}),` methods. See the `,_jsx(_components.a,{href:`/api-reference/fhir-terminology/overview#authentication`,children:`FHIR Terminology Service authentication`}),` section for details.`]}),`\n`,_jsx(Heading,{level:`2`,id:`3-what-omophub-stores`,children:`3. What OMOPHub Stores`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`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.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`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.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`About vocabulary content.`}),` OMOPHub hosts OMOP vocabulary data - concepts, relationships, and mappings. This is public reference data published by OHDSI, not customer data.`]}),`\n`,_jsx(Heading,{level:`2`,id:`4-data-to-keep-within-your-application`,children:`4. Data to Keep Within Your Application`}),`\n`,_jsx(_components.p,{children:`Do not include the following in vocabulary requests:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Patient data or PHI`}),`\n`,_jsx(_components.li,{children:`Clinical records or EHR data`}),`\n`,_jsx(_components.li,{children:`Your application’s source code or configuration`}),`\n`,_jsxs(_components.li,{children:[`Custom mappings or transformation logic (those stay on your side - see `,_jsx(_components.a,{href:`/guides/use-cases/lean-etl-mapping-cache`,children:`Lean ETL Mapping Cache`}),`)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`5-encryption`,children:`5. Encryption`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`In transit:`}),` All API traffic is encrypted via TLS 1.2 or higher`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`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.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`6-infrastructure`,children:`6. Infrastructure`}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsx(Heading,{level:`2`,id:`7-gdpr`,children:`7. GDPR`}),`\n`,_jsxs(_components.p,{children:[`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 `,_jsx(_components.a,{href:`https://omophub.com/contact`,children:`omophub.com/contact`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`8-compliance-considerations`,children:`8. Compliance Considerations`}),`\n`,_jsx(_components.p,{children:`OMOPHub is a vocabulary reference service, not a clinical data processor. For most healthcare organizations:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`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 `,_jsx(_components.a,{href:`https://www.hhs.gov/hipaa/for-professionals/privacy/laws-regulations/index.html#business-associates`,children:`HHS guidance on business associates`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SOC 2:`}),` Not currently certified. OMOPHub follows security best practices but has not undergone a formal SOC 2 audit.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`GDPR:`}),` Compliant for the limited personal data processed (see §7 above).`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`If your organization requires a formal security review or vendor questionnaire, reach out via `,_jsx(_components.a,{href:`https://omophub.com/contact`,children:`omophub.com/contact`}),` with your requirements.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Security \u0026 Data Handling","description":"What data OMOPHub receives and stores, plus how the API handles authentication, logging, and privacy - written for security reviewers and developers.","href":"/guides/production/security-data-handling"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. The Core Principle: No PHI","slug":"1-the-core-principle-no-phi","depth":2,"children":[]},{"title":"2. Authentication","slug":"2-authentication","depth":2,"children":[]},{"title":"3. What OMOPHub Stores","slug":"3-what-omophub-stores","depth":2,"children":[]},{"title":"4. Data to Keep Within Your Application","slug":"4-data-to-keep-within-your-application","depth":2,"children":[]},{"title":"5. Encryption","slug":"5-encryption","depth":2,"children":[]},{"title":"6. Infrastructure","slug":"6-infrastructure","depth":2,"children":[]},{"title":"7. GDPR","slug":"7-gdpr","depth":2,"children":[]},{"title":"8. Compliance Considerations","slug":"8-compliance-considerations","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/medilensio/49768d5eb862e11b/datafast.js"],"subdomain":"medilensio","siteName":"OMOPHub.com API","title":"Security \u0026 Data Handling - OMOPHub.com API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T12:16:02.046Z","originalFileLocation":"guides/production/security-data-handling.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"What data OMOPHub receives and stores, plus how the API handles authentication, logging, and privacy - written for security reviewers and developers.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OMOPHub.com API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/medilensio/noiKV6wLJlXi3G19/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/medilensio/noiKV6wLJlXi3G19/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/medilensio/noiKV6wLJlXi3G19/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/medilensio/noiKV6wLJlXi3G19/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/medilensio/noiKV6wLJlXi3G19/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/medilensio/noiKV6wLJlXi3G19/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/medilensio/noiKV6wLJlXi3G19/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/medilensio/noiKV6wLJlXi3G19/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/medilensio/noiKV6wLJlXi3G19/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Security \u0026amp; Data Handling - OMOPHub.com API\">\u003cmeta data-mint-head property=\"og:description\" content=\"What data OMOPHub receives and stores, plus how the API handles authentication, logging, and privacy - written for security reviewers and developers.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OMOPHub.com API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.omophub.com/guides/production/security-data-handling\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://medilensio.mintlify.site/_mintlify/api/og/v2?division=Production\u0026amp;title=Security+%26+Data+Handling\u0026amp;description=What+data+OMOPHub+receives+and+stores%2C+plus+how+the+API+handles+authentication%2C+logging%2C+and+privacy+-+written+for+security+reviewers+and+developers.\u0026amp;theme=8af6086130fea428d7e00a0f\u0026amp;signature=e329bc29f96f518a6b57bd19386c942f41801d6ca0d884f2cf6d49d3dc5a98ea\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Security \u0026amp; Data Handling - OMOPHub.com API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"What data OMOPHub receives and stores, plus how the API handles authentication, logging, and privacy - written for security reviewers and developers.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://medilensio.mintlify.site/_mintlify/api/og/v2?division=Production\u0026amp;title=Security+%26+Data+Handling\u0026amp;description=What+data+OMOPHub+receives+and+stores%2C+plus+how+the+API+handles+authentication%2C+logging%2C+and+privacy+-+written+for+security+reviewers+and+developers.\u0026amp;theme=8af6086130fea428d7e00a0f\u0026amp;signature=e329bc29f96f518a6b57bd19386c942f41801d6ca0d884f2cf6d49d3dc5a98ea\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/medilensio/noiKV6wLJlXi3G19/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OMOPHub.com API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.omophub.com/guides/production/security-data-handling\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/production/security-data-handling.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.omophub.com/#organization\",\"name\":\"OMOPHub.com API\",\"url\":\"https://docs.omophub.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/medilensio/d8KZ5UNRHYv--jGr/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=d8KZ5UNRHYv--jGr\u0026q=85\u0026s=cf586cc87e1e46b0e11ae3b80c0467da\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.omophub.com#website\",\"name\":\"OMOPHub.com API\",\"url\":\"https://docs.omophub.com\",\"publisher\":{\"@id\":\"https://docs.omophub.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.omophub.com/guides/production/security-data-handling#webpage\",\"url\":\"https://docs.omophub.com/guides/production/security-data-handling\",\"name\":\"Security \u0026 Data Handling\",\"description\":\"What data OMOPHub receives and stores, plus how the API handles authentication, logging, and privacy - written for security reviewers and developers.\",\"dateModified\":\"2026-10-29T12:16:02.046Z\",\"isPartOf\":{\"@id\":\"https://docs.omophub.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.omophub.com/guides/production/security-data-handling#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.omophub.com/guides/production/security-data-handling#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Production\",\"item\":\"https://docs.omophub.com/guides/production/why-omophub\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Security \u0026 Data Handling\",\"item\":\"https://docs.omophub.com/guides/production/security-data-handling\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.omophub.com/guides/production/security-data-handling#article\",\"headline\":\"Security \u0026 Data Handling\",\"name\":\"Security \u0026 Data Handling\",\"description\":\"What data OMOPHub receives and stores, plus how the API handles authentication, logging, and privacy - written for security reviewers and developers.\",\"url\":\"https://docs.omophub.com/guides/production/security-data-handling\",\"mainEntityOfPage\":{\"@id\":\"https://docs.omophub.com/guides/production/security-data-handling#webpage\"},\"dateModified\":\"2026-10-29T12:16:02.046Z\",\"publisher\":{\"@id\":\"https://docs.omophub.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.omophub.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OMOPHub.com API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OMOPHub.com API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/production/security-data-handling.md","siteName":"OMOPHub.com API","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/introduction"},{"title":"Quickstart - search, map, and resolve codes in 5 min","sidebarTitle":"Quickstart","href":"/quickstart"},{"title":"Authentication and API key overview","sidebarTitle":"Authentication","href":"/authentication/overview"}]},{"group":"Integrations","pages":[{"title":"FHIR Integration","href":"/guides/integration/fhir-integration"},{"title":"EHR Integration","href":"/guides/integration/ehr-integration"},{"title":"EHRbase/openEHR Integration","href":"/guides/integration/ehrbase-openehr"},{"title":"HAPI FHIR Integration","href":"/guides/integration/hapi-fhir"}]},{"group":"Workflows","pages":[{"title":"FHIR → OMOP Standardization","href":"/guides/workflows/fhir-to-omop"},{"title":"Clinical Coding Automation","href":"/guides/use-cases/clinical-coding"},{"title":"Lean ETL Mapping Cache","href":"/guides/use-cases/lean-etl-mapping-cache"},{"title":"Collaborative Mapping","href":"/guides/use-cases/collaborative-mapping"},{"title":"Laboratory Result Mapping","href":"/guides/use-cases/laboratory-result-mapping"},{"title":"Phenotype Development \u0026 Concept Set Expansion","href":"/guides/use-cases/phenotype-development"},{"title":"Custom Concept Grouping for Cohorts","href":"/guides/use-cases/custom-concept-grouping"},{"title":"Clinical Trial Eligibility Screening","href":"/guides/use-cases/clinical-trial-eligibility"},{"title":"Drug Interaction Checking","href":"/guides/use-cases/drug-interaction-checking"},{"title":"Insurance Claims Processing","href":"/guides/use-cases/insurance-claims-processing"},{"title":"Population Health Analytics","href":"/guides/use-cases/population-health-analytics"},{"title":"Gap Analysis and OHDSI Contributions","href":"/guides/use-cases/gap-analysis-contributions"}]},{"group":"Production","pages":[{"title":"Why OMOPHub vs Self-Hosting","href":"/guides/production/why-omophub"},{"title":"Interoperability Test Matrix","href":"/guides/production/interop-test-matrix"},{"title":"CPT4 access","href":"/guides/production/cpt4-access"},{"title":"Vocabulary Lifecycle Management","href":"/guides/use-cases/vocabulary-lifecycle-management"},{"title":"Vocabulary Releases","href":"/vocabulary-versions"},{"title":"Known Limitations","description":"What OMOPHub does not do - explicit product boundaries around write operations, custom vocabularies, and PHI so you can plan your integration safely.","href":"/guides/production/known-limitations"},{"title":"Security \u0026 Data Handling","href":"/guides/production/security-data-handling"},{"title":"Batch \u0026 Performance Best Practices","description":"Optimize OMOPHub API usage for ETL pipelines, bulk lookups, and high-throughput workflows - deduplicate before mapping, batch, and cache stable data.","href":"/guides/production/batch-performance"}]}]},{"anchor":"API Reference","icon":"square-terminal","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"anchor":"FHIR Terminology","icon":"fire","pages":[{"title":"FHIR Terminology","href":"/api-reference/fhir-terminology/overview"}]},{"anchor":"Build with AI","icon":"wand-magic-sparkles","pages":[{"title":"Build with AI","href":"/ai/onboarding"}]},{"anchor":"SDKs","icon":"cube","pages":[{"title":"SDKs","href":"/sdks/python/overview"}]}]},"basePath":"","title":"Security \u0026 Data Handling - OMOPHub.com API","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":[],"chunks":[]}