| Package | Description | 
|---|---|
| org.openmrs.api | 
The primary OpenMRS API interfaces. | 
| org.openmrs.api.impl | |
| org.openmrs.hl7 | OpenMRS HL7 module. | 
| org.openmrs.logging | |
| org.openmrs.scheduler | |
| org.openmrs.util | Shared utilities for OpenMRS classes | 
| Modifier and Type | Method and Description | 
|---|---|
| void | UserService. changePassword(String oldPassword,
              String newPassword)Changes the current user's password. | 
| void | UserService. changePassword(User user,
              String oldPassword,
              String newPassword)Change user password. | 
| void | UserService. changeQuestionAnswer(String pw,
                    String q,
                    String a)Changes the current user's secret question and answer. | 
| void | UserService. changeQuestionAnswer(User u,
                    String question,
                    String answer)Changes the passed user's secret question and answer. | 
| User | UserService. createUser(User user,
          String password)Create user with given password. | 
| <T> T | SerializationService. deserialize(String serializedObject,
           Class<? extends T> objectClass,
           Class<? extends OpenmrsSerializer> serializerClass)Deserialize the given string into a full object using the given  OpenmrsSerializerclass | 
| boolean | UserService. isSecretAnswer(User u,
              String answer)Compares  answeragainst theuser's secret answer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | UserServiceImpl. changePassword(User user,
              String oldPassword,
              String newPassword) | 
| Modifier and Type | Method and Description | 
|---|---|
| ca.uhn.hl7v2.model.Message | HL7Service. parseHL7String(String hl7String)Parses the given string and returns the resulting  Message | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | OpenmrsLoggingUtil. applyLogLevels()Sets the org.openmrs Log4J logger's level if global property log.level.openmrs (
 OpenmrsConstants.GLOBAL_PROPERTY_LOG_LEVEL ) exists. | 
| static MemoryAppender | OpenmrsLoggingUtil. getMemoryAppender()Gets the in-memory log appender. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SchedulerService. saveTaskDefinition(TaskDefinition task)Create the given task | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | OpenmrsUtil. applyLogLevels()Deprecated. 
 As of 2.4.4, 2.5.1, and 2.6.0; replaced by  OpenmrsLoggingUtil.applyLogLevels() | 
Copyright © 2024 OpenMRS Inc.. All rights reserved.