Class WebTemplateUtils
java.lang.Object
org.ehrbase.openehr.sdk.webtemplate.util.WebTemplateUtils
Convenience methods for working with Web Templates.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<WebTemplateNode>Return the list of "true" children for the node.static booleanReturn whether the node is a choice betweenDV_CODED_TEXTandDV_TEXT.
-
Method Details
-
isChoiceDvCodedTextAndDvText
Return whether the node is a choice betweenDV_CODED_TEXTandDV_TEXT.- Parameters:
node- the node to check- Returns:
trueif the provided input is choice;falseotherwise
-
getTrueChildrenElement
Return the list of "true" children for the node.- Parameters:
node- the node to check- Returns:
- the list of "true" children
-