Measure how many valid concepts in a source vocabulary have at least one valid
relationship to a valid concept in a target vocabulary. The pair is directed:
SNOMED → ICD10CM and ICD10CM → SNOMED have different source
populations and can produce different results.
Parameters
string
required
Source vocabulary identifier, such as ICD10CM, SNOMED, or RxNorm.
string
required
Target vocabulary identifier, such as SNOMED, ICD10CM, or ATC.
string
Vocabulary release to query, for example 2025.2. The current default release
is used when omitted.
How the metrics are calculated
total_concepts is the number of valid concepts in source_vocabulary.
mapped_concepts is the number of those distinct source concepts with at
least one valid relationship to a valid concept in target_vocabulary.
coverage_percentage is
100 × mapped_concepts / total_concepts (or 0 when the source has no valid
concepts).
Each mapped source concept contributes exactly once to mapping_types. If a
source has several relationships or target concepts, its best available type
wins in this order: direct, equivalent, hierarchical, other.
Consequently, the type counts always sum to mapped_concepts; percentages
use mapped_concepts as their denominator and sum to 100 when mappings exist.
The integer quality_score is a heuristic summary, rounded to the nearest
whole number:
Coverage therefore contributes up to 50 points, the share classified as
direct contributes up to 30, and mapping-type diversity contributes up to 20.
Use the underlying metrics—not this heuristic alone—for clinical or ETL
decisions.
Response
boolean
required
Whether quality analysis completed.
object
required
Mapping quality metrics and issues.
object
required
Request and vocabulary-release metadata.
string
required
Correlation identifier for this request.
string
required
ISO 8601 response timestamp.
string
required
Vocabulary release used to calculate the metrics.
string
required
Requested source vocabulary.
string
required
Requested target vocabulary.
integer
required
Valid source concepts; denominator of coverage_percentage.
integer
required
Distinct mapped source concepts; numerator of coverage_percentage and sum of
all mapping_types[].count values.
number
required
Percentage of valid source concepts mapped to the target vocabulary, from 0 to
100.
array
required
Mutually exclusive breakdown of mapped source concepts by best mapping type.
Show Mapping type
string
required
direct, equivalent, hierarchical, or other.
integer
required
Distinct source concepts assigned to this type.
number
required
100 × count / mapped_concepts.
integer
required
Rounded 0–100 heuristic composed of coverage (50%), direct mapping share
(30%), and mapping-type diversity (20%).
array
required
Detected coverage concerns. An Unmapped concepts item reports
total_concepts - mapped_concepts, with severity based on the unmapped share.
Counts depend on the selected vocabulary release. The example illustrates the
response shape; query the endpoint for current release-specific values.
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.4142","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":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/mappings/get-mapping-quality","slug":"/api-reference/mappings/get-mapping-quality","pageMetadata":{"title":"Get Mapping Quality","api":"GET /v1/mappings/quality/{source_vocabulary}/{target_vocabulary}","description":"Measure concept coverage and mapping composition for one directed vocabulary pair.","href":"/api-reference/mappings/get-mapping-quality"},"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: \"Measure concept coverage and mapping composition for one directed vocabulary pair.\"\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={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Measure how many valid concepts in a source vocabulary have at least one valid\nrelationship to a valid concept in a target vocabulary. The pair is directed:\n`,_jsx(_components.code,{children:`SNOMED`}),` → `,_jsx(_components.code,{children:`ICD10CM`}),` and `,_jsx(_components.code,{children:`ICD10CM`}),` → `,_jsx(_components.code,{children:`SNOMED`}),` have different source\npopulations and can produce different results.`]}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(ParamField,{path:`source_vocabulary`,type:`string`,required:true,id:`param-source-vocabulary`,children:_jsxs(_components.p,{children:[`Source vocabulary identifier, such as `,_jsx(_components.code,{children:`ICD10CM`}),`, `,_jsx(_components.code,{children:`SNOMED`}),`, or `,_jsx(_components.code,{children:`RxNorm`}),`.`]})}),`\n`,_jsx(ParamField,{path:`target_vocabulary`,type:`string`,required:true,id:`param-target-vocabulary`,children:_jsxs(_components.p,{children:[`Target vocabulary identifier, such as `,_jsx(_components.code,{children:`SNOMED`}),`, `,_jsx(_components.code,{children:`ICD10CM`}),`, or `,_jsx(_components.code,{children:`ATC`}),`.`]})}),`\n`,_jsx(ParamField,{query:`vocab_release`,type:`string`,id:`param-vocab-release`,children:_jsxs(_components.p,{children:[`Vocabulary release to query, for example `,_jsx(_components.code,{children:`2025.2`}),`. The current default release\nis used when omitted.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-the-metrics-are-calculated`,children:`How the metrics are calculated`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`total_concepts`}),` is the number of valid concepts in `,_jsx(_components.code,{children:`source_vocabulary`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mapped_concepts`}),` is the number of those distinct source concepts with at\nleast one valid relationship to a valid concept in `,_jsx(_components.code,{children:`target_vocabulary`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`coverage_percentage`}),` is\n`,_jsx(_components.code,{children:`100 × mapped_concepts / total_concepts`}),` (or `,_jsx(_components.code,{children:`0`}),` when the source has no valid\nconcepts).`]}),`\n`,_jsxs(_components.li,{children:[`Each mapped source concept contributes exactly once to `,_jsx(_components.code,{children:`mapping_types`}),`. If a\nsource has several relationships or target concepts, its best available type\nwins in this order: `,_jsx(_components.code,{children:`direct`}),`, `,_jsx(_components.code,{children:`equivalent`}),`, `,_jsx(_components.code,{children:`hierarchical`}),`, `,_jsx(_components.code,{children:`other`}),`.\nConsequently, the type counts always sum to `,_jsx(_components.code,{children:`mapped_concepts`}),`; percentages\nuse `,_jsx(_components.code,{children:`mapped_concepts`}),` as their denominator and sum to 100 when mappings exist.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The integer `,_jsx(_components.code,{children:`quality_score`}),` is a heuristic summary, rounded to the nearest\nwhole number:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`50 × coverage_fraction`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+ 30 × direct_mapping_fraction`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+ 20 × min(number_of_mapping_types / 4, 1)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Coverage therefore contributes up to 50 points, the share classified as\n`,_jsx(_components.code,{children:`direct`}),` contributes up to 30, and mapping-type diversity contributes up to 20.\nUse the underlying metrics—not this heuristic alone—for clinical or ETL\ndecisions.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,required:true,id:`param-success`,children:_jsx(_components.p,{children:`Whether quality analysis completed.`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:_jsx(_components.p,{children:`Mapping quality metrics and issues.`})}),`\n`,_jsx(ResponseField,{name:`meta`,type:`object`,required:true,id:`param-meta`,children:_jsx(_components.p,{children:`Request and vocabulary-release metadata.`})}),`\n`,_jsx(ResponseField,{name:`meta.request_id`,type:`string`,required:true,id:`param-meta-request-id`,children:_jsx(_components.p,{children:`Correlation identifier for this request.`})}),`\n`,_jsx(ResponseField,{name:`meta.timestamp`,type:`string`,required:true,id:`param-meta-timestamp`,children:_jsx(_components.p,{children:`ISO 8601 response timestamp.`})}),`\n`,_jsx(ResponseField,{name:`meta.vocab_release`,type:`string`,required:true,id:`param-meta-vocab-release`,children:_jsx(_components.p,{children:`Vocabulary release used to calculate the metrics.`})}),`\n`,_jsx(ResponseField,{name:`data.source_vocabulary`,type:`string`,required:true,id:`param-data-source-vocabulary`,children:_jsx(_components.p,{children:`Requested source vocabulary.`})}),`\n`,_jsx(ResponseField,{name:`data.target_vocabulary`,type:`string`,required:true,id:`param-data-target-vocabulary`,children:_jsx(_components.p,{children:`Requested target vocabulary.`})}),`\n`,_jsx(ResponseField,{name:`data.total_concepts`,type:`integer`,required:true,id:`param-data-total-concepts`,children:_jsxs(_components.p,{children:[`Valid source concepts; denominator of `,_jsx(_components.code,{children:`coverage_percentage`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.mapped_concepts`,type:`integer`,required:true,id:`param-data-mapped-concepts`,children:_jsxs(_components.p,{children:[`Distinct mapped source concepts; numerator of `,_jsx(_components.code,{children:`coverage_percentage`}),` and sum of\nall `,_jsx(_components.code,{children:`mapping_types[].count`}),` values.`]})}),`\n`,_jsx(ResponseField,{name:`data.coverage_percentage`,type:`number`,required:true,id:`param-data-coverage-percentage`,children:_jsx(_components.p,{children:`Percentage of valid source concepts mapped to the target vocabulary, from 0 to\n100.`})}),`\n`,_jsxs(ResponseField,{name:`data.mapping_types`,type:`array`,required:true,id:`param-data-mapping-types`,children:[_jsx(_components.p,{children:`Mutually exclusive breakdown of mapped source concepts by best mapping type.`}),_jsxs(Expandable,{title:`Mapping type`,children:[_jsx(ResponseField,{name:`type`,type:`string`,required:true,id:`param-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`direct`}),`, `,_jsx(_components.code,{children:`equivalent`}),`, `,_jsx(_components.code,{children:`hierarchical`}),`, or `,_jsx(_components.code,{children:`other`}),`.`]})}),_jsx(ResponseField,{name:`count`,type:`integer`,required:true,id:`param-count`,children:_jsx(_components.p,{children:`Distinct source concepts assigned to this type.`})}),_jsx(ResponseField,{name:`percentage`,type:`number`,required:true,id:`param-percentage`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`100 × count / mapped_concepts`}),`.`]})})]})]}),`\n`,_jsx(ResponseField,{name:`data.quality_score`,type:`integer`,required:true,id:`param-data-quality-score`,children:_jsx(_components.p,{children:`Rounded 0–100 heuristic composed of coverage (50%), direct mapping share\n(30%), and mapping-type diversity (20%).`})}),`\n`,_jsxs(ResponseField,{name:`data.issues`,type:`array`,required:true,id:`param-data-issues`,children:[_jsxs(_components.p,{children:[`Detected coverage concerns. An `,_jsx(_components.code,{children:`Unmapped concepts`}),` item reports\n`,_jsx(_components.code,{children:`total_concepts - mapped_concepts`}),`, with severity based on the unmapped share.`]}),_jsxs(Expandable,{title:`Issue`,children:[_jsx(ResponseField,{name:`issue_type`,type:`string`,required:true,id:`param-issue-type`}),_jsx(ResponseField,{name:`count`,type:`integer`,required:true,id:`param-count-1`}),_jsx(ResponseField,{name:`severity`,type:`string`,required:true,id:`param-severity`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, or `,_jsx(_components.code,{children:`high`}),`.`]})}),_jsx(ResponseField,{name:`examples`,type:`array`,required:true,id:`param-examples`})]})]}),`\n`,`\n`,`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Counts depend on the selected vocabulary release. The example illustrates the\nresponse shape; query the endpoint for current release-specific values.`})})]})}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":"Get Mapping Quality","api":"GET /v1/mappings/quality/{source_vocabulary}/{target_vocabulary}","description":"Measure concept coverage and mapping composition for one directed vocabulary pair.","href":"/api-reference/mappings/get-mapping-quality"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Measure how many valid concepts in a source vocabulary have at least one valid\nrelationship to a valid concept in a target vocabulary. The pair is directed:\n`,_jsx(_components.code,{children:`SNOMED`}),` → `,_jsx(_components.code,{children:`ICD10CM`}),` and `,_jsx(_components.code,{children:`ICD10CM`}),` → `,_jsx(_components.code,{children:`SNOMED`}),` have different source\npopulations and can produce different results.`]}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(ParamField,{path:`source_vocabulary`,type:`string`,required:true,id:`param-source-vocabulary`,children:_jsxs(_components.p,{children:[`Source vocabulary identifier, such as `,_jsx(_components.code,{children:`ICD10CM`}),`, `,_jsx(_components.code,{children:`SNOMED`}),`, or `,_jsx(_components.code,{children:`RxNorm`}),`.`]})}),`\n`,_jsx(ParamField,{path:`target_vocabulary`,type:`string`,required:true,id:`param-target-vocabulary`,children:_jsxs(_components.p,{children:[`Target vocabulary identifier, such as `,_jsx(_components.code,{children:`SNOMED`}),`, `,_jsx(_components.code,{children:`ICD10CM`}),`, or `,_jsx(_components.code,{children:`ATC`}),`.`]})}),`\n`,_jsx(ParamField,{query:`vocab_release`,type:`string`,id:`param-vocab-release`,children:_jsxs(_components.p,{children:[`Vocabulary release to query, for example `,_jsx(_components.code,{children:`2025.2`}),`. The current default release\nis used when omitted.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-the-metrics-are-calculated`,children:`How the metrics are calculated`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`total_concepts`}),` is the number of valid concepts in `,_jsx(_components.code,{children:`source_vocabulary`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mapped_concepts`}),` is the number of those distinct source concepts with at\nleast one valid relationship to a valid concept in `,_jsx(_components.code,{children:`target_vocabulary`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`coverage_percentage`}),` is\n`,_jsx(_components.code,{children:`100 × mapped_concepts / total_concepts`}),` (or `,_jsx(_components.code,{children:`0`}),` when the source has no valid\nconcepts).`]}),`\n`,_jsxs(_components.li,{children:[`Each mapped source concept contributes exactly once to `,_jsx(_components.code,{children:`mapping_types`}),`. If a\nsource has several relationships or target concepts, its best available type\nwins in this order: `,_jsx(_components.code,{children:`direct`}),`, `,_jsx(_components.code,{children:`equivalent`}),`, `,_jsx(_components.code,{children:`hierarchical`}),`, `,_jsx(_components.code,{children:`other`}),`.\nConsequently, the type counts always sum to `,_jsx(_components.code,{children:`mapped_concepts`}),`; percentages\nuse `,_jsx(_components.code,{children:`mapped_concepts`}),` as their denominator and sum to 100 when mappings exist.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The integer `,_jsx(_components.code,{children:`quality_score`}),` is a heuristic summary, rounded to the nearest\nwhole number:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`50 × coverage_fraction`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+ 30 × direct_mapping_fraction`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+ 20 × min(number_of_mapping_types / 4, 1)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Coverage therefore contributes up to 50 points, the share classified as\n`,_jsx(_components.code,{children:`direct`}),` contributes up to 30, and mapping-type diversity contributes up to 20.\nUse the underlying metrics—not this heuristic alone—for clinical or ETL\ndecisions.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,required:true,id:`param-success`,children:_jsx(_components.p,{children:`Whether quality analysis completed.`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:_jsx(_components.p,{children:`Mapping quality metrics and issues.`})}),`\n`,_jsx(ResponseField,{name:`meta`,type:`object`,required:true,id:`param-meta`,children:_jsx(_components.p,{children:`Request and vocabulary-release metadata.`})}),`\n`,_jsx(ResponseField,{name:`meta.request_id`,type:`string`,required:true,id:`param-meta-request-id`,children:_jsx(_components.p,{children:`Correlation identifier for this request.`})}),`\n`,_jsx(ResponseField,{name:`meta.timestamp`,type:`string`,required:true,id:`param-meta-timestamp`,children:_jsx(_components.p,{children:`ISO 8601 response timestamp.`})}),`\n`,_jsx(ResponseField,{name:`meta.vocab_release`,type:`string`,required:true,id:`param-meta-vocab-release`,children:_jsx(_components.p,{children:`Vocabulary release used to calculate the metrics.`})}),`\n`,_jsx(ResponseField,{name:`data.source_vocabulary`,type:`string`,required:true,id:`param-data-source-vocabulary`,children:_jsx(_components.p,{children:`Requested source vocabulary.`})}),`\n`,_jsx(ResponseField,{name:`data.target_vocabulary`,type:`string`,required:true,id:`param-data-target-vocabulary`,children:_jsx(_components.p,{children:`Requested target vocabulary.`})}),`\n`,_jsx(ResponseField,{name:`data.total_concepts`,type:`integer`,required:true,id:`param-data-total-concepts`,children:_jsxs(_components.p,{children:[`Valid source concepts; denominator of `,_jsx(_components.code,{children:`coverage_percentage`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.mapped_concepts`,type:`integer`,required:true,id:`param-data-mapped-concepts`,children:_jsxs(_components.p,{children:[`Distinct mapped source concepts; numerator of `,_jsx(_components.code,{children:`coverage_percentage`}),` and sum of\nall `,_jsx(_components.code,{children:`mapping_types[].count`}),` values.`]})}),`\n`,_jsx(ResponseField,{name:`data.coverage_percentage`,type:`number`,required:true,id:`param-data-coverage-percentage`,children:_jsx(_components.p,{children:`Percentage of valid source concepts mapped to the target vocabulary, from 0 to\n100.`})}),`\n`,_jsxs(ResponseField,{name:`data.mapping_types`,type:`array`,required:true,id:`param-data-mapping-types`,children:[_jsx(_components.p,{children:`Mutually exclusive breakdown of mapped source concepts by best mapping type.`}),_jsxs(Expandable,{title:`Mapping type`,children:[_jsx(ResponseField,{name:`type`,type:`string`,required:true,id:`param-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`direct`}),`, `,_jsx(_components.code,{children:`equivalent`}),`, `,_jsx(_components.code,{children:`hierarchical`}),`, or `,_jsx(_components.code,{children:`other`}),`.`]})}),_jsx(ResponseField,{name:`count`,type:`integer`,required:true,id:`param-count`,children:_jsx(_components.p,{children:`Distinct source concepts assigned to this type.`})}),_jsx(ResponseField,{name:`percentage`,type:`number`,required:true,id:`param-percentage`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`100 × count / mapped_concepts`}),`.`]})})]})]}),`\n`,_jsx(ResponseField,{name:`data.quality_score`,type:`integer`,required:true,id:`param-data-quality-score`,children:_jsx(_components.p,{children:`Rounded 0–100 heuristic composed of coverage (50%), direct mapping share\n(30%), and mapping-type diversity (20%).`})}),`\n`,_jsxs(ResponseField,{name:`data.issues`,type:`array`,required:true,id:`param-data-issues`,children:[_jsxs(_components.p,{children:[`Detected coverage concerns. An `,_jsx(_components.code,{children:`Unmapped concepts`}),` item reports\n`,_jsx(_components.code,{children:`total_concepts - mapped_concepts`}),`, with severity based on the unmapped share.`]}),_jsxs(Expandable,{title:`Issue`,children:[_jsx(ResponseField,{name:`issue_type`,type:`string`,required:true,id:`param-issue-type`}),_jsx(ResponseField,{name:`count`,type:`integer`,required:true,id:`param-count-1`}),_jsx(ResponseField,{name:`severity`,type:`string`,required:true,id:`param-severity`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, or `,_jsx(_components.code,{children:`high`}),`.`]})}),_jsx(ResponseField,{name:`examples`,type:`array`,required:true,id:`param-examples`})]})]}),`\n`,_jsx(RequestExample,{children:_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$OMOPHUB_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.omophub.com/v1/mappings/quality/ICD10CM/SNOMED?vocab_release=2025.2\"`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source_vocabulary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ICD10CM\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"target_vocabulary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SNOMED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_concepts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`98186`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mapped_concepts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`97707`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"coverage_percentage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`99.51215040840853`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mapping_types\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"direct\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`97305`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"percentage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`99.58856581411773`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"other\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`402`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"percentage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.4114341858822807`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quality_score\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`90`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"issues\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"issue_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unmapped concepts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`479`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"severity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"examples\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req_01HXYZ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-11T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vocab_release\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025.2\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Counts depend on the selected vocabulary release. The example illustrates the\nresponse shape; query the endpoint for current release-specific values.`})})]})}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":"Get Mapping Quality","api":"GET /v1/mappings/quality/{source_vocabulary}/{target_vocabulary}","description":"Measure concept coverage and mapping composition for one directed vocabulary pair.","href":"/api-reference/mappings/get-mapping-quality"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Parameters","slug":"parameters","depth":2,"children":[]},{"title":"How the metrics are calculated","slug":"how-the-metrics-are-calculated","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$OMOPHUB_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.omophub.com/v1/mappings/quality/ICD10CM/SNOMED?vocab_release=2025.2\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"28\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source_vocabulary\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ICD10CM\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"target_vocabulary\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SNOMED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total_concepts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">98186\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mapped_concepts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">97707\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"coverage_percentage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">99.51215040840853\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mapping_types\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"direct\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">97305\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"percentage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">99.58856581411773\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"other\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">402\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"percentage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.4114341858822807\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"quality_score\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">90\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"issues\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"issue_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Unmapped concepts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">479\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"severity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"low\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"examples\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: []\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"meta\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"request_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"req_01HXYZ\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-11T12:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"vocab_release\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025.2\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Get Mapping Quality","path":"/v1/mappings/quality/{source_vocabulary}/{target_vocabulary}","method":"get","request":{"security":[],"parameters":{"query":{"vocab_release":{"schema":[{"type":"string","description":"Vocabulary release to query, for example `2025.2` . The current default release is used when omitted."}]}},"header":{},"cookie":{},"path":{"source_vocabulary":{"schema":[{"type":"string","description":"Source vocabulary identifier, such as `ICD10CM` , `SNOMED` , or `RxNorm` .","required":true}]},"target_vocabulary":{"schema":[{"type":"string","description":"Target vocabulary identifier, such as `SNOMED` , `ICD10CM` , or `ATC` .","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Whether quality analysis completed.","required":true}],"data":[{"type":"object","properties":{},"description":"Mapping quality metrics and issues.","required":true}],"meta":[{"type":"object","properties":{},"description":"Request and vocabulary-release metadata.","required":true}],"meta.request_id":[{"type":"string","description":"Correlation identifier for this request.","required":true}],"meta.timestamp":[{"type":"string","description":"ISO 8601 response timestamp.","required":true}],"meta.vocab_release":[{"type":"string","description":"Vocabulary release used to calculate the metrics.","required":true}],"data.source_vocabulary":[{"type":"string","description":"Requested source vocabulary.","required":true}],"data.target_vocabulary":[{"type":"string","description":"Requested target vocabulary.","required":true}],"data.total_concepts":[{"type":"integer","description":"Valid source concepts; denominator of `coverage_percentage` .","required":true}],"data.mapped_concepts":[{"type":"integer","description":"Distinct mapped source concepts; numerator of `coverage_percentage` and sum of all `mapping_types[].count` values.","required":true}],"data.coverage_percentage":[{"type":"number","description":"Percentage of valid source concepts mapped to the target vocabulary, from 0 to 100.","required":true}],"data.mapping_types":[{"type":"array","items":[{"type":"object","properties":{"type":[{"type":"string","description":"`direct` , `equivalent` , `hierarchical` , or `other` .","required":true}],"count":[{"type":"integer","description":"Distinct source concepts assigned to this type.","required":true}],"percentage":[{"type":"number","description":"`100 × count / mapped_concepts` .","required":true}]}}],"description":"Mutually exclusive breakdown of mapped source concepts by best mapping type.","required":true}],"data.quality_score":[{"type":"integer","description":"Rounded 0–100 heuristic composed of coverage (50%), direct mapping share (30%), and mapping-type diversity (20%).","required":true}],"data.issues":[{"type":"array","items":[{"type":"object","properties":{"issue_type":[{"type":"string","required":true}],"count":[{"type":"integer","required":true}],"severity":[{"type":"string","description":"`low` , `medium` , or `high` .","required":true}],"examples":[{"type":"array","items":[{"type":"object","properties":{}}],"required":true}]}}],"description":"Detected coverage concerns. An `Unmapped concepts` item reports `total_concepts - mapped_concepts` , with severity based on the unmapped share.","required":true}]}}],"examples":{"example":{"value":{"success":true,"data":{},"meta":{},"meta.request_id":"\u003cstring>","meta.timestamp":"\u003cstring>","meta.vocab_release":"\u003cstring>","data.source_vocabulary":"\u003cstring>","data.target_vocabulary":"\u003cstring>","data.total_concepts":123,"data.mapped_concepts":123,"data.coverage_percentage":123,"data.mapping_types":[{"type":"\u003cstring>","count":123,"percentage":123}],"data.quality_score":123,"data.issues":[{"issue_type":"\u003cstring>","count":123,"severity":"\u003cstring>","examples":[{}]}]}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/medilensio/49768d5eb862e11b/datafast.js"],"subdomain":"medilensio","siteName":"OMOPHub.com API","title":"Get Mapping Quality - OMOPHub.com API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-13T12:52:03.839Z","originalFileLocation":"api-reference/mappings/get-mapping-quality.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=\"Measure concept coverage and mapping composition for one directed vocabulary pair.\">\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=\"Get Mapping Quality - OMOPHub.com API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Measure concept coverage and mapping composition for one directed vocabulary pair.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OMOPHub.com API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.omophub.com/api-reference/mappings/get-mapping-quality\">\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=Mappings\u0026amp;title=Get+Mapping+Quality\u0026amp;description=Measure+concept+coverage+and+mapping+composition+for+one+directed+vocabulary+pair.\u0026amp;theme=8af6086130fea428d7e00a0f\u0026amp;signature=d0a13d50054675a9fc163d45495f4c8db60e93788d2d1a08c784c6df178349ba\">\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=\"Get Mapping Quality - OMOPHub.com API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Measure concept coverage and mapping composition for one directed vocabulary pair.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://medilensio.mintlify.site/_mintlify/api/og/v2?division=Mappings\u0026amp;title=Get+Mapping+Quality\u0026amp;description=Measure+concept+coverage+and+mapping+composition+for+one+directed+vocabulary+pair.\u0026amp;theme=8af6086130fea428d7e00a0f\u0026amp;signature=d0a13d50054675a9fc163d45495f4c8db60e93788d2d1a08c784c6df178349ba\">\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/api-reference/mappings/get-mapping-quality\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/mappings/get-mapping-quality.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/api-reference/mappings/get-mapping-quality#webpage\",\"url\":\"https://docs.omophub.com/api-reference/mappings/get-mapping-quality\",\"name\":\"Get Mapping Quality\",\"description\":\"Measure concept coverage and mapping composition for one directed vocabulary pair.\",\"dateModified\":\"2026-09-13T12:52:03.839Z\",\"isPartOf\":{\"@id\":\"https://docs.omophub.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.omophub.com/api-reference/mappings/get-mapping-quality#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.omophub.com/api-reference/mappings/get-mapping-quality#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Mappings\",\"item\":\"https://docs.omophub.com/api-reference/mappings/map-concepts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Mapping Quality\",\"item\":\"https://docs.omophub.com/api-reference/mappings/get-mapping-quality\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.omophub.com/api-reference/mappings/get-mapping-quality#apireference\",\"headline\":\"Get Mapping Quality\",\"name\":\"Get Mapping Quality\",\"description\":\"Measure concept coverage and mapping composition for one directed vocabulary pair.\",\"url\":\"https://docs.omophub.com/api-reference/mappings/get-mapping-quality\",\"mainEntityOfPage\":{\"@id\":\"https://docs.omophub.com/api-reference/mappings/get-mapping-quality#webpage\"},\"dateModified\":\"2026-09-13T12:52:03.839Z\",\"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":"/api-reference/mappings/get-mapping-quality.md","siteName":"OMOPHub.com API","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/introduction"}]},{"anchor":"API Reference","icon":"square-terminal","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"API error codes","href":"/api-reference/errors"},{"title":"API rate limits","href":"/api-reference/rate-limit"}]},{"group":"Search","pages":[{"title":"Basic Concept Search","api":"GET /v1/search/concepts","href":"/api-reference/search/basic-search"},{"title":"Multi-lingual Search","href":"/api-reference/search/multi-lingual-search"},{"title":"Semantic Search","api":"GET /v1/search/semantic","href":"/api-reference/search/semantic-search"},{"title":"Advanced Search","api":"POST /v1/search/advanced","href":"/api-reference/search/advanced-search"},{"title":"Bulk Search","api":"POST https://api.omophub.com/v1/search/bulk","href":"/api-reference/search/bulk-search"},{"title":"Bulk Semantic Search","api":"POST https://api.omophub.com/v1/search/semantic-bulk","href":"/api-reference/search/semantic-bulk-search"},{"title":"Search Similar Concepts","api":"POST https://api.omophub.com/v1/search/similar","href":"/api-reference/search/search-similar"},{"title":"Get Similar Concepts by ID","api":"GET https://api.omophub.com/v1/search/similar/{conceptId}","href":"/api-reference/search/get-search-similar-by-id"},{"title":"Search Autocomplete","api":"GET /v1/search/autocomplete","href":"/api-reference/search/search-autocomplete"},{"title":"Search Facets","api":"GET https://api.omophub.com/v1/search/facets","href":"/api-reference/search/search-facets"},{"title":"Search Suggest","api":"GET https://api.omophub.com/v1/search/suggest","href":"/api-reference/search/search-suggest"}]},{"group":"Concepts","pages":[{"title":"Get Concept","api":"GET /v1/concepts/{conceptId}","href":"/api-reference/concepts/get-concept"},{"title":"Get Concept by Code","api":"GET /v1/concepts/by-code/{vocabularyId}/{conceptCode}","href":"/api-reference/concepts/get-concept-by-code"},{"title":"Suggest Concepts","api":"GET /v1/concepts/suggest","href":"/api-reference/concepts/suggest-concepts"},{"title":"Recommended Concepts","api":"POST /v1/concepts/recommended","href":"/api-reference/concepts/recommended-concepts"},{"title":"Check Concept Relations","api":"GET https://api.omophub.com/v1/concepts/{conceptId}/relations/any","href":"/api-reference/concepts/check-concept-relations"},{"title":"Get Concept Level","api":"GET https://api.omophub.com/v1/concepts/{conceptId}/level","href":"/api-reference/concepts/get-concept-level"},{"title":"Get Relationship Options","api":"GET https://api.omophub.com/v1/concepts/{conceptId}/relationships/options","href":"/api-reference/concepts/get-relationship-options"},{"title":"Get Related Concepts","api":"GET https://api.omophub.com/v1/concepts/{conceptId}/related","href":"/api-reference/concepts/get-related-concepts"},{"title":"Traverse Relationships","api":"POST https://api.omophub.com/v1/concepts/relationships/traverse","href":"/api-reference/concepts/traverse-relationships"},{"title":"Batch Concepts","api":"POST /v1/concepts/batch","href":"/api-reference/concepts/batch-concepts"},{"title":"Batch Relationship Queries","api":"POST https://api.omophub.com/v1/concepts/relationships/batch","href":"/api-reference/concepts/batch-relationship-queries"},{"title":"Batch Hierarchy Queries","api":"POST https://api.omophub.com/v1/concepts/hierarchy/batch","href":"/api-reference/concepts/batch-hierarchy-queries"}]},{"group":"Concept Hierarchy","pages":[{"title":"Get Concept Ancestors","api":"GET /v1/concepts/{concept_id}/ancestors","href":"/api-reference/hierarchy/get-concept-ancestors"},{"title":"Get Concept Descendants","api":"GET /v1/concepts/{concept_id}/descendants","href":"/api-reference/hierarchy/get-concept-descendants"},{"title":"Get Concept Hierarchy","api":"GET /v1/concepts/{concept_id}/hierarchy","href":"/api-reference/hierarchy/get-concept-hierarchy"},{"title":"Get concept path","href":"/api-reference/hierarchy/get-concept-path"}]},{"group":"Mappings","pages":[{"title":"Map Concepts","api":"POST https://api.omophub.com/v1/concepts/map","href":"/api-reference/mappings/map-concepts"},{"title":"Get Concept Mappings","api":"GET /v1/concepts/{conceptId}/mappings","href":"/api-reference/mappings/get-concept-mappings"},{"title":"Batch Map Concepts","api":"POST https://api.omophub.com/v1/concepts/map/batch","href":"/api-reference/mappings/batch-map-concepts"},{"title":"Validate Mappings","api":"POST https://api.omophub.com/v1/mappings/validate","href":"/api-reference/mappings/validate-mappings"},{"title":"Get Mapping Coverage","api":"GET /v1/mappings/coverage","description":"Analyze mapping coverage between a source and target OMOP vocabulary - quantify how many concepts translate across SNOMED, ICD-10, LOINC, and RxNorm.","href":"/api-reference/mappings/get-mapping-coverage"},{"title":"Get Mapping Quality","api":"GET /v1/mappings/quality/{source_vocabulary}/{target_vocabulary}","href":"/api-reference/mappings/get-mapping-quality"}]},{"group":"FHIR Resolver","pages":[{"title":"Resolve FHIR Coding","api":"POST /v1/fhir/resolve","description":null,"href":"/api-reference/fhir/resolve"},{"title":"Resolve FHIR Codings - Batch","api":"POST /v1/fhir/resolve/batch","href":"/api-reference/fhir/resolve-batch"},{"title":"Resolve FHIR CodeableConcept","api":"POST /v1/fhir/resolve/codeable-concept","href":"/api-reference/fhir/resolve-codeable-concept"}]},{"group":"Relationships","pages":[{"title":"Get Relationship Types","api":"GET /v1/relationships/types","href":"/api-reference/relationships/get-relationship-types"},{"title":"List Relationships for a Concept","api":"GET /v1/concepts/{concept_id}/relationships","href":"/api-reference/relationships/get-concept-relationships"},{"title":"Get Concept Relationships by Type","api":"GET /v1/concepts/{concept_id}/relationships/{relationship_type}","href":"/api-reference/relationships/get-concept-relationships-by-type"}]},{"group":"Domains \u0026 Classifications","pages":[{"title":"Get Domains","api":"GET /v1/domains","href":"/api-reference/domains/get-domains"},{"title":"Get Domain Concepts","api":"GET /v1/domains/{domain_id}/concepts","href":"/api-reference/domains/get-domain-concepts"},{"title":"Get Domain Statistics","api":"GET /v1/domains/{domain_id}/statistics","href":"/api-reference/domains/get-domain-statistics"},{"title":"Get Concept Classes","api":"GET /v1/concept-classes","href":"/api-reference/domains/get-concept-classes"}]},{"group":"Vocabularies","pages":[{"title":"List Vocabularies","api":"GET /v1/vocabularies","href":"/api-reference/vocabularies/list-vocabularies"},{"title":"Get Vocabulary Details","api":"GET /v1/vocabularies/{vocabularyId}","href":"/api-reference/vocabularies/get-vocabulary"},{"title":"Search Vocabularies","api":"GET /v1/vocabularies/search","href":"/api-reference/vocabularies/search-vocabularies"},{"title":"Get Vocabulary Concepts","api":"GET /v1/vocabularies/{vocabularyId}/concepts","href":"/api-reference/vocabularies/get-vocabulary-concepts"},{"title":"Get Vocabulary Statistics","api":"GET /v1/vocabularies/{vocabularyId}/stats","href":"/api-reference/vocabularies/get-vocabulary-stats"},{"title":"Get Vocabulary Domains","api":"GET /v1/vocabularies/domains","href":"/api-reference/vocabularies/get-vocabulary-domains"},{"title":"Get Vocabulary Releases","api":"GET /v1/vocabularies/releases","href":"/api-reference/vocabularies/get-vocabulary-releases"},{"title":"Get Vocabulary Release Version","api":"GET /v1/vocabularies/release-version","href":"/api-reference/vocabularies/get-vocabulary-release-version"},{"title":"Get Vocabulary Concept Classes","api":"GET https://api.omophub.com/v1/vocabularies/concept-classes","href":"/api-reference/vocabularies/get-vocabulary-concept-classes"},{"title":"Get Vocabulary Domain Statistics","api":"GET https://api.omophub.com/v1/vocabularies/{vocabularyId}/stats/domains/{domainId}","href":"/api-reference/vocabularies/get-vocabulary-domain-stats"}]}]},{"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":"Get Mapping Quality - OMOPHub.com API","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js"]}