Skip to content

hasTemplateIdOf

Category: FHIR

CDA-specific function to check if the current element has a templateId with the specified root and optionally extension

  • Return type: boolean
  • Parameters:
    • root string — The root value to match
    • extension string — Optional extension value to match
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')