Skip to main content

CodeLookupKey

Type Alias CodeLookupKey 

Source
pub type CodeLookupKey = (String, String, Option<String>, usize, usize);
Expand description

Lookup key: (source_path, segment_tag, qualifier, element_index, component_index).

source_path matches the TOML source_path field (e.g., “sg4.sg8_z01.sg10”). segment_tag is uppercase (e.g., “CCI”, “CAV”). qualifier is the segment’s discriminating qualifier when one applies (RFF/STS/CCI: element 0 component 0; DTM: c507.d2005). None for segments without a qualifier convention. The qualifier slot scopes lookups so that, for instance, RFF+TN’s type=data d1154 (free-text Vorgangsnummer) is not confused with RFF+Z13’s type=code d1154 (PID-identifier) at the same path/elem/comp.