Function: getSectionHeading()
getSectionHeading(
questionnaire
,targetLinkId
,tabs
):string
|null
Returns the section heading text for a given linkId in a questionnaire, used to label tab sections.
Parameters
Parameter | Type | Description |
---|---|---|
questionnaire | Questionnaire | The FHIR Questionnaire to search through. |
targetLinkId | string | The linkId of the target item. |
tabs | Tabs | Tab definitions used to match section headings. |
Returns
string
| null
The section heading text if found, otherwise null.