Package | Description |
---|---|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.context |
This package describes the context framework through which
authentication is performed and services provided for the OpenMRS system.
|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.impl | |
org.openmrs.arden | |
org.openmrs.arden.impl | |
org.openmrs.hl7 |
OpenMRS HL7 module.
|
org.openmrs.hl7.handler | |
org.openmrs.hl7.impl | |
org.openmrs.logic.result | |
org.openmrs.notification | |
org.openmrs.notification.impl | |
org.openmrs.obs | |
org.openmrs.obs.handler | |
org.openmrs.order | |
org.openmrs.patient | |
org.openmrs.report |
Deprecated
|
org.openmrs.report.impl | |
org.openmrs.reporting |
Deprecated
|
org.openmrs.reporting.impl | |
org.openmrs.util |
Shared utilities for OpenMRS classes
|
org.openmrs.validator | |
org.openmrs.web.dwr |
Modifier and Type | Class and Description |
---|---|
class |
APIAuthenticationException
Represents often fatal errors that occur within the API infrastructure involving a user's lack of
privileges.
|
class |
BlankIdentifierException
Exception thrown when a
Patient or PatientIdentifier is being saved with an empty
or null PatientIdentifier.getIdentifier() |
class |
ConceptInUseException
This exception is thrown when concept is used/attached to an observation.
|
class |
ConceptNameInUseException
This exception is thrown when one attempts to delete a concept that has a conceptName that is
being used by an observation
|
class |
ConceptsLockedException
This exception is thrown when a specific implementation has chosen to lock down their concepts
and prevent editing.
|
class |
DuplicateConceptNameException
An error of this type is thrown when a concept name is found in the database
when one tries to create a new one with the same preferred name in the same locale
|
class |
DuplicateIdentifierException |
class |
EncounterTypeLockedException
This exception is thrown when a encounter types are locked and the user tries to edit an encounter type
type, this is done by a global property being true/false.
|
class |
IdentifierNotUniqueException |
class |
InsufficientIdentifiersException |
class |
InvalidCharactersPasswordException
Password exception when the password doesn't comply to the minimum set of required characters.
|
class |
InvalidCheckDigitException |
class |
InvalidIdentifierFormatException |
class |
MissingRequiredIdentifierException |
class |
PasswordException
Represents common exceptions that happen when validating a
User 's password. |
class |
PatientIdentifierException |
class |
ShortPasswordException
Password exception when the length is less than the minimum allowed.
|
class |
WeakPasswordException
Password exception when the password is a simple word or matches the
User 's username or
system id. |
Modifier and Type | Method and Description |
---|---|
Cohort |
CohortService.addPatientToCohort(Cohort cohort,
Patient patient)
Adds a new patient to a Cohort.
|
void |
UserService.changeHashedPassword(User user,
String hashedPassword,
String salt)
Changes the current user's password directly.
|
void |
UserService.changePassword(String pw,
String pw2)
Changes the current user's password.
|
void |
UserService.changePassword(User u,
String pw)
Changes the
user |
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.
|
void |
ProgramWorkflowService.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
Date onDate)
Deprecated.
|
void |
ConceptService.convertBooleanConceptToCoded(Concept conceptToChange)
Changes the datatype of a concept from boolean to coded when it has observations it is
associated to.
|
Cohort |
CohortService.createCohort(Cohort cohort)
Deprecated.
replaced by saveCohort(Cohort)
|
void |
ConceptService.createConcept(Concept concept)
Deprecated.
use #saveConcept(Concept)
|
void |
ConceptService.createConcept(ConceptNumeric concept)
Deprecated.
use #saveConcept(Concept)
|
void |
AdministrationService.createConceptClass(ConceptClass cc)
Deprecated.
|
void |
AdministrationService.createConceptDatatype(ConceptDatatype cd)
Deprecated.
|
void |
AdministrationService.createConceptProposal(ConceptProposal cp)
Deprecated.
|
void |
ProgramWorkflowService.createConceptStateConversion(ConceptStateConversion conceptStateConversion)
|
void |
ConceptService.createDrug(Drug drug)
Deprecated.
use #saveDrug(Drug)
|
void |
EncounterService.createEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterService.saveEncounter(Encounter) |
void |
AdministrationService.createEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormService.createField(Field field)
Deprecated.
|
void |
AdministrationService.createFieldType(FieldType fieldType)
Deprecated.
|
Form |
FormService.createForm(Form form)
Deprecated.
|
void |
FormService.createFormField(FormField formField)
Deprecated.
|
void |
AdministrationService.createLocation(Location location)
Deprecated.
|
void |
AdministrationService.createMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsService.createObs(Obs obs)
Deprecated.
|
void |
ObsService.createObsGroup(Obs[] obs)
Deprecated.
This method should no longer need to be called on the api. This was meant as
temporary until we created a true ObsGroup pojo. Replaced by
ObsService.saveObs(Obs, String) |
void |
OrderService.createOrder(Order order)
Deprecated.
use #saveOrder(Order)
|
void |
OrderService.createOrdersAndEncounter(Patient p,
Collection<Order> orders)
Creates a collection of orders and an encounter to hold them.
|
void |
OrderService.createOrderType(OrderType orderType)
Deprecated.
use #saveOrderType(OrderType)
|
void |
ProgramWorkflowService.createOrUpdateProgram(Program program)
Deprecated.
|
Patient |
PatientService.createPatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
AdministrationService.createPatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
ProgramWorkflowService.createPatientProgram(PatientProgram patientProgram)
Deprecated.
|
Person |
PersonService.createPerson(Person person)
Deprecated.
replaced by #savePerson(Person)
|
void |
PersonService.createPersonAttributeType(PersonAttributeType type)
|
void |
AdministrationService.createPrivilege(Privilege privilege)
Deprecated.
|
void |
PersonService.createRelationship(Relationship relationship)
Deprecated.
replaced by #saveRelationship(Relationship)
|
void |
PersonService.createRelationshipType(RelationshipType relationshipType)
Deprecated.
replaced with #saveRelationshipType(RelationshipType)
|
void |
AdministrationService.createReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.createReportObject(AbstractReportObject reportObject)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.createRole(Role role)
Deprecated.
|
void |
AdministrationService.createTribe(Tribe tribe)
Deprecated.
The Tribe object is no longer supported. Install the Tribe module
|
User |
UserService.createUser(User user,
String password)
Deprecated.
replaced by
UserService.saveUser(User, String) |
void |
ProgramWorkflowService.createWorkflow(ProgramWorkflow programWorkflow)
Deprecated.
|
void |
ConceptService.deleteConcept(Concept concept)
Deprecated.
use #purgeConcept(Concept concept)
|
void |
AdministrationService.deleteConceptClass(ConceptClass cc)
Deprecated.
|
void |
AdministrationService.deleteConceptDatatype(ConceptDatatype cd)
Deprecated.
use
org.openmrs.api |
void |
ProgramWorkflowService.deleteConceptStateConversion(ConceptStateConversion csc)
|
void |
EncounterService.deleteEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterService.purgeEncounter(Encounter) |
void |
AdministrationService.deleteEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormService.deleteField(Field field)
Deprecated.
|
void |
AdministrationService.deleteFieldType(FieldType fieldType)
Deprecated.
|
void |
FormService.deleteForm(Form form)
Deprecated.
|
void |
FormService.deleteFormField(FormField formField)
Deprecated.
|
void |
AdministrationService.deleteLocation(Location location)
Deprecated.
|
void |
AdministrationService.deleteMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsService.deleteObs(Obs obs)
Deprecated.
use #purgeObs(Obs)
|
void |
OrderService.deleteOrder(Order order)
Deprecated.
use #purgeOrder(Order)
|
void |
OrderService.deleteOrderType(OrderType orderType)
Deprecated.
use #purgeOrderType(OrderType)
|
void |
PatientService.deletePatient(Patient patient)
Deprecated.
replaced by
PatientService.purgePatient(Patient) |
void |
AdministrationService.deletePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
PersonService.deletePerson(Person person)
Deprecated.
replaced by #purgePerson(Person)
|
void |
PersonService.deletePersonAttributeType(Integer attrTypeId)
Deprecated.
use (@link #purgePersonAttributeType(PersonAttributeType))
|
void |
PersonService.deletePersonAttributeType(PersonAttributeType type)
Deprecated.
replaced by #purgePersonAttributeType(PersonAttributeType)
|
void |
AdministrationService.deletePrivilege(Privilege privilege)
Deprecated.
|
void |
PersonService.deleteRelationship(Relationship relationship)
Deprecated.
replaced by #purgeRelationship(Relationship)
|
void |
PersonService.deleteRelationshipType(RelationshipType relationshipType)
Deprecated.
replaced by #purgeRelationshipType(RelationshipType)
|
void |
AdministrationService.deleteReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.deleteReportObject(Integer reportObjectId)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.deleteRole(Role role)
Deprecated.
|
void |
AdministrationService.deleteTribe(Tribe tribe)
Deprecated.
The Tribe object is no longer supported. Install the Tribe module
|
void |
UserService.deleteUser(User user)
Deprecated.
|
void |
OrderService.discontinueAllOrders(Patient patient,
Concept discontinueReason,
Date discontinueDate)
Deprecated.
|
Order |
OrderService.discontinueOrder(Order order,
Concept discontinueReason,
Date discontinueDate)
Mark the given order as discontinued.
|
Form |
FormService.duplicateForm(Form form)
Duplicate this form and form_fields associated with this form
|
void |
ProgramWorkflowService.enrollPatientInProgram(Patient patient,
Program program,
Date enrollmentDate,
Date completionDate,
User creator)
Deprecated.
use {new PatientProgram(...) followed by @link
#savePatientProgram(PatientProgram)}
|
Cohort |
CohortService.evaluate(CohortDefinition definition,
EvaluationContext evalContext)
Deprecated.
see reportingcompatibility module
|
DataSet |
DataSetService.evaluate(DataSetDefinition definition,
Cohort inputCohort,
EvaluationContext evalContext)
Deprecated.
Evaluate a data set definition to get turn it into a DataSet
|
List<List<Object>> |
AdministrationService.executeSQL(String sql,
boolean selectOnly)
Runs the
sql on the database. |
void |
PatientService.exitFromCare(Patient patient,
Date dateExited,
Concept reasonForExit)
Convenience method to establish that a patient has left the care center.
|
List<ConceptSearchResult> |
ConceptService.findConceptAnswers(String phrase,
Locale locale,
Concept concept)
Finds concepts that are possible value coded answers to concept parameter
|
List<ConceptWord> |
ConceptService.findConceptAnswers(String phrase,
Locale locale,
Concept concept,
boolean includeRetired)
Deprecated.
|
List<ConceptWord> |
ConceptService.findConcepts(String phrase,
Locale locale,
boolean includeRetired)
|
List<ConceptWord> |
ConceptService.findConcepts(String phrase,
Locale locale,
boolean includeRetired,
int start,
int size)
|
List<ConceptWord> |
ConceptService.findConcepts(String phrase,
Locale locale,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes)
|
List<Drug> |
ConceptService.findDrugs(String phrase,
boolean includeVoided)
Deprecated.
|
List<Patient> |
PatientService.findDuplicatePatients(Set<String> attributes)
Deprecated.
|
List<EncounterType> |
EncounterService.findEncounterTypes(String name)
Find Encounter Types with name matching the beginning of the search string.
|
List<Field> |
FormService.findFields(Concept concept)
Deprecated.
|
List<Field> |
FormService.findFields(String searchPhrase)
Deprecated.
|
List<Location> |
EncounterService.findLocations(String name)
Deprecated.
replaced by
LocationService.getLocations(String) |
Patient |
PatientService.findPatient(Patient patientToMatch)
Deprecated.
use #getPatientByExample(Patient)
|
List<Patient> |
PatientService.findPatients(String query,
boolean includeVoided)
Deprecated.
use #getPatients(String)
|
Set<Person> |
PersonService.findPeople(String searchPhrase,
boolean includeVoided)
Deprecated.
@see #getPeople(...)
|
Set<Person> |
PersonService.findPeople(String searchPhrase,
boolean includeVoided,
List<String> roles)
Deprecated.
@see #getPeople(...)
|
Set<Person> |
PersonService.findPeople(String searchPhrase,
boolean includeVoided,
String roles)
Deprecated.
@see #getPeople(...)
|
List<Concept> |
ConceptService.findProposedConcepts(String text)
Deprecated.
|
RelationshipType |
PersonService.findRelationshipType(String relationshipTypeName)
Deprecated.
|
List<User> |
UserService.findUsers(String name,
List<String> roles,
boolean includeVoided)
Deprecated.
|
List<User> |
UserService.findUsers(String givenName,
String familyName,
boolean includeVoided)
Deprecated.
|
<T extends ActiveListItem> |
ActiveListService.getActiveListItem(Class<T> clazz,
Integer activeListItemId)
Returns the ActiveListItem
|
ActiveListItem |
ActiveListService.getActiveListItemByUuid(String uuid)
Return the ActiveList by the UUID
|
<T extends ActiveListItem> |
ActiveListService.getActiveListItems(Class<T> clazz,
Person p,
ActiveListType type)
Returns a sorted set of active list items from a class that extends ActiveListItem
|
List<ActiveListItem> |
ActiveListService.getActiveListItems(Person p,
ActiveListType type)
Returns a sorted set of active list items based on the type given.
|
List<CohortDefinitionItemHolder> |
CohortService.getAllCohortDefinitions()
Deprecated.
see reportingcompatibility module
|
List<Cohort> |
CohortService.getAllCohorts()
Gets all Cohorts (not including voided ones)
|
List<Cohort> |
CohortService.getAllCohorts(boolean includeVoided)
Gets all Cohorts, possibly including the voided ones
|
List<ConceptClass> |
ConceptService.getAllConceptClasses()
Return a list of concept classes currently in the database
|
List<ConceptClass> |
ConceptService.getAllConceptClasses(boolean includeRetired)
Return a list of concept classes currently in the database
|
List<ConceptDatatype> |
ConceptService.getAllConceptDatatypes()
Return a list of all concept datatypes currently in the database
|
List<ConceptDatatype> |
ConceptService.getAllConceptDatatypes(boolean includeRetired)
Return a list of concept datatypes currently in the database
|
List<ConceptProposal> |
ConceptService.getAllConceptProposals(boolean includeCompleted)
Get a List of all concept proposals
|
List<Concept> |
ConceptService.getAllConcepts()
Return a list of unretired concepts sorted by concept id ascending and
|
List<Concept> |
ConceptService.getAllConcepts(String sortBy,
boolean asc,
boolean includeRetired)
Return a list of concepts sorted on sortBy in dir direction (asc/desc)
|
List<ConceptSource> |
ConceptService.getAllConceptSources()
Return a list of concept sources currently in the database that are not voided
|
List<ConceptStateConversion> |
ProgramWorkflowService.getAllConceptStateConversions()
Returns all conceptStateConversions
|
List<ConceptStateConversion> |
ProgramWorkflowService.getAllConversions()
Deprecated.
|
List<Drug> |
ConceptService.getAllDrugs()
Return a list of drugs currently in the database that are not retired
|
List<EncounterType> |
EncounterService.getAllEncounterTypes()
Get all encounter types (including retired)
|
List<EncounterType> |
EncounterService.getAllEncounterTypes(boolean includeRetired)
Get all encounter types.
|
List<Allergy> |
PatientService.getAllergies(Person p)
Returns a sorted set of Allergies, sorted on sort_weight
|
Allergy |
PatientService.getAllergy(Integer allergyListId)
Returns the Allergy
|
List<Field> |
FormService.getAllFields()
Fetches all Fields in the database, including retired ones
|
List<Field> |
FormService.getAllFields(boolean includeRetired)
Fetches all Fields in the database, possibly including retired ones
|
List<FieldType> |
FormService.getAllFieldTypes()
Get all field types in the database including the retired ones
|
List<FieldType> |
FormService.getAllFieldTypes(boolean includeRetired)
Get all field types in the database with or without retired ones
|
List<FormField> |
FormService.getAllFormFields()
Returns all FormFields in the database
|
List<Form> |
FormService.getAllForms()
Gets all Forms, including retired ones.
|
List<Form> |
FormService.getAllForms(boolean includeRetired)
Gets all forms, possibly including retired ones
|
List<GlobalProperty> |
AdministrationService.getAllGlobalProperties()
Get a list of all global properties in the system
|
List<Location> |
LocationService.getAllLocations()
Returns all locations, includes retired locations.
|
List<Location> |
LocationService.getAllLocations(boolean includeRetired)
Returns all locations.
|
List<LocationTag> |
LocationService.getAllLocationTags()
Returns all location tags, includes retired location tags.
|
List<LocationTag> |
LocationService.getAllLocationTags(boolean includeRetired)
Returns all location tags.
|
List<MimeType> |
ObsService.getAllMimeTypes()
Deprecated.
MimeTypes are no longer used. See ConceptComplex and its use of handlers
|
List<MimeType> |
ObsService.getAllMimeTypes(boolean includeRetired)
Deprecated.
MimeTypes are no longer used. See ConceptComplex and its use of handlers
|
List<OrderType> |
OrderService.getAllOrderTypes()
Get all order types, including retired ones
|
List<OrderType> |
OrderService.getAllOrderTypes(boolean includeRetired)
Get all order types, only showing ones not marked as retired if includeRetired is true
|
List<PatientIdentifierType> |
PatientService.getAllPatientIdentifierTypes()
Get all patientIdentifier types
|
List<PatientIdentifierType> |
PatientService.getAllPatientIdentifierTypes(boolean includeRetired)
Get all patientIdentifier types
|
List<Patient> |
PatientService.getAllPatients()
Returns all non voided patients in the system
|
List<Patient> |
PatientService.getAllPatients(boolean includeVoided)
Returns patients in the system
|
CohortDefinition |
CohortService.getAllPatientsCohortDefinition()
Deprecated.
see reportingcompatibility module
|
List<PersonAttributeType> |
PersonService.getAllPersonAttributeTypes()
Get all PersonAttributeTypes in the database
|
List<PersonAttributeType> |
PersonService.getAllPersonAttributeTypes(boolean includeRetired)
Get all PersonAttributeTypes in the database with the option of including the retired types
|
List<Privilege> |
UserService.getAllPrivileges()
Returns all privileges currently possible for any User
|
List<Program> |
ProgramWorkflowService.getAllPrograms()
Returns all programs, includes retired programs.
|
List<Program> |
ProgramWorkflowService.getAllPrograms(boolean includeRetired)
Returns all programs
|
List<Relationship> |
PersonService.getAllRelationships()
Get list of relationships that are not voided
|
List<Relationship> |
PersonService.getAllRelationships(boolean includeVoided)
Get list of relationships optionally including the voided ones or not
|
List<RelationshipType> |
PersonService.getAllRelationshipTypes()
Get all relationshipTypes Includes retired relationship types
|
List<RelationshipType> |
PersonService.getAllRelationshipTypes(boolean includeRetired)
Get all relationshipTypes with the option of including the retired types
|
List<Role> |
UserService.getAllRoles()
Returns all roles currently possible for any User
|
List<User> |
UserService.getAllUsers()
Returns all users in the system
|
List<User> |
UserService.getAllUsers(List<Role> roles,
boolean includeVoided)
Deprecated.
|
Cohort |
CohortService.getCohort(Integer id)
Gets a Cohort by its database primary key
|
Cohort |
CohortService.getCohort(String name)
Gets a non voided Cohort by its name
|
CohortDefinition |
CohortService.getCohortDefinition(Class<CohortDefinition> clazz,
Integer id)
Deprecated.
see reportingcompatibility module
|
CohortDefinition |
CohortService.getCohortDefinition(String cohortKey)
Deprecated.
see reportingcompatibility module
|
Map<Class<? extends CohortDefinition>,CohortDefinitionProvider> |
CohortService.getCohortDefinitionProviders()
Deprecated.
see reportingcompatibility module
|
List<CohortDefinitionItemHolder> |
CohortService.getCohortDefinitions(Class<? extends CohortDefinitionProvider> providerClass)
Deprecated.
see reportingcompatibility module
|
List<Cohort> |
CohortService.getCohorts()
Deprecated.
replaced by getAllCohorts()
|
List<Cohort> |
CohortService.getCohorts(String nameFragment)
Returns Cohorts whose names match the given string.
|
List<Cohort> |
CohortService.getCohortsContainingPatient(Patient patient)
Find all Cohorts that contain the given patient.
|
List<Cohort> |
CohortService.getCohortsContainingPatientId(Integer patientId)
Find all Cohorts that contain the given patientId.
|
Obs |
ObsService.getComplexObs(Integer obsId,
String view)
Get a complex observation.
|
Concept |
ConceptService.getConcept(Integer conceptId)
Gets the concept with the given id
|
Concept |
ConceptService.getConcept(String conceptIdOrName)
Get Concept by id or name convenience method
|
ConceptAnswer |
ConceptService.getConceptAnswer(Integer conceptAnswerId)
Gets the ConceptAnswer with the given id
|
List<ConceptWord> |
ConceptService.getConceptAnswers(String phrase,
Locale locale,
Concept concept)
Deprecated.
|
Concept |
ConceptService.getConceptByIdOrName(String idOrName)
Deprecated.
|
Concept |
ConceptService.getConceptByMapping(String code,
String sourceName)
Looks up a concept via
ConceptMap This will return the Concept which contains
a ConceptMap entry whose sourceCode is equal to the passed
conceptCode and whose ConceptSource has either a name or
hl7Code that is equal to the passed mappingCode . |
Concept |
ConceptService.getConceptByMapping(String code,
String sourceName,
Boolean includeRetired)
Looks up a concept via
ConceptMap This will return the Concept which contains
a ConceptMap entry whose sourceCode is equal to the passed
conceptCode and whose ConceptSource has either a name or
hl7Code that is equal to the passed mappingCode . |
Concept |
ConceptService.getConceptByName(String name)
Return a Concept that matches the name exactly
|
ConceptClass |
ConceptService.getConceptClass(Integer conceptClassId)
Return a Concept class matching the given identifier
|
ConceptClass |
ConceptService.getConceptClassByName(String name)
Return a Concept class matching the given name
|
List<ConceptClass> |
ConceptService.getConceptClasses()
Deprecated.
|
ConceptDatatype |
ConceptService.getConceptDatatype(Integer i)
Return a ConceptDatatype matching the given identifier
|
ConceptDatatype |
ConceptService.getConceptDatatypeByName(String name)
Return a Concept datatype matching the given name
|
List<ConceptDatatype> |
ConceptService.getConceptDatatypes(String name)
Deprecated.
you *probably* want to use
ConceptService.getConceptDatatypeByName(String) |
ConceptName |
ConceptService.getConceptName(Integer conceptNameId)
Gets the concept-name with the given id
|
ConceptNumeric |
ConceptService.getConceptNumeric(Integer conceptId)
Get the ConceptNumeric with the given id
|
ConceptProposal |
ConceptService.getConceptProposal(Integer conceptProposalId)
Get a ConceptProposal by conceptProposalId
|
List<ConceptProposal> |
ConceptService.getConceptProposals(boolean includeCompleted)
Deprecated.
|
List<ConceptProposal> |
ConceptService.getConceptProposals(String text)
Find matching concept proposals
|
List<ConceptSearchResult> |
ConceptService.getConcepts(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
Integer start,
Integer size)
Searches for concepts by the given parameters
|
List<ConceptSearchResult> |
ConceptService.getConcepts(String phrase,
Locale locale,
boolean includeRetired)
Searches for concepts with the given parameters
|
List<Concept> |
ConceptService.getConcepts(String sortBy,
String dir)
Deprecated.
|
List<Concept> |
ConceptService.getConceptsByAnswer(Concept concept)
Returns all possible Concepts to which this concept is a value-coded answer.
|
List<Concept> |
ConceptService.getConceptsByClass(ConceptClass cc) |
List<Concept> |
ConceptService.getConceptsByConceptSet(Concept concept)
Return a List of all concepts within a concept set
|
List<ConceptMap> |
ConceptService.getConceptsByConceptSource(ConceptSource conceptSource)
Looks up a list of ConceptMaps for a given ConceptSource
|
List<Concept> |
ConceptService.getConceptsByMapping(String code,
String sourceName)
Looks up a concept via
ConceptMap This will return the list of concepts
Concept s which contain a ConceptMap entry whose sourceCode is
equal to the passed conceptCode and whose ConceptSource has either a
name or hl7Code that is equal to the passed
mappingCode |
List<Concept> |
ConceptService.getConceptsByMapping(String code,
String sourceName,
boolean includeRetired)
Looks up a concept via
ConceptMap This will return the list of Concept s which
contain a ConceptMap entry whose sourceCode is equal to the passed
conceptCode and whose ConceptSource has either a name or
hl7Code that is equal to the passed mappingCode . |
List<Concept> |
ConceptService.getConceptsByName(String name)
Returns a list of concepts matching any part of a concept name, this method is case
insensitive to the concept name string
|
List<Concept> |
ConceptService.getConceptsByName(String name,
Locale locale,
Boolean exactLocale)
Returns a list of concepts with the same name in the given locale.
|
List<ConceptSet> |
ConceptService.getConceptSets(Concept concept)
Deprecated.
|
List<ConceptSet> |
ConceptService.getConceptSetsByConcept(Concept concept)
Return a list of the concept sets with concept_set matching concept
|
List<Concept> |
ConceptService.getConceptsInSet(Concept concept)
Deprecated.
|
ConceptSource |
ConceptService.getConceptSource(Integer i)
Return a Concept source matching the given concept source id
|
ConceptSource |
ConceptService.getConceptSourceByName(String conceptSourceName)
Lookup a ConceptSource by its name property
|
ConceptStateConversion |
ProgramWorkflowService.getConceptStateConversion(Integer conceptStateConversionId)
Returns a conceptStateConversion given that conceptStateConversions primary key
conceptStateConversionId A null value is returned if no conceptStateConversion
exists with this conceptStateConversionId. |
ConceptStateConversion |
ProgramWorkflowService.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger)
Retrieves the ConceptStateConversion that matches the passed
ProgramWorkflow and
Concept |
List<Concept> |
ConceptService.getConceptsWithDrugsInFormulary()
Convenience method for finding concepts associated with drugs in formulary.
|
List<ConceptWord> |
ConceptService.getConceptWords(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
Integer start,
Integer size)
|
List<ConceptWord> |
ConceptService.getConceptWords(String phrase,
Locale locale)
Deprecated.
use
#getConcepts(String, Locale) that returns a list of
ConceptSearchResults |
Integer |
ConceptService.getCountOfDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired)
Return the number of drugs with matching names or concept drug names
|
Collection<PatientProgram> |
ProgramWorkflowService.getCurrentPrograms(Patient patient,
Date onDate)
|
Set<ProgramWorkflow> |
ProgramWorkflowService.getCurrentWorkflowsByPatient(Patient patient)
Deprecated.
No current use outside of this service. Should be retrieved from Patient,
PatientProgram, and PatientState
|
Set<ProgramWorkflow> |
ProgramWorkflowService.getCurrentWorkflowsByPatientProgram(PatientProgram program)
Deprecated.
No current use outside of this service. Should be retrieved from Patient,
PatientProgram, and PatientState
|
Location |
LocationService.getDefaultLocation()
Returns the default location for this implementation.
|
Drug |
ConceptService.getDrug(Integer drugId)
Get the Drug with the given id
|
Drug |
ConceptService.getDrug(String drugNameOrId)
Return the drug object corresponding to the given name or drugId
|
Drug |
ConceptService.getDrugByNameOrId(String drugId)
Return the drug object corresponding to the given name or drugId
|
DrugOrder |
OrderService.getDrugOrder(Integer drugOrderId)
Deprecated.
use
OrderService.getOrder(Integer, Class) with DrugOrder.class as second parameter
instead |
List<DrugOrder> |
OrderService.getDrugOrders()
Deprecated.
this method would return a very large list for most systems and doesn't make
sense to be used. If _all_ Orders are really what is wanted, use
OrderService.getOrders(Class, List, List, org.openmrs.api.OrderService.ORDER_STATUS, List, List, List)
with empty parameters |
List<DrugOrder> |
OrderService.getDrugOrdersByPatient(Patient patient)
Get all orders for the given
patient |
List<Drug> |
ConceptService.getDrugs()
Deprecated.
|
List<Drug> |
ConceptService.getDrugs(Concept concept)
Deprecated.
|
List<Drug> |
ConceptService.getDrugs(String phrase)
<<<<<<< HEAD
Find drugs in the system.
|
List<Drug> |
ConceptService.getDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
Integer start,
Integer length)
Returns a list of drugs with matching names or concept drug names and returns a specific
number of them from the specified starting position.
|
List<Drug> |
ConceptService.getDrugsByConcept(Concept concept)
Return a list of drugs associated with the given concept
|
Map<Concept,List<DrugOrder>> |
OrderService.getDrugSetsByConcepts(List<DrugOrder> drugOrders,
List<Concept> drugSets)
Deprecated.
|
List<Patient> |
PatientService.getDuplicatePatientsByAttributes(List<String> attributes)
Search the database for patients that both share the given attributes.
|
Encounter |
EncounterService.getEncounter(Integer encounterId)
Get encounter by internal identifier
|
Encounter |
EncounterService.getEncounterByUuid(String uuid)
Get Encounter by its UUID
|
List<Encounter> |
EncounterService.getEncounters(String query,
Integer start,
Integer length,
boolean includeVoided)
Search for encounters by patient name or patient identifier and returns a specific number of
them from the specified starting position.
|
List<Encounter> |
EncounterService.getEncountersByPatient(String query)
Search for encounters by patient name or patient identifier.
|
List<Encounter> |
EncounterService.getEncountersByPatient(String query,
boolean includeVoided)
Search for encounters by patient name or patient identifier.
|
List<Encounter> |
EncounterService.getEncountersByPatientId(Integer patientId)
Get encounters for a patientId
|
List<Encounter> |
EncounterService.getEncountersByPatientId(Integer patientId,
boolean includeVoided)
Deprecated.
|
List<Encounter> |
EncounterService.getEncountersByPatientIdentifier(String identifier)
Get encounters (not voided) for a patient identifier
|
List<Encounter> |
EncounterService.getEncountersByPatientIdentifier(String identifier,
boolean includeVoided)
Deprecated.
|
EncounterType |
EncounterService.getEncounterType(Integer encounterTypeId)
Get encounterType by internal identifier
|
EncounterType |
EncounterService.getEncounterType(String name)
Get encounterType by exact name
|
EncounterType |
EncounterService.getEncounterTypeByUuid(String uuid)
Get EncounterType by its UUID
|
List<EncounterType> |
EncounterService.getEncounterTypes()
Deprecated.
replaced by
EncounterService.getAllEncounterTypes() |
Field |
FormService.getField(Integer fieldId)
Gets a Field by internal database id
|
FieldAnswer |
FormService.getFieldAnswerByUuid(String uuid)
Get FieldAnswer by its UUID
|
Field |
FormService.getFieldByUuid(String uuid)
Get Field by its UUID
|
List<Field> |
FormService.getFields()
Deprecated.
|
List<Field> |
FormService.getFields(Collection<Form> forms,
Collection<FieldType> fieldTypes,
Collection<Concept> concepts,
Collection<String> tableNames,
Collection<String> attributeNames,
Boolean selectMultiple,
Collection<FieldAnswer> containsAllAnswers,
Collection<FieldAnswer> containsAnyAnswer,
Boolean retired)
Returns all Fields that match these (nullable) criteria
|
List<Field> |
FormService.getFields(String fuzzySearchPhrase)
Find all Fields whose names are similar to or contain the given phrase.
|
List<Field> |
FormService.getFieldsByConcept(Concept concept)
Finds all Fields that point to the given concept, including retired ones.
|
FieldType |
FormService.getFieldType(Integer fieldTypeId)
Get fieldType by internal identifier
|
FieldType |
FormService.getFieldTypeByUuid(String uuid)
Get FieldType by its UUID
|
List<FieldType> |
FormService.getFieldTypes()
Deprecated.
|
Form |
FormService.getForm(Integer formId)
Get form by internal form identifier
|
Form |
FormService.getForm(String name)
Get form by exact name match.
|
Form |
FormService.getForm(String name,
String version)
Get form by exact name & version match.
|
Form |
FormService.getFormByUuid(String uuid)
Get Form by its UUID
|
FormField |
FormService.getFormField(Form form,
Concept concept)
Finds the FormField defined for this form/concept combination Calls
FormService.getFormField(Form, Concept, Collection, boolean) with an empty ignore list and with
force set to false |
FormField |
FormService.getFormField(Form form,
Concept concept,
Collection<FormField> ignoreFormFields,
boolean force)
Finds the FormField defined for this form/concept combination while discounting any form
field found in the
ignoreFormFields collection This method was added when
needing to relate observations to form fields during a display. |
FormField |
FormService.getFormField(Integer formFieldId)
Gets a FormField by internal database id
|
FormField |
FormService.getFormFieldByUuid(String uuid)
Get FormField by its UUID
|
List<FormField> |
FormService.getFormFields(Form form)
Deprecated.
|
List<Form> |
FormService.getForms()
Deprecated.
|
List<Form> |
FormService.getForms(boolean publishedOnly)
Deprecated.
|
List<Form> |
FormService.getForms(boolean publishedOnly,
boolean includeRetired)
|
Set<Form> |
FormService.getForms(Concept c)
Deprecated.
|
List<Form> |
FormService.getFormsContainingConcept(Concept concept)
Returns all forms that contain the given concept as a field in their schema.
|
String |
AdministrationService.getGlobalProperty(String propertyName)
Gets the global property that has the given
propertyName . |
String |
AdministrationService.getGlobalProperty(String propertyName,
String defaultValue)
Gets the global property that has the given
propertyName |
GlobalProperty |
AdministrationService.getGlobalPropertyByUuid(String uuid)
Get a global property by its uuid.
|
<T> T |
AdministrationService.getGlobalPropertyValue(String propertyName,
T defaultValue)
Returns a global property according to the type specified
|
ComplexObsHandler |
ObsService.getHandler(String key)
Get the ComplexObsHandler that has been registered with the given key
|
Map<String,ComplexObsHandler> |
ObsService.getHandlers()
Gets the handlers map registered
|
ImplementationId |
AdministrationService.getImplementationId()
Get the implementation id stored for this server Returns null if no implementation id has
been successfully set yet
|
List<Role> |
UserService.getInheritingRoles(Role role)
Deprecated.
|
PatientState |
ProgramWorkflowService.getLatestState(PatientProgram patientProgram,
ProgramWorkflow programWorkflow)
Deprecated.
|
Location |
LocationService.getLocation(Integer locationId)
Returns a location given that locations primary key
locationId A null value is
returned if no location exists with this location. |
Location |
EncounterService.getLocation(Integer locationId)
Deprecated.
replaced by
LocationService.getLocation(Integer) |
Location |
LocationService.getLocation(String name)
Returns a location given the location's exact
name A null value is returned if
there is no location with this name |
Location |
EncounterService.getLocationByName(String name)
Deprecated.
replaced by
LocationService.getLocation(String) |
Location |
LocationService.getLocationByUuid(String uuid)
Returns a location by uuid
|
List<Location> |
EncounterService.getLocations()
Deprecated.
replaced by
LocationService.getAllLocations() |
List<Location> |
LocationService.getLocations(String nameFragment)
Returns locations that match the beginning of the given string.
|
List<Location> |
LocationService.getLocations(String nameFragment,
boolean includeRetired,
Integer start,
Integer length)
Returns a specific number locations from the specified starting position that match the
beginning of the given string.
|
List<Location> |
LocationService.getLocationsByTag(LocationTag tag)
Returns locations that contain the given tag.
|
List<Location> |
LocationService.getLocationsHavingAllTags(List<LocationTag> tags)
Returns locations that are mapped to all given tags.
|
List<Location> |
LocationService.getLocationsHavingAnyTag(List<LocationTag> tags)
Returns locations that are mapped to any of the given tags.
|
LocationTag |
LocationService.getLocationTag(Integer locationTagId)
Returns a location tag given that locations primary key
locationTagId . |
LocationTag |
LocationService.getLocationTagByName(String tag)
Returns a location tag given the location's exact name (tag).
|
LocationTag |
LocationService.getLocationTagByUuid(String uuid)
Returns a location tag by uuid
|
List<LocationTag> |
LocationService.getLocationTags(String search)
Returns location tags that match the beginning of the given string.
|
MimeType |
ObsService.getMimeType(Integer mimeTypeId)
Deprecated.
MimeTypes are no longer used. See ConceptComplex and its use of handlers
|
List<MimeType> |
ObsService.getMimeTypes()
Deprecated.
|
Concept |
ConceptService.getNextConcept(Concept concept)
Finds the next concept in the dictionary that has the next largest concept id
|
Obs |
ObsService.getObs(Integer obsId)
Get an observation
|
Obs |
ObsService.getObsByUuid(String uuid)
Get Obs by its UUID
|
Integer |
ObsService.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs)
This method fetches the count of observations according to the criteria in the given
arguments.
|
List<Obs> |
ObsService.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs)
This method fetches observations according to the criteria in the given arguments.
|
List<Obs> |
ObsService.getObservations(String searchString)
This method searches the obs table based on the given
searchString . |
List<Obs> |
ObsService.getObservationsByPersonAndConcept(Person who,
Concept question)
Get all nonvoided observations for the given patient with the given concept as the question
concept (conceptId)
|
Order |
OrderService.getOrder(Integer orderId)
Get order by internal primary key identifier
|
<Ord extends Order> |
OrderService.getOrder(Integer orderId,
Class<Ord> orderClassType)
Gets the order with the associated order id
|
Order |
OrderService.getOrderByUuid(String uuid)
Get Order by its UUID
|
List<Order> |
OrderService.getOrders()
Deprecated.
this method would return a very large list for most systems and doesn't make
sense to be used. If _all_ Orders are really what is wanted, use
OrderService.getOrders(Class, List, List, org.openmrs.api.OrderService.ORDER_STATUS, List, List, List)
with empty parameters |
List<Order> |
OrderService.getOrdersByPatient(Patient patient)
Get all orders by Patient
|
List<Order> |
OrderService.getOrdersByUser(User user)
Get all orders by the User that is marked as their orderer
|
OrderType |
OrderService.getOrderType(Integer orderTypeId)
Get orderType by internal identifier
|
OrderType |
OrderService.getOrderTypeByUuid(String uuid)
Get OrderType by its UUID
|
List<OrderType> |
OrderService.getOrderTypes()
Deprecated.
use #getAllOrderTypes()
|
Patient |
PatientService.getPatient(Integer patientId)
Get patient by internal identifier
|
Patient |
PatientService.getPatientByExample(Patient patientToMatch)
This method tries to find a patient in the database given the attributes on the given
patientToMatch object. |
Patient |
PatientService.getPatientByUuid(String uuid)
Get patient by universally unique identifier.
|
PatientIdentifier |
PatientService.getPatientIdentifier(Integer patientIdentifierId)
Returns a patient identifier that matches the given patientIndentifier id
|
PatientIdentifier |
PatientService.getPatientIdentifierByUuid(String uuid)
Get patient identifier by universally unique identifier.
|
List<PatientIdentifier> |
PatientService.getPatientIdentifiers(PatientIdentifierType patientIdentifierType)
Deprecated.
|
List<PatientIdentifier> |
PatientService.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred)
Get all patientIdentifiers that match all of the given criteria Voided identifiers are not
returned
|
List<PatientIdentifier> |
PatientService.getPatientIdentifiers(String identifier,
PatientIdentifierType pit)
Deprecated.
|
PatientIdentifierType |
PatientService.getPatientIdentifierType(Integer patientIdentifierTypeId)
Get patientIdentifierType by internal identifier
|
PatientIdentifierType |
PatientService.getPatientIdentifierType(String name)
Deprecated.
|
PatientIdentifierType |
PatientService.getPatientIdentifierTypeByName(String name)
Get patientIdentifierType by exact name
|
PatientIdentifierType |
PatientService.getPatientIdentifierTypeByUuid(String uuid)
Get patient identifierType by universally unique identifier
|
List<PatientIdentifierType> |
PatientService.getPatientIdentifierTypes()
Deprecated.
replaced by
PatientService.getAllPatientIdentifierTypes() |
List<PatientIdentifierType> |
PatientService.getPatientIdentifierTypes(String name,
String format,
Boolean required,
Boolean hasCheckDigit)
Get all patientIdentifier types that match the given criteria
|
Patient |
PatientService.getPatientOrPromotePerson(Integer patientOrPersonId)
Get patient by internal identifier.
|
PatientProgram |
ProgramWorkflowService.getPatientProgram(Integer patientProgramId)
Returns a PatientProgram given that PatientPrograms primary key
patientProgramId
A null value is returned if no PatientProgram exists with this patientProgramId. |
Collection<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient)
|
List<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided)
Returns PatientPrograms that match the input parameters.
|
List<Patient> |
PatientService.getPatients(String query)
Generic search on patients based on the given string.
|
List<Patient> |
PatientService.getPatients(String query,
Integer start,
Integer length)
Generic search on patients based on the given string and returns a specific number of them
from the specified starting position.
|
List<Patient> |
PatientService.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes)
Deprecated.
replaced by a call to
PatientService.getPatients(String, String, List, boolean) with
"false" as the last parameter |
List<Patient> |
PatientService.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly)
Get patients based on given criteria The identifier is matched with the regex
OpenmrsConstants.PATIENT_IDENTIFIER_REGEX All parameters are optional and
nullable. |
List<Patient> |
PatientService.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
Integer start,
Integer length)
Get a limited size of patients from a given start index based on given criteria The
identifier is matched with the regex
OpenmrsConstants.PATIENT_IDENTIFIER_REGEX
All parameters are optional and nullable. |
List<Patient> |
PatientService.getPatientsByIdentifier(String identifier,
boolean includeVoided)
Deprecated.
replaced by
PatientService.getPatients(String, String, List) |
List<Patient> |
PatientService.getPatientsByIdentifierPattern(String identifier,
boolean includeVoided)
Deprecated.
replaced by getPatients( ... )
|
List<Patient> |
PatientService.getPatientsByName(String name)
Deprecated.
replaced by
PatientService.getPatients(String, String, List) |
List<Patient> |
PatientService.getPatientsByName(String name,
boolean includeVoided)
Deprecated.
replaced by getPatients( ... )
|
PatientState |
ProgramWorkflowService.getPatientState(Integer patientStateId)
Deprecated.
|
List<Person> |
PersonService.getPeople(String searchPhrase,
Boolean dead)
Find a person matching the searchPhrase search string
|
Person |
PersonService.getPerson(Integer personId)
Gets a person by internal id
|
Person |
PersonService.getPerson(Patient pat)
Deprecated.
|
Person |
PersonService.getPerson(User user)
Deprecated.
|
PersonAddress |
PersonService.getPersonAddressByUuid(String uuid)
Get PersonAddress by its UUID
|
PersonAttribute |
PersonService.getPersonAttribute(Integer id)
Get a PersonAttribute from the database with the given PersonAttributeid
|
PersonAttribute |
PersonService.getPersonAttributeByUuid(String uuid)
Get PersonAttribute by its UUID
|
PersonAttributeType |
PersonService.getPersonAttributeType(Integer typeId)
Get the PersonAttributeType given the type's PersonAttributeTypeId
|
PersonAttributeType |
PersonService.getPersonAttributeType(String typeName)
Deprecated.
|
PersonAttributeType |
PersonService.getPersonAttributeTypeByName(String typeName)
Get the PersonAttributeType given the type's name
|
List<PersonAttributeType> |
PersonService.getPersonAttributeTypes()
Deprecated.
|
List<PersonAttributeType> |
PersonService.getPersonAttributeTypes(OpenmrsConstants.PERSON_TYPE personType,
PersonService.ATTR_VIEW_TYPE viewType)
Gets the types defined for the given person type (person, user, patient) and the given type
of view (one person vs many person objects)
|
List<PersonAttributeType> |
PersonService.getPersonAttributeTypes(String personType,
String viewType)
Deprecated.
|
List<PersonAttributeType> |
PersonService.getPersonAttributeTypes(String exactName,
String format,
Integer foreignKey,
Boolean searchable)
Find person attribute types matching the given parameters.
|
Person |
PersonService.getPersonByUuid(String uuid)
Get Person by its UUID
|
PersonName |
PersonService.getPersonNameByUuid(String uuid)
Get PersonName by its UUID
|
List<String> |
LocationService.getPossibleAddressValues(Address incomplete,
String fieldName)
Given an Address object, returns all the possible values for the specified AddressField.
|
List<ProgramWorkflowState> |
ProgramWorkflowService.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
Concept |
ConceptService.getPrevConcept(Concept concept)
Finds the previous concept in the dictionary that has the next lowest concept id
|
Privilege |
UserService.getPrivilege(String p)
Returns Privilege in the system with given String privilege
|
Privilege |
UserService.getPrivilegeByUuid(String uuid)
Get Privilege by its UUID
|
List<Privilege> |
UserService.getPrivileges()
Deprecated.
|
Problem |
PatientService.getProblem(Integer problemListId)
Returns the Problem
|
List<Problem> |
PatientService.getProblems(Person p)
Get a list of the problems for the patient, sorted on sort_weight
|
Program |
ProgramWorkflowService.getProgram(Integer programId)
Returns a program given that programs primary key
programId A null value is
returned if no program exists with this programId. |
Program |
ProgramWorkflowService.getProgramByName(String name)
Returns a program given the program's exact
name A null value is returned if
there is no program with this name |
List<Program> |
ProgramWorkflowService.getPrograms()
Deprecated.
|
List<Program> |
ProgramWorkflowService.getPrograms(String nameFragment)
Returns programs that match the given string.
|
List<Concept> |
ConceptService.getProposedConcepts(String text)
Find matching proposed concepts
|
DataSetProvider |
DataSetService.getProvider(DataSetDefinition definition)
Deprecated.
|
List<DataSetProvider> |
DataSetService.getProviders()
Deprecated.
Gets the list of providers that have been previously set on this service
|
List<Form> |
FormService.getPublishedForms()
Returns all published forms (not including retired ones)
|
List<Concept> |
ConceptService.getQuestionsForAnswer(Concept concept)
Deprecated.
use #getConceptsByAnswer(Concept)
|
Relationship |
PersonService.getRelationship(Integer relationshipId)
Get relationship by internal relationship identifier
|
Relationship |
PersonService.getRelationshipByUuid(String uuid)
Get Relationship by its UUID
|
Map<Person,List<Person>> |
PersonService.getRelationshipMap(RelationshipType relationshipType)
Get all relationships for a given type of relationship mapped from the personA to all of the
personB's
|
List<Relationship> |
PersonService.getRelationships()
Deprecated.
|
List<Relationship> |
PersonService.getRelationships(Person p)
Deprecated.
|
List<Relationship> |
PersonService.getRelationships(Person p,
boolean showVoided)
Deprecated.
|
List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType)
Get relationships stored in the database that
|
Map<Person,List<Person>> |
PersonService.getRelationships(RelationshipType relationshipType)
Deprecated.
|
List<Relationship> |
PersonService.getRelationshipsByPerson(Person p)
Get list of relationships that include Person in person_id or relative_id Does not include
voided relationships
|
List<Relationship> |
PersonService.getRelationshipsTo(Person toPerson,
RelationshipType relType)
Deprecated.
|
RelationshipType |
PersonService.getRelationshipType(Integer relationshipTypeId)
Get relationshipType by internal identifier
|
RelationshipType |
PersonService.getRelationshipTypeByName(String relationshipTypeName)
Find relationshipType by exact name match
|
RelationshipType |
PersonService.getRelationshipTypeByUuid(String uuid)
Gets the relationship type with the given uuid.
|
List<RelationshipType> |
PersonService.getRelationshipTypes()
Deprecated.
|
List<RelationshipType> |
PersonService.getRelationshipTypes(String searchString)
Get relationshipTypes by searching through the names and loosely matching to the given
searchString
|
List<RelationshipType> |
PersonService.getRelationshipTypes(String relationshipTypeName,
Boolean preferred)
Find relationshipTypes by exact name match and/or preferred status
|
Map<Class<? extends ReportRenderer>,ReportRenderer> |
ReportService.getRenderers()
Deprecated.
Gets the renderers map registered to this report service
|
ReportSchema |
ReportService.getReportSchema(Integer reportSchemaId)
Deprecated.
Get the
ReportSchema with the given id |
ReportSchema |
ReportService.getReportSchema(ReportSchemaXml reportSchemaXml)
Deprecated.
Returns a ReportSchema object from a ReportSchemaXml definition De-serialized the xml
definition, applies macro definitions, and returns an expanded report schema object
|
List<ReportSchema> |
ReportService.getReportSchemas()
Deprecated.
Return a list of
ReportSchema s |
Role |
UserService.getRole(String r)
Returns role object with given string role
|
Role |
UserService.getRoleByUuid(String uuid)
Get Role by its UUID
|
List<Role> |
UserService.getRoles()
Deprecated.
|
List<Locale> |
AdministrationService.getSearchLocales()
Returns a list of locales used by the user when searching.
|
List<ConceptSet> |
ConceptService.getSetsContainingConcept(Concept concept)
Find all sets that the given concept is a member of
|
Set<Person> |
PersonService.getSimilarPeople(String nameSearch,
Integer birthyear,
String gender)
Find a similar person given the attributes.
|
Set<Person> |
PersonService.getSimilarPeople(String nameSearch,
Integer birthyear,
String gender,
String personType)
Deprecated.
|
ProgramWorkflowState |
ProgramWorkflowService.getState(Integer id)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
ProgramWorkflowState |
ProgramWorkflowService.getState(ProgramWorkflow programWorkflow,
String name)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
List<ProgramWorkflowState> |
ProgramWorkflowService.getStates()
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
List<ProgramWorkflowState> |
ProgramWorkflowService.getStates(boolean includeVoided)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
SortedMap<String,String> |
AdministrationService.getSystemVariables()
Get a listing or important variables used in openmrs
|
User |
UserService.getUser(Integer userId)
Get user by internal user identifier.
|
User |
UserService.getUserByUsername(String username)
Get user by username (user's login identifier)
|
User |
UserService.getUserByUuid(String uuid)
Get user by the given uuid.
|
List<User> |
UserService.getUsers()
Deprecated.
|
List<User> |
UserService.getUsers(String nameSearch,
List<Role> roles,
boolean includeVoided)
Return a list of users sorted by personName (see
PersonByNameComparator ) if any part
of the search matches first/last/system id and the user has one at least one of the given
roles assigned to them |
List<User> |
UserService.getUsers(String name,
List<Role> roles,
boolean includeRetired,
Integer start,
Integer length)
Return a batch of users of a specific size sorted by personName (see
PersonByNameComparator ) if any part of the search matches first/last/system id and
the user has one at least one of the given roles assigned to them. |
List<User> |
UserService.getUsersByName(String givenName,
String familyName,
boolean includeVoided)
Search for a list of users by exact first name and last name.
|
List<User> |
UserService.getUsersByPerson(Person person,
boolean includeRetired)
Get all user accounts that belong to a given person.
|
List<User> |
UserService.getUsersByRole(Role role)
Get users by role granted
|
ProgramWorkflow |
ProgramWorkflowService.getWorkflow(Integer id)
Deprecated.
ProgramWorkflows should not be retrieved directly, but rather through the
programs they belong to: use
Program.getWorkflows() |
ProgramWorkflow |
ProgramWorkflowService.getWorkflow(Program program,
String name)
Deprecated.
|
void |
UserService.grantUserRole(User user,
Role role)
Deprecated.
|
boolean |
ConceptService.hasAnyObservation(ConceptName conceptName)
Checks if there are any observations (including voided observations) using a conceptName.
|
boolean |
UserService.hasDuplicateUsername(User user)
true/false if username or systemId is already in db in username or system_id columns
|
boolean |
ProgramWorkflowService.isInProgram(Patient patient,
Program program,
Date fromDate,
Date toDate)
|
boolean |
ProgramWorkflowService.isLegalTransition(ProgramWorkflowState fromState,
ProgramWorkflowState toState)
|
boolean |
UserService.isSecretAnswer(User u,
String answer)
Compares
answer against the user 's secret answer. |
void |
AdministrationService.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept)
Deprecated.
|
Concept |
ConceptService.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept)
Maps a concept proposal to a concept
|
Concept |
ConceptService.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept,
Locale locale)
Maps a concept proposal to a concept
|
int |
FormService.mergeDuplicateFields()
Audit form, consolidate similar fields
|
void |
PatientService.mergePatients(Patient preferred,
Patient notPreferred)
Convenience method to join two patients' information into one record.
|
PersonName |
PersonService.parsePersonName(String name)
Parses a name into a PersonName (separate Given, Middle, and Family names)
|
Collection<Integer> |
ProgramWorkflowService.patientsInProgram(Program program,
Date fromDate,
Date toDate)
Deprecated.
use
ProgramWorkflowService.getPatientPrograms(Patient, Program, Date, Date, Date, Date, boolean)
which can be Iterated across to return collection of patient ids |
void |
PatientService.processDeath(Patient patient,
Date dateDied,
Concept causeOfDeath,
String otherReason)
Convenience method to establish that a patient has died.
|
void |
ConceptService.proposeConcept(ConceptProposal conceptProposal)
Deprecated.
|
void |
ActiveListService.purgeActiveListItem(ActiveListItem item)
Completely removes an ActiveListItem from the database (not reversible)
|
Cohort |
CohortService.purgeCohort(Cohort cohort)
Completely removes a Cohort from the database (not reversible)
|
void |
CohortService.purgeCohortDefinition(CohortDefinition definition)
Deprecated.
see reportingcompatibility module
|
void |
ConceptService.purgeConcept(Concept conceptOrConceptNumeric)
Completely purge a
Concept or ConceptNumeric from the database. |
void |
ConceptService.purgeConceptClass(ConceptClass cc)
Purge a ConceptClass
|
void |
ConceptService.purgeConceptDatatype(ConceptDatatype cd)
Purge a ConceptDatatype.
|
void |
ConceptService.purgeConceptProposal(ConceptProposal cp)
Removes a concept proposal from the database entirely.
|
ConceptSource |
ConceptService.purgeConceptSource(ConceptSource cs)
Delete ConceptSource
|
void |
ProgramWorkflowService.purgeConceptStateConversion(ConceptStateConversion conceptStateConversion)
Completely remove a conceptStateConversion from the database (not reversible) This method
delegates to #purgeConceptStateConversion(conceptStateConversion, boolean) method
|
void |
ProgramWorkflowService.purgeConceptStateConversion(ConceptStateConversion conceptStateConversion,
boolean cascade)
Completely remove a conceptStateConversion from the database (not reversible)
|
void |
ConceptService.purgeDrug(Drug drug)
Completely purge a Drug from the database.
|
void |
EncounterService.purgeEncounter(Encounter encounter)
Completely remove an encounter from database.
|
void |
EncounterService.purgeEncounter(Encounter encounter,
boolean cascade)
Completely remove an encounter from database.
|
void |
EncounterService.purgeEncounterType(EncounterType encounterType)
Completely remove an encounter type from database.
|
void |
FormService.purgeField(Field field)
Completely removes a Field from the database.
|
void |
FormService.purgeField(Field field,
boolean cascade)
Completely removes a Field from the database.
|
void |
FormService.purgeFieldType(FieldType fieldType)
Deletes the given field type from the database.
|
void |
FormService.purgeForm(Form form)
Completely remove a Form from the database.
|
void |
FormService.purgeForm(Form form,
boolean cascade)
Completely remove a Form from the database.
|
void |
FormService.purgeFormField(FormField formField)
Completely removes the given FormField from the database.
|
void |
AdministrationService.purgeGlobalProperties(List<GlobalProperty> globalProperties)
Completely remove the given global properties from the database
|
void |
AdministrationService.purgeGlobalProperty(GlobalProperty globalProperty)
Completely remove the given global property from the database
|
void |
LocationService.purgeLocation(Location location)
Completely remove a location from the database (not reversible) This method delegates to
#purgeLocation(location, boolean) method
|
void |
LocationService.purgeLocationTag(LocationTag tag)
Completely remove a location tag from the database (not reversible).
|
void |
ObsService.purgeMimeType(MimeType mimeType)
Deprecated.
MimeTypes are no longer used. See
ConceptComplex and its use
of handlers |
void |
ObsService.purgeObs(Obs obs)
Completely remove an observation from the database.
|
void |
ObsService.purgeObs(Obs obs,
boolean cascade)
Completely remove an observation from the database.
|
void |
OrderService.purgeOrder(Order order)
Completely delete an order from the database.
|
void |
OrderService.purgeOrderType(OrderType orderType)
Completely delete the order type from the system.
|
void |
PatientService.purgePatient(Patient patient)
Delete patient from database.
|
void |
PatientService.purgePatientIdentifier(PatientIdentifier patientIdentifier)
Purge PatientIdentifier (cannot be undone)
|
void |
PatientService.purgePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Purge PatientIdentifierType (cannot be undone)
|
void |
ProgramWorkflowService.purgePatientProgram(PatientProgram patientProgram)
Completely remove a patientProgram from the database (not reversible) This method delegates
to #purgePatientProgram(patientProgram, boolean) method
|
void |
ProgramWorkflowService.purgePatientProgram(PatientProgram patientProgram,
boolean cascade)
Completely remove a patientProgram from the database (not reversible)
|
void |
PersonService.purgePerson(Person person)
Purges a person from the database (cannot be undone)
|
void |
PersonService.purgePersonAttributeType(PersonAttributeType type)
Purges a PersonAttribute type from the database (cannot be undone)
|
void |
UserService.purgePrivilege(Privilege privilege)
Completely remove a privilege from the database
|
void |
ProgramWorkflowService.purgeProgram(Program program)
Completely remove a program from the database (not reversible) This method delegates to
#purgeProgram(program, boolean) method
|
void |
ProgramWorkflowService.purgeProgram(Program program,
boolean cascade)
Completely remove a program from the database (not reversible)
|
void |
PersonService.purgeRelationship(Relationship relationship)
Purges a relationship from the database (cannot be undone)
|
void |
PersonService.purgeRelationshipType(RelationshipType relationshipType)
Purge relationship type from the database (cannot be undone)
|
void |
UserService.purgeRole(Role role)
Complete remove a role from the database
|
void |
UserService.purgeUser(User user)
Completely remove a location from the database (not reversible).
|
void |
UserService.purgeUser(User user,
boolean cascade)
Completely remove a user from the database (not reversible).
|
void |
CohortService.registerCohortDefinitionProvider(Class<? extends CohortDefinition> cohortDefClass,
CohortDefinitionProvider cohortDef)
Deprecated.
see reportingcompatibility module
|
void |
ObsService.registerHandler(String key,
ComplexObsHandler handler)
Registers the given handler with the given key If the given String key exists, that handler
is overwritten with the given handler
|
void |
ObsService.registerHandler(String key,
String handlerClass)
Convenience method for
ObsService.registerHandler(String, ComplexObsHandler) |
void |
ReportService.registerRenderer(Class<? extends ReportRenderer> rendererClass,
ReportRenderer renderer)
Deprecated.
Registers the given renderer with the service
|
void |
ReportService.registerRenderer(String rendererClass)
Deprecated.
Convenience method for
ReportService.registerRenderer(Class, ReportRenderer) |
void |
ConceptService.rejectConceptProposal(ConceptProposal cp)
Deprecated.
|
ActiveListItem |
ActiveListService.removeActiveListItem(ActiveListItem item,
Date endDate)
Sets the Active List Item as inactive by setting the end date to today, if null
|
void |
PatientService.removeAllergy(Allergy allergy,
String reason)
Resolving the allergy, effectively removes the Allergy from the Patient's Active List by
setting the stop date to now, if null.
|
void |
CohortService.removeCohortDefinitionProvider(Class<? extends CohortDefinitionProvider> providerClass)
Deprecated.
see reportingcompatibility module
|
void |
ObsService.removeHandler(String key)
Remove the handler associated with the key from list of available handlers
|
Cohort |
CohortService.removePatientFromCohort(Cohort cohort,
Patient patient)
Removes a patient from a Cohort.
|
void |
PatientService.removeProblem(Problem problem,
String reason)
Effectively removes the Problem from the Patient's Active List by setting the stop date to
now, if null.
|
void |
DataSetService.removeProvider(DataSetProvider provider)
Deprecated.
Remove a registered DataSetProvider
|
void |
ReportService.removeRenderer(Class<? extends ReportRenderer> rendererClass)
Deprecated.
Remove the renderer associated with
rendererClass from the list of available
renderers |
User |
UserService.removeUserProperty(User user,
String key)
Removes the property denoted by
key from the user 's properties. |
Concept |
ConceptService.retireConcept(Concept conceptOrConceptNumeric,
String reason)
Retiring a concept essentially removes it from circulation
|
ConceptSource |
ConceptService.retireConceptSource(ConceptSource cs,
String reason)
This effectively removes a concept source from the database.
|
Drug |
ConceptService.retireDrug(Drug drug,
String reason)
Retiring a Drug essentially removes it from circulation
|
EncounterType |
EncounterService.retireEncounterType(EncounterType encounterType,
String reason)
Retire an EncounterType.
|
Field |
FormService.retireField(Field field)
Retires field
|
void |
FormService.retireForm(Form form,
String reason)
Retires the Form, leaving it in the database, but removing it from data entry screens
|
Location |
LocationService.retireLocation(Location location,
String reason)
Retires the given location.
|
LocationTag |
LocationService.retireLocationTag(LocationTag tag,
String reason)
Retire the given location tag.
|
OrderType |
OrderService.retireOrderType(OrderType orderType,
String reason)
This method essentially takes the given
orderType out of active use in OpenMRS. |
PatientIdentifierType |
PatientService.retirePatientIdentifierType(PatientIdentifierType patientIdentifierType,
String reason)
Retire a type of patient identifier
|
PersonAttributeType |
PersonService.retirePersonAttributeType(PersonAttributeType type,
String retiredReason)
Retire a Person Attribute Type
|
Program |
ProgramWorkflowService.retireProgram(Program program)
Retires the given program
|
RelationshipType |
PersonService.retireRelationshipType(RelationshipType type,
String retiredReason)
Retire a Person Relationship Type
|
void |
AdministrationService.retireTribe(Tribe tribe)
Deprecated.
The Tribe object is no longer supported. Install the Tribe module
|
User |
UserService.retireUser(User user,
String reason)
Deactive a user account so that it can no longer log in.
|
void |
UserService.revokeUserRole(User user,
Role role)
Deprecated.
|
ActiveListItem |
ActiveListService.saveActiveListItem(ActiveListItem item)
Save or update an Active List Item
|
void |
PatientService.saveAllergy(Allergy allergy)
Creates an AllergyListItem to the Patient's Allergy Active List.
|
void |
PatientService.saveCauseOfDeathObs(Patient patient,
Date dateDied,
Concept causeOfDeath,
String otherReason)
Convenience method that saves the Obs that indicates when and why the patient died (including
any "other" reason there might be) TODO keep this in the PatientService?
|
Cohort |
CohortService.saveCohort(Cohort cohort)
Save a cohort to the database (create if new, or update if changed) This method will throw an
exception if any patientIds in the Cohort don't exist.
|
CohortDefinition |
CohortService.saveCohortDefinition(CohortDefinition definition)
Deprecated.
see reportingcompatibility module
|
Concept |
ConceptService.saveConcept(Concept concept)
Save or update the given
Concept or ConceptNumeric in the database |
ConceptClass |
ConceptService.saveConceptClass(ConceptClass cc)
Creates or updates a concept class
|
ConceptDatatype |
ConceptService.saveConceptDatatype(ConceptDatatype cd)
Create or update a ConceptDatatype
|
ConceptProposal |
ConceptService.saveConceptProposal(ConceptProposal conceptProposal)
Saves/updates/proposes a concept proposal
|
ConceptSource |
ConceptService.saveConceptSource(ConceptSource conceptSource)
Create a new ConceptSource
|
ConceptStateConversion |
ProgramWorkflowService.saveConceptStateConversion(ConceptStateConversion conceptStateConversion)
Save ConceptStateConversion to database (create if new or update if changed)
|
Drug |
ConceptService.saveDrug(Drug drug)
Save or update the given
Drug in the database. |
Encounter |
EncounterService.saveEncounter(Encounter encounter)
Saves a new encounter or updates an existing encounter.
|
EncounterType |
EncounterService.saveEncounterType(EncounterType encounterType)
Save a new Encounter Type or update an existing Encounter Type.
|
Field |
FormService.saveField(Field field)
Creates or updates the given Field
|
FieldType |
FormService.saveFieldType(FieldType fieldType)
Saves the given field type to the database
|
Form |
FormService.saveForm(Form form)
Create or update the given Form in the database
|
FormField |
FormService.saveFormField(FormField formField)
Creates or updates the given FormField
|
List<GlobalProperty> |
AdministrationService.saveGlobalProperties(List<GlobalProperty> props)
Save the given list of global properties to the database overwriting all values with the
given values.
|
GlobalProperty |
AdministrationService.saveGlobalProperty(GlobalProperty gp)
Save the given global property to the database
|
Location |
LocationService.saveLocation(Location location)
Save location to database (create if new or update if changed)
|
LocationTag |
LocationService.saveLocationTag(LocationTag tag)
Save location tag to database (create if new or update if changed)
|
MimeType |
ObsService.saveMimeType(MimeType mimeType)
Deprecated.
MimeTypes are no longer used. See ConceptComplex and its use of handlers
|
Obs |
ObsService.saveObs(Obs obs,
String changeMessage)
Save the given obs to the database.
|
Order |
OrderService.saveOrder(Order order)
Save or update the given
order in the database |
OrderType |
OrderService.saveOrderType(OrderType orderType)
Save or update the given
orderType in the database |
Patient |
PatientService.savePatient(Patient patient)
Saved the given
patient to the database |
PatientIdentifier |
PatientService.savePatientIdentifier(PatientIdentifier patientIdentifier)
Saved the given
patientIndentifier to the database |
PatientIdentifierType |
PatientService.savePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Create or update a PatientIdentifierType
|
PatientProgram |
ProgramWorkflowService.savePatientProgram(PatientProgram patientProgram)
Save patientProgram to database (create if new or update if changed)
|
Person |
PersonService.savePerson(Person person)
Creates or updates a Person in the database
|
PersonAttributeType |
PersonService.savePersonAttributeType(PersonAttributeType type)
Save the given person attribute type in the database.
|
Privilege |
UserService.savePrivilege(Privilege privilege)
Save the given privilege in the database
|
void |
PatientService.saveProblem(Problem problem)
Creates a ProblemListItem to the Patient's Problem Active List.
|
Program |
ProgramWorkflowService.saveProgram(Program program)
Save
program to database (create if new or update if changed) |
Relationship |
PersonService.saveRelationship(Relationship relationship)
Create or update a relationship between people.
|
RelationshipType |
PersonService.saveRelationshipType(RelationshipType relationshipType)
Inserts or updates the given relationship type object in the database
|
void |
ReportService.saveReportSchema(ReportSchema reportSchema)
Deprecated.
Save or update the given
ReportSchema in the database. |
Role |
UserService.saveRole(Role role)
Save the given role in the database
|
User |
UserService.saveUser(User user,
String password)
Saves a user to the database.
|
void |
CohortService.setCohortDefinitionProviders(Map<Class<? extends CohortDefinition>,CohortDefinitionProvider> providerClassMap)
Deprecated.
see reportingcompatibility module
|
void |
ObsService.setHandlers(Map<String,ComplexObsHandler> handlers)
Add the given map to this service's handlers.
|
void |
AdministrationService.setImplementationId(ImplementationId implementationId)
Set the given
implementationId as this implementation's unique id |
void |
DataSetService.setProviders(List<DataSetProvider> providers)
Deprecated.
Add the given list of DataSetProviders to the providers on this service.
|
void |
ReportService.setRenderers(Map<Class<? extends ReportRenderer>,ReportRenderer> renderers)
Deprecated.
Add the given map to this service's renderers This map is set via spring, see the
applicationContext-service.xml file
|
User |
UserService.setUserProperty(User user,
String key,
String value)
Adds the
key /value pair to the given user . |
void |
ProgramWorkflowService.triggerStateConversion(Patient patient,
Concept reasonForExit,
Date dateConverted)
Triggers any ConceptStateConversion that exists for the passed
reasonForExit
concept and any ProgramWorkflow in the PatientPrograms for the patient |
Order |
OrderService.undiscontinueOrder(Order order)
Un-discontinue order record.
|
Drug |
ConceptService.unretireDrug(Drug drug)
Marks a drug that is currently retired as not retired.
|
EncounterType |
EncounterService.unretireEncounterType(EncounterType encounterType)
Unretire an EncounterType.
|
Field |
FormService.unretireField(Field field)
Unretires field
|
void |
FormService.unretireForm(Form form)
Unretires a Form that had previous been retired.
|
Location |
LocationService.unretireLocation(Location location)
Unretire the given location.
|
LocationTag |
LocationService.unretireLocationTag(LocationTag tag)
Unretire the given location tag.
|
OrderType |
OrderService.unretireOrderType(OrderType orderType)
This will bring back a previously decommissioned OrderType
|
PatientIdentifierType |
PatientService.unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Unretire a type of patient identifier
|
Program |
ProgramWorkflowService.unRetireProgram(Program program)
Unretires the given program
|
void |
AdministrationService.unretireTribe(Tribe tribe)
Deprecated.
The Tribe object is no longer supported. Install the Tribe module
|
User |
UserService.unretireUser(User user)
Clears retired flag for a user.
|
Encounter |
EncounterService.unvoidEncounter(Encounter encounter)
Unvoid encounter record
|
Obs |
ObsService.unvoidObs(Obs obs)
Revive an observation (pull a Lazarus)
|
Order |
OrderService.unvoidOrder(Order order)
Unvoid order record.
|
Patient |
PatientService.unvoidPatient(Patient patient)
Unvoid patient record
|
PatientProgram |
ProgramWorkflowService.unvoidPatientProgram(PatientProgram patientProgram)
Unvoids the given patientProgram
|
Person |
PersonService.unvoidPerson(Person person)
Effectively resurrects this person in the db.
|
Relationship |
PersonService.unvoidRelationship(Relationship relationship)
Unvoid Relationship in the database, effectively marking this as a valid relationship again
|
User |
UserService.unvoidUser(User user)
Deprecated.
|
Cohort |
CohortService.updateCohort(Cohort cohort)
Deprecated.
replaced by saveCohort(Cohort)
|
void |
ConceptService.updateConcept(Concept concept)
Deprecated.
use #saveConcept(Concept)
|
void |
ConceptService.updateConcept(ConceptNumeric concept)
Deprecated.
use #saveConcept(Concept)
|
void |
AdministrationService.updateConceptClass(ConceptClass cc)
Deprecated.
|
void |
AdministrationService.updateConceptDatatype(ConceptDatatype cd)
Deprecated.
|
void |
ConceptService.updateConceptIndex(Concept concept)
Iterates over the words in names and synonyms (for each locale) and updates the concept
index, note that this only updates the index of the specified concept.
|
void |
ConceptService.updateConceptIndexes()
Iterates over all concepts and calls upddateConceptIndexes(Concept concept)
|
void |
ConceptService.updateConceptIndexes(Integer conceptIdStart,
Integer conceptIdEnd)
Iterates over all concepts with conceptIds between
conceptIdStart and
conceptIdEnd (inclusive) and calls updateConceptIndexes(concept) |
void |
AdministrationService.updateConceptProposal(ConceptProposal cp)
Deprecated.
|
void |
AdministrationService.updateConceptSetDerived()
Deprecated.
|
void |
ConceptService.updateConceptSetDerived()
Iterates over all concepts calling updateConceptSetDerived(concept)
|
void |
AdministrationService.updateConceptSetDerived(Concept concept)
Deprecated.
|
void |
ConceptService.updateConceptSetDerived(Concept concept)
Updates the concept set derived business table for this concept (bursting the concept sets)
|
void |
ProgramWorkflowService.updateConceptStateConversion(ConceptStateConversion conceptStateConversion)
|
void |
AdministrationService.updateConceptWord(Concept concept)
Deprecated.
|
void |
ConceptService.updateConceptWord(Concept concept)
Deprecated.
|
void |
AdministrationService.updateConceptWords()
Deprecated.
moved to
ConceptService.updateConceptWords() |
void |
ConceptService.updateConceptWords()
Deprecated.
|
void |
AdministrationService.updateConceptWords(Integer conceptIdStart,
Integer conceptIdEnd)
Deprecated.
|
void |
ConceptService.updateConceptWords(Integer conceptIdStart,
Integer conceptIdEnd)
Deprecated.
|
void |
ConceptService.updateDrug(Drug drug)
Deprecated.
use #saveDrug(Drug)
|
void |
EncounterService.updateEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterService.saveEncounter(Encounter) |
void |
AdministrationService.updateEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormService.updateField(Field field)
Deprecated.
|
void |
AdministrationService.updateFieldType(FieldType fieldType)
Deprecated.
|
void |
FormService.updateForm(Form form)
Deprecated.
|
void |
FormService.updateFormField(FormField formField)
Deprecated.
|
void |
AdministrationService.updateLocation(Location location)
Deprecated.
|
void |
AdministrationService.updateMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsService.updateObs(Obs obs)
Deprecated.
|
void |
OrderService.updateOrder(Order order)
Deprecated.
use #saveOrder(Order)
|
void |
OrderService.updateOrderType(OrderType orderType)
Deprecated.
use #saveOrderType(OrderType)
|
Patient |
PatientService.updatePatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
PatientService.updatePatientIdentifier(PatientIdentifier patientIdentifier)
Deprecated.
patient identifiers should not be updated directly; rather, after changing
patient identifiers, use
PatientService.savePatient(Patient) to save changes to the
database |
void |
AdministrationService.updatePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
ProgramWorkflowService.updatePatientProgram(PatientProgram patientProgram)
Deprecated.
|
void |
PersonService.updatePerson(Person person)
Deprecated.
|
void |
PersonService.updatePersonAttributeType(PersonAttributeType type)
Deprecated.
|
void |
AdministrationService.updatePrivilege(Privilege privilege)
Deprecated.
|
void |
PersonService.updateRelationship(Relationship relationship)
Deprecated.
replaced by #saveRelationship(Relationship)
|
void |
PersonService.updateRelationshipType(RelationshipType relationshipType)
Deprecated.
replaced by #saveRelationshipType(RelationshipType)
|
void |
AdministrationService.updateReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.updateReportObject(AbstractReportObject reportObject)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.updateRole(Role role)
Deprecated.
|
void |
AdministrationService.updateTribe(Tribe tribe)
Deprecated.
The Tribe object is no longer supported. Install the Tribe module
|
void |
UserService.updateUser(User user)
Deprecated.
replaced by
UserService.saveUser(User, String) |
void |
ProgramWorkflowService.updateWorkflow(ProgramWorkflow programWorkflow)
Deprecated.
|
ActiveListItem |
ActiveListService.voidActiveListItem(ActiveListItem item,
String reason)
Voids the Active List Item
|
void |
PatientService.voidAllergy(Allergy allergy,
String reason)
Used only in cases where the Allergy was entered by error
|
Cohort |
CohortService.voidCohort(Cohort cohort,
String reason)
Voids the given cohort, deleting it from the perspective of the typical end user.
|
void |
ConceptService.voidConcept(Concept concept,
String reason)
Deprecated.
|
void |
ProgramWorkflowService.voidLastState(PatientProgram patientProgram,
ProgramWorkflow wf,
String voidReason)
|
MimeType |
ObsService.voidMimeType(MimeType mimeType,
String reason)
Deprecated.
MimeTypes are no longer used. See ConceptComplex and its use of handlers
|
Obs |
ObsService.voidObs(Obs obs,
String reason)
Equivalent to deleting an observation
|
Order |
OrderService.voidOrder(Order order,
String voidReason)
Mark an order as voided.
|
Patient |
PatientService.voidPatient(Patient patient,
String reason)
Void patient record (functionally delete patient from system)
|
PatientIdentifier |
PatientService.voidPatientIdentifier(PatientIdentifier patientIdentifier,
String reason)
Void patient identifier (functionally delete patient identifier from system)
|
PatientProgram |
ProgramWorkflowService.voidPatientProgram(PatientProgram patientProgram,
String reason)
Voids the given patientProgram
|
Person |
PersonService.voidPerson(Person person,
String reason)
Effectively removes this person from the system.
|
void |
PatientService.voidProblem(Problem problem,
String reason)
Used only in cases where the Problem was entered by error
|
Relationship |
PersonService.voidRelationship(Relationship relationship,
String voidReason)
Voids the given Relationship, effectively removing it from openmrs.
|
User |
UserService.voidUser(User user,
String reason)
Deprecated.
|
void |
ProgramWorkflowService.voidWorkflow(ProgramWorkflow programWorkflow,
String reason)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
ContextAuthenticationException
This exception is thrown when a user attempts to access a service or object that they do not have
rights to.
|
Modifier and Type | Class and Description |
---|---|
class |
DAOException
Represents often fatal errors that occur within the database layer.
|
Modifier and Type | Method and Description |
---|---|
void |
AdministrationServiceImpl.addGlobalProperty(String propertyName,
String propertyValue)
Deprecated.
|
void |
UserServiceImpl.changeHashedPassword(User user,
String hashedPassword,
String salt) |
void |
UserServiceImpl.changePassword(String pw,
String pw2) |
void |
UserServiceImpl.changePassword(User u,
String pw) |
void |
UserServiceImpl.changeQuestionAnswer(User u,
String question,
String answer) |
void |
ConceptServiceImpl.convertBooleanConceptToCoded(Concept conceptToChange) |
void |
AdministrationServiceImpl.createConceptClass(ConceptClass cc)
Deprecated.
moved to ConceptService
|
void |
AdministrationServiceImpl.createConceptDatatype(ConceptDatatype cd)
Deprecated.
moved to ConceptService
|
void |
AdministrationServiceImpl.createConceptProposal(ConceptProposal cp)
Deprecated.
moved to ConceptService
|
void |
EncounterServiceImpl.createEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterServiceImpl.saveEncounter(Encounter) |
void |
AdministrationServiceImpl.createEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormServiceImpl.createField(Field field)
Deprecated.
|
void |
AdministrationServiceImpl.createFieldType(FieldType fieldType)
Deprecated.
|
Form |
FormServiceImpl.createForm(Form form)
Deprecated.
|
void |
FormServiceImpl.createFormField(FormField formField)
Deprecated.
|
void |
AdministrationServiceImpl.createLocation(Location location)
Deprecated.
|
void |
AdministrationServiceImpl.createMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsServiceImpl.createObs(Obs obs)
Deprecated.
|
void |
ObsServiceImpl.createObsGroup(Obs[] obs)
Deprecated.
This method should no longer need to be called on the api. This was meant as
temporary until we created a true ObsGroup pojo.
|
void |
OrderServiceImpl.createOrder(Order order)
Deprecated.
|
void |
OrderServiceImpl.createOrdersAndEncounter(Patient p,
Collection<Order> orders)
TODO: Refactor, generalize, or remove this method
|
void |
OrderServiceImpl.createOrderType(OrderType orderType)
Deprecated.
|
Patient |
PatientServiceImpl.createPatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
AdministrationServiceImpl.createPatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
Person |
PersonServiceImpl.createPerson(Person person)
Deprecated.
|
void |
PersonServiceImpl.createPersonAttributeType(PersonAttributeType type)
Deprecated.
|
void |
AdministrationServiceImpl.createPrivilege(Privilege privilege)
Deprecated.
|
void |
PersonServiceImpl.createRelationship(Relationship relationship)
Deprecated.
|
void |
PersonServiceImpl.createRelationshipType(RelationshipType relationshipType)
Deprecated.
|
void |
AdministrationServiceImpl.createReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.createReportObject(AbstractReportObject reportObject)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.createRole(Role role)
Deprecated.
|
void |
AdministrationServiceImpl.createTribe(Tribe tribe)
Deprecated.
|
User |
UserServiceImpl.createUser(User user,
String password)
Deprecated.
|
void |
AdministrationServiceImpl.deleteConceptClass(ConceptClass cc)
Deprecated.
moved to ConceptService
|
void |
AdministrationServiceImpl.deleteConceptDatatype(ConceptDatatype cd)
Deprecated.
moved to ConceptService
|
void |
EncounterServiceImpl.deleteEncounter(Encounter encounter)
Deprecated.
Replaced by
EncounterServiceImpl.purgeEncounter(Encounter) |
void |
AdministrationServiceImpl.deleteEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormServiceImpl.deleteField(Field field)
Deprecated.
|
void |
AdministrationServiceImpl.deleteFieldType(FieldType fieldType)
Deprecated.
|
void |
FormServiceImpl.deleteForm(Form form)
Deprecated.
|
void |
FormServiceImpl.deleteFormField(FormField formField)
Deprecated.
|
void |
AdministrationServiceImpl.deleteGlobalProperty(String propertyName)
Deprecated.
|
void |
AdministrationServiceImpl.deleteLocation(Location location)
Deprecated.
|
void |
AdministrationServiceImpl.deleteMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsServiceImpl.deleteObs(Obs obs)
Deprecated.
use #purgeObs(Obs)
|
void |
OrderServiceImpl.deleteOrder(Order order)
Deprecated.
|
void |
OrderServiceImpl.deleteOrderType(OrderType orderType)
Deprecated.
|
void |
PatientServiceImpl.deletePatient(Patient patient)
Deprecated.
replaced by
PatientServiceImpl.purgePatient(Patient) |
void |
AdministrationServiceImpl.deletePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
PersonServiceImpl.deletePerson(Person person)
Deprecated.
|
void |
AdministrationServiceImpl.deletePrivilege(Privilege privilege)
Deprecated.
|
void |
PersonServiceImpl.deleteRelationship(Relationship relationship)
Deprecated.
|
void |
PersonServiceImpl.deleteRelationshipType(RelationshipType relationshipType)
Deprecated.
|
void |
AdministrationServiceImpl.deleteReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.deleteReportObject(Integer reportObjectId)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.deleteRole(Role role)
Deprecated.
|
void |
AdministrationServiceImpl.deleteTribe(Tribe tribe)
Deprecated.
|
void |
UserServiceImpl.deleteUser(User user)
Deprecated.
|
Order |
OrderServiceImpl.discontinueOrder(Order order,
Concept discontinueReason,
Date discontinueDate) |
Form |
FormServiceImpl.duplicateForm(Form form)
Duplicate this form and form_fields associated with this form
|
Cohort |
CohortServiceImpl.evaluate(CohortDefinition definition,
EvaluationContext evalContext)
Deprecated.
see reportingcompatibility module
|
List<List<Object>> |
AdministrationServiceImpl.executeSQL(String sql,
boolean selectOnly) |
void |
PatientServiceImpl.exitFromCare(Patient patient,
Date dateExited,
Concept reasonForExit)
This is the way to establish that a patient has left the care center.
|
List<ConceptSearchResult> |
ConceptServiceImpl.findConceptAnswers(String phrase,
Locale locale,
Concept concept) |
List<Patient> |
PatientServiceImpl.findDuplicatePatients(Set<String> attributes)
Deprecated.
|
List<EncounterType> |
EncounterServiceImpl.findEncounterTypes(String name) |
List<Field> |
FormServiceImpl.findFields(Concept concept)
Deprecated.
|
List<Field> |
FormServiceImpl.findFields(String searchPhrase)
Deprecated.
|
List<Location> |
EncounterServiceImpl.findLocations(String name)
Deprecated.
use LocationService.getLocations(name)
|
Patient |
PatientServiceImpl.findPatient(Patient patientToMatch)
Deprecated.
|
List<Patient> |
PatientServiceImpl.findPatients(String query,
boolean includeVoided)
Deprecated.
|
RelationshipType |
PersonServiceImpl.findRelationshipType(String relationshipTypeName)
Deprecated.
|
<T extends ActiveListItem> |
ActiveListServiceImpl.getActiveListItem(Class<T> clazz,
Integer activeListItemId) |
ActiveListItem |
ActiveListServiceImpl.getActiveListItemByUuid(String uuid) |
<T extends ActiveListItem> |
ActiveListServiceImpl.getActiveListItems(Class<T> clazz,
Person p,
ActiveListType type) |
List<ActiveListItem> |
ActiveListServiceImpl.getActiveListItems(Person p,
ActiveListType type) |
List<Cohort> |
CohortServiceImpl.getAllCohorts() |
List<Cohort> |
CohortServiceImpl.getAllCohorts(boolean includeVoided) |
List<ConceptClass> |
ConceptServiceImpl.getAllConceptClasses() |
List<ConceptDatatype> |
ConceptServiceImpl.getAllConceptDatatypes(boolean includeRetired) |
List<Concept> |
ConceptServiceImpl.getAllConcepts() |
List<Concept> |
ConceptServiceImpl.getAllConcepts(String sortBy,
boolean asc,
boolean includeRetired) |
List<ConceptStateConversion> |
ProgramWorkflowServiceImpl.getAllConceptStateConversions() |
List<EncounterType> |
EncounterServiceImpl.getAllEncounterTypes() |
List<EncounterType> |
EncounterServiceImpl.getAllEncounterTypes(boolean includeRetired) |
List<Allergy> |
PatientServiceImpl.getAllergies(Person p) |
Allergy |
PatientServiceImpl.getAllergy(Integer allergyListId) |
List<Field> |
FormServiceImpl.getAllFields() |
List<Field> |
FormServiceImpl.getAllFields(boolean includeRetired) |
List<FieldType> |
FormServiceImpl.getAllFieldTypes() |
List<FieldType> |
FormServiceImpl.getAllFieldTypes(boolean includeRetired) |
List<FormField> |
FormServiceImpl.getAllFormFields() |
List<Form> |
FormServiceImpl.getAllForms() |
List<Form> |
FormServiceImpl.getAllForms(boolean includeRetired) |
List<GlobalProperty> |
AdministrationServiceImpl.getAllGlobalProperties() |
List<Location> |
LocationServiceImpl.getAllLocations() |
List<Location> |
LocationServiceImpl.getAllLocations(boolean includeRetired) |
List<LocationTag> |
LocationServiceImpl.getAllLocationTags() |
List<LocationTag> |
LocationServiceImpl.getAllLocationTags(boolean includeRetired) |
List<MimeType> |
ObsServiceImpl.getAllMimeTypes()
Deprecated.
|
List<OrderType> |
OrderServiceImpl.getAllOrderTypes() |
List<OrderType> |
OrderServiceImpl.getAllOrderTypes(boolean includeRetired) |
List<PatientIdentifierType> |
PatientServiceImpl.getAllPatientIdentifierTypes() |
List<PatientIdentifierType> |
PatientServiceImpl.getAllPatientIdentifierTypes(boolean includeRetired) |
List<Patient> |
PatientServiceImpl.getAllPatients() |
List<Patient> |
PatientServiceImpl.getAllPatients(boolean includeVoided) |
List<PersonAttributeType> |
PersonServiceImpl.getAllPersonAttributeTypes() |
List<PersonAttributeType> |
PersonServiceImpl.getAllPersonAttributeTypes(boolean includeRetired) |
List<Privilege> |
UserServiceImpl.getAllPrivileges() |
List<Program> |
ProgramWorkflowServiceImpl.getAllPrograms() |
List<Program> |
ProgramWorkflowServiceImpl.getAllPrograms(boolean includeRetired) |
List<Relationship> |
PersonServiceImpl.getAllRelationships() |
List<Relationship> |
PersonServiceImpl.getAllRelationships(boolean includeVoided) |
List<RelationshipType> |
PersonServiceImpl.getAllRelationshipTypes() |
List<RelationshipType> |
PersonServiceImpl.getAllRelationshipTypes(boolean includeRetired) |
List<Role> |
UserServiceImpl.getAllRoles() |
List<User> |
UserServiceImpl.getAllUsers() |
Cohort |
CohortServiceImpl.getCohort(String name) |
List<Cohort> |
CohortServiceImpl.getCohorts(String nameFragment) |
Obs |
ObsServiceImpl.getComplexObs(Integer obsId,
String view) |
Concept |
ConceptServiceImpl.getConcept(Integer conceptId) |
ConceptAnswer |
ConceptServiceImpl.getConceptAnswer(Integer conceptAnswerId) |
List<ConceptWord> |
ConceptServiceImpl.getConceptAnswers(String phrase,
Locale locale,
Concept concept)
Deprecated.
|
Concept |
ConceptServiceImpl.getConceptByMapping(String code,
String sourceName) |
Concept |
ConceptServiceImpl.getConceptByMapping(String code,
String sourceName,
Boolean includeRetired) |
ConceptName |
ConceptServiceImpl.getConceptName(Integer conceptNameId) |
ConceptNumeric |
ConceptServiceImpl.getConceptNumeric(Integer conceptId) |
List<ConceptSearchResult> |
ConceptServiceImpl.getConcepts(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
Integer start,
Integer size) |
List<ConceptSearchResult> |
ConceptServiceImpl.getConcepts(String phrase,
Locale locale,
boolean includeRetired) |
List<Concept> |
ConceptServiceImpl.getConcepts(String sortBy,
String dir)
Deprecated.
|
List<Concept> |
ConceptServiceImpl.getConceptsByAnswer(Concept concept) |
List<ConceptMap> |
ConceptServiceImpl.getConceptsByConceptSource(ConceptSource conceptSource) |
List<Concept> |
ConceptServiceImpl.getConceptsByMapping(String code,
String sourceName) |
List<Concept> |
ConceptServiceImpl.getConceptsByMapping(String code,
String sourceName,
boolean includeRetired) |
List<Concept> |
ConceptServiceImpl.getConceptsByName(String name) |
List<Concept> |
ConceptServiceImpl.getConceptsByName(String name,
Locale locale,
Boolean exactLocale) |
List<ConceptSet> |
ConceptServiceImpl.getConceptSetsByConcept(Concept concept) |
ConceptSource |
ConceptServiceImpl.getConceptSourceByName(String conceptSourceName) |
List<ConceptWord> |
ConceptServiceImpl.getConceptWords(String phrase,
Locale locale)
Deprecated.
|
Integer |
ConceptServiceImpl.getCountOfDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired) |
Location |
LocationServiceImpl.getDefaultLocation() |
Drug |
ConceptServiceImpl.getDrug(Integer drugId) |
DrugOrder |
OrderServiceImpl.getDrugOrder(Integer drugOrderId)
Deprecated.
|
List<DrugOrder> |
OrderServiceImpl.getDrugOrders()
Deprecated.
This is a dumb method
|
List<DrugOrder> |
OrderServiceImpl.getDrugOrdersByPatient(Patient patient) |
List<Drug> |
ConceptServiceImpl.getDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
Integer start,
Integer length) |
Map<Concept,List<DrugOrder>> |
OrderServiceImpl.getDrugSetsByConcepts(List<DrugOrder> drugOrders,
List<Concept> drugSets)
Deprecated.
|
List<Patient> |
PatientServiceImpl.getDuplicatePatientsByAttributes(List<String> attributes) |
Encounter |
EncounterServiceImpl.getEncounter(Integer encounterId) |
Encounter |
EncounterServiceImpl.getEncounterByUuid(String uuid) |
List<Encounter> |
EncounterServiceImpl.getEncounters(String query,
Integer start,
Integer length,
boolean includeVoided) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(Patient patient) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(String query) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(String query,
boolean includeVoided) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatientId(Integer patientId) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatientId(Integer patientId,
boolean includeVoided)
Deprecated.
|
List<Encounter> |
EncounterServiceImpl.getEncountersByPatientIdentifier(String identifier) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatientIdentifier(String identifier,
boolean includeVoided)
Deprecated.
|
EncounterType |
EncounterServiceImpl.getEncounterType(Integer encounterTypeId) |
EncounterType |
EncounterServiceImpl.getEncounterType(String name) |
EncounterType |
EncounterServiceImpl.getEncounterTypeByUuid(String uuid) |
Field |
FormServiceImpl.getField(Integer fieldId) |
FieldAnswer |
FormServiceImpl.getFieldAnswerByUuid(String uuid) |
Field |
FormServiceImpl.getFieldByUuid(String uuid) |
List<Field> |
FormServiceImpl.getFields()
Deprecated.
|
List<Field> |
FormServiceImpl.getFields(Collection<Form> forms,
Collection<FieldType> fieldTypes,
Collection<Concept> concepts,
Collection<String> tableNames,
Collection<String> attributeNames,
Boolean selectMultiple,
Collection<FieldAnswer> containsAllAnswers,
Collection<FieldAnswer> containsAnyAnswer,
Boolean retired) |
List<Field> |
FormServiceImpl.getFields(String fuzzySearchPhrase) |
List<Field> |
FormServiceImpl.getFieldsByConcept(Concept concept) |
FieldType |
FormServiceImpl.getFieldType(Integer fieldTypeId) |
FieldType |
FormServiceImpl.getFieldTypeByUuid(String uuid) |
List<FieldType> |
FormServiceImpl.getFieldTypes()
Deprecated.
|
Form |
FormServiceImpl.getForm(Integer formId) |
Form |
FormServiceImpl.getForm(String name) |
Form |
FormServiceImpl.getForm(String name,
String version) |
Form |
FormServiceImpl.getFormByUuid(String uuid) |
FormField |
FormServiceImpl.getFormField(Form form,
Concept concept)
Deprecated.
|
FormField |
FormServiceImpl.getFormField(Form form,
Concept concept,
Collection<FormField> ignoreFormFields,
boolean force) |
FormField |
FormServiceImpl.getFormField(Integer formFieldId) |
FormField |
FormServiceImpl.getFormFieldByUuid(String uuid) |
List<FormField> |
FormServiceImpl.getFormFields(Form form)
Deprecated.
|
List<Form> |
FormServiceImpl.getForms()
Deprecated.
|
List<Form> |
FormServiceImpl.getForms(boolean publishedOnly)
Deprecated.
|
List<Form> |
FormServiceImpl.getForms(boolean publishedOnly,
boolean includeRetired)
Deprecated.
|
Set<Form> |
FormServiceImpl.getForms(Concept c)
Deprecated.
|
List<Form> |
FormServiceImpl.getFormsContainingConcept(Concept concept) |
List<GlobalProperty> |
AdministrationServiceImpl.getGlobalProperties()
Deprecated.
|
String |
AdministrationServiceImpl.getGlobalProperty(String propertyName) |
String |
AdministrationServiceImpl.getGlobalProperty(String propertyName,
String defaultValue) |
<T> T |
AdministrationServiceImpl.getGlobalPropertyValue(String propertyName,
T defaultValue) |
ComplexObsHandler |
ObsServiceImpl.getHandler(Obs obs)
Convenience method to get the ComplexObsHandler associated with a complex Obs.
|
Map<String,ComplexObsHandler> |
ObsServiceImpl.getHandlers() |
ImplementationId |
AdministrationServiceImpl.getImplementationId() |
List<Role> |
UserServiceImpl.getInheritingRoles(Role role)
Deprecated.
|
Location |
LocationServiceImpl.getLocation(Integer locationId) |
Location |
EncounterServiceImpl.getLocation(Integer locationId)
Deprecated.
use LocationService.getLocation(locationId)
|
Location |
LocationServiceImpl.getLocation(String name) |
Location |
EncounterServiceImpl.getLocationByName(String name)
Deprecated.
use LocationService.getLocation(name)
|
Location |
LocationServiceImpl.getLocationByUuid(String uuid) |
List<Location> |
EncounterServiceImpl.getLocations()
Deprecated.
use LocationService.getAllLocations()
|
List<Location> |
LocationServiceImpl.getLocations(String nameFragment) |
List<Location> |
LocationServiceImpl.getLocations(String nameFragment,
boolean includeRetired,
Integer start,
Integer length) |
List<Location> |
LocationServiceImpl.getLocationsByTag(LocationTag tag) |
List<Location> |
LocationServiceImpl.getLocationsHavingAllTags(List<LocationTag> tags) |
List<Location> |
LocationServiceImpl.getLocationsHavingAnyTag(List<LocationTag> tags) |
LocationTag |
LocationServiceImpl.getLocationTag(Integer locationTagId) |
LocationTag |
LocationServiceImpl.getLocationTagByName(String tag) |
LocationTag |
LocationServiceImpl.getLocationTagByUuid(String uuid) |
List<LocationTag> |
LocationServiceImpl.getLocationTags(String search) |
MimeType |
ObsServiceImpl.getMimeType(Integer mimeTypeId)
Deprecated.
|
List<MimeType> |
ObsServiceImpl.getMimeTypes()
Deprecated.
|
Collection<?> |
AdministrationServiceImpl.getMRNGeneratorLog()
Deprecated.
|
Obs |
ObsServiceImpl.getObs(Integer obsId) |
Obs |
ObsServiceImpl.getObsByUuid(String uuid) |
Integer |
ObsServiceImpl.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
List<Obs> |
ObsServiceImpl.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
List<Obs> |
ObsServiceImpl.getObservationsByPersonAndConcept(Person who,
Concept question) |
Order |
OrderServiceImpl.getOrder(Integer orderId) |
<o extends Order> |
OrderServiceImpl.getOrder(Integer orderId,
Class<o> orderClassType) |
Order |
OrderServiceImpl.getOrderByUuid(String uuid) |
List<Order> |
OrderServiceImpl.getOrders()
Deprecated.
This is a dumb method
|
List<Order> |
OrderServiceImpl.getOrdersByPatient(Patient patient) |
List<Order> |
OrderServiceImpl.getOrdersByUser(User user) |
OrderType |
OrderServiceImpl.getOrderType(Integer orderTypeId) |
OrderType |
OrderServiceImpl.getOrderTypeByUuid(String uuid) |
List<OrderType> |
OrderServiceImpl.getOrderTypes()
Deprecated.
|
Patient |
PatientServiceImpl.getPatient(Integer patientId) |
Patient |
PatientServiceImpl.getPatientByExample(Patient patientToMatch)
This default implementation simply looks at the OpenMRS internal id (patient_id).
|
Patient |
PatientServiceImpl.getPatientByUuid(String uuid) |
PatientIdentifier |
PatientServiceImpl.getPatientIdentifier(Integer patientIdentifierId) |
PatientIdentifier |
PatientServiceImpl.getPatientIdentifierByUuid(String uuid) |
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(PatientIdentifierType pit)
Deprecated.
|
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(String identifier,
PatientIdentifierType pit)
Deprecated.
|
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(String identifier,
PatientIdentifierType patientIdentifierType,
boolean includeVoided)
Deprecated.
|
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierType(Integer patientIdentifierTypeId) |
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierType(String name)
Deprecated.
|
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierTypeByName(String name) |
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierTypeByUuid(String uuid) |
List<PatientIdentifierType> |
PatientServiceImpl.getPatientIdentifierTypes()
Deprecated.
|
List<PatientIdentifierType> |
PatientServiceImpl.getPatientIdentifierTypes(String name,
String format,
Boolean required,
Boolean hasCheckDigit) |
List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided) |
List<Patient> |
PatientServiceImpl.getPatients(String query) |
List<Patient> |
PatientServiceImpl.getPatients(String query,
Integer start,
Integer length) |
List<Patient> |
PatientServiceImpl.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes)
Deprecated.
|
List<Patient> |
PatientServiceImpl.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly) |
List<Patient> |
PatientServiceImpl.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
Integer start,
Integer length) |
List<Patient> |
PatientServiceImpl.getPatientsByIdentifier(String identifier,
boolean includeVoided)
Deprecated.
replaced by @deprecated replaced by
PatientServiceImpl.getPatients(String, String, List) |
List<Patient> |
PatientServiceImpl.getPatientsByIdentifierPattern(String identifier,
boolean includeVoided)
Deprecated.
|
List<Patient> |
PatientServiceImpl.getPatientsByName(String name)
Deprecated.
|
List<Patient> |
PatientServiceImpl.getPatientsByName(String name,
boolean includeVoided)
Deprecated.
|
List<Person> |
PersonServiceImpl.getPeople(String searchPhrase,
Boolean dead) |
Person |
PersonServiceImpl.getPerson(Integer personId) |
Person |
PersonServiceImpl.getPerson(Patient pat)
Deprecated.
|
Person |
PersonServiceImpl.getPerson(User user)
Deprecated.
|
PersonAddress |
PersonServiceImpl.getPersonAddressByUuid(String uuid) |
PersonAttribute |
PersonServiceImpl.getPersonAttributeByUuid(String uuid) |
PersonAttributeType |
PersonServiceImpl.getPersonAttributeTypeByName(String typeName) |
List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(OpenmrsConstants.PERSON_TYPE personType,
PersonService.ATTR_VIEW_TYPE viewType) |
List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(String personTypeStr,
String displayTypeStr)
|
List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(String exactName,
String format,
Integer foreignKey,
Boolean searchable) |
Person |
PersonServiceImpl.getPersonByUuid(String uuid) |
PersonName |
PersonServiceImpl.getPersonNameByUuid(String uuid) |
List<String> |
LocationServiceImpl.getPossibleAddressValues(Address incomplete,
String fieldName) |
Privilege |
UserServiceImpl.getPrivilege(String p) |
Privilege |
UserServiceImpl.getPrivilegeByUuid(String uuid) |
List<Privilege> |
UserServiceImpl.getPrivileges()
Deprecated.
|
Problem |
PatientServiceImpl.getProblem(Integer problemListId) |
List<Problem> |
PatientServiceImpl.getProblems(Person p) |
List<Program> |
ProgramWorkflowServiceImpl.getPrograms(String nameFragment) |
List<Form> |
FormServiceImpl.getPublishedForms() |
Relationship |
PersonServiceImpl.getRelationship(Integer relationshipId) |
Relationship |
PersonServiceImpl.getRelationshipByUuid(String uuid) |
Map<Person,List<Person>> |
PersonServiceImpl.getRelationshipMap(RelationshipType relType) |
List<Relationship> |
PersonServiceImpl.getRelationships()
Deprecated.
|
List<Relationship> |
PersonServiceImpl.getRelationships(Person p)
Deprecated.
|
List<Relationship> |
PersonServiceImpl.getRelationships(Person p,
boolean showVoided)
Deprecated.
|
List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
Map<Person,List<Person>> |
PersonServiceImpl.getRelationships(RelationshipType relType)
Deprecated.
|
List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p) |
List<Relationship> |
PersonServiceImpl.getRelationshipsTo(Person toPerson,
RelationshipType relType)
|
RelationshipType |
PersonServiceImpl.getRelationshipType(Integer relationshipTypeId) |
RelationshipType |
PersonServiceImpl.getRelationshipTypeByName(String relationshipTypeName) |
RelationshipType |
PersonServiceImpl.getRelationshipTypeByUuid(String uuid) |
List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes()
Deprecated.
|
List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes(String searchString) |
List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes(String relationshipTypeName,
Boolean preferred) |
Role |
UserServiceImpl.getRole(String r) |
Role |
UserServiceImpl.getRoleByUuid(String uuid) |
List<Role> |
UserServiceImpl.getRoles()
Deprecated.
|
List<Locale> |
AdministrationServiceImpl.getSearchLocales() |
Set<Person> |
PersonServiceImpl.getSimilarPeople(String name,
Integer birthyear,
String gender) |
Set<Person> |
PersonServiceImpl.getSimilarPeople(String nameSearch,
Integer birthyear,
String gender,
String personType)
Deprecated.
|
SortedMap<String,String> |
AdministrationServiceImpl.getSystemVariables() |
User |
UserServiceImpl.getUser(Integer userId) |
User |
UserServiceImpl.getUserByUsername(String username) |
User |
UserServiceImpl.getUserByUuid(String uuid) |
List<User> |
UserServiceImpl.getUsers()
Deprecated.
|
List<User> |
UserServiceImpl.getUsers(String nameSearch,
List<Role> roles,
boolean includeVoided) |
List<User> |
UserServiceImpl.getUsers(String name,
List<Role> roles,
boolean includeRetired,
Integer start,
Integer length) |
List<User> |
UserServiceImpl.getUsersByName(String givenName,
String familyName,
boolean includeVoided) |
List<User> |
UserServiceImpl.getUsersByPerson(Person person,
boolean includeRetired) |
List<User> |
UserServiceImpl.getUsersByRole(Role role) |
void |
UserServiceImpl.grantUserRole(User user,
Role role)
Deprecated.
|
boolean |
ConceptServiceImpl.hasAnyObservation(ConceptName conceptName) |
boolean |
UserServiceImpl.hasDuplicateUsername(User user) |
void |
AdministrationServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept)
Deprecated.
moved to ConceptService
|
Concept |
ConceptServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept) |
Concept |
ConceptServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept,
Locale locale) |
int |
FormServiceImpl.mergeDuplicateFields() |
void |
PatientServiceImpl.mergePatients(Patient preferred,
Patient notPreferred)
1) Moves object (encounters/obs) pointing to
nonPreferred to
preferred 2) Copies data (gender/birthdate/names/ids/etc) from
nonPreferred to preferred iff the data is missing or null in
preferred 3) notPreferred is marked as voided |
void |
AdministrationServiceImpl.mrnGeneratorLog(String site,
Integer start,
Integer count)
Deprecated.
|
PersonName |
PersonServiceImpl.parsePersonName(String name) |
void |
PatientServiceImpl.processDeath(Patient patient,
Date dateDied,
Concept causeOfDeath,
String otherReason)
This is the way to establish that a patient has died.
|
void |
ActiveListServiceImpl.purgeActiveListItem(ActiveListItem item) |
Cohort |
CohortServiceImpl.purgeCohort(Cohort cohort) |
protected boolean |
ObsServiceImpl.purgeComplexData(Obs obs)
Internal method to remove ComplexData when an Obs is purged.
|
void |
ConceptServiceImpl.purgeConcept(Concept concept) |
void |
ConceptServiceImpl.purgeConceptDatatype(ConceptDatatype cd) |
void |
ConceptServiceImpl.purgeConceptProposal(ConceptProposal cp) |
ConceptSource |
ConceptServiceImpl.purgeConceptSource(ConceptSource cs) |
void |
ProgramWorkflowServiceImpl.purgeConceptStateConversion(ConceptStateConversion conceptStateConversion) |
void |
ProgramWorkflowServiceImpl.purgeConceptStateConversion(ConceptStateConversion conceptStateConversion,
boolean cascade) |
void |
ConceptServiceImpl.purgeDrug(Drug drug) |
void |
EncounterServiceImpl.purgeEncounter(Encounter encounter) |
void |
EncounterServiceImpl.purgeEncounter(Encounter encounter,
boolean cascade) |
void |
EncounterServiceImpl.purgeEncounterType(EncounterType encounterType) |
void |
FormServiceImpl.purgeField(Field field) |
void |
FormServiceImpl.purgeField(Field field,
boolean cascade) |
void |
FormServiceImpl.purgeFieldType(FieldType fieldType) |
void |
FormServiceImpl.purgeForm(Form form) |
void |
FormServiceImpl.purgeForm(Form form,
boolean cascade) |
void |
FormServiceImpl.purgeFormField(FormField formField) |
void |
AdministrationServiceImpl.purgeGlobalProperties(List<GlobalProperty> globalProperties) |
void |
AdministrationServiceImpl.purgeGlobalProperty(GlobalProperty globalProperty) |
void |
LocationServiceImpl.purgeLocation(Location location) |
void |
LocationServiceImpl.purgeLocationTag(LocationTag tag) |
void |
ObsServiceImpl.purgeObs(Obs obs) |
void |
ObsServiceImpl.purgeObs(Obs obs,
boolean cascade) |
void |
OrderServiceImpl.purgeOrder(Order order) |
void |
OrderServiceImpl.purgeOrder(Order order,
boolean cascade) |
void |
OrderServiceImpl.purgeOrderType(OrderType orderType) |
void |
PatientServiceImpl.purgePatient(Patient patient) |
void |
PatientServiceImpl.purgePatientIdentifier(PatientIdentifier patientIdentifier) |
void |
PatientServiceImpl.purgePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
void |
ProgramWorkflowServiceImpl.purgePatientProgram(PatientProgram patientProgram) |
void |
ProgramWorkflowServiceImpl.purgePatientProgram(PatientProgram patientProgram,
boolean cascade) |
void |
PersonServiceImpl.purgePerson(Person person) |
void |
PersonServiceImpl.purgePersonAttributeType(PersonAttributeType type) |
void |
UserServiceImpl.purgePrivilege(Privilege privilege) |
void |
ProgramWorkflowServiceImpl.purgeProgram(Program program) |
void |
ProgramWorkflowServiceImpl.purgeProgram(Program program,
boolean cascade) |
void |
PersonServiceImpl.purgeRelationship(Relationship relationship) |
void |
PersonServiceImpl.purgeRelationshipType(RelationshipType relationshipType) |
void |
UserServiceImpl.purgeRole(Role role) |
void |
UserServiceImpl.purgeUser(User user) |
void |
UserServiceImpl.purgeUser(User user,
boolean cascade) |
void |
CohortServiceImpl.registerCohortDefinitionProvider(Class<? extends CohortDefinition> defClass,
CohortDefinitionProvider cohortDefProvider)
Deprecated.
see reportingcompatibility module
|
void |
ObsServiceImpl.registerHandler(String key,
ComplexObsHandler handler) |
void |
ObsServiceImpl.registerHandler(String key,
String handlerClass) |
ActiveListItem |
ActiveListServiceImpl.removeActiveListItem(ActiveListItem item,
Date endDate) |
void |
PatientServiceImpl.removeAllergy(Allergy allergy,
String reason) |
void |
PatientServiceImpl.removeProblem(Problem problem,
String reason) |
Concept |
ConceptServiceImpl.retireConcept(Concept concept,
String reason) |
ConceptSource |
ConceptServiceImpl.retireConceptSource(ConceptSource cs,
String reason) |
Drug |
ConceptServiceImpl.retireDrug(Drug drug,
String reason) |
EncounterType |
EncounterServiceImpl.retireEncounterType(EncounterType encounterType,
String reason) |
Field |
FormServiceImpl.retireField(Field field) |
void |
FormServiceImpl.retireForm(Form form,
String reason) |
Location |
LocationServiceImpl.retireLocation(Location location,
String reason) |
LocationTag |
LocationServiceImpl.retireLocationTag(LocationTag tag,
String reason) |
OrderType |
OrderServiceImpl.retireOrderType(OrderType orderType,
String reason) |
PatientIdentifierType |
PatientServiceImpl.retirePatientIdentifierType(PatientIdentifierType patientIdentifierType,
String reason) |
PersonAttributeType |
PersonServiceImpl.retirePersonAttributeType(PersonAttributeType type,
String retiredReason) |
Program |
ProgramWorkflowServiceImpl.retireProgram(Program program) |
RelationshipType |
PersonServiceImpl.retireRelationshipType(RelationshipType type,
String retiredReason) |
void |
AdministrationServiceImpl.retireTribe(Tribe tribe)
Deprecated.
|
User |
UserServiceImpl.retireUser(User user,
String reason) |
void |
UserServiceImpl.revokeUserRole(User user,
Role role)
Deprecated.
|
ActiveListItem |
ActiveListServiceImpl.saveActiveListItem(ActiveListItem item) |
void |
PatientServiceImpl.saveAllergy(Allergy allergy) |
void |
PatientServiceImpl.saveCauseOfDeathObs(Patient patient,
Date deathDate,
Concept cause,
String otherReason) |
Cohort |
CohortServiceImpl.saveCohort(Cohort cohort) |
CohortDefinition |
CohortServiceImpl.saveCohortDefinition(CohortDefinition definition)
Deprecated.
see reportingcompatibility module
|
Concept |
ConceptServiceImpl.saveConcept(Concept concept) |
ConceptClass |
ConceptServiceImpl.saveConceptClass(ConceptClass cc) |
ConceptDatatype |
ConceptServiceImpl.saveConceptDatatype(ConceptDatatype cd) |
ConceptProposal |
ConceptServiceImpl.saveConceptProposal(ConceptProposal conceptProposal) |
ConceptSource |
ConceptServiceImpl.saveConceptSource(ConceptSource conceptSource) |
ConceptStateConversion |
ProgramWorkflowServiceImpl.saveConceptStateConversion(ConceptStateConversion csc) |
Drug |
ConceptServiceImpl.saveDrug(Drug drug) |
Encounter |
EncounterServiceImpl.saveEncounter(Encounter encounter) |
Field |
FormServiceImpl.saveField(Field field) |
FieldType |
FormServiceImpl.saveFieldType(FieldType fieldType) |
Form |
FormServiceImpl.saveForm(Form form) |
FormField |
FormServiceImpl.saveFormField(FormField formField) |
List<GlobalProperty> |
AdministrationServiceImpl.saveGlobalProperties(List<GlobalProperty> props) |
GlobalProperty |
AdministrationServiceImpl.saveGlobalProperty(GlobalProperty gp) |
Location |
LocationServiceImpl.saveLocation(Location location) |
LocationTag |
LocationServiceImpl.saveLocationTag(LocationTag tag) |
MimeType |
ObsServiceImpl.saveMimeType(MimeType mimeType)
Deprecated.
|
Obs |
ObsServiceImpl.saveObs(Obs obs,
String changeMessage) |
Order |
OrderServiceImpl.saveOrder(Order order) |
OrderType |
OrderServiceImpl.saveOrderType(OrderType orderType) |
Patient |
PatientServiceImpl.savePatient(Patient patient) |
PatientIdentifier |
PatientServiceImpl.savePatientIdentifier(PatientIdentifier patientIdentifier) |
PatientIdentifierType |
PatientServiceImpl.savePatientIdentifierType(PatientIdentifierType patientIdentifierType)
TODO: Add changedBy and DateChanged columns to table patient_identifier_type
|
PatientProgram |
ProgramWorkflowServiceImpl.savePatientProgram(PatientProgram patientProgram) |
Person |
PersonServiceImpl.savePerson(Person person) |
PersonAttributeType |
PersonServiceImpl.savePersonAttributeType(PersonAttributeType type) |
Privilege |
UserServiceImpl.savePrivilege(Privilege privilege) |
void |
PatientServiceImpl.saveProblem(Problem problem) |
Program |
ProgramWorkflowServiceImpl.saveProgram(Program program) |
Relationship |
PersonServiceImpl.saveRelationship(Relationship relationship) |
RelationshipType |
PersonServiceImpl.saveRelationshipType(RelationshipType relationshipType) |
Role |
UserServiceImpl.saveRole(Role role) |
User |
UserServiceImpl.saveUser(User user,
String password) |
void |
AdministrationServiceImpl.setGlobalProperties(List<GlobalProperty> props)
Deprecated.
|
void |
AdministrationServiceImpl.setGlobalProperty(GlobalProperty gp)
Deprecated.
|
void |
AdministrationServiceImpl.setGlobalProperty(String propertyName,
String propertyValue)
Deprecated.
|
void |
ObsServiceImpl.setHandlers(Map<String,ComplexObsHandler> newHandlers) |
void |
AdministrationServiceImpl.setImplementationId(ImplementationId implementationId) |
Order |
OrderServiceImpl.undiscontinueOrder(Order order) |
Drug |
ConceptServiceImpl.unretireDrug(Drug drug) |
EncounterType |
EncounterServiceImpl.unretireEncounterType(EncounterType encounterType) |
Field |
FormServiceImpl.unretireField(Field field) |
void |
FormServiceImpl.unretireForm(Form form) |
Location |
LocationServiceImpl.unretireLocation(Location location) |
LocationTag |
LocationServiceImpl.unretireLocationTag(LocationTag tag) |
OrderType |
OrderServiceImpl.unretireOrderType(OrderType orderType) |
PatientIdentifierType |
PatientServiceImpl.unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
Program |
ProgramWorkflowServiceImpl.unRetireProgram(Program program) |
void |
AdministrationServiceImpl.unretireTribe(Tribe tribe)
Deprecated.
|
User |
UserServiceImpl.unretireUser(User user) |
Encounter |
EncounterServiceImpl.unvoidEncounter(Encounter encounter) |
Obs |
ObsServiceImpl.unvoidObs(Obs obs)
Unvoids an Obs
|
Order |
OrderServiceImpl.unvoidOrder(Order order) |
Patient |
PatientServiceImpl.unvoidPatient(Patient patient) |
Person |
PersonServiceImpl.unvoidPerson(Person person) |
Relationship |
PersonServiceImpl.unvoidRelationship(Relationship relationship) |
User |
UserServiceImpl.unvoidUser(User user) |
void |
AdministrationServiceImpl.updateConceptClass(ConceptClass cc)
Deprecated.
moved to ConceptService
|
void |
AdministrationServiceImpl.updateConceptDatatype(ConceptDatatype cd)
Deprecated.
moved to ConceptService
|
void |
ConceptServiceImpl.updateConceptIndex(Concept concept) |
void |
ConceptServiceImpl.updateConceptIndexes() |
void |
ConceptServiceImpl.updateConceptIndexes(Integer conceptIdStart,
Integer conceptIdEnd) |
void |
AdministrationServiceImpl.updateConceptProposal(ConceptProposal cp)
Deprecated.
moved to ConceptService
|
void |
AdministrationServiceImpl.updateConceptSetDerived()
Deprecated.
moved to ConceptService
|
void |
ConceptServiceImpl.updateConceptSetDerived() |
void |
AdministrationServiceImpl.updateConceptSetDerived(Concept concept)
Deprecated.
moved to ConceptService
|
void |
ConceptServiceImpl.updateConceptSetDerived(Concept concept) |
void |
AdministrationServiceImpl.updateConceptWord(Concept concept)
Deprecated.
moved to ConceptServiceImpl
|
void |
ConceptServiceImpl.updateConceptWord(Concept concept)
Deprecated.
|
void |
AdministrationServiceImpl.updateConceptWords()
Deprecated.
moved to ConceptServiceImpl
|
void |
ConceptServiceImpl.updateConceptWords()
Deprecated.
|
void |
AdministrationServiceImpl.updateConceptWords(Integer conceptIdStart,
Integer conceptIdEnd)
Deprecated.
moved to ConceptService
|
void |
ConceptServiceImpl.updateConceptWords(Integer conceptIdStart,
Integer conceptIdEnd)
Deprecated.
|
void |
EncounterServiceImpl.updateEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterServiceImpl.saveEncounter(Encounter) |
void |
AdministrationServiceImpl.updateEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormServiceImpl.updateField(Field field)
Deprecated.
|
void |
AdministrationServiceImpl.updateFieldType(FieldType fieldType)
Deprecated.
|
void |
FormServiceImpl.updateForm(Form form)
Deprecated.
|
void |
FormServiceImpl.updateFormField(FormField formField)
Deprecated.
|
void |
AdministrationServiceImpl.updateLocation(Location location)
Deprecated.
|
void |
AdministrationServiceImpl.updateMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsServiceImpl.updateObs(Obs obs)
Deprecated.
|
void |
OrderServiceImpl.updateOrder(Order order)
Deprecated.
|
void |
OrderServiceImpl.updateOrderType(OrderType orderType)
Deprecated.
|
Patient |
PatientServiceImpl.updatePatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
PatientServiceImpl.updatePatientIdentifier(PatientIdentifier pi)
Deprecated.
patient identifiers should not be updated directly; rather, after changing
patient identifiers, use
PatientServiceImpl.savePatient(Patient) to save changes to the
database |
void |
AdministrationServiceImpl.updatePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
PersonServiceImpl.updatePerson(Person person)
Deprecated.
|
void |
PersonServiceImpl.updatePersonAttributeType(PersonAttributeType type)
Deprecated.
|
void |
AdministrationServiceImpl.updatePrivilege(Privilege privilege)
Deprecated.
|
void |
PersonServiceImpl.updateRelationship(Relationship relationship)
Deprecated.
|
void |
PersonServiceImpl.updateRelationshipType(RelationshipType relationshipType)
Deprecated.
|
void |
AdministrationServiceImpl.updateReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.updateReportObject(AbstractReportObject reportObject)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.updateRole(Role role)
Deprecated.
|
void |
AdministrationServiceImpl.updateTribe(Tribe tribe)
Deprecated.
|
void |
UserServiceImpl.updateUser(User user)
Deprecated.
replaced by
UserServiceImpl.saveUser(User, String) |
ActiveListItem |
ActiveListServiceImpl.voidActiveListItem(ActiveListItem item,
String reason) |
void |
PatientServiceImpl.voidAllergy(Allergy allergy,
String reason) |
MimeType |
ObsServiceImpl.voidMimeType(MimeType mimeType,
String reason)
Deprecated.
|
Obs |
ObsServiceImpl.voidObs(Obs obs,
String reason)
Voids an Obs If the Obs argument is an obsGroup, all group members will be voided.
|
Order |
OrderServiceImpl.voidOrder(Order order,
String voidReason) |
Patient |
PatientServiceImpl.voidPatient(Patient patient,
String reason) |
PatientIdentifier |
PatientServiceImpl.voidPatientIdentifier(PatientIdentifier patientIdentifier,
String reason) |
Person |
PersonServiceImpl.voidPerson(Person person,
String reason) |
void |
PatientServiceImpl.voidProblem(Problem problem,
String reason) |
Relationship |
PersonServiceImpl.voidRelationship(Relationship relationship,
String voidReason) |
User |
UserServiceImpl.voidUser(User user,
String reason) |
Modifier and Type | Method and Description |
---|---|
void |
ArdenService.compile(String ardenRuleDefinition,
String outFolder)
Parse arden rule definition from a string and then output java file in the designated output
directory.
|
Modifier and Type | Method and Description |
---|---|
void |
ArdenServiceImpl.compile(String ardenRuleDefinition,
String outputDir) |
Modifier and Type | Method and Description |
---|---|
Integer |
HL7Service.countHL7InArchive(int messageState,
String query)
the total count of all HL7InArchive objects in the database
|
Integer |
HL7Service.countHL7InError(String query)
the total count of all HL7InError objects in the database
|
Integer |
HL7Service.countHL7InQueue(int messageState,
String query)
the total count of all HL7InQueue objects in the database
|
void |
HL7Service.createHL7Source(HL7Source hl7Source)
Deprecated.
|
List<HL7InArchive> |
HL7Service.getAllHL7InArchives()
Get all archive hl7 queue items from the database
|
List<HL7InError> |
HL7Service.getAllHL7InErrors()
Get all
HL7InError items from the database |
List<HL7InQueue> |
HL7Service.getAllHL7InQueues()
Return a list of all hl7 in queues in the database
|
List<HL7Source> |
HL7Service.getAllHL7Sources()
Get all of the hl7 source objects from the database.
|
static File |
HL7Util.getHl7ArchivesDirectory()
Gets the destination directory for hl7 archives.
|
List<HL7InArchive> |
HL7Service.getHL7InArchiveBatch(int start,
int length,
int messageState,
String query)
Return a list of all hl7 in archives based on batch settings and a query string
|
List<HL7InArchive> |
HL7Service.getHL7InArchiveByState(Integer state)
If hl7 migration has been run and the state matches that of processed items, the method
returns a list of all archives in the file system, for any other state , it returns an empty
list, this is because all archives would have a status of 'processed' after migration and all
deleted archives moved back into the queue with a status of 'deleted' otherwise it returns
archives with a matching state if migration hasn't yet been run.
|
HL7InArchive |
HL7Service.getHL7InArchiveByUuid(String uuid)
Get the archive item with the given uuid
|
HL7InError |
HL7Service.getHL7InError(Integer hl7InErrorId)
Get the error item with the given id
|
List<HL7InError> |
HL7Service.getHL7InErrorBatch(int start,
int length,
String query)
Return a list of all hl7 in errors based on batch settings and a query string
|
HL7InQueue |
HL7Service.getHL7InQueue(Integer hl7InQueueId)
Get the hl7 queue item with the given primary key id
|
List<HL7InQueue> |
HL7Service.getHL7InQueueBatch(int start,
int length,
int messageState,
String query)
Return a list of all hl7 in queues based on batch settings and a query string
|
List<HL7InQueue> |
HL7Service.getHL7InQueueByState(Integer state)
Get the queue items given a state (deleted, error, pending, processing, processed).
|
HL7Source |
HL7Service.getHL7Source(Integer hl7SourceId)
Auto generated method comment
|
HL7Source |
HL7Service.getHL7SourceByName(String name)
Get the hl7 source object from the database that has the given name
|
HL7InQueue |
HL7Service.getNextHL7InQueue()
Get the first queue item in the database
|
void |
HL7Service.loadHL7InArchiveData(HL7InArchive archive)
Loads HL7 data from the filesystem for an archived HL7InArchive
|
void |
HL7Service.loadHL7InArchiveData(List<HL7InArchive> archives)
Loads data for a list of HL7 archives from the filesystem
|
void |
HL7Service.migrateHl7InArchivesToFileSystem(Map<String,Integer> progressStatusMap)
Method is called by the archives migration thread to transfer hl7 in archives from the
hl7_in_archives database table to the file system
|
void |
HL7Service.purgeHL7InArchive(HL7InArchive hl7InArchive)
Completely delete the hl7 in archive item from the database
|
void |
HL7Service.purgeHL7InError(HL7InError hl7InError)
Completely remove this error item from the database
|
void |
HL7Service.purgeHL7Source(HL7Source hl7Source)
Completely remove the source from the database.
|
HL7Source |
HL7Service.retireHL7Source(HL7Source hl7Source)
Mark the given
hl7Source as no longer active |
HL7InArchive |
HL7Service.saveHL7InArchive(HL7InArchive hl7InArchive)
Save the given hl7 in archive to the database
|
HL7InError |
HL7Service.saveHL7InError(HL7InError hl7InError)
Save the given error item to the database
|
HL7InQueue |
HL7Service.saveHL7InQueue(HL7InQueue hl7InQueue)
Save the given
hl7InQueue to the database |
HL7Source |
HL7Service.saveHL7Source(HL7Source hl7Source)
Save the given
hl7Source to the database |
Modifier and Type | Class and Description |
---|---|
class |
ProposingConceptException
Represents a obs that should be a proposed concept
|
Modifier and Type | Method and Description |
---|---|
Integer |
HL7ServiceImpl.countHL7InArchive(int messageState,
String query) |
Integer |
HL7ServiceImpl.countHL7InError(String query) |
Integer |
HL7ServiceImpl.countHL7InQueue(int messageState,
String query) |
List<HL7InArchive> |
HL7ServiceImpl.getAllHL7InArchives() |
List<HL7InError> |
HL7ServiceImpl.getAllHL7InErrors() |
List<HL7InQueue> |
HL7ServiceImpl.getAllHL7InQueues() |
List<HL7Source> |
HL7ServiceImpl.getAllHL7Sources() |
List<HL7InArchive> |
HL7ServiceImpl.getHL7InArchiveBatch(int start,
int length,
int messageState,
String query) |
List<HL7InArchive> |
HL7ServiceImpl.getHL7InArchiveByState(Integer state) |
HL7InArchive |
HL7ServiceImpl.getHL7InArchiveByUuid(String uuid) |
List<HL7InError> |
HL7ServiceImpl.getHL7InErrorBatch(int start,
int length,
String query) |
List<HL7InQueue> |
HL7ServiceImpl.getHL7InQueueBatch(int start,
int length,
int messageState,
String query) |
List<HL7InQueue> |
HL7ServiceImpl.getHL7InQueueByState(Integer state) |
HL7Source |
HL7ServiceImpl.getHL7SourceByName(String name) |
void |
HL7ServiceImpl.loadHL7InArchiveData(HL7InArchive archive) |
void |
HL7ServiceImpl.loadHL7InArchiveData(List<HL7InArchive> archives) |
void |
HL7ServiceImpl.migrateHl7InArchivesToFileSystem(Map<String,Integer> progressStatusMap) |
void |
HL7ServiceImpl.purgeHL7InArchive(HL7InArchive hl7InArchive) |
void |
HL7ServiceImpl.purgeHL7InError(HL7InError hl7InError) |
void |
HL7ServiceImpl.purgeHL7Source(HL7Source hl7Source) |
HL7Source |
HL7ServiceImpl.retireHL7Source(HL7Source hl7Source) |
HL7InArchive |
HL7ServiceImpl.saveHL7InArchive(HL7InArchive hl7InArchive) |
HL7InError |
HL7ServiceImpl.saveHL7InError(HL7InError hl7InError) |
HL7InQueue |
HL7ServiceImpl.saveHL7InQueue(HL7InQueue hl7InQueue) |
HL7Source |
HL7ServiceImpl.saveHL7Source(HL7Source hl7Source) |
Modifier and Type | Class and Description |
---|---|
class |
ImmutableResultException |
Modifier and Type | Method and Description |
---|---|
void |
AlertService.createAlert(Alert alert)
Deprecated.
|
void |
AlertService.createAlert(String text,
Collection<User> users)
Deprecated.
|
void |
AlertService.createAlert(String text,
User user)
Deprecated.
|
Alert |
AlertService.getAlert(Integer alertId)
Get alert by internal identifier
|
List<Alert> |
AlertService.getAlerts()
Deprecated.
use
AlertService.getAlertsByUser(User) and pass "null" as the parameter for
user |
List<Alert> |
AlertService.getAlerts(User user)
Deprecated.
|
List<Alert> |
AlertService.getAlerts(User user,
boolean includeRead,
boolean includeExpired)
Finds alerts for the given user with the given status
|
List<Alert> |
AlertService.getAlertsByUser(User user)
Find the alerts that are not read and have not expired for a user This will probably be the
most commonly called method If null is passed in for
user , find alerts for the
currently authenticated user. |
List<Alert> |
AlertService.getAllActiveAlerts(User user)
Find all alerts for a user that have not expired
|
List<Alert> |
AlertService.getAllAlerts()
Get all unexpired alerts for all users
|
List<Alert> |
AlertService.getAllAlerts(boolean includeExpired)
Get alerts for all users while obeying includeExpired
|
List<Alert> |
AlertService.getAllAlerts(User user)
Deprecated.
use #getAlerts(User, boolean, boolean)
|
void |
AlertService.markAlertRead(Alert alert)
Deprecated.
|
void |
AlertService.purgeAlert(Alert alert)
Completely delete the given alert from the database
|
Alert |
AlertService.saveAlert(Alert alert)
Save the given
alert in the database |
void |
AlertService.updateAlert(Alert alert)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertServiceImpl.createAlert(Alert alert)
Deprecated.
|
void |
AlertServiceImpl.createAlert(String text,
Collection<User> users)
Deprecated.
|
void |
AlertServiceImpl.createAlert(String text,
User user)
Deprecated.
|
Alert |
AlertServiceImpl.getAlert(Integer alertId) |
List<Alert> |
AlertServiceImpl.getAlerts()
Deprecated.
|
List<Alert> |
AlertServiceImpl.getAlerts(User user)
Deprecated.
|
List<Alert> |
AlertServiceImpl.getAlerts(User user,
boolean includeRead,
boolean includeExpired) |
List<Alert> |
AlertServiceImpl.getAlertsByUser(User user) |
List<Alert> |
AlertServiceImpl.getAllActiveAlerts(User user) |
List<Alert> |
AlertServiceImpl.getAllAlerts() |
List<Alert> |
AlertServiceImpl.getAllAlerts(boolean includeExpired) |
List<Alert> |
AlertServiceImpl.getAllAlerts(User user)
Deprecated.
|
void |
AlertServiceImpl.markAlertRead(Alert alert)
Deprecated.
|
void |
AlertServiceImpl.purgeAlert(Alert alert) |
Alert |
AlertServiceImpl.saveAlert(Alert alert) |
void |
AlertServiceImpl.updateAlert(Alert alert)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Obs |
ComplexObsHandler.saveObs(Obs obs)
Save a complex obs.
|
Modifier and Type | Method and Description |
---|---|
Obs |
BinaryStreamHandler.saveObs(Obs obs) |
Obs |
ImageHandler.saveObs(Obs obs) |
Obs |
BinaryDataHandler.saveObs(Obs obs)
TODO should this support a StringReader too?
|
Modifier and Type | Method and Description |
---|---|
static Map<Concept,List<DrugOrder>> |
OrderUtil.getDrugSetsByConcepts(List<DrugOrder> drugOrders,
List<Concept> drugSets)
Splits the drug orders into sublists based on which drug set the order's drug belongs to
|
Modifier and Type | Class and Description |
---|---|
class |
UnallowedIdentifierException
UnallowedIdentifierException is thrown when a class tries to process an identifier given certain
expectations and those expectations are not held up.
|
Modifier and Type | Class and Description |
---|---|
class |
ParameterException
Deprecated.
see reportingcompatibility module
|
class |
RenderingException
Deprecated.
see reportingcompatibility module
|
class |
ReportRenderingException
Deprecated.
see reportingcompatibility module
|
Modifier and Type | Method and Description |
---|---|
Map<Class<? extends ReportRenderer>,ReportRenderer> |
ReportServiceImpl.getRenderers()
Deprecated.
|
ReportSchema |
ReportServiceImpl.getReportSchema(Integer reportSchemaId)
Deprecated.
|
ReportSchema |
ReportServiceImpl.getReportSchema(ReportSchemaXml reportSchemaXml)
Deprecated.
|
List<ReportSchema> |
ReportServiceImpl.getReportSchemas()
Deprecated.
|
void |
ReportServiceImpl.registerRenderer(Class<? extends ReportRenderer> rendererClass,
ReportRenderer renderer)
Deprecated.
|
void |
ReportServiceImpl.registerRenderer(String rendererClass)
Deprecated.
|
void |
ReportServiceImpl.setRenderers(Map<Class<? extends ReportRenderer>,ReportRenderer> newRenderers)
Deprecated.
ADDs renderers...doesn't replace them.
|
Modifier and Type | Method and Description |
---|---|
Integer |
ReportObjectService.createReportObject(AbstractReportObject reportObject)
Deprecated.
|
void |
ReportObjectService.createSearchHistory(CohortSearchHistory history)
Deprecated.
|
void |
ReportObjectService.deleteReport(AbstractReportObject reportObject)
Deprecated.
|
void |
ReportObjectService.deleteSearchHistory(CohortSearchHistory history)
Deprecated.
|
List<PatientFilter> |
ReportObjectService.getAllPatientFilters()
Deprecated.
Auto generated method comment
|
List<PatientSearch> |
ReportObjectService.getAllPatientSearches()
Deprecated.
Get all patient searches in the database
|
List<String> |
ReportObjectService.getAllReportObjectClasses()
Deprecated.
Auto generated method comment
|
List<AbstractReportObject> |
ReportObjectService.getAllReportObjects()
Deprecated.
Get all report objects stored in the system
|
List<CohortSearchHistory> |
ReportObjectService.getAllSearchHistories()
Deprecated.
Get all search histories stored in the database
|
String |
ReportObjectService.getDefaultReportObjectValidator()
Deprecated.
Auto generated method comment
|
PatientFilter |
ReportObjectService.getPatientFilterById(Integer filterId)
Deprecated.
Auto generated method comment
|
PatientFilter |
ReportObjectService.getPatientFilterByName(String filterName)
Deprecated.
Auto generated method comment
|
PatientSearch |
ReportObjectService.getPatientSearch(Integer searchId)
Deprecated.
Get patient search object by internal id or null if none found
|
PatientSearch |
ReportObjectService.getPatientSearch(String name)
Deprecated.
Get a patient search matching the name exactly or null if none found
|
AbstractReportObject |
ReportObjectService.getReportObject(Integer reportObjectId)
Deprecated.
Get the report object by internal id
|
String |
ReportObjectService.getReportObjectClassBySubType(String subType)
Deprecated.
|
List<AbstractReportObject> |
ReportObjectService.getReportObjectsByType(String reportObjectType)
Deprecated.
Get report objects by type that was stored.
|
List<String> |
ReportObjectService.getReportObjectSubTypes(String type)
Deprecated.
Get the current list of different sub types stored in the system
|
List<String> |
ReportObjectService.getReportObjectTypes()
Deprecated.
Get the current list of different reportObjectTypes stored in the system
|
String |
ReportObjectService.getReportObjectValidatorByClass(String currentClassName)
Deprecated.
Auto generated method comment
|
List<CohortSearchHistory> |
ReportObjectService.getSearchHistories()
Deprecated.
|
CohortSearchHistory |
ReportObjectService.getSearchHistory(Integer id)
Deprecated.
Get a CohortSearchHistory by internal id or null if none found
|
boolean |
ReportObjectService.isSubTypeOfType(String type,
String subType)
Deprecated.
Auto generated method comment
|
void |
ReportObjectService.purgeReportObject(AbstractReportObject reportObject)
Deprecated.
Completely delete the given reportObject from the database
|
void |
ReportObjectService.purgeSearchHistory(CohortSearchHistory history)
Deprecated.
Completely delete this method from the database
|
AbstractReportObject |
ReportObjectService.saveReportObject(AbstractReportObject reportObject)
Deprecated.
Save the given report object to the database
|
CohortSearchHistory |
ReportObjectService.saveSearchHistory(CohortSearchHistory history)
Deprecated.
TODO: why is this method in this service?
|
void |
ReportObjectService.updateReportObject(AbstractReportObject reportObject)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Integer |
ReportObjectServiceImpl.createReportObject(AbstractReportObject reportObject)
Deprecated.
|
void |
ReportObjectServiceImpl.deleteReport(AbstractReportObject reportObject)
Deprecated.
|
List<PatientFilter> |
ReportObjectServiceImpl.getAllPatientFilters()
Deprecated.
|
List<PatientSearch> |
ReportObjectServiceImpl.getAllPatientSearches()
Deprecated.
|
PatientFilter |
ReportObjectServiceImpl.getPatientFilterById(Integer filterId)
Deprecated.
|
PatientFilter |
ReportObjectServiceImpl.getPatientFilterByName(String filterName)
Deprecated.
|
PatientSearch |
ReportObjectServiceImpl.getPatientSearch(Integer searchId)
Deprecated.
|
PatientSearch |
ReportObjectServiceImpl.getPatientSearch(String name)
Deprecated.
|
AbstractReportObject |
ReportObjectServiceImpl.getReportObject(Integer reportObjectId)
Deprecated.
|
List<AbstractReportObject> |
ReportObjectServiceImpl.getReportObjectsByType(String reportObjectType)
Deprecated.
|
void |
ReportObjectServiceImpl.purgeReportObject(AbstractReportObject reportObject)
Deprecated.
|
AbstractReportObject |
ReportObjectServiceImpl.saveReportObject(AbstractReportObject reportObject)
Deprecated.
|
void |
ReportObjectServiceImpl.updateReportObject(AbstractReportObject reportObject)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
Security.encodeString(String strToEncode)
This method will hash
strToEncode using the preferred algorithm. |
static File |
OpenmrsUtil.getDirectoryInApplicationDataDirectory(String folderName)
Find the given folderName in the application data directory.
|
static String |
Security.getRandomToken()
This method will generate a random string
|
Modifier and Type | Method and Description |
---|---|
static void |
ValidateUtil.validate(Object obj)
Test the given object against all validators that are registered as compatible with the
object class
|
void |
ConceptValidator.validate(Object obj,
org.springframework.validation.Errors errors)
Checks that a given concept object is valid.
|
Modifier and Type | Method and Description |
---|---|
Vector |
DWREncounterService.findBatchOfEncounters(String phrase,
boolean includeVoided,
Integer start,
Integer length)
Returns a list of matching encounters (depending on values of start and length parameters) if
the length parameter is not specified, then all matches will be returned from the start index
if specified.
|
Vector<Object> |
DWREncounterService.findBatchOfLocations(String searchValue,
boolean includeRetired,
Integer start,
Integer length)
Returns a list of matching locations (depending on values of start and length parameters) if
the length parameter is not specified, then all matches will be returned from the start index
if specified.
|
Map<String,Object> |
DWRConceptService.findCountAndConcepts(String phrase,
boolean includeRetired,
List<String> includeClassNames,
List<String> excludeClassNames,
List<String> includeDatatypeNames,
List<String> excludeDatatypeNames,
Integer start,
Integer length,
boolean getMatchCount)
Returns a map of results with the values as count of matches and a partial list of the
matching concepts (depending on values of start and length parameters) while the keys are are
'count' and 'objectList' respectively, if the length parameter is not specified, then all
matches will be returned from the start index if specified.
|
Map<String,Object> |
DWREncounterService.findCountAndEncounters(String phrase,
boolean includeVoided,
Integer start,
Integer length,
boolean getMatchCount)
Returns a map of results with the values as count of matches and a partial list of the
matching encounters (depending on values of start and length parameters) while the keys are
are 'count' and 'objectList' respectively, if the length parameter is not specified, then all
matches will be returned from the start index if specified.
|
Map<String,Object> |
DWREncounterService.findCountAndLocations(String phrase,
boolean includeRetired,
Integer start,
Integer length,
boolean getMatchCount)
Returns a map of results with the values as count of matches and a partial list of the
matching locations (depending on values of start and length parameters) while the keys are
are 'count' and 'objectList' respectively, if the length parameter is not specified, then all
matches will be returned from the start index if specified.
|
Map<String,Object> |
DWRPatientService.findCountAndPatients(String searchValue,
Integer start,
Integer length,
boolean getMatchCount)
Returns a map of results with the values as count of matches and a partial list of the
matching patients (depending on values of start and length parameters) while the keys are are
'count' and 'objectList' respectively, if the length parameter is not specified, then all
matches will be returned from the start index if specified.
|
Map<String,Object> |
DWRPersonService.findCountAndPeople(String phrase,
boolean includeRetired,
String roles,
Integer start,
Integer length,
boolean getMatchCount)
Returns a map of results with the values as count of matches and a partial list of the
matching people (depending on values of start and length parameters) while the keys are are
'count' and 'objectList' respectively, if the length parameter is not specified, then all
matches will be returned from the start index if specified.
|
List<Object> |
DWRConceptService.findDrugs(String phrase,
boolean includeRetired) |
Vector |
DWREncounterService.findEncounters(String phrase,
boolean includeVoided)
Returns a list of encounters for patients with a matching name, identifier or encounterId if
phrase is a number.
|
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.