hasTemplateIdOf
hasTemplateIdOf()
Section titled “hasTemplateIdOf()”Category: FHIR
CDA-specific function to check if the current element has a templateId with the specified root and optionally extension
Signature
Section titled “Signature”- Return type:
boolean - Parameters:
rootstring— The root value to matchextensionstring— Optional extension value to match
Examples
Section titled “Examples”ClinicalDocument.hasTemplateIdOf('2.16.840.1.113883.10.20.22.1.1')section.hasTemplateIdOf('2.16.840.1.113883.10.20.22.2.4.1', '2014-06-09')