curl -X POST "https://api.omophub.com/v1/mappings/bulk" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"concept_ids": [201826, 320128, 4329847, 1503297, 4273391],
"target_vocabularies": ["ICD10CM", "ICD10", "HCPCS"],
"include_mapping_quality": true,
"include_synonyms": true,
"quality_threshold": 0.8
}'
{
"success": true,
"data": {
"request_summary": {
"total_concepts_requested": 5,
"concepts_found": 5,
"concepts_not_found": 0,
"concepts_with_mappings": 4,
"concepts_without_mappings": 1,
"total_mappings_found": 27,
"target_vocabularies_requested": ["ICD10CM", "ICD10", "HCPCS"]
},
"concept_mappings": [
{
"source_concept": {
"concept_id": 201826,
"concept_name": "Type 2 diabetes mellitus",
"concept_code": "44054006",
"vocabulary_id": "SNOMED",
"vocabulary_name": "Systematized Nomenclature of Medicine Clinical Terms",
"domain_id": "Condition",
"concept_class_id": "Clinical Finding"
},
"mappings": [
{
"mapping_id": "map_201826_45757292",
"mapping_type": "Maps to",
"direction": "outgoing",
"target_concept": {
"concept_id": 45757292,
"concept_name": "Type 2 diabetes mellitus",
"concept_code": "E11",
"vocabulary_id": "ICD10CM",
"vocabulary_name": "International Classification of Diseases, Tenth Revision, Clinical Modification",
"domain_id": "Condition",
"concept_class_id": "3-char billing code",
"standard_concept": "S",
"synonyms": [
{
"concept_synonym_name": "Type II diabetes mellitus",
"language_concept_id": 4180186,
"language_concept_name": "English"
}
]
},
"mapping_quality": {
"confidence_score": 0.98,
"equivalence_type": "exact",
"semantic_similarity": 0.95,
"mapping_source": "official",
"validation_status": "validated"
}
},
{
"mapping_id": "map_201826_4087682",
"mapping_type": "Maps to",
"direction": "outgoing",
"target_concept": {
"concept_id": 4087682,
"concept_name": "Type 2 diabetes mellitus",
"concept_code": "E11.9",
"vocabulary_id": "ICD10",
"vocabulary_name": "International Classification of Diseases, Tenth Revision",
"domain_id": "Condition",
"concept_class_id": "ICD10 code",
"standard_concept": "S"
},
"mapping_quality": {
"confidence_score": 0.94,
"equivalence_type": "exact",
"semantic_similarity": 0.92,
"mapping_source": "official",
"validation_status": "validated"
}
}
],
"mapping_summary": {
"total_mappings": 2,
"mappings_by_vocabulary": {
"ICD10CM": 1,
"ICD10": 1
},
"mappings_by_type": {
"Maps to": 2
},
"average_quality_score": 0.96
}
},
{
"source_concept": {
"concept_id": 4273391,
"concept_name": "Coronary artery bypass graft",
"concept_code": "232717009",
"vocabulary_id": "SNOMED",
"vocabulary_name": "Systematized Nomenclature of Medicine Clinical Terms",
"domain_id": "Procedure",
"concept_class_id": "Procedure"
},
"mappings": [
{
"mapping_id": "map_4273391_4336464",
"mapping_type": "Maps to",
"direction": "outgoing",
"target_concept": {
"concept_id": 4336464,
"concept_name": "Coronary artery bypass, using venous graft(s) and arterial graft(s); single vein graft (List separately in addition to code for primary procedure)",
"concept_code": "C1520",
"vocabulary_id": "HCPCS",
"vocabulary_name": "Healthcare Common Procedure Coding System",
"domain_id": "Procedure",
"concept_class_id": "HCPCS",
"standard_concept": "S"
},
"mapping_quality": {
"confidence_score": 0.87,
"equivalence_type": "broader",
"semantic_similarity": 0.81,
"mapping_source": "official",
"validation_status": "validated"
}
}
],
"mapping_summary": {
"total_mappings": 1,
"mappings_by_vocabulary": {
"HCPCS": 1
},
"mappings_by_type": {
"Maps to": 1
},
"average_quality_score": 0.87
}
}
],
"not_found_concepts": [],
"bulk_statistics": {
"processing_time_ms": 156.7,
"average_mappings_per_concept": 5.4,
"most_mapped_vocabulary": "ICD10CM",
"least_mapped_vocabulary": "HCPCS",
"concepts_by_mapping_count": {
"0": 1,
"1-5": 2,
"6-10": 1,
"11+": 1
},
"quality_distribution": {
"high_quality": 18,
"medium_quality": 7,
"low_quality": 2
}
}
},
"meta": {
"request_id": "req_bulk_mappings_456789",
"timestamp": "2024-12-22T10:45:00Z",
"vocab_release": "2025.2"
}
}
Retrieve mappings for multiple concepts simultaneously, optimized for high-throughput mapping operations
curl -X POST "https://api.omophub.com/v1/mappings/bulk" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"concept_ids": [201826, 320128, 4329847, 1503297, 4273391],
"target_vocabularies": ["ICD10CM", "ICD10", "HCPCS"],
"include_mapping_quality": true,
"include_synonyms": true,
"quality_threshold": 0.8
}'
{
"success": true,
"data": {
"request_summary": {
"total_concepts_requested": 5,
"concepts_found": 5,
"concepts_not_found": 0,
"concepts_with_mappings": 4,
"concepts_without_mappings": 1,
"total_mappings_found": 27,
"target_vocabularies_requested": ["ICD10CM", "ICD10", "HCPCS"]
},
"concept_mappings": [
{
"source_concept": {
"concept_id": 201826,
"concept_name": "Type 2 diabetes mellitus",
"concept_code": "44054006",
"vocabulary_id": "SNOMED",
"vocabulary_name": "Systematized Nomenclature of Medicine Clinical Terms",
"domain_id": "Condition",
"concept_class_id": "Clinical Finding"
},
"mappings": [
{
"mapping_id": "map_201826_45757292",
"mapping_type": "Maps to",
"direction": "outgoing",
"target_concept": {
"concept_id": 45757292,
"concept_name": "Type 2 diabetes mellitus",
"concept_code": "E11",
"vocabulary_id": "ICD10CM",
"vocabulary_name": "International Classification of Diseases, Tenth Revision, Clinical Modification",
"domain_id": "Condition",
"concept_class_id": "3-char billing code",
"standard_concept": "S",
"synonyms": [
{
"concept_synonym_name": "Type II diabetes mellitus",
"language_concept_id": 4180186,
"language_concept_name": "English"
}
]
},
"mapping_quality": {
"confidence_score": 0.98,
"equivalence_type": "exact",
"semantic_similarity": 0.95,
"mapping_source": "official",
"validation_status": "validated"
}
},
{
"mapping_id": "map_201826_4087682",
"mapping_type": "Maps to",
"direction": "outgoing",
"target_concept": {
"concept_id": 4087682,
"concept_name": "Type 2 diabetes mellitus",
"concept_code": "E11.9",
"vocabulary_id": "ICD10",
"vocabulary_name": "International Classification of Diseases, Tenth Revision",
"domain_id": "Condition",
"concept_class_id": "ICD10 code",
"standard_concept": "S"
},
"mapping_quality": {
"confidence_score": 0.94,
"equivalence_type": "exact",
"semantic_similarity": 0.92,
"mapping_source": "official",
"validation_status": "validated"
}
}
],
"mapping_summary": {
"total_mappings": 2,
"mappings_by_vocabulary": {
"ICD10CM": 1,
"ICD10": 1
},
"mappings_by_type": {
"Maps to": 2
},
"average_quality_score": 0.96
}
},
{
"source_concept": {
"concept_id": 4273391,
"concept_name": "Coronary artery bypass graft",
"concept_code": "232717009",
"vocabulary_id": "SNOMED",
"vocabulary_name": "Systematized Nomenclature of Medicine Clinical Terms",
"domain_id": "Procedure",
"concept_class_id": "Procedure"
},
"mappings": [
{
"mapping_id": "map_4273391_4336464",
"mapping_type": "Maps to",
"direction": "outgoing",
"target_concept": {
"concept_id": 4336464,
"concept_name": "Coronary artery bypass, using venous graft(s) and arterial graft(s); single vein graft (List separately in addition to code for primary procedure)",
"concept_code": "C1520",
"vocabulary_id": "HCPCS",
"vocabulary_name": "Healthcare Common Procedure Coding System",
"domain_id": "Procedure",
"concept_class_id": "HCPCS",
"standard_concept": "S"
},
"mapping_quality": {
"confidence_score": 0.87,
"equivalence_type": "broader",
"semantic_similarity": 0.81,
"mapping_source": "official",
"validation_status": "validated"
}
}
],
"mapping_summary": {
"total_mappings": 1,
"mappings_by_vocabulary": {
"HCPCS": 1
},
"mappings_by_type": {
"Maps to": 1
},
"average_quality_score": 0.87
}
}
],
"not_found_concepts": [],
"bulk_statistics": {
"processing_time_ms": 156.7,
"average_mappings_per_concept": 5.4,
"most_mapped_vocabulary": "ICD10CM",
"least_mapped_vocabulary": "HCPCS",
"concepts_by_mapping_count": {
"0": 1,
"1-5": 2,
"6-10": 1,
"11+": 1
},
"quality_distribution": {
"high_quality": 18,
"medium_quality": 7,
"low_quality": 2
}
}
},
"meta": {
"request_id": "req_bulk_mappings_456789",
"timestamp": "2024-12-22T10:45:00Z",
"vocab_release": "2025.2"
}
}
[201826, 320128, 4329847]["ICD10CM", "ICD10", "HCPCS"]["Maps to", "Mapped from"]["Maps to", "Maps to value"]outgoing, incoming, both0.8mappings array with {source_concept, target_concept, ...} objects.10Show Request Summary Object
Show Concept Mapping Group Object
Show Source Concept Object
Show Mapping Object
Show Target Concept Object
Show Individual Mapping Summary Object
Show Bulk Statistics Object
curl -X POST "https://api.omophub.com/v1/mappings/bulk" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"concept_ids": [201826, 320128, 4329847, 1503297, 4273391],
"target_vocabularies": ["ICD10CM", "ICD10", "HCPCS"],
"include_mapping_quality": true,
"include_synonyms": true,
"quality_threshold": 0.8
}'
{
"success": true,
"data": {
"request_summary": {
"total_concepts_requested": 5,
"concepts_found": 5,
"concepts_not_found": 0,
"concepts_with_mappings": 4,
"concepts_without_mappings": 1,
"total_mappings_found": 27,
"target_vocabularies_requested": ["ICD10CM", "ICD10", "HCPCS"]
},
"concept_mappings": [
{
"source_concept": {
"concept_id": 201826,
"concept_name": "Type 2 diabetes mellitus",
"concept_code": "44054006",
"vocabulary_id": "SNOMED",
"vocabulary_name": "Systematized Nomenclature of Medicine Clinical Terms",
"domain_id": "Condition",
"concept_class_id": "Clinical Finding"
},
"mappings": [
{
"mapping_id": "map_201826_45757292",
"mapping_type": "Maps to",
"direction": "outgoing",
"target_concept": {
"concept_id": 45757292,
"concept_name": "Type 2 diabetes mellitus",
"concept_code": "E11",
"vocabulary_id": "ICD10CM",
"vocabulary_name": "International Classification of Diseases, Tenth Revision, Clinical Modification",
"domain_id": "Condition",
"concept_class_id": "3-char billing code",
"standard_concept": "S",
"synonyms": [
{
"concept_synonym_name": "Type II diabetes mellitus",
"language_concept_id": 4180186,
"language_concept_name": "English"
}
]
},
"mapping_quality": {
"confidence_score": 0.98,
"equivalence_type": "exact",
"semantic_similarity": 0.95,
"mapping_source": "official",
"validation_status": "validated"
}
},
{
"mapping_id": "map_201826_4087682",
"mapping_type": "Maps to",
"direction": "outgoing",
"target_concept": {
"concept_id": 4087682,
"concept_name": "Type 2 diabetes mellitus",
"concept_code": "E11.9",
"vocabulary_id": "ICD10",
"vocabulary_name": "International Classification of Diseases, Tenth Revision",
"domain_id": "Condition",
"concept_class_id": "ICD10 code",
"standard_concept": "S"
},
"mapping_quality": {
"confidence_score": 0.94,
"equivalence_type": "exact",
"semantic_similarity": 0.92,
"mapping_source": "official",
"validation_status": "validated"
}
}
],
"mapping_summary": {
"total_mappings": 2,
"mappings_by_vocabulary": {
"ICD10CM": 1,
"ICD10": 1
},
"mappings_by_type": {
"Maps to": 2
},
"average_quality_score": 0.96
}
},
{
"source_concept": {
"concept_id": 4273391,
"concept_name": "Coronary artery bypass graft",
"concept_code": "232717009",
"vocabulary_id": "SNOMED",
"vocabulary_name": "Systematized Nomenclature of Medicine Clinical Terms",
"domain_id": "Procedure",
"concept_class_id": "Procedure"
},
"mappings": [
{
"mapping_id": "map_4273391_4336464",
"mapping_type": "Maps to",
"direction": "outgoing",
"target_concept": {
"concept_id": 4336464,
"concept_name": "Coronary artery bypass, using venous graft(s) and arterial graft(s); single vein graft (List separately in addition to code for primary procedure)",
"concept_code": "C1520",
"vocabulary_id": "HCPCS",
"vocabulary_name": "Healthcare Common Procedure Coding System",
"domain_id": "Procedure",
"concept_class_id": "HCPCS",
"standard_concept": "S"
},
"mapping_quality": {
"confidence_score": 0.87,
"equivalence_type": "broader",
"semantic_similarity": 0.81,
"mapping_source": "official",
"validation_status": "validated"
}
}
],
"mapping_summary": {
"total_mappings": 1,
"mappings_by_vocabulary": {
"HCPCS": 1
},
"mappings_by_type": {
"Maps to": 1
},
"average_quality_score": 0.87
}
}
],
"not_found_concepts": [],
"bulk_statistics": {
"processing_time_ms": 156.7,
"average_mappings_per_concept": 5.4,
"most_mapped_vocabulary": "ICD10CM",
"least_mapped_vocabulary": "HCPCS",
"concepts_by_mapping_count": {
"0": 1,
"1-5": 2,
"6-10": 1,
"11+": 1
},
"quality_distribution": {
"high_quality": 18,
"medium_quality": 7,
"low_quality": 2
}
}
},
"meta": {
"request_id": "req_bulk_mappings_456789",
"timestamp": "2024-12-22T10:45:00Z",
"vocab_release": "2025.2"
}
}
const response = await fetch('/v1/mappings/bulk', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
concept_ids: [201826, 320128, 4329847],
target_vocabularies: ['ICD10CM']
})
});
const qualityMappings = await fetch('/v1/mappings/bulk', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
concept_ids: conceptIds,
quality_threshold: 0.9,
include_mapping_quality: true,
max_mappings_per_concept: 5
})
});
const etlMappings = await fetch('/v1/mappings/bulk', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
concept_ids: largeBatchOfConceptIds,
target_vocabularies: ['ICD10CM', 'HCPCS'],
direction: 'outgoing',
standard_only: true,
group_by_source: true,
include_unmapped: false
})
});
const translation = await fetch('/v1/mappings/bulk', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
concept_ids: snomedConceptIds,
target_vocabularies: ['ICD10CM', 'ICD10', 'HCPCS', 'NDC'],
include_synonyms: true,
max_mappings_per_concept: 10
})
});
const qualityAssessment = await fetch('/v1/mappings/bulk', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
concept_ids: conceptsToAssess,
include_mapping_quality: true,
include_synonyms: false,
direction: 'both'
})
});
Was this page helpful?