curl -X GET "https://api.omophub.com/v1/mappings/coverage?source_vocabulary=SNOMED&target_vocabulary=ICD10CM&domain_ids=Condition,%20,%20Drug," \
-H "Authorization: Bearer YOUR_API_KEY"
import { OMOPHub } from '@omophub/omophub-node';
// Not yet exposed as a dedicated SDK method - use the typed low-level helper.
const client = new OMOPHub();
interface CoverageResult {
overall_coverage: number;
domain_coverage: Array<{
domain_id: string;
domain_name: string;
coverage_percentage: number;
mapped_concepts: number;
source_concepts: number;
}>;
}
const { data } = await client.get<CoverageResult>('/mappings/coverage', {
query: {
source_vocabulary: 'SNOMED',
target_vocabulary: 'ICD10CM',
domain_ids: 'Condition, ,Drug,',
},
});
console.log(`Overall coverage: ${data?.overall_coverage}%`);
data?.domain_coverage.forEach(domain => {
console.log(
`${domain.domain_name}: ${domain.coverage_percentage}% (${domain.mapped_concepts}/${domain.source_concepts})`
);
});
import requests
response = requests.get(
"https://api.omophub.com/v1/mappings/coverage",
params={
"source_vocabulary": "SNOMED",
"target_vocabulary": "ICD10CM",
"domain_ids": "Condition, ,Drug,"
},
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
result = response.json()
print(f"Overall coverage: {result['data']['overall_coverage']}%")
for domain in result['data']['domain_coverage']:
print(f"{domain['domain_name']}: {domain['coverage_percentage']}%")
{
"success": true,
"data": {
"source_vocabulary": "SNOMED",
"target_vocabulary": "ICD10CM",
"domain_coverage": [
{
"domain_id": "Condition",
"domain_name": "Condition",
"source_concepts": 234567,
"mapped_concepts": 178234,
"coverage_percentage": 75.9
},
{
"domain_id": "Drug",
"domain_name": "Drug",
"source_concepts": 89234,
"mapped_concepts": 45678,
"coverage_percentage": 51.2
}
],
"overall_coverage": 65.5,
"unmapped_concepts": [
{
"concept_id": 4087682,
"concept_name": "Finding related to ability to move",
"domain_id": "Condition",
"reason": "No direct mapping"
},
{
"concept_id": 4273391,
"concept_name": "Coronary artery bypass graft",
"domain_id": "Procedure",
"reason": "No direct mapping"
}
]
},
"meta": {
"request_id": "req_coverage_abc123",
"timestamp": "2024-12-22T10:00:00Z",
"vocab_release": "2025.2"
}
}
Get Mapping Coverage
Analyze mapping coverage between a source and target OMOP vocabulary - quantify how many concepts translate across SNOMED, ICD-10, LOINC, and RxNorm.
curl -X GET "https://api.omophub.com/v1/mappings/coverage?source_vocabulary=SNOMED&target_vocabulary=ICD10CM&domain_ids=Condition,%20,%20Drug," \
-H "Authorization: Bearer YOUR_API_KEY"
import { OMOPHub } from '@omophub/omophub-node';
// Not yet exposed as a dedicated SDK method - use the typed low-level helper.
const client = new OMOPHub();
interface CoverageResult {
overall_coverage: number;
domain_coverage: Array<{
domain_id: string;
domain_name: string;
coverage_percentage: number;
mapped_concepts: number;
source_concepts: number;
}>;
}
const { data } = await client.get<CoverageResult>('/mappings/coverage', {
query: {
source_vocabulary: 'SNOMED',
target_vocabulary: 'ICD10CM',
domain_ids: 'Condition, ,Drug,',
},
});
console.log(`Overall coverage: ${data?.overall_coverage}%`);
data?.domain_coverage.forEach(domain => {
console.log(
`${domain.domain_name}: ${domain.coverage_percentage}% (${domain.mapped_concepts}/${domain.source_concepts})`
);
});
import requests
response = requests.get(
"https://api.omophub.com/v1/mappings/coverage",
params={
"source_vocabulary": "SNOMED",
"target_vocabulary": "ICD10CM",
"domain_ids": "Condition, ,Drug,"
},
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
result = response.json()
print(f"Overall coverage: {result['data']['overall_coverage']}%")
for domain in result['data']['domain_coverage']:
print(f"{domain['domain_name']}: {domain['coverage_percentage']}%")
{
"success": true,
"data": {
"source_vocabulary": "SNOMED",
"target_vocabulary": "ICD10CM",
"domain_coverage": [
{
"domain_id": "Condition",
"domain_name": "Condition",
"source_concepts": 234567,
"mapped_concepts": 178234,
"coverage_percentage": 75.9
},
{
"domain_id": "Drug",
"domain_name": "Drug",
"source_concepts": 89234,
"mapped_concepts": 45678,
"coverage_percentage": 51.2
}
],
"overall_coverage": 65.5,
"unmapped_concepts": [
{
"concept_id": 4087682,
"concept_name": "Finding related to ability to move",
"domain_id": "Condition",
"reason": "No direct mapping"
},
{
"concept_id": 4273391,
"concept_name": "Coronary artery bypass graft",
"domain_id": "Procedure",
"reason": "No direct mapping"
}
]
},
"meta": {
"request_id": "req_coverage_abc123",
"timestamp": "2024-12-22T10:00:00Z",
"vocab_release": "2025.2"
}
}
Overview
This endpoint analyzes mapping coverage between two vocabularies, providing domain-level breakdown and identifying unmapped concepts. Useful for understanding interoperability between vocabulary pairs.Query Parameters
Comma-separated domain IDs to filter the analysis. Whitespace and empty
comma-delimited entries are ignored; at least one non-empty domain ID is
required when the parameter is supplied.
Example:
Example:
Condition,DrugResponse
Coverage analysis results
Show data
Show data
curl -X GET "https://api.omophub.com/v1/mappings/coverage?source_vocabulary=SNOMED&target_vocabulary=ICD10CM&domain_ids=Condition,%20,%20Drug," \
-H "Authorization: Bearer YOUR_API_KEY"
import { OMOPHub } from '@omophub/omophub-node';
// Not yet exposed as a dedicated SDK method - use the typed low-level helper.
const client = new OMOPHub();
interface CoverageResult {
overall_coverage: number;
domain_coverage: Array<{
domain_id: string;
domain_name: string;
coverage_percentage: number;
mapped_concepts: number;
source_concepts: number;
}>;
}
const { data } = await client.get<CoverageResult>('/mappings/coverage', {
query: {
source_vocabulary: 'SNOMED',
target_vocabulary: 'ICD10CM',
domain_ids: 'Condition, ,Drug,',
},
});
console.log(`Overall coverage: ${data?.overall_coverage}%`);
data?.domain_coverage.forEach(domain => {
console.log(
`${domain.domain_name}: ${domain.coverage_percentage}% (${domain.mapped_concepts}/${domain.source_concepts})`
);
});
import requests
response = requests.get(
"https://api.omophub.com/v1/mappings/coverage",
params={
"source_vocabulary": "SNOMED",
"target_vocabulary": "ICD10CM",
"domain_ids": "Condition, ,Drug,"
},
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
result = response.json()
print(f"Overall coverage: {result['data']['overall_coverage']}%")
for domain in result['data']['domain_coverage']:
print(f"{domain['domain_name']}: {domain['coverage_percentage']}%")
{
"success": true,
"data": {
"source_vocabulary": "SNOMED",
"target_vocabulary": "ICD10CM",
"domain_coverage": [
{
"domain_id": "Condition",
"domain_name": "Condition",
"source_concepts": 234567,
"mapped_concepts": 178234,
"coverage_percentage": 75.9
},
{
"domain_id": "Drug",
"domain_name": "Drug",
"source_concepts": 89234,
"mapped_concepts": 45678,
"coverage_percentage": 51.2
}
],
"overall_coverage": 65.5,
"unmapped_concepts": [
{
"concept_id": 4087682,
"concept_name": "Finding related to ability to move",
"domain_id": "Condition",
"reason": "No direct mapping"
},
{
"concept_id": 4273391,
"concept_name": "Coronary artery bypass graft",
"domain_id": "Procedure",
"reason": "No direct mapping"
}
]
},
"meta": {
"request_id": "req_coverage_abc123",
"timestamp": "2024-12-22T10:00:00Z",
"vocab_release": "2025.2"
}
}
Usage Examples
Basic Coverage Analysis
Analyze coverage from SNOMED to ICD-10-CM:TypeScript
const { data: coverage } = await client.get('/mappings/coverage', {
query: { source_vocabulary: 'SNOMED', target_vocabulary: 'ICD10CM' },
});
Filter by Domain
Analyze coverage for specific domains only:TypeScript
const { data: filteredCoverage } = await client.get('/mappings/coverage', {
query: {
source_vocabulary: 'SNOMED',
target_vocabulary: 'ICD10CM',
domain_ids: 'Condition,Procedure',
},
});
const requestedDomains = new Set(['Condition', 'Procedure']);
if (
filteredCoverage?.domain_coverage.some(
domain => !requestedDomains.has(domain.domain_id)
)
) {
throw new Error('Mapping coverage response was not filtered by domain_ids');
}
Use Specific Vocabulary Version
Analyze coverage for a specific vocabulary release:TypeScript
const { data: coverage } = await client.get('/mappings/coverage', {
query: {
source_vocabulary: 'SNOMED',
target_vocabulary: 'ICD10CM',
vocab_release: '2025.1',
},
});
Related Endpoints
- Get Concept Mappings - Mappings for specific concepts
- Get Mapping Quality - Quality metrics between vocabularies
- Map Concepts - Map concepts to a target vocabulary
Notes
- Both
source_vocabularyandtarget_vocabularyare required parameters - The
unmapped_conceptsarray contains a sample of up to 100 unmapped concepts - Coverage percentages are calculated based on valid, non-deprecated concepts
- Use
domain_idsto focus analysis on specific medical domains domain_ids=Condition, ,Drug,is normalized toConditionandDrug
Was this page helpful?