Interface: CodedValueMap
A license-clean v2-table → FHIR value ConceptMap: it translates a source table code to its
CodedTarget, or undefined when the code is not in the map's mapped group (the IG's
(unmapped) group). Never fabricates a target.
Properties
name
readonlyname:string
The IG ConceptMap id this map transcribes (its citation).
sourceMnemonics
readonlysourceMnemonics:ReadonlySet<string>
The CWE.3 (nameOfCodingSystem) mnemonics that denote this map's bound source table - the
HL7 forms ("HL70162", "0162", …). Translation applies only when the field's primary
coding is from the bound table: CWE.3 absent/empty (a positionally-bound bare code) or CWE.3 ∈
this set. A CWE that declares a different coding system (a local 99…, or SNOMED) is not a
source-table code, so the map is not applied to it - the raw coding is carried structurally + its
system flagged, never asserted as the standard concept.
sourceSystem
readonlysourceSystem:string
The source table's canonical CodeSystem URI (what the raw v2 code is a member of when mapped).
translate
readonlytranslate: (code) =>CodedTarget|undefined
Translate a source table code to its FHIR target, or undefined when the IG map has no target.
Parameters
code
string
Returns
CodedTarget | undefined