public final class OpenmrsConstants extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OpenmrsConstants.PERSON_TYPE
These enumerations should be used in ObsService and PersonService getters to help determine
which type of object to restrict on
|
Constructor and Description |
---|
OpenmrsConstants() |
Modifier and Type | Method and Description |
---|---|
static Collection<String> |
AUTO_ROLES()
These roles are given to a user automatically and cannot be assigned
|
static Collection<String> |
CONCEPT_PROPOSAL_STATES() |
static List<GlobalProperty> |
CORE_GLOBAL_PROPERTIES()
At OpenMRS startup these global properties/default values/descriptions are inserted into the
database if they do not exist yet.
|
static Map<String,String> |
CORE_PRIVILEGES()
Deprecated.
|
static Map<String,String> |
CORE_ROLES()
Deprecated.
|
static Map<String,String> |
GENDER()
A gender character to gender name map
TODO issues with localization. |
static String |
getOpenmrsProperty(String property) |
static Collection<Locale> |
OPENMRS_CONCEPT_LOCALES()
Deprecated.
|
static Map<String,String> |
OPENMRS_LOCALE_DATE_PATTERNS()
Deprecated.
use the
Context.getDateFormat() |
static Collection<Locale> |
OPENMRS_LOCALES()
Deprecated.
|
static Collection<String> |
STOP_WORDS()
These words are ignored in concept and patient searches
|
public static final int ORDERTYPE_DRUG
public static final int CONCEPT_CLASS_DRUG
public static final String OPENMRS_VERSION
public static final String OPENMRS_VERSION_SHORT
@Deprecated public static final String DATABASE_VERSION_EXPECTED
DatabaseUpdater.updatesRequired()
to see what changesets in the
liquibase-update-to-latest.xml file in the openmrs api jar file need to be run to bring the
db up to date with what the api requires.public static String DATABASE_NAME
public static String DATABASE_BUSINESS_NAME
@Deprecated public static String DATABASE_VERSION
DatabaseUpdater.updatesRequired()
to see what changesets in the
liquibase-update-to-latest.xml file in the openmrs api jar file need to be run to bring the
db up to date with what the api requires.public static boolean OBSCURE_PATIENTS
public static String OBSCURE_PATIENTS_GIVEN_NAME
public static String OBSCURE_PATIENTS_MIDDLE_NAME
public static String OBSCURE_PATIENTS_FAMILY_NAME
public static final String REGEX_LARGE
public static final String REGEX_SMALL
public static final Integer CIVIL_STATUS_CONCEPT_ID
public static String APPLICATION_DATA_DIRECTORY
public static String APPLICATION_DATA_DIRECTORY_RUNTIME_PROPERTY
APPLICATION_DATA_DIRECTORY
public static String AUTO_UPDATE_DATABASE_RUNTIME_PROPERTY
@Deprecated public static final String PRIV_VIEW_CONCEPTS
@Deprecated public static final String PRIV_MANAGE_CONCEPTS
@Deprecated public static final String PRIV_PURGE_CONCEPTS
@Deprecated public static final String PRIV_MANAGE_CONCEPT_NAME_TAGS
@Deprecated public static final String PRIV_VIEW_CONCEPT_PROPOSALS
@Deprecated public static final String PRIV_ADD_CONCEPT_PROPOSALS
@Deprecated public static final String PRIV_EDIT_CONCEPT_PROPOSALS
@Deprecated public static final String PRIV_DELETE_CONCEPT_PROPOSALS
@Deprecated public static final String PRIV_PURGE_CONCEPT_PROPOSALS
@Deprecated public static final String PRIV_VIEW_USERS
@Deprecated public static final String PRIV_ADD_USERS
@Deprecated public static final String PRIV_EDIT_USERS
@Deprecated public static final String PRIV_DELETE_USERS
@Deprecated public static final String PRIV_PURGE_USERS
@Deprecated public static final String PRIV_EDIT_USER_PASSWORDS
@Deprecated public static final String PRIV_VIEW_ENCOUNTERS
@Deprecated public static final String PRIV_ADD_ENCOUNTERS
@Deprecated public static final String PRIV_EDIT_ENCOUNTERS
@Deprecated public static final String PRIV_DELETE_ENCOUNTERS
@Deprecated public static final String PRIV_PURGE_ENCOUNTERS
@Deprecated public static final String PRIV_VIEW_ENCOUNTER_TYPES
@Deprecated public static final String PRIV_MANAGE_ENCOUNTER_TYPES
@Deprecated public static final String PRIV_PURGE_ENCOUNTER_TYPES
@Deprecated public static final String PRIV_VIEW_LOCATIONS
@Deprecated public static final String PRIV_MANAGE_LOCATIONS
@Deprecated public static final String PRIV_PURGE_LOCATIONS
@Deprecated public static final String PRIV_MANAGE_LOCATION_TAGS
@Deprecated public static final String PRIV_PURGE_LOCATION_TAGS
@Deprecated public static final String PRIV_VIEW_OBS
@Deprecated public static final String PRIV_ADD_OBS
@Deprecated public static final String PRIV_EDIT_OBS
@Deprecated public static final String PRIV_DELETE_OBS
@Deprecated public static final String PRIV_PURGE_OBS
@Deprecated public static final String PRIV_VIEW_MIME_TYPES
@Deprecated public static final String PRIV_PURGE_MIME_TYPES
@Deprecated public static final String PRIV_VIEW_PATIENTS
@Deprecated public static final String PRIV_ADD_PATIENTS
@Deprecated public static final String PRIV_EDIT_PATIENTS
@Deprecated public static final String PRIV_DELETE_PATIENTS
@Deprecated public static final String PRIV_PURGE_PATIENTS
@Deprecated public static final String PRIV_VIEW_PATIENT_IDENTIFIERS
@Deprecated public static final String PRIV_ADD_PATIENT_IDENTIFIERS
@Deprecated public static final String PRIV_EDIT_PATIENT_IDENTIFIERS
@Deprecated public static final String PRIV_DELETE_PATIENT_IDENTIFIERS
@Deprecated public static final String PRIV_PURGE_PATIENT_IDENTIFIERS
@Deprecated public static final String PRIV_VIEW_PATIENT_COHORTS
@Deprecated public static final String PRIV_ADD_COHORTS
@Deprecated public static final String PRIV_EDIT_COHORTS
@Deprecated public static final String PRIV_DELETE_COHORTS
@Deprecated public static final String PRIV_PURGE_COHORTS
@Deprecated public static final String PRIV_VIEW_ORDERS
@Deprecated public static final String PRIV_ADD_ORDERS
@Deprecated public static final String PRIV_EDIT_ORDERS
@Deprecated public static final String PRIV_DELETE_ORDERS
@Deprecated public static final String PRIV_PURGE_ORDERS
@Deprecated public static final String PRIV_VIEW_FORMS
@Deprecated public static final String PRIV_MANAGE_FORMS
@Deprecated public static final String PRIV_PURGE_FORMS
@Deprecated public static final String PRIV_FORM_ENTRY
@Deprecated public static final String PRIV_VIEW_REPORTS
@Deprecated public static final String PRIV_ADD_REPORTS
@Deprecated public static final String PRIV_EDIT_REPORTS
@Deprecated public static final String PRIV_DELETE_REPORTS
@Deprecated public static final String PRIV_RUN_REPORTS
@Deprecated public static final String PRIV_VIEW_REPORT_OBJECTS
@Deprecated public static final String PRIV_ADD_REPORT_OBJECTS
@Deprecated public static final String PRIV_EDIT_REPORT_OBJECTS
@Deprecated public static final String PRIV_DELETE_REPORT_OBJECTS
@Deprecated public static final String PRIV_MANAGE_IDENTIFIER_TYPES
@Deprecated public static final String PRIV_VIEW_IDENTIFIER_TYPES
@Deprecated public static final String PRIV_PURGE_IDENTIFIER_TYPES
@Deprecated public static final String PRIV_MANAGE_MIME_TYPES
@Deprecated public static final String PRIV_VIEW_CONCEPT_CLASSES
@Deprecated public static final String PRIV_MANAGE_CONCEPT_CLASSES
@Deprecated public static final String PRIV_PURGE_CONCEPT_CLASSES
@Deprecated public static final String PRIV_VIEW_CONCEPT_DATATYPES
@Deprecated public static final String PRIV_MANAGE_CONCEPT_DATATYPES
@Deprecated public static final String PRIV_PURGE_CONCEPT_DATATYPES
@Deprecated public static final String PRIV_VIEW_PRIVILEGES
@Deprecated public static final String PRIV_MANAGE_PRIVILEGES
@Deprecated public static final String PRIV_PURGE_PRIVILEGES
@Deprecated public static final String PRIV_VIEW_ROLES
@Deprecated public static final String PRIV_MANAGE_ROLES
@Deprecated public static final String PRIV_PURGE_ROLES
@Deprecated public static final String PRIV_VIEW_FIELD_TYPES
@Deprecated public static final String PRIV_MANAGE_FIELD_TYPES
@Deprecated public static final String PRIV_PURGE_FIELD_TYPES
@Deprecated public static final String PRIV_VIEW_ORDER_TYPES
@Deprecated public static final String PRIV_MANAGE_ORDER_TYPES
@Deprecated public static final String PRIV_PURGE_ORDER_TYPES
@Deprecated public static final String PRIV_VIEW_RELATIONSHIP_TYPES
@Deprecated public static final String PRIV_MANAGE_RELATIONSHIP_TYPES
@Deprecated public static final String PRIV_PURGE_RELATIONSHIP_TYPES
@Deprecated public static final String PRIV_MANAGE_ALERTS
@Deprecated public static final String PRIV_MANAGE_CONCEPT_SOURCES
@Deprecated public static final String PRIV_VIEW_CONCEPT_SOURCES
@Deprecated public static final String PRIV_PURGE_CONCEPT_SOURCES
@Deprecated public static final String PRIV_VIEW_NAVIGATION_MENU
@Deprecated public static final String PRIV_VIEW_ADMIN_FUNCTIONS
@Deprecated public static final String PRIV_VIEW_UNPUBLISHED_FORMS
@Deprecated public static final String PRIV_VIEW_PROGRAMS
@Deprecated public static final String PRIV_MANAGE_PROGRAMS
@Deprecated public static final String PRIV_VIEW_PATIENT_PROGRAMS
@Deprecated public static final String PRIV_ADD_PATIENT_PROGRAMS
@Deprecated public static final String PRIV_EDIT_PATIENT_PROGRAMS
@Deprecated public static final String PRIV_DELETE_PATIENT_PROGRAMS
@Deprecated public static final String PRIV_PURGE_PATIENT_PROGRAMS
@Deprecated public static final String PRIV_DASHBOARD_OVERVIEW
@Deprecated public static final String PRIV_DASHBOARD_REGIMEN
@Deprecated public static final String PRIV_DASHBOARD_ENCOUNTERS
@Deprecated public static final String PRIV_DASHBOARD_DEMOGRAPHICS
@Deprecated public static final String PRIV_DASHBOARD_GRAPHS
@Deprecated public static final String PRIV_DASHBOARD_FORMS
@Deprecated public static final String PRIV_DASHBOARD_SUMMARY
@Deprecated public static final String PRIV_VIEW_GLOBAL_PROPERTIES
@Deprecated public static final String PRIV_MANAGE_GLOBAL_PROPERTIES
@Deprecated public static final String PRIV_PURGE_GLOBAL_PROPERTIES
@Deprecated public static final String PRIV_MANAGE_MODULES
@Deprecated public static final String PRIV_MANAGE_SCHEDULER
@Deprecated public static final String PRIV_VIEW_PERSON_ATTRIBUTE_TYPES
@Deprecated public static final String PRIV_MANAGE_PERSON_ATTRIBUTE_TYPES
@Deprecated public static final String PRIV_PURGE_PERSON_ATTRIBUTE_TYPES
@Deprecated public static final String PRIV_VIEW_PERSONS
@Deprecated public static final String PRIV_ADD_PERSONS
@Deprecated public static final String PRIV_EDIT_PERSONS
@Deprecated public static final String PRIV_DELETE_PERSONS
@Deprecated public static final String PRIV_PURGE_PERSONS
@Deprecated public static final String PRIV_MANAGE_RELATIONSHIPS
@Deprecated public static final String PRIV_VIEW_RELATIONSHIPS
@Deprecated public static final String PRIV_ADD_RELATIONSHIPS
@Deprecated public static final String PRIV_EDIT_RELATIONSHIPS
@Deprecated public static final String PRIV_DELETE_RELATIONSHIPS
@Deprecated public static final String PRIV_PURGE_RELATIONSHIPS
@Deprecated public static final String PRIV_VIEW_DATABASE_CHANGES
@Deprecated public static final String PRIV_MANAGE_IMPLEMENTATION_ID
@Deprecated public static final String PRIV_SQL_LEVEL_ACCESS
@Deprecated public static final String PRIV_VIEW_PROBLEMS
@Deprecated public static final String PRIV_ADD_PROBLEMS
@Deprecated public static final String PRIV_EDIT_PROBLEMS
@Deprecated public static final String PRIV_DELETE_PROBLEMS
@Deprecated public static final String PRIV_VIEW_ALLERGIES
@Deprecated public static final String PRIV_ADD_ALLERGIES
@Deprecated public static final String PRIV_EDIT_ALLERGIES
@Deprecated public static final String PRIV_DELETE_ALLERGIES
@Deprecated public static final String SUPERUSER_ROLE
@Deprecated public static final String ANONYMOUS_ROLE
@Deprecated public static final String AUTHENTICATED_ROLE
@Deprecated public static final String PROVIDER_ROLE
public static final String GLOBAL_PROPERTY_DRUG_FREQUENCIES
public static final String GLOBAL_PROPERTY_CONCEPTS_LOCKED
public static final String GLOBAL_PROPERTY_PATIENT_LISTING_ATTRIBUTES
public static final String GLOBAL_PROPERTY_PATIENT_VIEWING_ATTRIBUTES
public static final String GLOBAL_PROPERTY_PATIENT_HEADER_ATTRIBUTES
public static final String GLOBAL_PROPERTY_USER_LISTING_ATTRIBUTES
public static final String GLOBAL_PROPERTY_USER_VIEWING_ATTRIBUTES
public static final String GLOBAL_PROPERTY_USER_HEADER_ATTRIBUTES
public static final String GLOBAL_PROPERTY_HL7_ARCHIVE_DIRECTORY
public static final String GLOBAL_PROPERTY_DEFAULT_THEME
public static final String[] GLOBAL_PROPERTIES_OF_PERSON_ATTRIBUTES
public static final String GLOBAL_PROPERTY_PATIENT_IDENTIFIER_REGEX
public static final String GLOBAL_PROPERTY_PATIENT_IDENTIFIER_PREFIX
public static final String GLOBAL_PROPERTY_PATIENT_IDENTIFIER_SUFFIX
public static final String GLOBAL_PROPERTY_PATIENT_IDENTIFIER_SEARCH_PATTERN
public static final String GLOBAL_PROPERTY_PERSON_SEARCH_MAX_RESULTS
public static final int GLOBAL_PROPERTY_PERSON_SEARCH_MAX_RESULTS_DEFAULT_VALUE
public static final String GLOBAL_PROPERTY_GZIP_ENABLED
public static final String GLOBAL_PROPERTY_MEDICAL_RECORD_OBSERVATIONS
public static final String GLOBAL_PROPERTY_PROBLEM_LIST
@Deprecated public static final String GLOBAL_PROPERTY_REPORT_XML_MACROS
public static final String GLOBAL_PROPERTY_STANDARD_DRUG_REGIMENS
public static final String GLOBAL_PROPERTY_SHOW_PATIENT_NAME
public static final String GLOBAL_PROPERTY_DEFAULT_PATIENT_IDENTIFIER_VALIDATOR
public static final String GLOBAL_PROPERTY_PATIENT_IDENTIFIER_IMPORTANT_TYPES
public static final String GLOBAL_PROPERTY_ENCOUNTER_FORM_OBS_SORT_ORDER
public static final String GLOBAL_PROPERTY_LOCALE_ALLOWED_LIST
public static final String GLOBAL_PROPERTY_IMPLEMENTATION_ID
public static final String GLOBAL_PROPERTY_NEWPATIENTFORM_SHOW_RELATIONSHIPS
public static final String GLOBAL_PROPERTY_NEWPATIENTFORM_RELATIONSHIPS
public static final String GLOBAL_PROPERTY_COMPLEX_OBS_DIR
public static final String GLOBAL_PROPERTY_MIN_SEARCH_CHARACTERS
public static final int GLOBAL_PROPERTY_DEFAULT_MIN_SEARCH_CHARACTERS
public static final String GLOBAL_PROPERTY_DEFAULT_LOCALE
public static final String GLOBAL_PROPERTY_DEFAULT_LOCATION_NAME
public static final String GLOBAL_PROPERTY_DEFAULT_LOCALE_DEFAULT_VALUE
public static final String GLOBAL_PROPERTY_PATIENT_SEARCH_MATCH_MODE
public static final String GLOBAL_PROPERTY_PATIENT_SEARCH_MATCH_ANYWHERE
public static final String GLOBAL_PROPERTY_DEFAULT_SERIALIZER
public static final String GLOBAL_PROPERTY_IGNORE_MISSING_NONLOCAL_PATIENTS
public static final String GLOBAL_PROPERTY_TRUE_CONCEPT
public static final String GLOBAL_PROPERTY_FALSE_CONCEPT
public static final String GLOBAL_PROPERTY_LOCATION_WIDGET_TYPE
public static final String GLOBAL_PROPERTY_REPORT_BUG_URL
public static final String GLOBAL_PROPERTY_ENCOUNTER_TYPES_LOCKED
public static String GP_PASSWORD_REQUIRES_UPPER_AND_LOWER_CASE
public static String GP_PASSWORD_REQUIRES_NON_DIGIT
public static String GP_PASSWORD_REQUIRES_DIGIT
public static String GP_PASSWORD_CANNOT_MATCH_USERNAME_OR_SYSTEMID
public static String GP_PASSWORD_MINIMUM_LENGTH
public static String GP_PASSWORD_CUSTOM_REGEX
public static final String GP_GRAPH_COLOR_ABSOLUTE
public static final String GP_GRAPH_COLOR_NORMAL
public static final String GP_GRAPH_COLOR_CRITICAL
public static final String GP_SEARCH_WIDGET_BATCH_SIZE
public static final String GP_SEARCH_WIDGET_IN_SERIAL_MODE
public static final String GP_SEARCH_WIDGET_DELAY_INTERVAL
public static final String GP_CONCEPT_DRUG_DOSAGE_FORM_CONCEPT_CLASSES
public static final String GP_CONCEPT_DRUG_ROUTE_CONCEPT_CLASSES
public static final String GP_CONCEPT_INDEX_UPDATE_TASK_LAST_UPDATED_CONCEPT
public static final String GP_CASE_SENSITIVE_NAMES_IN_CONCEPT_NAME_TABLE
public static final String PROPOSED_CONCEPT_IDENTIFIER
public static final String CONCEPT_PROPOSAL_UNMAPPED
public static final String CONCEPT_PROPOSAL_CONCEPT
public static final String CONCEPT_PROPOSAL_SYNONYM
public static final String CONCEPT_PROPOSAL_REJECT
public static Locale SPANISH_LANGUAGE
public static Locale PORTUGUESE_LANGUAGE
public static Locale ITALIAN_LANGUAGE
public static final Locale GLOBAL_DEFAULT_LOCALE
LocaleUtility.getDefaultLocale()
public static final String USER_PROPERTY_CHANGE_PASSWORD
public static final String USER_PROPERTY_DEFAULT_LOCALE
public static final String USER_PROPERTY_DEFAULT_LOCATION
public static final String USER_PROPERTY_SHOW_RETIRED
public static final String USER_PROPERTY_SHOW_VERBOSE
public static final String USER_PROPERTY_NOTIFICATION
public static final String USER_PROPERTY_NOTIFICATION_ADDRESS
public static final String USER_PROPERTY_NOTIFICATION_FORMAT
public static final String USER_PROPERTY_LOGIN_ATTEMPTS
public static final String USER_PROPERTY_LOCKOUT_TIMESTAMP
public static final String USER_PROPERTY_PROFICIENT_LOCALES
proficientLocales = en_US, en_GB, en, fr_RW
@Deprecated public static final String REPORT_OBJECT_TYPE_PATIENTFILTER
@Deprecated public static final String REPORT_OBJECT_TYPE_PATIENTSEARCH
@Deprecated public static final String REPORT_OBJECT_TYPE_PATIENTDATAPRODUCER
public static final String OPERATING_SYSTEM_KEY
public static final String OPERATING_SYSTEM
public static final String OPERATING_SYSTEM_WINDOWS_XP
public static final String OPERATING_SYSTEM_WINDOWS_VISTA
public static final String OPERATING_SYSTEM_LINUX
public static final String OPERATING_SYSTEM_SUNOS
public static final String OPERATING_SYSTEM_FREEBSD
public static final String OPERATING_SYSTEM_OSX
public static final String IMPLEMENTATION_ID_REMOTE_CONNECTION_URL
public static final boolean UNIX_BASED_OPERATING_SYSTEM
public static final boolean WINDOWS_BASED_OPERATING_SYSTEM
public static final boolean WINDOWS_VISTA_OPERATING_SYSTEM
public static final String SHORT_SERIALIZATION
public static final String GLOBAL_PROPERTY_LOG_LEVEL
public static final String LOG_CLASS_DEFAULT
public static final String LOG_LEVEL_TRACE
public static final String LOG_LEVEL_DEBUG
public static final String LOG_LEVEL_INFO
public static final String LOG_LEVEL_WARN
public static final String LOG_LEVEL_ERROR
public static final String LOG_LEVEL_FATAL
public static final String LUHN_IDENTIFIER_VALIDATOR
public static final String RAW_VIEW
public static final String TEXT_VIEW
public static final Collection<String> STOP_WORDS()
public static final Map<String,String> GENDER()
@Deprecated public static final Map<String,String> CORE_PRIVILEGES()
@Deprecated public static final Map<String,String> CORE_ROLES()
public static final Collection<String> AUTO_ROLES()
Collection
of the auto-assigned rolespublic static final List<GlobalProperty> CORE_GLOBAL_PROPERTIES()
public static final Collection<String> CONCEPT_PROPOSAL_STATES()
public static final Collection<Locale> OPENMRS_LOCALES()
public static final Collection<Locale> OPENMRS_CONCEPT_LOCALES()
ConceptService.getLocalesOfConceptNames()
public static final Map<String,String> OPENMRS_LOCALE_DATE_PATTERNS()
Context.getDateFormat()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.