Class Templates


  • public class Templates
    extends Object
    Process jsonpath queries on WebTemplates
    • Method Detail

      • resolve

        public List<JsonPathQueryResult> resolve​(List<org.ehrbase.webtemplate.parser.NodeId> jsonQueryExpression)
        build the results for a jsonpath query applied to all defined templates in the KnowledgeCacheService
        Parameters:
        jsonQueryExpression -
        Returns:
      • resolveForTemplate

        public JsonPathQueryResult resolveForTemplate​(String templateId,
                                                      List<org.ehrbase.webtemplate.parser.NodeId> jsonQueryExpression)
        build the results for a jsonpath query applied to a defined templates in the KnowledgeCacheService
        Parameters:
        templateId -
        jsonQueryExpression -
        Returns:
      • rootArchetypeNodeId

        public String rootArchetypeNodeId​(String templateId)
        retrieve composition Node Id from template
        Parameters:
        templateId -
        Returns: