Function: sectionForTemplateRoot()
sectionForTemplateRoot(
root):SectionInfo|undefined
Resolve a section templateId root OID to its SectionInfo, or
undefined when unrecognized. This is the primary section-recognition path.
Parameters
root
string
Returns
SectionInfo | undefined
Example
import { sectionForTemplateRoot } from "@cosyte/ccda";
sectionForTemplateRoot("2.16.840.1.113883.10.20.22.2.6.1")?.key; // "allergies"