Package org.ehrbase.util
Class TemplateUtils
- java.lang.Object
-
- org.ehrbase.util.TemplateUtils
-
public class TemplateUtils extends Object
Utility class that implements basic operations for OPT template.- Since:
- 1.0.0
- Author:
- Renaud Subiger
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetTemplateId(org.openehr.schemas.v1.OPERATIONALTEMPLATE template)Retrieves the template ID from the given OPT template.static UUIDgetUid(org.openehr.schemas.v1.OPERATIONALTEMPLATE template)Retrieves the template unique ID from the given OPT template.
-
-
-
Method Detail
-
getTemplateId
public static String getTemplateId(org.openehr.schemas.v1.OPERATIONALTEMPLATE template)
Retrieves the template ID from the given OPT template.- Parameters:
template- the template- Returns:
- template ID
-
getUid
public static UUID getUid(org.openehr.schemas.v1.OPERATIONALTEMPLATE template)
Retrieves the template unique ID from the given OPT template.- Parameters:
template- the template- Returns:
- template unique ID
-
-