Class SchemaSupport


  • public class SchemaSupport
    extends java.lang.Object
    Support functions for the FHIR DB schema
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaSupport()
      Public constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getParamTableType​(java.lang.String tableName)
      Convert the parameter table name to a string value describing its type.
      java.lang.String getResourceTypeFromTableName​(java.lang.String tableName)
      Obtain the resource type associated with the given table
      boolean isParamTable​(java.lang.String tableName)
      Is the named table one of the search parameter tables
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SchemaSupport

        public SchemaSupport()
        Public constructor
    • Method Detail

      • getResourceTypeFromTableName

        public java.lang.String getResourceTypeFromTableName​(java.lang.String tableName)
        Obtain the resource type associated with the given table
        Parameters:
        tableName -
        Returns:
        the associated resource type or null if the table is known but not associated with a resource
      • isParamTable

        public boolean isParamTable​(java.lang.String tableName)
        Is the named table one of the search parameter tables
        Parameters:
        tableName -
        Returns:
      • getParamTableType

        public java.lang.String getParamTableType​(java.lang.String tableName)
        Convert the parameter table name to a string value describing its type. For example:
              PATIENT_STR_VALUES: STRING
              PATIENT_DATE_VALUES: DATE
              PATIENT_RESOURCE_TOKEN_REFS: TOKEN
              etc.
         
        Parameters:
        tableName -
        Returns: