Code systems and mappings
An IMO lexical is a canonical clinical concept. Its value is the mappings it carries: once a term resolves to a lexical, you get that concept expressed in every code system your downstream systems need.
Mappings live on each matched item under metadata.mappings.
Supported code systems
Reading mappings
Value-added metadata
Some systems carry extra structure worth knowing about:
icd10cm— each code can includeccsr(AHRQ Clinical Classifications Software Refined categories) andhcc(Hierarchical Condition Categories with risk-adjustment factors). This is what makes risk-model work possible without a second vendor.rxnorm— includesrxnorm_titlesfor alternate drug naming.ndc— includesndc_metadatawithrouteandpharm_classarrays.cvx— includes bothcvx_metadataandmvx_metadata(manufacturer).uscdi—profiles[]withassociated_codes, for interoperability requirements.
Clinical flags
metadata.flags describes how a lexical may be used:
is_chargeable and is_icd10cm_refinable are the two flags most revenue-cycle
integrations key on. Filtering to is_chargeable: true before writing to a claim
avoids downstream rejections.
Discrepancy checking
Set preferences.discrepancy_check: true when you receive both a term and a code
and want to know whether they agree.
This is how you catch upstream data-entry errors — a note saying diabetes
carrying a code for hypertension — before they propagate.
Subdomains
metadata.subdomains narrows the clinical domain further (for example, within
Problem, distinguishing a symptom from a confirmed diagnosis). Use it when you
need finer routing than the six top-level domains provide.