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.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.impl | |
org.openmrs.customdatatype | |
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.patient | |
org.openmrs.util |
Shared utilities for OpenMRS classes
|
org.openmrs.validator | |
org.openmrs.web.filter.initialization |
Modifier and Type | Class and Description |
---|---|
class |
AmbiguousOrderException
This exception is thrown on attempt to do some action with order, and there are multiple active
orders for the given concept so the action is ambiguous
|
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 |
CannotDeleteObjectInUseException
An instance of this exception is thrown if a delete operation is attempted on an object that is
referenced by others, typically this should be thrown when deleting an existing object is
detrimental to the integrity of objects referencing it or any other existing associated data.
|
class |
CannotDeleteRoleWithChildrenException
This exception is thrown when a user tries remove role with child.
|
class |
CannotStopDiscontinuationOrderException
Thrown when attempt is made to discontinue a discontinuation order.
|
class |
CannotStopInactiveOrderException
Thrown when the Order has already been discontinued.
|
class |
CannotUnvoidOrderException
Thrown when an attempt to unvoid an order fails.
|
class |
CannotUpdateObjectInUseException
An instance of this exception is thrown if an update operation is attempted on an object that is
referenced by others, typically this should be thrown when altering an existing object is
detrimental to the integrity of objects referencing it or any other existing associated data.
|
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 |
ConceptStopWordException
This exception is thrown whenever a concept stop word service failed.
|
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 |
EditedOrderDoesNotMatchPreviousException
Thrown when the new edited order contains modified properties that must be the same as previous
order.
|
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 |
FormsLockedException
This exception is thrown when a user tries to save or delete a form while forms are locked
|
class |
IdentifierNotUniqueException |
class |
InsufficientIdentifiersException |
class |
InvalidActivationKeyException
Represents fatal errors that occur due to invalid or expired activation key.
|
class |
InvalidCharactersPasswordException
Password exception when the password doesn't comply to the minimum set of required characters.
|
class |
InvalidCheckDigitException |
class |
InvalidFileTypeException
Exception thrown for situations of an invalid file type
|
class |
InvalidIdentifierFormatException |
class |
InvalidOperationOnObjectException
An instance of this exception is thrown if an operation is attempted on an object, typically this
should be thrown when any operation is made to an existing object and is considered detrimental
to the integrity of any existing associated data.
|
class |
MissingRequiredIdentifierException |
class |
MissingRequiredPropertyException
An instance of this exception is thrown when a required property has not been set on an Object.
|
class |
OrderEntryException
Superclass of all order entry related exceptions and should typically be thrown whenever there is
no more specific type can be thrown.
|
class |
PasswordException
Represents common exceptions that happen when validating a
User 's password. |
class |
PatientIdentifierException |
class |
PatientIdentifierTypeLockedException
This exception is thrown when a user tries manipulate of a patient identifier type while patient identifier types are locked
|
class |
PersonAttributeTypeLockedException
This exception is thrown when a user tries manipulate of a person attribute type while person attribute types are locked
|
class |
ProgramNameDuplicatedException
This exception is thrown when one attempts to retrieve a program by name while there accidentally
are more than one programs with the same name in the dB.
|
class |
ServiceNotFoundException |
class |
ShortPasswordException
Password exception when the length is less than the minimum allowed.
|
class |
UnchangeableObjectException
An instance of this exception is thrown if an attempt is made to update an unchangeable object
|
class |
UnchangeablePropertyException
An instance of this exception is thrown if an attempt is made to update an unchangeable property
on an object
|
class |
ValidationException
Represents often fatal errors that occur when an object fails validation
|
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 oldPassword,
String newPassword)
Changes the current user's password.
|
void |
UserService.changePassword(User user,
String newPassword)
Changes password of
User passed in |
void |
UserService.changePassword(User user,
String oldPassword,
String newPassword)
Change user password.
|
void |
UserService.changePasswordUsingSecretAnswer(String secretAnswer,
String pw)
Change user password given the answer to the secret question
|
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 |
ConceptService.convertBooleanConceptToCoded(Concept conceptToChange)
Changes the datatype of a concept from boolean to coded when it has observations it is
associated to.
|
User |
UserService.createUser(User user,
String password)
Create user with given password.
|
void |
ConceptService.deleteConceptStopWord(Integer conceptStopWordId)
Delete the given
ConceptStopWord in the database |
Form |
FormService.duplicateForm(Form form)
Duplicate this form and form_fields associated with this form
|
Visit |
VisitService.endVisit(Visit visit,
Date stopDate)
Sets the stopDate of a given visit.
|
List<ConceptSearchResult> |
ConceptService.findConceptAnswers(String phrase,
Locale locale,
Concept concept)
Finds concepts that are possible value coded answers to concept parameter
|
List<EncounterType> |
EncounterService.findEncounterTypes(String name)
Find Encounter Types with name matching the beginning of the search string.
|
List<ConceptMapType> |
ConceptService.getActiveConceptMapTypes()
Returns a list of concept map types currently in the database excluding hidden ones
|
List<Condition> |
ConditionService.getActiveConditions(Patient patient)
Gets a patient's active conditions
|
EncounterVisitHandler |
EncounterService.getActiveEncounterVisitHandler()
Gets the active handler for assigning visits to encounters.
|
List<Visit> |
VisitService.getActiveVisitsByPatient(Patient patient)
Convenience method that delegates to getVisitsByPatient(patient, false, false)
|
String |
LocationService.getAddressTemplate()
Returns the xml of default address template.
|
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<ConceptReferenceTerm> |
ConceptService.getAllConceptReferenceTerms()
Gets a list of all concept reference terms saved in the database
|
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(boolean includeRetired)
Return a list of concept sources currently in the database Whether or not to return retired
concept sources is decided by the boolean includeRetired param
|
List<ConceptStateConversion> |
ProgramWorkflowService.getAllConceptStateConversions()
Returns all conceptStateConversions
|
List<Condition> |
ConditionService.getAllConditions(Patient patient)
Gets all conditions i.e both active and inactive conditions, associated with a patient
|
List<DiagnosisAttributeType> |
DiagnosisService.getAllDiagnosisAttributeTypes()
Fetches all diagnosis attribute types including retired ones.
|
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.
|
Allergy |
PatientService.getAllergy(Integer allergyListId)
Returns the Allergy identified by internal Ingerger Id
|
Allergy |
PatientService.getAllergyByUuid(String uuid)
Returns the Allergy identified by uuid
|
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<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<OrderAttributeType> |
OrderService.getAllOrderAttributeTypes()
Returns all order attribute types
|
List<OrderGroupAttributeType> |
OrderService.getAllOrderGroupAttributeTypes()
Returns all order group attribute types
|
List<PatientIdentifierType> |
PatientService.getAllPatientIdentifierTypes()
Get all patientIdentifier types
Ordered same as
PatientIdentifierTypeDefaultComparator . |
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
|
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<Visit> |
VisitService.getAllVisits()
Gets all unvoided visits in the database.
|
Cohort |
CohortService.getCohort(Integer id)
Gets a Cohort by its database primary key
|
Cohort |
CohortService.getCohort(String name)
Deprecated.
|
Cohort |
CohortService.getCohortByName(String name)
Gets a non voided Cohort by its name
|
List<Cohort> |
CohortService.getCohorts(String nameFragment)
Returns Cohorts whose names match the given string.
|
List<Cohort> |
CohortService.getCohortsContainingPatient(Patient patient)
Deprecated.
use
CohortService.getCohortsContainingPatientId(Integer)
Find all Cohorts that contain the given patient. (Not including voided Cohorts) |
List<Cohort> |
CohortService.getCohortsContainingPatientId(Integer patientId)
Find all Cohorts that contain the given patientId right now.
|
Obs |
ObsService.getComplexObs(Integer obsId,
String view)
Deprecated.
as of 2.1.0, use
ObsService.getObs(Integer) |
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<ConceptAttributeType> |
ConceptService.getConceptAttributeTypes(String name)
Find concept attribute types matching the given parameters.
|
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
|
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<Integer> |
ConceptService.getConceptIdsByMapping(String code,
String sourceName,
boolean includeRetired)
Looks up concepts via
ConceptMap This will return the list of ids for all
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<ConceptMap> |
ConceptService.getConceptMappingsToSource(ConceptSource conceptSource)
Returns a list of mappings from concepts to terms in the given reference terminology
|
ConceptMapType |
ConceptService.getConceptMapType(Integer conceptMapTypeId)
Return a concept map type matching the given concept map type id
|
ConceptMapType |
ConceptService.getConceptMapTypeByName(String name)
Return a concept map type matching the given name
|
ConceptMapType |
ConceptService.getConceptMapTypeByUuid(String uuid)
Return a concept map type matching the given uuid
|
List<ConceptMapType> |
ConceptService.getConceptMapTypes(boolean includeRetired,
boolean includeHidden)
Returns a list of concept map types currently in the database including or excluding retired
and hidden ones as specified by the includeRetired and includeHidden arguments
|
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(String text)
Find matching concept proposals
|
ConceptReferenceTerm |
ConceptService.getConceptReferenceTerm(Integer conceptReferenceTermId)
Gets the concept reference term with the specified concept reference term id
|
ConceptReferenceTerm |
ConceptService.getConceptReferenceTermByCode(String code,
ConceptSource conceptSource)
Gets a concept reference term with the specified code from the specified concept source
|
List<ConceptReferenceTerm> |
ConceptService.getConceptReferenceTermByCode(String code,
ConceptSource conceptSource,
boolean includeRetired)
Gets a list of concept reference terms with the specified code from the specified concept source
|
ConceptReferenceTerm |
ConceptService.getConceptReferenceTermByName(String name,
ConceptSource conceptSource)
Gets a concept reference term with the specified name from the specified concept source
ignoring all retired ones
|
ConceptReferenceTerm |
ConceptService.getConceptReferenceTermByUuid(String uuid)
Gets the concept reference term with the specified uuid
|
List<ConceptReferenceTerm> |
ConceptService.getConceptReferenceTerms(boolean includeRetired)
Gets a list of concept reference terms saved in the database
|
List<ConceptReferenceTerm> |
ConceptService.getConceptReferenceTerms(String query,
ConceptSource conceptSource,
Integer start,
Integer length,
boolean includeRetired)
Finds the concept reference term in the database that have a code or name that contains the
specified search phrase.
|
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.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<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.getConceptSetsByConcept(Concept concept)
Return a list of the concept sets with concept_set matching concept
For example to find all concepts for ARVs, you would do
getConceptSets(getConcept("ANTIRETROVIRAL MEDICATIONS")) and then take the conceptIds from
the resulting list.
|
ConceptSource |
ConceptService.getConceptSource(Integer i)
Return a Concept source matching the given concept source id
|
ConceptSource |
ConceptService.getConceptSourceByHL7Code(String hl7Code)
Get a ConceptSource by its hl7Code.
|
ConceptSource |
ConceptService.getConceptSourceByName(String conceptSourceName)
Lookup a ConceptSource by its name property
|
ConceptSource |
ConceptService.getConceptSourceByUniqueId(String uniqueId)
Get a ConceptSource by its unique id.
|
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.
|
Condition |
ConditionService.getCondition(Integer conditionId)
Gets a condition by id
|
Condition |
ConditionService.getConditionByUuid(String uuid)
Gets a condition based on the uuid
|
List<Condition> |
ConditionService.getConditionsByEncounter(Encounter encounter)
Gets all conditions(not voided) of an encounter.
|
Integer |
ConceptService.getCountOfConceptReferenceTerms(String query,
ConceptSource conceptSource,
boolean includeRetired)
Returns the count of concept reference terms that match the specified arguments
|
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
|
ConceptMapType |
ConceptService.getDefaultConceptMapType()
Gets the concept map type to be used as the default.
|
Location |
LocationService.getDefaultLocation()
Returns the default location for this implementation.
|
DiagnosisAttribute |
DiagnosisService.getDiagnosisAttributeByUuid(String uuid)
Fetches a given diagnosis attribute using the provided uuid
|
DiagnosisAttributeType |
DiagnosisService.getDiagnosisAttributeTypeById(Integer id)
Fetches a given diagnosis attribute type using the provided id
|
DiagnosisAttributeType |
DiagnosisService.getDiagnosisAttributeTypeByUuid(String uuid)
Fetches a given diagnosis attribute type using the provided uuid
|
Order |
OrderService.getDiscontinuationOrder(Order order)
Get discontinuation order for the given order, it is the un voided discontinuation order with
a previousOrder that matches the specified order.
|
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.getDrugByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference)
Gets the "best" matching drug, i.e. matching the earliest ConceptMapType passed in e.g.
|
List<Drug> |
ConceptService.getDrugs(String phrase)
Find drugs in the system.
|
List<Drug> |
ConceptService.getDrugs(String drugName,
Concept concept,
boolean searchKeywords,
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
|
List<Drug> |
ConceptService.getDrugsByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypes,
boolean includeRetired)
Fetches all drugs with reference mappings to the specified concept source that match the
specified code and concept map types
|
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
|
EncounterRole |
EncounterService.getEncounterRole(Integer encounterRoleId)
Gets an encounter role when and internal encounter role id is provided.
|
EncounterRole |
EncounterService.getEncounterRoleByUuid(String uuid)
Get EncounterRole 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.getEncounters(String query,
Integer patientId,
Integer start,
Integer length,
boolean includeVoided)
Searches for encounters by patient id, provider identifier, location, encounter type,
provider, form or provider name.
|
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.getEncountersByPatientIdentifier(String identifier)
Get encounters (not voided) for a patient identifier
|
List<Encounter> |
EncounterService.getEncountersByVisitsAndPatient(Patient patient,
boolean includeVoided,
String query,
Integer start,
Integer length)
Gets encounters for the given patient.
|
Integer |
EncounterService.getEncountersByVisitsAndPatientCount(Patient patient,
boolean includeVoided,
String query)
Returns result count for
EncounterService.getEncountersByVisitsAndPatient(Patient, boolean, String, Integer, Integer) . |
List<Encounter> |
EncounterService.getEncountersNotAssignedToAnyVisit(Patient patient)
Gets the unvoided encounters for the specified patient that are not assigned to any visit.
|
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
|
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(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.getFieldTypeByName(String name)
Get FieldType by its name
|
FieldType |
FormService.getFieldTypeByUuid(String uuid)
Get FieldType by its UUID
|
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,
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
|
FormResource |
FormService.getFormResource(Form form,
String name)
Finds a FormResource based on a given Form and name
|
FormResource |
FormService.getFormResource(Integer formResourceId)
Finds a FormResource by its id
|
FormResource |
FormService.getFormResourceByUuid(String uuid)
Finds a FormResource by its uuid
|
Collection<FormResource> |
FormService.getFormResourcesForForm(Form form)
Finds all FormResources tied to a given form
|
List<Form> |
FormService.getFormsContainingConcept(Concept concept)
Returns all forms that contain the given concept as a field in their schema.
|
ComplexObsHandler |
ObsService.getHandler(Obs obs)
Get the ComplexObsHandler associated with a complex observation
Returns the ComplexObsHandler.
|
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
|
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 |
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 |
LocationService.getLocationByUuid(String uuid)
Returns a location by uuid
|
List<Location> |
LocationService.getLocations(String nameFragment)
Returns locations that match the beginning of the given string.
|
List<Location> |
LocationService.getLocations(String nameFragment,
Location parent,
Map<LocationAttributeType,Object> attributeValues,
boolean includeRetired,
Integer start,
Integer length)
Gets the locations matching the specified arguments.
|
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.
|
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.
|
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,
String accessionNumber) |
Integer |
ObsService.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<Visit> visits,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
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(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,
String accessionNumber) |
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,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
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
|
OrderAttribute |
OrderService.getOrderAttributeByUuid(String uuid)
Fetches a given order attribute using the provided uuid
|
OrderAttributeType |
OrderService.getOrderAttributeTypeById(Integer orderAttributeTypeId)
Fetches order attribute type using provided Id
|
OrderAttributeType |
OrderService.getOrderAttributeTypeByName(String orderAttributeTypeName)
Retrieves an order attribute type object based on the name provided
|
OrderAttributeType |
OrderService.getOrderAttributeTypeByUuid(String uuid)
Fetches order attribute type using provided uuid
|
Order |
OrderService.getOrderByUuid(String uuid)
Get Order by its UUID
|
OrderGroup |
OrderService.getOrderGroup(Integer orderGroupId)
Fetches the OrderGroup by Id.
|
OrderGroupAttribute |
OrderService.getOrderGroupAttributeByUuid(String uuid)
Fetches a given order group attribute using the provided uuid
|
OrderGroupAttributeType |
OrderService.getOrderGroupAttributeType(Integer orderGroupAttributeTypeId)
Fetches order group attribute type using provided Id
|
OrderGroupAttributeType |
OrderService.getOrderGroupAttributeTypeByName(String orderGroupAttributeTypeName)
Retrieves an order group attribute type object based on the name provided
|
OrderGroupAttributeType |
OrderService.getOrderGroupAttributeTypeByUuid(String uuid)
Fetches order group attribute type using provided uuid
|
OrderGroup |
OrderService.getOrderGroupByUuid(String uuid)
Fetches the OrderGroup By Uuid.
|
List<OrderGroup> |
OrderService.getOrderGroupsByEncounter(Encounter encounter)
Fetches all order groups for the specified encounter
|
List<OrderGroup> |
OrderService.getOrderGroupsByPatient(Patient patient)
Fetches all order groups for the specified patient
|
OrderSet |
OrderSetService.getOrderSet(Integer orderSetId)
Gets a specific OrderSet with the matched orderSet Id.
|
OrderSet |
OrderSetService.getOrderSetByUuid(String orderSetUuid)
Gets a specific OrderSet with the matched orderSet uuid.
|
List<OrderSet> |
OrderSetService.getOrderSets(boolean includeRetired)
Gets all OrderSets that match the specified parameters excluding discontinuation orderSets.
|
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(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
|
PatientIdentifierType |
PatientService.getPatientIdentifierType(Integer patientIdentifierTypeId)
Get patientIdentifierType by internal identifier
|
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(String name,
String format,
Boolean required,
Boolean hasCheckDigit)
Get all patientIdentifier types that match the given criteria
Ordered same as
PatientIdentifierTypeDefaultComparator . |
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. |
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,
boolean includeVoided,
Integer start,
Integer length) |
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,
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<Person> |
PersonService.getPeople(String searchPhrase,
Boolean dead)
Find a person matching the searchPhrase search string
|
List<Person> |
PersonService.getPeople(String searchPhrase,
Boolean dead,
Boolean voided) |
Person |
PersonService.getPerson(Integer personId)
Gets a person by internal id
|
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.getPersonAttributeTypeByName(String typeName)
Get the PersonAttributeType given the type's name
|
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 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
|
PersonMergeLog |
PersonService.getPersonMergeLogByUuid(String uuid,
boolean deserialize)
Gets a PersonMergeLog object from the model using the UUID identifier.
|
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.
|
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
|
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(String nameFragment)
Returns programs that match the given string.
|
List<Concept> |
ConceptService.getProposedConcepts(String text)
Find matching proposed concepts
|
List<Form> |
FormService.getPublishedForms()
Returns all published forms (not including retired ones)
|
List<ConceptReferenceTermMap> |
ConceptService.getReferenceTermMappingsTo(ConceptReferenceTerm term)
Fetches all the
ConceptReferenceTermMap where the specified reference term is the
termB i.e mappings added to other terms pointing to it |
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(Person fromPerson,
Person toPerson,
RelationshipType relType)
Get relationships stored in the database that
|
List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date effectiveDate)
Get relationships stored in the database that are active on the passed date
|
List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date startEffectiveDate,
Date endEffectiveDate)
Get relationships stored in the database that were active during the specified date range
|
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.getRelationshipsByPerson(Person p,
Date effectiveDate)
Get list of relationships that include Person in person_id or relative_id.
|
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(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
|
Order |
OrderService.getRevisionOrder(Order order)
Get revision order for the given order, it is the order with the changes that was created as
a replacement for the specified order.
|
Role |
UserService.getRole(String r)
Returns role object with given string role
|
Role |
UserService.getRoleByUuid(String uuid)
Get Role by its UUID
|
String |
UserService.getSecretQuestion(User user)
Returns secret question for the given user.
|
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.
|
User |
UserService.getUser(Integer userId)
Get user by internal user identifier.
|
User |
UserService.getUserByUuid(String uuid)
Get user by the given uuid.
|
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 includeRetired)
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
|
Visit |
VisitService.getVisit(Integer visitId)
Gets a visit by its visit id.
|
Visit |
VisitService.getVisitByUuid(String uuid)
Gets a visit by its UUID.
|
List<Visit> |
VisitService.getVisits(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,Object> attributeValues,
boolean includeInactive,
boolean includeVoided)
Gets the visits matching the specified arguments
|
List<Visit> |
VisitService.getVisits(VisitSearchCriteria visitSearchCriteria)
Gets the visits matching the specified search criteria
|
List<Visit> |
VisitService.getVisitsByPatient(Patient patient)
Gets all unvoided visits for the specified patient
|
List<Visit> |
VisitService.getVisitsByPatient(Patient patient,
boolean includeInactive,
boolean includeVoided)
Gets all visits for the specified patient
|
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 |
ProviderService.isProviderIdentifierUnique(Provider provider)
Checks if the identifier for the specified provider is unique
|
boolean |
UserService.isSecretAnswer(User u,
String answer)
Compares
answer against the user 's secret answer. |
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,
List<Patient> notPreferred)
Convenience method to join multiple patients' information into one record.
|
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)
|
void |
PatientService.processDeath(Patient patient,
Date dateDied,
Concept causeOfDeath,
String otherReason)
Convenience method to establish that a patient has died.
|
Cohort |
CohortService.purgeCohort(Cohort cohort)
Completely removes a Cohort from the database (not reversible)
|
void |
ConceptService.purgeConcept(Concept conceptOrConceptNumeric)
Completely purge a
Concept or ConceptNumeric from the database. |
void |
ConceptService.purgeConceptClass(ConceptClass cc)
Purge a ConceptClass
|
void |
ConceptService.purgeConceptMapType(ConceptMapType conceptMapType)
Completely purges a concept map type from the database
|
void |
ConceptService.purgeConceptNameTag(ConceptNameTag cnt)
Purge a ConceptNameTag
|
void |
ConceptService.purgeConceptProposal(ConceptProposal cp)
Removes a concept proposal from the database entirely.
|
void |
ConceptService.purgeConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm)
Purges the specified concept reference term from the database
|
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 |
ConditionService.purgeCondition(Condition condition)
Completely remove a condition from the database.
|
void |
DiagnosisService.purgeDiagnosis(Diagnosis diagnosis)
Completely remove a diagnosis from the database.
|
void |
DiagnosisService.purgeDiagnosisAttributeType(DiagnosisAttributeType diagnosisAttributeType)
Completely removes a diagnosis attribute type from the database
|
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.purgeEncounterRole(EncounterRole encounterRole)
Completely remove an encounter role 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 |
FormService.purgeFormResource(FormResource formResource)
Purges a form resource
|
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.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.purgeOrder(Order order,
boolean cascade)
Completely delete an order from the database.
|
void |
OrderService.purgeOrderAttributeType(OrderAttributeType orderAttributeType)
Completely removes an order attribute type from the database
|
void |
OrderService.purgeOrderFrequency(OrderFrequency orderFrequency)
Completely removes an order frequency from the database
|
void |
OrderService.purgeOrderGroupAttributeType(OrderGroupAttributeType orderGroupAttributeType)
Completely removes an order group attribute type from the database
|
void |
OrderService.purgeOrderType(OrderType orderType)
Completely removes an order type from the database
|
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 |
VisitService.purgeVisit(Visit visit)
Completely erases a visit from the database.
|
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 |
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 |
ObsService.removeHandler(String key)
Remove the handler associated with the key from list of available handlers
|
Cohort |
CohortService.removePatientFromCohort(Cohort cohort,
Patient patient)
Deprecated.
since 2.1.0 you should explicitly call either
CohortService.endCohortMembership(CohortMembership, Date) or CohortService.voidCohortMembership(CohortMembership, String) |
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
|
ConceptMapType |
ConceptService.retireConceptMapType(ConceptMapType conceptMapType,
String retireReason)
Retiring a concept map type essentially removes it from circulation
|
ConceptReferenceTerm |
ConceptService.retireConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm,
String retireReason)
Retiring a concept reference term essentially removes it from circulation
|
ConceptSource |
ConceptService.retireConceptSource(ConceptSource cs,
String reason)
This effectively removes a concept source from the database.
|
DiagnosisAttributeType |
DiagnosisService.retireDiagnosisAttributeType(DiagnosisAttributeType diagnosisAttributeType,
String reason)
Retires the given diagnosis attribute type in the database
|
Drug |
ConceptService.retireDrug(Drug drug,
String reason)
Retiring a Drug essentially removes it from circulation
|
EncounterRole |
EncounterService.retireEncounterRole(EncounterRole encounterRole,
String reason)
Retire an EncounterRole.
|
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.
|
OrderAttributeType |
OrderService.retireOrderAttributeType(OrderAttributeType orderAttributeType,
String reason)
Retires the given order attribute type in the database
|
OrderGroupAttributeType |
OrderService.retireOrderGroupAttributeType(OrderGroupAttributeType orderGroupAttributeType,
String reason)
Retires the given order group attribute type in the database
|
OrderSet |
OrderSetService.retireOrderSet(OrderSet orderSet,
String retireReason)
Retires and OrderSet, with matched OrderSet
|
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,
String reason)
Retires the given program
|
RelationshipType |
PersonService.retireRelationshipType(RelationshipType type,
String retiredReason)
Retire a Person Relationship Type
|
User |
UserService.retireUser(User user,
String reason)
Deactivate a user account so that it can no longer log in.
|
void |
LocationService.saveAddressTemplate(String xml)
Saved default address template to global properties
|
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)
|
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.
|
Concept |
ConceptService.saveConcept(Concept concept)
Save or update the given
Concept or ConceptNumeric in the database
If this is a new concept, the returned concept will have a new Concept.getConceptId()
inserted into it that was generated by the database |
ConceptClass |
ConceptService.saveConceptClass(ConceptClass cc)
Creates or updates a concept class
|
ConceptMapType |
ConceptService.saveConceptMapType(ConceptMapType conceptMapType)
Saves or updates the specified concept map type in the database
|
ConceptProposal |
ConceptService.saveConceptProposal(ConceptProposal conceptProposal)
Saves/updates/proposes a concept proposal
|
ConceptReferenceTerm |
ConceptService.saveConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm)
Stores the specified concept reference term to the database
|
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)
|
ConceptStopWord |
ConceptService.saveConceptStopWord(ConceptStopWord conceptStopWord)
Save the given
ConceptStopWord in the database
If this is a new concept stop word, the returned concept stop word will have a new
ConceptStopWord.getConceptStopWordId() inserted into it that was
generated by the database
|
Condition |
ConditionService.saveCondition(Condition condition)
Saves a condition
|
DiagnosisAttributeType |
DiagnosisService.saveDiagnosisAttributeType(DiagnosisAttributeType diagnosisAttributeType)
Creates or updates the given diagnosis attribute type in the database
|
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.
|
EncounterRole |
EncounterService.saveEncounterRole(EncounterRole encounterRole)
Saves a new encounter role or updates an existing encounter role.
|
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
|
FormResource |
FormService.saveFormResource(FormResource formResource)
Saves or updates the given form resource
|
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)
|
Obs |
ObsService.saveObs(Obs obs,
String changeMessage)
Save the given obs to the database.
|
Order |
OrderService.saveOrder(Order order,
OrderContext orderContext)
Save or update the given
order in the database. |
OrderAttributeType |
OrderService.saveOrderAttributeType(OrderAttributeType orderAttributeType)
Creates or updates the given order attribute type in the database
|
OrderFrequency |
OrderService.saveOrderFrequency(OrderFrequency orderFrequency)
Creates or updates the given order frequency in the database
|
OrderGroup |
OrderService.saveOrderGroup(OrderGroup orderGroup)
Saves the orderGroup.
|
OrderGroup |
OrderService.saveOrderGroup(OrderGroup orderGroup,
OrderContext orderContext)
Saves an order group with a specific order context
|
OrderGroupAttributeType |
OrderService.saveOrderGroupAttributeType(OrderGroupAttributeType orderGroupAttributeType)
Creates or updates the given order group attribute type in the database
|
OrderSet |
OrderSetService.saveOrderSet(OrderSet orderSet)
Save or update the given
orderSet 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.
|
PersonMergeLog |
PersonService.savePersonMergeLog(PersonMergeLog personMergeLog)
Builds the serialized data from
PersonMergeLog.getPersonMergeLogData() , sets the mergedData String,
and the creator and date if null. |
Privilege |
UserService.savePrivilege(Privilege privilege)
Save the given privilege in the database
|
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
|
Role |
UserService.saveRole(Role role)
Save the given role in the database
|
User |
UserService.saveUser(User user)
Updates a given
user in the database. |
Visit |
VisitService.saveVisit(Visit visit)
Creates or updates the given visit in the database.
|
VisitType |
VisitService.saveVisitType(VisitType visitType)
Creates or updates the given visit type in the database.
|
void |
ObsService.setHandlers(Map<String,ComplexObsHandler> handlers)
Add the given map to this service's handlers.
|
User |
UserService.setUserProperty(User user,
String key,
String value)
Adds the
key /value pair to the given user . |
ConceptMapType |
ConceptService.unretireConceptMapType(ConceptMapType conceptMapType)
Marks a concept map type that is currently retired as not retired.
|
ConceptReferenceTerm |
ConceptService.unretireConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm)
Marks a concept reference term that is currently retired as not retired.
|
DiagnosisAttributeType |
DiagnosisService.unretireDiagnosisAttributeType(DiagnosisAttributeType diagnosisAttributeType)
Restores a diagnosis attribute type that was previously retired
|
Drug |
ConceptService.unretireDrug(Drug drug)
Marks a drug that is currently retired as not retired.
|
EncounterRole |
EncounterService.unretireEncounterRole(EncounterRole encounterType)
Unretire an EncounterRole.
|
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.
|
OrderAttributeType |
OrderService.unretireOrderAttributeType(OrderAttributeType orderAttributeType)
Restores an order attribute type that was previously retired in the database
|
OrderGroupAttributeType |
OrderService.unretireOrderGroupAttributeType(OrderGroupAttributeType orderGroupAttributeType)
Restores an order group attribute type that was previously retired in the database
|
OrderSet |
OrderSetService.unretireOrderSet(OrderSet orderSet)
UnRetires and OrderSet, with matched OrderSet
|
PatientIdentifierType |
PatientService.unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Unretire a type of patient identifier
|
void |
PersonService.unretirePersonAttributeType(PersonAttributeType type)
Unretires a PersonAttribute type from the database (can be undone)
|
Program |
ProgramWorkflowService.unretireProgram(Program program)
Unretires the given program
|
User |
UserService.unretireUser(User user)
Clears retired flag for a user.
|
Condition |
ConditionService.unvoidCondition(Condition condition)
Revive a previously voided condition
|
Diagnosis |
DiagnosisService.unvoidDiagnosis(Diagnosis diagnosis)
Revive a diagnosis (pull a Lazarus)
|
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.
|
PersonAddress |
PersonService.unvoidPersonAddress(PersonAddress personAddress)
Unvoid PersonAddress in the database, effectively marking this as a valid PersonAddress again
|
PersonName |
PersonService.unvoidPersonName(PersonName personName)
Unvoid PersonName in the database, effectively marking this as a valid personName again
|
Relationship |
PersonService.unvoidRelationship(Relationship relationship)
Unvoid Relationship in the database, effectively marking this as a valid relationship again
|
Visit |
VisitService.unvoidVisit(Visit visit)
Unvoids the given visit.
|
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 updateConceptIndexes(Concept concept)
|
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.
|
Condition |
ConditionService.voidCondition(Condition condition,
String voidReason)
Voids a condition
|
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.
|
Relationship |
PersonService.voidRelationship(Relationship relationship,
String voidReason)
Voids the given Relationship, effectively removing it from openmrs.
|
Visit |
VisitService.voidVisit(Visit visit,
String reason)
Voids the given visit.
|
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 | Method and Description |
---|---|
<T> T |
ServiceContext.getRegisteredComponent(String beanName,
Class<T> type)
Retrieves a bean that match the given type (including subclasses) and name.
|
static <T> T |
Context.getRegisteredComponent(String beanName,
Class<T> type) |
Modifier and Type | Class and Description |
---|---|
class |
DAOException
Represents often fatal errors that occur within the database layer.
|
Modifier and Type | Method and Description |
---|---|
List<VisitType> |
VisitDAO.getAllVisitTypes() |
List<ConceptReferenceTerm> |
ConceptDAO.getConceptReferenceTerms(String query,
ConceptSource conceptSource,
Integer start,
Integer length,
boolean includeRetired) |
List<Condition> |
ConditionDAO.getConditionsByEncounter(Encounter encounter) |
List<Object[]> |
OrderDAO.getOrderFromDatabase(Order order,
boolean isOrderADrugOrder)
Get the fresh order from the database
|
Order |
OrderDAO.getRevisionOrder(Order order) |
Modifier and Type | Method and Description |
---|---|
List<ConceptReferenceTerm> |
HibernateConceptDAO.getConceptReferenceTerms(String query,
ConceptSource conceptSource,
Integer start,
Integer length,
boolean includeRetired) |
List<Condition> |
HibernateConditionDAO.getConditionsByEncounter(Encounter encounter) |
List<Object[]> |
HibernateOrderDAO.getOrderFromDatabase(Order order,
boolean isOrderADrugOrder) |
Order |
HibernateOrderDAO.getRevisionOrder(Order order) |
Modifier and Type | Method and Description |
---|---|
void |
UserServiceImpl.changeHashedPassword(User user,
String hashedPassword,
String salt) |
void |
UserServiceImpl.changePassword(String oldPassword,
String newPassword) |
void |
UserServiceImpl.changePassword(User user,
String oldPassword,
String newPassword) |
void |
UserServiceImpl.changePasswordUsingSecretAnswer(String secretAnswer,
String pw) |
void |
UserServiceImpl.changeQuestionAnswer(User u,
String question,
String answer) |
void |
ConceptServiceImpl.convertBooleanConceptToCoded(Concept conceptToChange) |
User |
UserServiceImpl.createUser(User user,
String password) |
void |
ConceptServiceImpl.deleteConceptStopWord(Integer conceptStopWordId) |
Form |
FormServiceImpl.duplicateForm(Form form)
Duplicate this form and form_fields associated with this form
|
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<EncounterType> |
EncounterServiceImpl.findEncounterTypes(String name) |
List<ConceptMapType> |
ConceptServiceImpl.getActiveConceptMapTypes() |
EncounterVisitHandler |
EncounterServiceImpl.getActiveEncounterVisitHandler() |
List<Visit> |
VisitServiceImpl.getActiveVisitsByPatient(Patient patient) |
String |
LocationServiceImpl.getAddressTemplate() |
List<Cohort> |
CohortServiceImpl.getAllCohorts() |
List<Cohort> |
CohortServiceImpl.getAllCohorts(boolean includeVoided) |
List<ConceptClass> |
ConceptServiceImpl.getAllConceptClasses() |
List<ConceptDatatype> |
ConceptServiceImpl.getAllConceptDatatypes(boolean includeRetired) |
List<ConceptReferenceTerm> |
ConceptServiceImpl.getAllConceptReferenceTerms() |
List<Concept> |
ConceptServiceImpl.getAllConcepts() |
List<Concept> |
ConceptServiceImpl.getAllConcepts(String sortBy,
boolean asc,
boolean includeRetired) |
List<ConceptStateConversion> |
ProgramWorkflowServiceImpl.getAllConceptStateConversions() |
List<DiagnosisAttributeType> |
DiagnosisServiceImpl.getAllDiagnosisAttributeTypes() |
List<EncounterType> |
EncounterServiceImpl.getAllEncounterTypes() |
List<EncounterType> |
EncounterServiceImpl.getAllEncounterTypes(boolean includeRetired) |
Allergy |
PatientServiceImpl.getAllergy(Integer allergyId) |
Allergy |
PatientServiceImpl.getAllergyByUuid(String uuid) |
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<OrderAttributeType> |
OrderServiceImpl.getAllOrderAttributeTypes() |
List<OrderGroupAttributeType> |
OrderServiceImpl.getAllOrderGroupAttributeTypes() |
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() |
List<Visit> |
VisitServiceImpl.getAllVisits() |
Cohort |
CohortServiceImpl.getCohort(String name) |
Cohort |
CohortServiceImpl.getCohortByName(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<ConceptAttributeType> |
ConceptServiceImpl.getConceptAttributeTypes(String name) |
Concept |
ConceptServiceImpl.getConceptByMapping(String code,
String sourceName) |
Concept |
ConceptServiceImpl.getConceptByMapping(String code,
String sourceName,
Boolean includeRetired) |
List<Integer> |
ConceptServiceImpl.getConceptIdsByMapping(String code,
String sourceName,
boolean includeRetired) |
List<ConceptMap> |
ConceptServiceImpl.getConceptMappingsToSource(ConceptSource conceptSource) |
ConceptMapType |
ConceptServiceImpl.getConceptMapType(Integer conceptMapTypeId) |
ConceptMapType |
ConceptServiceImpl.getConceptMapTypeByName(String name) |
ConceptMapType |
ConceptServiceImpl.getConceptMapTypeByUuid(String uuid) |
List<ConceptMapType> |
ConceptServiceImpl.getConceptMapTypes(boolean includeRetired,
boolean includeHidden) |
ConceptName |
ConceptServiceImpl.getConceptName(Integer conceptNameId) |
ConceptNumeric |
ConceptServiceImpl.getConceptNumeric(Integer conceptId) |
ConceptReferenceTerm |
ConceptServiceImpl.getConceptReferenceTerm(Integer conceptReferenceTermId) |
ConceptReferenceTerm |
ConceptServiceImpl.getConceptReferenceTermByCode(String code,
ConceptSource conceptSource) |
List<ConceptReferenceTerm> |
ConceptServiceImpl.getConceptReferenceTermByCode(String code,
ConceptSource conceptSource,
boolean includeRetired) |
ConceptReferenceTerm |
ConceptServiceImpl.getConceptReferenceTermByName(String name,
ConceptSource conceptSource) |
ConceptReferenceTerm |
ConceptServiceImpl.getConceptReferenceTermByUuid(String uuid) |
List<ConceptReferenceTerm> |
ConceptServiceImpl.getConceptReferenceTerms(boolean includeRetired) |
List<ConceptReferenceTerm> |
ConceptServiceImpl.getConceptReferenceTerms(String query,
ConceptSource conceptSource,
Integer start,
Integer length,
boolean includeRetired) |
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.getConceptsByAnswer(Concept concept) |
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.getConceptSourceByHL7Code(String hl7Code) |
ConceptSource |
ConceptServiceImpl.getConceptSourceByName(String conceptSourceName) |
ConceptSource |
ConceptServiceImpl.getConceptSourceByUniqueId(String uniqueId) |
List<Condition> |
ConditionServiceImpl.getConditionsByEncounter(Encounter encounter) |
Integer |
ConceptServiceImpl.getCountOfDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired) |
ConceptMapType |
ConceptServiceImpl.getDefaultConceptMapType() |
Location |
LocationServiceImpl.getDefaultLocation() |
DiagnosisAttribute |
DiagnosisServiceImpl.getDiagnosisAttributeByUuid(String uuid) |
DiagnosisAttributeType |
DiagnosisServiceImpl.getDiagnosisAttributeTypeById(Integer id) |
DiagnosisAttributeType |
DiagnosisServiceImpl.getDiagnosisAttributeTypeByUuid(String uuid) |
Order |
OrderServiceImpl.getDiscontinuationOrder(Order order) |
Drug |
ConceptServiceImpl.getDrug(Integer drugId) |
Drug |
ConceptServiceImpl.getDrugByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
List<Drug> |
ConceptServiceImpl.getDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
Integer start,
Integer length) |
List<Drug> |
ConceptServiceImpl.getDrugs(String searchPhrase,
Locale locale,
boolean exactLocale,
boolean includeRetired) |
List<Drug> |
ConceptServiceImpl.getDrugsByIngredient(Concept ingredient) |
List<Drug> |
ConceptServiceImpl.getDrugsByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypes,
boolean includeRetired) |
List<Patient> |
PatientServiceImpl.getDuplicatePatientsByAttributes(List<String> attributes) |
Encounter |
EncounterServiceImpl.getEncounter(Integer encounterId) |
Encounter |
EncounterServiceImpl.getEncounterByUuid(String uuid) |
EncounterRole |
EncounterServiceImpl.getEncounterRole(Integer encounterRoleId) |
EncounterRole |
EncounterServiceImpl.getEncounterRoleByUuid(String uuid) |
List<Encounter> |
EncounterServiceImpl.getEncounters(String query,
Integer start,
Integer length,
boolean includeVoided) |
List<Encounter> |
EncounterServiceImpl.getEncounters(String query,
Integer patientId,
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.getEncountersByPatientIdentifier(String identifier) |
List<Encounter> |
EncounterServiceImpl.getEncountersByVisitsAndPatient(Patient patient,
boolean includeVoided,
String query,
Integer start,
Integer length) |
Integer |
EncounterServiceImpl.getEncountersByVisitsAndPatientCount(Patient patient,
boolean includeVoided,
String query) |
List<Encounter> |
EncounterServiceImpl.getEncountersNotAssignedToAnyVisit(Patient patient) |
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(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.getFieldTypeByName(String name) |
FieldType |
FormServiceImpl.getFieldTypeByUuid(String uuid) |
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,
Collection<FormField> ignoreFormFields,
boolean force) |
FormField |
FormServiceImpl.getFormField(Integer formFieldId) |
FormField |
FormServiceImpl.getFormFieldByUuid(String uuid) |
FormResource |
FormServiceImpl.getFormResource(Form form,
String name) |
FormResource |
FormServiceImpl.getFormResource(Integer formResourceId) |
FormResource |
FormServiceImpl.getFormResourceByUuid(String uuid) |
Collection<FormResource> |
FormServiceImpl.getFormResourcesForForm(Form form) |
List<Form> |
FormServiceImpl.getFormsContainingConcept(Concept concept) |
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) |
Map<String,ComplexObsHandler> |
ObsServiceImpl.getHandlers() |
ImplementationId |
AdministrationServiceImpl.getImplementationId() |
Location |
LocationServiceImpl.getLocation(Integer locationId) |
Location |
LocationServiceImpl.getLocation(String name) |
Location |
LocationServiceImpl.getLocationByUuid(String uuid) |
List<Location> |
LocationServiceImpl.getLocations(String nameFragment) |
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) |
String |
OrderServiceImpl.getNewOrderNumber(OrderContext orderContext) |
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) |
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,
String accessionNumber) |
Integer |
ObsServiceImpl.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<Visit> visits,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
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.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,
String accessionNumber) |
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,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Obs> |
ObsServiceImpl.getObservationsByPersonAndConcept(Person who,
Concept question) |
Order |
OrderServiceImpl.getOrder(Integer orderId) |
OrderAttribute |
OrderServiceImpl.getOrderAttributeByUuid(String uuid) |
OrderAttributeType |
OrderServiceImpl.getOrderAttributeTypeById(Integer id) |
OrderAttributeType |
OrderServiceImpl.getOrderAttributeTypeByName(String orderAttributeTypeName) |
OrderAttributeType |
OrderServiceImpl.getOrderAttributeTypeByUuid(String uuid) |
Order |
OrderServiceImpl.getOrderByUuid(String uuid) |
OrderGroup |
OrderServiceImpl.getOrderGroup(Integer orderGroupId) |
OrderGroupAttribute |
OrderServiceImpl.getOrderGroupAttributeByUuid(String uuid) |
OrderGroupAttributeType |
OrderServiceImpl.getOrderGroupAttributeType(Integer id) |
OrderGroupAttributeType |
OrderServiceImpl.getOrderGroupAttributeTypeByName(String orderGroupAttributeTypeName) |
OrderGroupAttributeType |
OrderServiceImpl.getOrderGroupAttributeTypeByUuid(String uuid) |
OrderGroup |
OrderServiceImpl.getOrderGroupByUuid(String uuid) |
List<OrderGroup> |
OrderServiceImpl.getOrderGroupsByEncounter(Encounter encounter) |
List<OrderGroup> |
OrderServiceImpl.getOrderGroupsByPatient(Patient patient) |
OrderSet |
OrderSetServiceImpl.getOrderSet(Integer orderSetId) |
OrderSet |
OrderSetServiceImpl.getOrderSetByUuid(String orderSetUuid) |
List<OrderSet> |
OrderSetServiceImpl.getOrderSets(boolean includeRetired) |
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(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierType(Integer patientIdentifierTypeId) |
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierTypeByName(String name) |
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierTypeByUuid(String uuid) |
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,
boolean includeVoided,
Integer start,
Integer length) |
List<Patient> |
PatientServiceImpl.getPatients(String query,
Integer start,
Integer length) |
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<Person> |
PersonServiceImpl.getPeople(String searchPhrase,
Boolean dead) |
List<Person> |
PersonServiceImpl.getPeople(String searchPhrase,
Boolean dead,
Boolean voided) |
Person |
PersonServiceImpl.getPerson(Integer personId) |
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 exactName,
String format,
Integer foreignKey,
Boolean searchable) |
Person |
PersonServiceImpl.getPersonByUuid(String uuid) |
PersonMergeLog |
PersonServiceImpl.getPersonMergeLogByUuid(String uuid,
boolean deserialize) |
PersonName |
PersonServiceImpl.getPersonNameByUuid(String uuid) |
List<String> |
LocationServiceImpl.getPossibleAddressValues(Address incomplete,
String fieldName) |
Privilege |
UserServiceImpl.getPrivilege(String p) |
Privilege |
UserServiceImpl.getPrivilegeByUuid(String uuid) |
Program |
ProgramWorkflowServiceImpl.getProgramByName(String name) |
List<Program> |
ProgramWorkflowServiceImpl.getPrograms(String nameFragment) |
List<Form> |
FormServiceImpl.getPublishedForms() |
List<ConceptReferenceTermMap> |
ConceptServiceImpl.getReferenceTermMappingsTo(ConceptReferenceTerm term) |
Relationship |
PersonServiceImpl.getRelationship(Integer relationshipId) |
Relationship |
PersonServiceImpl.getRelationshipByUuid(String uuid) |
Map<Person,List<Person>> |
PersonServiceImpl.getRelationshipMap(RelationshipType relType) |
List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date effectiveDate) |
List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
Date startEffectiveDate,
Date endEffectiveDate) |
List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p) |
List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p,
Date effectiveDate) |
RelationshipType |
PersonServiceImpl.getRelationshipType(Integer relationshipTypeId) |
RelationshipType |
PersonServiceImpl.getRelationshipTypeByName(String relationshipTypeName) |
RelationshipType |
PersonServiceImpl.getRelationshipTypeByUuid(String uuid) |
List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes(String searchString) |
List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes(String relationshipTypeName,
Boolean preferred) |
Order |
OrderServiceImpl.getRevisionOrder(Order order) |
Role |
UserServiceImpl.getRole(String r) |
Role |
UserServiceImpl.getRoleByUuid(String uuid) |
List<Location> |
LocationServiceImpl.getRootLocations(boolean includeRetired) |
List<Locale> |
AdministrationServiceImpl.getSearchLocales(Locale currentLocale,
User user) |
String |
UserServiceImpl.getSecretQuestion(User user) |
Set<Person> |
PersonServiceImpl.getSimilarPeople(String name,
Integer birthyear,
String gender) |
Map<String,Map<String,String>> |
AdministrationServiceImpl.getSystemInformation() |
SortedMap<String,String> |
AdministrationServiceImpl.getSystemVariables() |
User |
UserServiceImpl.getUser(Integer userId) |
User |
UserServiceImpl.getUserByUsername(String username) |
User |
UserServiceImpl.getUserByUuid(String uuid) |
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) |
Visit |
VisitServiceImpl.getVisit(Integer visitId) |
Visit |
VisitServiceImpl.getVisitByUuid(String uuid) |
List<Visit> |
VisitServiceImpl.getVisits(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,Object> attributeValues,
boolean includeInactive,
boolean includeVoided) |
List<Visit> |
VisitServiceImpl.getVisits(VisitSearchCriteria visitSearchCriteria) |
List<Visit> |
VisitServiceImpl.getVisitsByPatient(Patient patient) |
List<Visit> |
VisitServiceImpl.getVisitsByPatient(Patient patient,
boolean includeInactive,
boolean includeVoided) |
boolean |
ConceptServiceImpl.hasAnyObservation(ConceptName conceptName) |
boolean |
UserServiceImpl.hasDuplicateUsername(User user) |
boolean |
ProviderServiceImpl.isProviderIdentifierUnique(Provider provider) |
Concept |
ConceptServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept) |
Concept |
ConceptServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept,
Locale locale) |
int |
FormServiceImpl.mergeDuplicateFields() |
void |
PatientServiceImpl.mergePatients(Patient preferred,
List<Patient> notPreferred) |
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 |
CohortServiceImpl.notifyPatientUnvoided(Patient patient,
User originallyVoidedBy,
Date originalDateVoided) |
void |
CohortServiceImpl.notifyPatientVoided(Patient patient) |
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.
|
Cohort |
CohortServiceImpl.purgeCohort(Cohort cohort) |
void |
CohortServiceImpl.purgeCohortMembership(CohortMembership cohortMembership) |
protected boolean |
ObsServiceImpl.purgeComplexData(Obs obs)
Internal method to remove ComplexData when an Obs is purged.
|
void |
ConceptServiceImpl.purgeConcept(Concept concept) |
void |
ConceptServiceImpl.purgeConceptMapType(ConceptMapType conceptMapType) |
void |
ConceptServiceImpl.purgeConceptProposal(ConceptProposal cp) |
void |
ConceptServiceImpl.purgeConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) |
ConceptSource |
ConceptServiceImpl.purgeConceptSource(ConceptSource cs) |
void |
ProgramWorkflowServiceImpl.purgeConceptStateConversion(ConceptStateConversion conceptStateConversion) |
void |
ProgramWorkflowServiceImpl.purgeConceptStateConversion(ConceptStateConversion conceptStateConversion,
boolean cascade) |
void |
DiagnosisServiceImpl.purgeDiagnosisAttributeType(DiagnosisAttributeType diagnosisAttributeType) |
void |
ConceptServiceImpl.purgeDrug(Drug drug) |
void |
EncounterServiceImpl.purgeEncounter(Encounter encounter) |
void |
EncounterServiceImpl.purgeEncounter(Encounter encounter,
boolean cascade) |
void |
EncounterServiceImpl.purgeEncounterRole(EncounterRole encounterRole) |
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 |
FormServiceImpl.purgeFormResource(FormResource formResource) |
void |
AdministrationServiceImpl.purgeGlobalProperties(List<GlobalProperty> globalProperties) |
void |
AdministrationServiceImpl.purgeGlobalProperty(GlobalProperty globalProperty) |
void |
LocationServiceImpl.purgeLocation(Location location) |
void |
LocationServiceImpl.purgeLocationTag(LocationTag tag) |
void |
MedicationDispenseServiceImpl.purgeMedicationDispense(MedicationDispense medicationDispense) |
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.purgeOrderAttributeType(OrderAttributeType orderAttributeType) |
void |
OrderServiceImpl.purgeOrderGroupAttributeType(OrderGroupAttributeType orderGroupAttributeType) |
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 |
VisitServiceImpl.purgeVisit(Visit visit) |
void |
ObsServiceImpl.registerHandler(String key,
ComplexObsHandler handler) |
void |
ObsServiceImpl.registerHandler(String key,
String handlerClass) |
void |
PatientServiceImpl.removeAllergy(Allergy allergy,
String reason) |
Concept |
ConceptServiceImpl.retireConcept(Concept concept,
String reason) |
ConceptMapType |
ConceptServiceImpl.retireConceptMapType(ConceptMapType conceptMapType,
String retireReason) |
ConceptReferenceTerm |
ConceptServiceImpl.retireConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm,
String retireReason) |
ConceptSource |
ConceptServiceImpl.retireConceptSource(ConceptSource cs,
String reason) |
DiagnosisAttributeType |
DiagnosisServiceImpl.retireDiagnosisAttributeType(DiagnosisAttributeType diagnosisAttributeType,
String reason) |
Drug |
ConceptServiceImpl.retireDrug(Drug drug,
String reason) |
EncounterRole |
EncounterServiceImpl.retireEncounterRole(EncounterRole encounterRole,
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) |
OrderAttributeType |
OrderServiceImpl.retireOrderAttributeType(OrderAttributeType orderAttributeType,
String reason) |
OrderGroupAttributeType |
OrderServiceImpl.retireOrderGroupAttributeType(OrderGroupAttributeType orderGroupAttributeType,
String reason) |
OrderSet |
OrderSetServiceImpl.retireOrderSet(OrderSet orderSet,
String retireReason) |
PatientIdentifierType |
PatientServiceImpl.retirePatientIdentifierType(PatientIdentifierType patientIdentifierType,
String reason) |
PersonAttributeType |
PersonServiceImpl.retirePersonAttributeType(PersonAttributeType type,
String retiredReason) |
Program |
ProgramWorkflowServiceImpl.retireProgram(Program program,
String reason) |
RelationshipType |
PersonServiceImpl.retireRelationshipType(RelationshipType type,
String retiredReason) |
User |
UserServiceImpl.retireUser(User user,
String reason) |
void |
LocationServiceImpl.saveAddressTemplate(String xml) |
void |
PatientServiceImpl.saveAllergy(Allergy allergy) |
void |
PatientServiceImpl.saveCauseOfDeathObs(Patient patient,
Date deathDate,
Concept cause,
String otherReason) |
Cohort |
CohortServiceImpl.saveCohort(Cohort cohort) |
Concept |
ConceptServiceImpl.saveConcept(Concept concept) |
ConceptClass |
ConceptServiceImpl.saveConceptClass(ConceptClass cc) |
ConceptMapType |
ConceptServiceImpl.saveConceptMapType(ConceptMapType conceptMapType) |
ConceptProposal |
ConceptServiceImpl.saveConceptProposal(ConceptProposal conceptProposal) |
ConceptReferenceTerm |
ConceptServiceImpl.saveConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) |
ConceptSource |
ConceptServiceImpl.saveConceptSource(ConceptSource conceptSource) |
ConceptStateConversion |
ProgramWorkflowServiceImpl.saveConceptStateConversion(ConceptStateConversion csc) |
ConceptStopWord |
ConceptServiceImpl.saveConceptStopWord(ConceptStopWord conceptStopWord) |
Condition |
ConditionServiceImpl.saveCondition(Condition condition)
Saves a condition
|
DiagnosisAttributeType |
DiagnosisServiceImpl.saveDiagnosisAttributeType(DiagnosisAttributeType diagnosisAttributeType) |
Drug |
ConceptServiceImpl.saveDrug(Drug drug) |
Encounter |
EncounterServiceImpl.saveEncounter(Encounter encounter) |
EncounterRole |
EncounterServiceImpl.saveEncounterRole(EncounterRole encounterRole) |
Field |
FormServiceImpl.saveField(Field field) |
FieldType |
FormServiceImpl.saveFieldType(FieldType fieldType) |
Form |
FormServiceImpl.saveForm(Form form) |
FormField |
FormServiceImpl.saveFormField(FormField formField) |
FormResource |
FormServiceImpl.saveFormResource(FormResource formResource) |
List<GlobalProperty> |
AdministrationServiceImpl.saveGlobalProperties(List<GlobalProperty> props) |
GlobalProperty |
AdministrationServiceImpl.saveGlobalProperty(GlobalProperty gp) |
Location |
LocationServiceImpl.saveLocation(Location location) |
LocationTag |
LocationServiceImpl.saveLocationTag(LocationTag tag) |
Obs |
ObsServiceImpl.saveObs(Obs obs,
String changeMessage) |
Order |
OrderServiceImpl.saveOrder(Order order,
OrderContext orderContext) |
OrderAttributeType |
OrderServiceImpl.saveOrderAttributeType(OrderAttributeType orderAttributeType) |
OrderFrequency |
OrderServiceImpl.saveOrderFrequency(OrderFrequency orderFrequency) |
OrderGroup |
OrderServiceImpl.saveOrderGroup(OrderGroup orderGroup) |
OrderGroup |
OrderServiceImpl.saveOrderGroup(OrderGroup orderGroup,
OrderContext orderContext) |
OrderGroupAttributeType |
OrderServiceImpl.saveOrderGroupAttributeType(OrderGroupAttributeType orderGroupAttributeType) |
OrderSet |
OrderSetServiceImpl.saveOrderSet(OrderSet orderSet) |
Patient |
PatientServiceImpl.savePatient(Patient patient) |
PatientIdentifier |
PatientServiceImpl.savePatientIdentifier(PatientIdentifier patientIdentifier) |
PatientIdentifierType |
PatientServiceImpl.savePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
PatientProgram |
ProgramWorkflowServiceImpl.savePatientProgram(PatientProgram patientProgram) |
Person |
PersonServiceImpl.savePerson(Person person) |
PersonAttributeType |
PersonServiceImpl.savePersonAttributeType(PersonAttributeType type) |
PersonMergeLog |
PersonServiceImpl.savePersonMergeLog(PersonMergeLog personMergeLog) |
PersonName |
PersonServiceImpl.savePersonName(PersonName personName) |
Privilege |
UserServiceImpl.savePrivilege(Privilege privilege) |
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) |
Visit |
VisitServiceImpl.saveVisit(Visit visit) |
VisitType |
VisitServiceImpl.saveVisitType(VisitType visitType) |
void |
AdministrationServiceImpl.setGlobalProperty(String propertyName,
String propertyValue) |
void |
ObsServiceImpl.setHandlers(Map<String,ComplexObsHandler> newHandlers) |
void |
AdministrationServiceImpl.setImplementationId(ImplementationId implementationId) |
ConceptMapType |
ConceptServiceImpl.unretireConceptMapType(ConceptMapType conceptMapType) |
ConceptReferenceTerm |
ConceptServiceImpl.unretireConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) |
DiagnosisAttributeType |
DiagnosisServiceImpl.unretireDiagnosisAttributeType(DiagnosisAttributeType diagnosisAttributeType) |
Drug |
ConceptServiceImpl.unretireDrug(Drug drug) |
EncounterRole |
EncounterServiceImpl.unretireEncounterRole(EncounterRole encounterRole) |
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) |
OrderAttributeType |
OrderServiceImpl.unretireOrderAttributeType(OrderAttributeType orderAttributeType) |
OrderGroupAttributeType |
OrderServiceImpl.unretireOrderGroupAttributeType(OrderGroupAttributeType orderGroupAttributeType) |
OrderSet |
OrderSetServiceImpl.unretireOrderSet(OrderSet orderSet) |
PatientIdentifierType |
PatientServiceImpl.unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
void |
PersonServiceImpl.unretirePersonAttributeType(PersonAttributeType type) |
Program |
ProgramWorkflowServiceImpl.unretireProgram(Program program) |
User |
UserServiceImpl.unretireUser(User user) |
Encounter |
EncounterServiceImpl.unvoidEncounter(Encounter encounter) |
Obs |
ObsServiceImpl.unvoidObs(Obs obs)
Unvoids an Obs
If the Obs argument is an obsGroup, all group members with the same dateVoided will also be
unvoided.
|
Order |
OrderServiceImpl.unvoidOrder(Order order) |
Patient |
PatientServiceImpl.unvoidPatient(Patient patient) |
Person |
PersonServiceImpl.unvoidPerson(Person person) |
PersonAddress |
PersonServiceImpl.unvoidPersonAddress(PersonAddress personAddress) |
PersonName |
PersonServiceImpl.unvoidPersonName(PersonName personName) |
Relationship |
PersonServiceImpl.unvoidRelationship(Relationship relationship) |
User |
UserServiceImpl.unvoidUser(User user) |
Visit |
VisitServiceImpl.unvoidVisit(Visit visit) |
void |
ConceptServiceImpl.updateConceptIndex(Concept concept) |
void |
ConceptServiceImpl.updateConceptIndexes() |
void |
AdministrationServiceImpl.validate(Object object,
org.springframework.validation.Errors errors) |
void |
PatientServiceImpl.voidAllergy(Allergy allergy,
String reason) |
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) |
PersonName |
PersonServiceImpl.voidPersonName(PersonName personName,
String voidReason) |
Relationship |
PersonServiceImpl.voidRelationship(Relationship relationship,
String voidReason) |
User |
UserServiceImpl.voidUser(User user,
String reason) |
Visit |
VisitServiceImpl.voidVisit(Visit visit,
String reason) |
Modifier and Type | Class and Description |
---|---|
class |
CustomDatatypeException
Exception related to
CustomDatatype or CustomDatatypeHandler |
class |
InvalidCustomValueException
Exception thrown when trying to convert between a serialized attribute value and its typed value, if the
serialized String is not a legal value for the given handler.
|
class |
NotYetPersistedException
Indicates that you tried to access the valueReference of a
SingleCustomValue that has not yet been persisted |
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
|
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
|
HL7InError |
HL7Service.getHL7InErrorByUuid(String uuid)
Get the error item with the given uuid
|
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).
|
HL7InQueue |
HL7Service.getHL7InQueueByUuid(String uuid)
Get the hl7 queue item with the given uuid
|
HL7QueueItem |
HL7Service.getHl7QueueItemByUuid(String uuid)
Get
HL7QueueItem with the given uuid. |
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 | Class and Description |
---|---|
class |
ImmutableResultException |
Modifier and Type | Method and Description |
---|---|
Alert |
AlertService.getAlert(Integer alertId)
Get alert by internal identifier
|
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
|
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 |
Modifier and Type | Method and Description |
---|---|
Alert |
AlertServiceImpl.getAlert(Integer alertId) |
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) |
void |
AlertServiceImpl.purgeAlert(Alert alert) |
Alert |
AlertServiceImpl.saveAlert(Alert alert) |
Modifier and Type | Method and Description |
---|---|
Obs |
ComplexObsHandler.saveObs(Obs obs)
Save a complex obs.
|
Modifier and Type | Method and Description |
---|---|
Obs |
TextHandler.saveObs(Obs obs) |
Obs |
MediaHandler.saveObs(Obs obs) |
Obs |
ImageHandler.saveObs(Obs obs) |
Obs |
BinaryStreamHandler.saveObs(Obs obs) |
Obs |
BinaryDataHandler.saveObs(Obs obs)
TODO should this support a StringReader too?
|
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 | 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 |
---|---|
void |
ProviderValidator.validate(Object obj,
org.springframework.validation.Errors errors)
Validates the given Provider. checks to see if a provider is valid (Either of Person or
Provider name should be set and not both) Checks to see if there is a retired Reason in case
a provider is retired
|
void |
ImplementationIdValidator.validate(Object obj,
org.springframework.validation.Errors errors) |
void |
FieldValidator.validate(Object obj,
org.springframework.validation.Errors errors)
Validates the given Field.
|
void |
EncounterValidator.validate(Object obj,
org.springframework.validation.Errors errors)
Validates the given Encounter.
|
void |
ConceptValidator.validate(Object obj,
org.springframework.validation.Errors errors)
Checks that a given concept object is valid.
|
void |
ConceptReferenceTermValidator.validate(Object obj,
org.springframework.validation.Errors errors)
Checks that a given concept reference term object is valid.
|
void |
AlertValidator.validate(Object obj,
org.springframework.validation.Errors errors) |
Modifier and Type | Method and Description |
---|---|
protected static InputStream |
TestInstallUtil.getResourceInputStream(String url,
String openmrsUsername,
String openmrsPassword) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.