Modifier and Type | Method and Description |
---|---|
DosingInstructions |
FreeTextDosingInstructions.getDosingInstructions(DrugOrder order) |
java.lang.Class |
OrderType.getJavaClass()
Convenience method that returns a
Class object for the associated
javaClassName |
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 |
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 |
EncounterTypeLockedException
This exception is thrown when a encounter types are locked and the user tries to edit an encounter type
type, this is done by a global property being true/false.
|
class |
IdentifierNotUniqueException |
class |
InsufficientIdentifiersException |
class |
InvalidCharactersPasswordException
Password exception when the password doesn't comply to the minimum set of required characters.
|
class |
InvalidCheckDigitException |
class |
InvalidIdentifierFormatException |
class |
MissingRequiredIdentifierException |
class |
PasswordException
Represents common exceptions that happen when validating a
User 's password. |
class |
PatientIdentifierException |
class |
ShortPasswordException
Password exception when the length is less than the minimum allowed.
|
class |
WeakPasswordException
Password exception when the password is a simple word or matches the
User 's username or
system id. |
Modifier and Type | Method and Description |
---|---|
Cohort |
CohortService.addPatientToCohort(Cohort cohort,
Patient patient)
Adds a new patient to a Cohort.
|
void |
UserService.changeHashedPassword(User user,
java.lang.String hashedPassword,
java.lang.String salt)
Changes the current user's password directly.
|
void |
UserService.changePassword(java.lang.String pw,
java.lang.String pw2)
Changes the current user's password.
|
void |
UserService.changePassword(User u,
java.lang.String pw)
Changes the
user |
void |
UserService.changeQuestionAnswer(java.lang.String pw,
java.lang.String q,
java.lang.String a)
Changes the current user's secret question and answer.
|
void |
UserService.changeQuestionAnswer(User u,
java.lang.String question,
java.lang.String answer)
Changes the passed user's secret question and answer.
|
void |
ProgramWorkflowService.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
java.util.Date onDate)
Deprecated.
|
void |
ConceptService.convertBooleanConceptToCoded(Concept conceptToChange)
Changes the datatype of a concept from boolean to coded when it has observations it is
associated to.
|
Cohort |
CohortService.createCohort(Cohort cohort)
Deprecated.
replaced by saveCohort(Cohort)
|
void |
ConceptService.createConcept(Concept concept)
Deprecated.
use #saveConcept(Concept)
|
void |
ConceptService.createConcept(ConceptNumeric concept)
Deprecated.
use #saveConcept(Concept)
|
void |
AdministrationService.createConceptClass(ConceptClass cc)
Deprecated.
|
void |
AdministrationService.createConceptDatatype(ConceptDatatype cd)
Deprecated.
|
void |
AdministrationService.createConceptProposal(ConceptProposal cp)
Deprecated.
|
void |
ProgramWorkflowService.createConceptStateConversion(ConceptStateConversion conceptStateConversion)
|
void |
ConceptService.createDrug(Drug drug)
Deprecated.
use #saveDrug(Drug)
|
void |
EncounterService.createEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterService.saveEncounter(Encounter) |
void |
AdministrationService.createEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormService.createField(Field field)
Deprecated.
|
void |
AdministrationService.createFieldType(FieldType fieldType)
Deprecated.
|
Form |
FormService.createForm(Form form)
Deprecated.
|
void |
FormService.createFormField(FormField formField)
Deprecated.
|
void |
AdministrationService.createLocation(Location location)
Deprecated.
|
void |
AdministrationService.createMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsService.createObs(Obs obs)
Deprecated.
|
void |
ObsService.createObsGroup(Obs[] obs)
Deprecated.
This method should no longer need to be called on the api. This was meant as
temporary until we created a true ObsGroup pojo. Replaced by
ObsService.saveObs(Obs, String) |
void |
ProgramWorkflowService.createOrUpdateProgram(Program program)
Deprecated.
|
Patient |
PatientService.createPatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
AdministrationService.createPatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
ProgramWorkflowService.createPatientProgram(PatientProgram patientProgram)
Deprecated.
|
Person |
PersonService.createPerson(Person person)
Deprecated.
replaced by #savePerson(Person)
|
void |
PersonService.createPersonAttributeType(PersonAttributeType type)
|
void |
AdministrationService.createPrivilege(Privilege privilege)
Deprecated.
|
void |
PersonService.createRelationship(Relationship relationship)
Deprecated.
replaced by #saveRelationship(Relationship)
|
void |
PersonService.createRelationshipType(RelationshipType relationshipType)
Deprecated.
replaced with #saveRelationshipType(RelationshipType)
|
void |
AdministrationService.createReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.createReportObject(AbstractReportObject reportObject)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.createRole(Role role)
Deprecated.
|
void |
AdministrationService.createTribe(Tribe tribe)
Deprecated.
The Tribe object is no longer supported. Install the Tribe module
|
User |
UserService.createUser(User user,
java.lang.String password)
Deprecated.
replaced by
UserService.saveUser(User, String) |
void |
ProgramWorkflowService.createWorkflow(ProgramWorkflow programWorkflow)
Deprecated.
|
void |
ConceptService.deleteConcept(Concept concept)
Deprecated.
use #purgeConcept(Concept concept)
|
void |
AdministrationService.deleteConceptClass(ConceptClass cc)
Deprecated.
|
void |
AdministrationService.deleteConceptDatatype(ConceptDatatype cd)
Deprecated.
use
org.openmrs.api |
void |
ProgramWorkflowService.deleteConceptStateConversion(ConceptStateConversion csc)
|
void |
ConceptService.deleteConceptStopWord(java.lang.Integer conceptStopWordId)
Delete the given
ConceptStopWord in the database |
void |
EncounterService.deleteEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterService.purgeEncounter(Encounter) |
void |
AdministrationService.deleteEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormService.deleteField(Field field)
Deprecated.
|
void |
AdministrationService.deleteFieldType(FieldType fieldType)
Deprecated.
|
void |
FormService.deleteForm(Form form)
Deprecated.
|
void |
FormService.deleteFormField(FormField formField)
Deprecated.
|
void |
AdministrationService.deleteLocation(Location location)
Deprecated.
|
void |
AdministrationService.deleteMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsService.deleteObs(Obs obs)
Deprecated.
use #purgeObs(Obs)
|
void |
PatientService.deletePatient(Patient patient)
Deprecated.
replaced by
PatientService.purgePatient(Patient) |
void |
AdministrationService.deletePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
PersonService.deletePerson(Person person)
Deprecated.
replaced by #purgePerson(Person)
|
void |
PersonService.deletePersonAttributeType(java.lang.Integer attrTypeId)
Deprecated.
use (@link #purgePersonAttributeType(PersonAttributeType))
|
void |
PersonService.deletePersonAttributeType(PersonAttributeType type)
Deprecated.
replaced by #purgePersonAttributeType(PersonAttributeType)
|
void |
AdministrationService.deletePrivilege(Privilege privilege)
Deprecated.
|
void |
PersonService.deleteRelationship(Relationship relationship)
Deprecated.
replaced by #purgeRelationship(Relationship)
|
void |
PersonService.deleteRelationshipType(RelationshipType relationshipType)
Deprecated.
replaced by #purgeRelationshipType(RelationshipType)
|
void |
AdministrationService.deleteReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.deleteReportObject(java.lang.Integer reportObjectId)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.deleteRole(Role role)
Deprecated.
|
void |
AdministrationService.deleteTribe(Tribe tribe)
Deprecated.
The Tribe object is no longer supported. Install the Tribe module
|
void |
UserService.deleteUser(User user)
Deprecated.
|
Form |
FormService.duplicateForm(Form form)
Duplicate this form and form_fields associated with this form
|
Visit |
VisitService.endVisit(Visit visit,
java.util.Date stopDate)
Sets the stopDate of a given visit.
|
void |
ProgramWorkflowService.enrollPatientInProgram(Patient patient,
Program program,
java.util.Date enrollmentDate,
java.util.Date completionDate,
User creator)
Deprecated.
use {new PatientProgram(...) followed by @link
#savePatientProgram(PatientProgram)}
|
Cohort |
CohortService.evaluate(CohortDefinition definition,
EvaluationContext evalContext)
Deprecated.
see reportingcompatibility module
|
DataSet |
DataSetService.evaluate(DataSetDefinition definition,
Cohort inputCohort,
EvaluationContext evalContext)
Deprecated.
Evaluate a data set definition to get turn it into a DataSet
|
java.util.List<java.util.List<java.lang.Object>> |
AdministrationService.executeSQL(java.lang.String sql,
boolean selectOnly)
Runs the
sql on the database. |
void |
PatientService.exitFromCare(Patient patient,
java.util.Date dateExited,
Concept reasonForExit)
Deprecated.
as of 1.10 and moved to exit from care module. This method is no longer supported
because previously the patient's active orders would get discontinued in the
process which is no longer happening
|
java.util.List<ConceptSearchResult> |
ConceptService.findConceptAnswers(java.lang.String phrase,
java.util.Locale locale,
Concept concept)
Finds concepts that are possible value coded answers to concept parameter
|
java.util.List<ConceptWord> |
ConceptService.findConceptAnswers(java.lang.String phrase,
java.util.Locale locale,
Concept concept,
boolean includeRetired)
Deprecated.
|
java.util.List<ConceptWord> |
ConceptService.findConcepts(java.lang.String phrase,
java.util.Locale locale,
boolean includeRetired)
|
java.util.List<ConceptWord> |
ConceptService.findConcepts(java.lang.String phrase,
java.util.Locale locale,
boolean includeRetired,
int start,
int size)
|
java.util.List<ConceptWord> |
ConceptService.findConcepts(java.lang.String phrase,
java.util.Locale locale,
boolean includeRetired,
java.util.List<ConceptClass> requireClasses,
java.util.List<ConceptClass> excludeClasses,
java.util.List<ConceptDatatype> requireDatatypes,
java.util.List<ConceptDatatype> excludeDatatypes)
|
java.util.List<Drug> |
ConceptService.findDrugs(java.lang.String phrase,
boolean includeVoided)
Deprecated.
|
java.util.List<Patient> |
PatientService.findDuplicatePatients(java.util.Set<java.lang.String> attributes)
Deprecated.
|
java.util.List<EncounterType> |
EncounterService.findEncounterTypes(java.lang.String name)
Find Encounter Types with name matching the beginning of the search string.
|
java.util.List<Field> |
FormService.findFields(Concept concept)
Deprecated.
|
java.util.List<Field> |
FormService.findFields(java.lang.String searchPhrase)
Deprecated.
|
java.util.List<Location> |
EncounterService.findLocations(java.lang.String name)
Deprecated.
replaced by
LocationService.getLocations(String) |
Patient |
PatientService.findPatient(Patient patientToMatch)
Deprecated.
use #getPatientByExample(Patient)
|
java.util.List<Patient> |
PatientService.findPatients(java.lang.String query,
boolean includeVoided)
Deprecated.
use #getPatients(String)
|
java.util.Set<Person> |
PersonService.findPeople(java.lang.String searchPhrase,
boolean includeVoided)
Deprecated.
@see #getPeople(...)
|
java.util.Set<Person> |
PersonService.findPeople(java.lang.String searchPhrase,
boolean includeVoided,
java.util.List<java.lang.String> roles)
Deprecated.
@see #getPeople(...)
|
java.util.Set<Person> |
PersonService.findPeople(java.lang.String searchPhrase,
boolean includeVoided,
java.lang.String roles)
Deprecated.
@see #getPeople(...)
|
java.util.List<Concept> |
ConceptService.findProposedConcepts(java.lang.String text)
Deprecated.
|
RelationshipType |
PersonService.findRelationshipType(java.lang.String relationshipTypeName)
Deprecated.
|
java.util.List<User> |
UserService.findUsers(java.lang.String name,
java.util.List<java.lang.String> roles,
boolean includeVoided)
Deprecated.
|
java.util.List<User> |
UserService.findUsers(java.lang.String givenName,
java.lang.String familyName,
boolean includeVoided)
Deprecated.
|
java.util.List<ConceptMapType> |
ConceptService.getActiveConceptMapTypes()
Returns a list of concept map types currently in the database excluding hidden ones
|
EncounterVisitHandler |
EncounterService.getActiveEncounterVisitHandler()
Gets the active handler for assigning visits to encounters.
|
<T extends ActiveListItem> |
ActiveListService.getActiveListItem(java.lang.Class<T> clazz,
java.lang.Integer activeListItemId)
Returns the ActiveListItem
|
ActiveListItem |
ActiveListService.getActiveListItemByUuid(java.lang.String uuid)
Return the ActiveList by the UUID
|
<T extends ActiveListItem> |
ActiveListService.getActiveListItems(java.lang.Class<T> clazz,
Person p,
ActiveListType type)
Returns a sorted set of active list items from a class that extends ActiveListItem
|
java.util.List<ActiveListItem> |
ActiveListService.getActiveListItems(Person p,
ActiveListType type)
Returns a sorted set of active list items based on the type given.
|
java.util.List<Visit> |
VisitService.getActiveVisitsByPatient(Patient patient)
Convenience method that delegates to getVisitsByPatient(patient, false, false)
|
java.lang.String |
LocationService.getAddressTemplate()
Returns the xml of default address template.
|
java.util.List<CohortDefinitionItemHolder> |
CohortService.getAllCohortDefinitions()
Deprecated.
see reportingcompatibility module
|
java.util.List<Cohort> |
CohortService.getAllCohorts()
Gets all Cohorts (not including voided ones)
|
java.util.List<Cohort> |
CohortService.getAllCohorts(boolean includeVoided)
Gets all Cohorts, possibly including the voided ones
|
java.util.List<ConceptClass> |
ConceptService.getAllConceptClasses()
Return a list of concept classes currently in the database
|
java.util.List<ConceptClass> |
ConceptService.getAllConceptClasses(boolean includeRetired)
Return a list of concept classes currently in the database
|
java.util.List<ConceptDatatype> |
ConceptService.getAllConceptDatatypes()
Return a list of all concept datatypes currently in the database
|
java.util.List<ConceptDatatype> |
ConceptService.getAllConceptDatatypes(boolean includeRetired)
Return a list of concept datatypes currently in the database
|
java.util.List<ConceptProposal> |
ConceptService.getAllConceptProposals(boolean includeCompleted)
Get a List of all concept proposals
|
java.util.List<ConceptReferenceTerm> |
ConceptService.getAllConceptReferenceTerms()
Gets a list of all concept reference terms saved in the database
|
java.util.List<Concept> |
ConceptService.getAllConcepts()
Return a list of unretired concepts sorted by concept id ascending and
|
java.util.List<Concept> |
ConceptService.getAllConcepts(java.lang.String sortBy,
boolean asc,
boolean includeRetired)
Return a list of concepts sorted on sortBy in dir direction (asc/desc)
|
java.util.List<ConceptSource> |
ConceptService.getAllConceptSources()
Return a list of concept sources currently in the database that are not voided
|
java.util.List<ConceptStateConversion> |
ProgramWorkflowService.getAllConceptStateConversions()
Returns all conceptStateConversions
|
java.util.List<ConceptStateConversion> |
ProgramWorkflowService.getAllConversions()
Deprecated.
|
java.util.List<Drug> |
ConceptService.getAllDrugs()
Return a list of drugs currently in the database that are not retired
|
java.util.List<EncounterType> |
EncounterService.getAllEncounterTypes()
Get all encounter types (including retired)
|
java.util.List<EncounterType> |
EncounterService.getAllEncounterTypes(boolean includeRetired)
Get all encounter types.
|
java.util.List<Allergy> |
PatientService.getAllergies(Person p)
Returns a sorted set of Allergies, sorted on sort_weight
|
Allergy |
PatientService.getAllergy(java.lang.Integer allergyListId)
Returns the Allergy
|
java.util.List<Field> |
FormService.getAllFields()
Fetches all Fields in the database, including retired ones
|
java.util.List<Field> |
FormService.getAllFields(boolean includeRetired)
Fetches all Fields in the database, possibly including retired ones
|
java.util.List<FieldType> |
FormService.getAllFieldTypes()
Get all field types in the database including the retired ones
|
java.util.List<FieldType> |
FormService.getAllFieldTypes(boolean includeRetired)
Get all field types in the database with or without retired ones
|
java.util.List<FormField> |
FormService.getAllFormFields()
Returns all FormFields in the database
|
java.util.List<Form> |
FormService.getAllForms()
Gets all Forms, including retired ones.
|
java.util.List<Form> |
FormService.getAllForms(boolean includeRetired)
Gets all forms, possibly including retired ones
|
java.util.List<GlobalProperty> |
AdministrationService.getAllGlobalProperties()
Get a list of all global properties in the system
|
java.util.List<Location> |
LocationService.getAllLocations()
Returns all locations, includes retired locations.
|
java.util.List<Location> |
LocationService.getAllLocations(boolean includeRetired)
Returns all locations.
|
java.util.List<LocationTag> |
LocationService.getAllLocationTags()
Returns all location tags, includes retired location tags.
|
java.util.List<LocationTag> |
LocationService.getAllLocationTags(boolean includeRetired)
Returns all location tags.
|
java.util.List<MimeType> |
ObsService.getAllMimeTypes()
Deprecated.
MimeTypes are no longer used. See ConceptComplex and its use of handlers
|
java.util.List<MimeType> |
ObsService.getAllMimeTypes(boolean includeRetired)
Deprecated.
MimeTypes are no longer used. See ConceptComplex and its use of handlers
|
java.util.List<PatientIdentifierType> |
PatientService.getAllPatientIdentifierTypes()
Get all patientIdentifier types
|
java.util.List<PatientIdentifierType> |
PatientService.getAllPatientIdentifierTypes(boolean includeRetired)
Get all patientIdentifier types
|
java.util.List<Patient> |
PatientService.getAllPatients()
Returns all non voided patients in the system
|
java.util.List<Patient> |
PatientService.getAllPatients(boolean includeVoided)
Returns patients in the system
|
CohortDefinition |
CohortService.getAllPatientsCohortDefinition()
Deprecated.
see reportingcompatibility module
|
java.util.List<PersonAttributeType> |
PersonService.getAllPersonAttributeTypes()
Get all PersonAttributeTypes in the database
|
java.util.List<PersonAttributeType> |
PersonService.getAllPersonAttributeTypes(boolean includeRetired)
Get all PersonAttributeTypes in the database with the option of including the retired types
|
java.util.List<Privilege> |
UserService.getAllPrivileges()
Returns all privileges currently possible for any User
|
java.util.List<Program> |
ProgramWorkflowService.getAllPrograms()
Returns all programs, includes retired programs.
|
java.util.List<Program> |
ProgramWorkflowService.getAllPrograms(boolean includeRetired)
Returns all programs
|
java.util.List<Relationship> |
PersonService.getAllRelationships()
Get list of relationships that are not voided
|
java.util.List<Relationship> |
PersonService.getAllRelationships(boolean includeVoided)
Get list of relationships optionally including the voided ones or not
|
java.util.List<RelationshipType> |
PersonService.getAllRelationshipTypes()
Get all relationshipTypes Includes retired relationship types
|
java.util.List<RelationshipType> |
PersonService.getAllRelationshipTypes(boolean includeRetired)
Get all relationshipTypes with the option of including the retired types
|
java.util.List<Role> |
UserService.getAllRoles()
Returns all roles currently possible for any User
|
java.util.List<User> |
UserService.getAllUsers()
Returns all users in the system
|
java.util.List<User> |
UserService.getAllUsers(java.util.List<Role> roles,
boolean includeVoided)
Deprecated.
|
java.util.List<Visit> |
VisitService.getAllVisits()
Gets all unvoided visits in the database.
|
Cohort |
CohortService.getCohort(java.lang.Integer id)
Gets a Cohort by its database primary key
|
Cohort |
CohortService.getCohort(java.lang.String name)
Gets a non voided Cohort by its name
|
CohortDefinition |
CohortService.getCohortDefinition(java.lang.Class<CohortDefinition> clazz,
java.lang.Integer id)
Deprecated.
see reportingcompatibility module
|
CohortDefinition |
CohortService.getCohortDefinition(java.lang.String cohortKey)
Deprecated.
see reportingcompatibility module
|
java.util.Map<java.lang.Class<? extends CohortDefinition>,CohortDefinitionProvider> |
CohortService.getCohortDefinitionProviders()
Deprecated.
see reportingcompatibility module
|
java.util.List<CohortDefinitionItemHolder> |
CohortService.getCohortDefinitions(java.lang.Class<? extends CohortDefinitionProvider> providerClass)
Deprecated.
see reportingcompatibility module
|
java.util.List<Cohort> |
CohortService.getCohorts()
Deprecated.
replaced by getAllCohorts()
|
java.util.List<Cohort> |
CohortService.getCohorts(java.lang.String nameFragment)
Returns Cohorts whose names match the given string.
|
java.util.List<Cohort> |
CohortService.getCohortsContainingPatient(Patient patient)
Find all Cohorts that contain the given patient.
|
java.util.List<Cohort> |
CohortService.getCohortsContainingPatientId(java.lang.Integer patientId)
Find all Cohorts that contain the given patientId.
|
Obs |
ObsService.getComplexObs(java.lang.Integer obsId,
java.lang.String view)
Get a complex observation.
|
Concept |
ConceptService.getConcept(java.lang.Integer conceptId)
Gets the concept with the given id
|
Concept |
ConceptService.getConcept(java.lang.String conceptIdOrName)
Get Concept by id or name convenience method
|
ConceptAnswer |
ConceptService.getConceptAnswer(java.lang.Integer conceptAnswerId)
Gets the ConceptAnswer with the given id
|
java.util.List<ConceptWord> |
ConceptService.getConceptAnswers(java.lang.String phrase,
java.util.Locale locale,
Concept concept)
Deprecated.
|
Concept |
ConceptService.getConceptByIdOrName(java.lang.String idOrName)
Deprecated.
|
Concept |
ConceptService.getConceptByMapping(java.lang.String code,
java.lang.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(java.lang.String code,
java.lang.String sourceName,
java.lang.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(java.lang.String name)
Return a Concept that matches the name exactly
|
ConceptClass |
ConceptService.getConceptClass(java.lang.Integer conceptClassId)
Return a Concept class matching the given identifier
|
ConceptClass |
ConceptService.getConceptClassByName(java.lang.String name)
Return a Concept class matching the given name
|
java.util.List<ConceptClass> |
ConceptService.getConceptClasses()
Deprecated.
|
ConceptDatatype |
ConceptService.getConceptDatatype(java.lang.Integer i)
Return a ConceptDatatype matching the given identifier
|
ConceptDatatype |
ConceptService.getConceptDatatypeByName(java.lang.String name)
Return a Concept datatype matching the given name
|
java.util.List<ConceptDatatype> |
ConceptService.getConceptDatatypes(java.lang.String name)
Deprecated.
you *probably* want to use
ConceptService.getConceptDatatypeByName(String) |
java.util.List<ConceptMap> |
ConceptService.getConceptMappingsToSource(ConceptSource conceptSource)
Returns a list of mappings from concepts to terms in the given reference terminology
|
ConceptMapType |
ConceptService.getConceptMapType(java.lang.Integer conceptMapTypeId)
Return a concept map type matching the given concept map type id
|
ConceptMapType |
ConceptService.getConceptMapTypeByName(java.lang.String name)
Return a concept map type matching the given name
|
ConceptMapType |
ConceptService.getConceptMapTypeByUuid(java.lang.String uuid)
Return a concept map type matching the given uuid
|
java.util.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(java.lang.Integer conceptNameId)
Gets the concept-name with the given id
|
ConceptNumeric |
ConceptService.getConceptNumeric(java.lang.Integer conceptId)
Get the ConceptNumeric with the given id
|
ConceptProposal |
ConceptService.getConceptProposal(java.lang.Integer conceptProposalId)
Get a ConceptProposal by conceptProposalId
|
java.util.List<ConceptProposal> |
ConceptService.getConceptProposals(boolean includeCompleted)
Deprecated.
|
java.util.List<ConceptProposal> |
ConceptService.getConceptProposals(java.lang.String text)
Find matching concept proposals
|
ConceptReferenceTerm |
ConceptService.getConceptReferenceTerm(java.lang.Integer conceptReferenceTermId)
Gets the concept reference term with the specified concept reference term id
|
ConceptReferenceTerm |
ConceptService.getConceptReferenceTermByCode(java.lang.String code,
ConceptSource conceptSource)
Gets a concept reference term with the specified code from the specified concept source
|
ConceptReferenceTerm |
ConceptService.getConceptReferenceTermByName(java.lang.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(java.lang.String uuid)
Gets the concept reference term with the specified uuid
|
java.util.List<ConceptReferenceTerm> |
ConceptService.getConceptReferenceTerms(boolean includeRetired)
Gets a list of concept reference terms saved in the database
|
java.util.List<ConceptReferenceTerm> |
ConceptService.getConceptReferenceTerms(java.lang.String query,
ConceptSource conceptSource,
java.lang.Integer start,
java.lang.Integer length,
boolean includeRetired)
Finds the concept reference term in the database that have a code or name that contains the
specified search phrase.
|
java.util.List<ConceptSearchResult> |
ConceptService.getConcepts(java.lang.String phrase,
java.util.List<java.util.Locale> locales,
boolean includeRetired,
java.util.List<ConceptClass> requireClasses,
java.util.List<ConceptClass> excludeClasses,
java.util.List<ConceptDatatype> requireDatatypes,
java.util.List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
java.lang.Integer start,
java.lang.Integer size)
Searches for concepts by the given parameters.
|
java.util.List<ConceptSearchResult> |
ConceptService.getConcepts(java.lang.String phrase,
java.util.Locale locale,
boolean includeRetired)
Searches for concepts with the given parameters
|
java.util.List<Concept> |
ConceptService.getConcepts(java.lang.String sortBy,
java.lang.String dir)
Deprecated.
|
java.util.List<Concept> |
ConceptService.getConceptsByAnswer(Concept concept)
Returns all possible Concepts to which this concept is a value-coded answer.
|
java.util.List<Concept> |
ConceptService.getConceptsByClass(ConceptClass cc) |
java.util.List<Concept> |
ConceptService.getConceptsByConceptSet(Concept concept)
Return a List of all concepts within a concept set
|
java.util.List<ConceptMap> |
ConceptService.getConceptsByConceptSource(ConceptSource conceptSource)
Deprecated.
as of version 1.9, use
#getConceptMapsBySource(ConceptSource)) |
java.util.List<Concept> |
ConceptService.getConceptsByMapping(java.lang.String code,
java.lang.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 |
java.util.List<Concept> |
ConceptService.getConceptsByMapping(java.lang.String code,
java.lang.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 . |
java.util.List<Concept> |
ConceptService.getConceptsByName(java.lang.String name)
Returns a list of concepts matching any part of a concept name, this method is case
insensitive to the concept name string
|
java.util.List<Concept> |
ConceptService.getConceptsByName(java.lang.String name,
java.util.Locale locale,
java.lang.Boolean exactLocale)
Returns a list of concepts with the same name in the given locale.
|
java.util.List<ConceptSet> |
ConceptService.getConceptSets(Concept concept)
Deprecated.
|
java.util.List<ConceptSet> |
ConceptService.getConceptSetsByConcept(Concept concept)
Return a list of the concept sets with concept_set matching concept
|
java.util.List<Concept> |
ConceptService.getConceptsInSet(Concept concept)
Deprecated.
|
ConceptSource |
ConceptService.getConceptSource(java.lang.Integer i)
Return a Concept source matching the given concept source id
|
ConceptSource |
ConceptService.getConceptSourceByName(java.lang.String conceptSourceName)
Lookup a ConceptSource by its name property
|
ConceptStateConversion |
ProgramWorkflowService.getConceptStateConversion(java.lang.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 |
java.util.List<Concept> |
ConceptService.getConceptsWithDrugsInFormulary()
Convenience method for finding concepts associated with drugs in formulary.
|
java.util.List<ConceptWord> |
ConceptService.getConceptWords(java.lang.String phrase,
java.util.List<java.util.Locale> locales,
boolean includeRetired,
java.util.List<ConceptClass> requireClasses,
java.util.List<ConceptClass> excludeClasses,
java.util.List<ConceptDatatype> requireDatatypes,
java.util.List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
java.lang.Integer start,
java.lang.Integer size)
|
java.util.List<ConceptWord> |
ConceptService.getConceptWords(java.lang.String phrase,
java.util.Locale locale)
Deprecated.
use
#getConcepts(String, Locale) that returns a list of
ConceptSearchResults |
java.lang.Integer |
ConceptService.getCountOfConceptReferenceTerms(java.lang.String query,
ConceptSource conceptSource,
boolean includeRetired)
Returns the count of concept reference terms that match the specified arguments
|
java.lang.Integer |
ConceptService.getCountOfDrugs(java.lang.String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired)
Return the number of drugs with matching names or concept drug names
|
java.util.Collection<PatientProgram> |
ProgramWorkflowService.getCurrentPrograms(Patient patient,
java.util.Date onDate)
|
java.util.Set<ProgramWorkflow> |
ProgramWorkflowService.getCurrentWorkflowsByPatient(Patient patient)
Deprecated.
No current use outside of this service. Should be retrieved from Patient,
PatientProgram, and PatientState
|
java.util.Set<ProgramWorkflow> |
ProgramWorkflowService.getCurrentWorkflowsByPatientProgram(PatientProgram program)
Deprecated.
No current use outside of this service. Should be retrieved from Patient,
PatientProgram, and PatientState
|
ConceptMapType |
ConceptService.getDefaultConceptMapType()
Gets the concept map type to be used as the default.
|
Location |
LocationService.getDefaultLocation()
Returns the default location for this implementation.
|
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(java.lang.Integer drugId)
Get the Drug with the given id
|
Drug |
ConceptService.getDrug(java.lang.String drugNameOrId)
Return the drug object corresponding to the given name or drugId
|
Drug |
ConceptService.getDrugByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference)
Gets the "best" matching drug, i.e.
|
Drug |
ConceptService.getDrugByNameOrId(java.lang.String drugId)
Return the drug object corresponding to the given name or drugId
|
java.util.List<Drug> |
ConceptService.getDrugs()
Deprecated.
|
java.util.List<Drug> |
ConceptService.getDrugs(Concept concept)
Deprecated.
|
java.util.List<Drug> |
ConceptService.getDrugs(java.lang.String phrase)
Find drugs in the system.
|
java.util.List<Drug> |
ConceptService.getDrugs(java.lang.String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
java.lang.Integer start,
java.lang.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.
|
java.util.List<Drug> |
ConceptService.getDrugsByConcept(Concept concept)
Return a list of drugs associated with the given concept
|
java.util.List<Drug> |
ConceptService.getDrugsByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.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
|
java.util.List<Patient> |
PatientService.getDuplicatePatientsByAttributes(java.util.List<java.lang.String> attributes)
Search the database for patients that both share the given attributes.
|
Encounter |
EncounterService.getEncounter(java.lang.Integer encounterId)
Get encounter by internal identifier
|
Encounter |
EncounterService.getEncounterByUuid(java.lang.String uuid)
Get Encounter by its UUID
|
EncounterRole |
EncounterService.getEncounterRole(java.lang.Integer encounterRoleId)
Gets an encounter role when and internal encounter role id is provided.
|
EncounterRole |
EncounterService.getEncounterRoleByUuid(java.lang.String uuid)
Get EncounterRole by its UUID
|
java.util.List<Encounter> |
EncounterService.getEncounters(java.lang.String query,
java.lang.Integer start,
java.lang.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.
|
java.util.List<Encounter> |
EncounterService.getEncounters(java.lang.String query,
java.lang.Integer patientId,
java.lang.Integer start,
java.lang.Integer length,
boolean includeVoided)
Searches for encounters by patient id, provider identifier, location, encounter type,
provider, form or provider name.
|
java.util.List<Encounter> |
EncounterService.getEncountersByPatient(java.lang.String query)
Search for encounters by patient name or patient identifier.
|
java.util.List<Encounter> |
EncounterService.getEncountersByPatient(java.lang.String query,
boolean includeVoided)
Search for encounters by patient name or patient identifier.
|
java.util.List<Encounter> |
EncounterService.getEncountersByPatientId(java.lang.Integer patientId)
Get encounters for a patientId
|
java.util.List<Encounter> |
EncounterService.getEncountersByPatientId(java.lang.Integer patientId,
boolean includeVoided)
Deprecated.
|
java.util.List<Encounter> |
EncounterService.getEncountersByPatientIdentifier(java.lang.String identifier)
Get encounters (not voided) for a patient identifier
|
java.util.List<Encounter> |
EncounterService.getEncountersByPatientIdentifier(java.lang.String identifier,
boolean includeVoided)
Deprecated.
|
java.util.List<Encounter> |
EncounterService.getEncountersByVisitsAndPatient(Patient patient,
boolean includeVoided,
java.lang.String query,
java.lang.Integer start,
java.lang.Integer length)
Gets encounters for the given patient.
|
java.lang.Integer |
EncounterService.getEncountersByVisitsAndPatientCount(Patient patient,
boolean includeVoided,
java.lang.String query)
Returns result count for
EncounterService.getEncountersByVisitsAndPatient(Patient, boolean, String, Integer, Integer) . |
java.util.List<Encounter> |
EncounterService.getEncountersNotAssignedToAnyVisit(Patient patient)
Gets the unvoided encounters for the specified patient that are not assigned to any visit.
|
EncounterType |
EncounterService.getEncounterType(java.lang.Integer encounterTypeId)
Get encounterType by internal identifier
|
EncounterType |
EncounterService.getEncounterType(java.lang.String name)
Get encounterType by exact name
|
EncounterType |
EncounterService.getEncounterTypeByUuid(java.lang.String uuid)
Get EncounterType by its UUID
|
java.util.List<EncounterType> |
EncounterService.getEncounterTypes()
Deprecated.
replaced by
EncounterService.getAllEncounterTypes() |
Field |
FormService.getField(java.lang.Integer fieldId)
Gets a Field by internal database id
|
FieldAnswer |
FormService.getFieldAnswerByUuid(java.lang.String uuid)
Get FieldAnswer by its UUID
|
Field |
FormService.getFieldByUuid(java.lang.String uuid)
Get Field by its UUID
|
java.util.List<Field> |
FormService.getFields()
Deprecated.
|
java.util.List<Field> |
FormService.getFields(java.util.Collection<Form> forms,
java.util.Collection<FieldType> fieldTypes,
java.util.Collection<Concept> concepts,
java.util.Collection<java.lang.String> tableNames,
java.util.Collection<java.lang.String> attributeNames,
java.lang.Boolean selectMultiple,
java.util.Collection<FieldAnswer> containsAllAnswers,
java.util.Collection<FieldAnswer> containsAnyAnswer,
java.lang.Boolean retired)
Returns all Fields that match these (nullable) criteria
|
java.util.List<Field> |
FormService.getFields(java.lang.String fuzzySearchPhrase)
Find all Fields whose names are similar to or contain the given phrase.
|
java.util.List<Field> |
FormService.getFieldsByConcept(Concept concept)
Finds all Fields that point to the given concept, including retired ones.
|
FieldType |
FormService.getFieldType(java.lang.Integer fieldTypeId)
Get fieldType by internal identifier
|
FieldType |
FormService.getFieldTypeByUuid(java.lang.String uuid)
Get FieldType by its UUID
|
java.util.List<FieldType> |
FormService.getFieldTypes()
Deprecated.
|
Form |
FormService.getForm(java.lang.Integer formId)
Get form by internal form identifier
|
Form |
FormService.getForm(java.lang.String name)
Get form by exact name match.
|
Form |
FormService.getForm(java.lang.String name,
java.lang.String version)
Get form by exact name & version match.
|
Form |
FormService.getFormByUuid(java.lang.String uuid)
Get Form by its UUID
|
FormField |
FormService.getFormField(Form form,
Concept concept)
Finds the FormField defined for this form/concept combination Calls
FormService.getFormField(Form, Concept, Collection, boolean) with an empty ignore list and with
force set to false |
FormField |
FormService.getFormField(Form form,
Concept concept,
java.util.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(java.lang.Integer formFieldId)
Gets a FormField by internal database id
|
FormField |
FormService.getFormFieldByUuid(java.lang.String uuid)
Get FormField by its UUID
|
java.util.List<FormField> |
FormService.getFormFields(Form form)
Deprecated.
|
FormResource |
FormService.getFormResource(Form form,
java.lang.String name)
Finds a FormResource based on a given Form and name
|
FormResource |
FormService.getFormResource(java.lang.Integer formResourceId)
Finds a FormResource by its id
|
FormResource |
FormService.getFormResourceByUuid(java.lang.String uuid)
Finds a FormResource by its uuid
|
java.util.Collection<FormResource> |
FormService.getFormResourcesForForm(Form form)
Finds all FormResources tied to a given form
|
java.util.List<Form> |
FormService.getForms()
Deprecated.
|
java.util.List<Form> |
FormService.getForms(boolean publishedOnly)
Deprecated.
|
java.util.List<Form> |
FormService.getForms(boolean publishedOnly,
boolean includeRetired)
|
java.util.Set<Form> |
FormService.getForms(Concept c)
Deprecated.
|
java.util.List<Form> |
FormService.getFormsContainingConcept(Concept concept)
Returns all forms that contain the given concept as a field in their schema.
|
java.lang.String |
AdministrationService.getGlobalProperty(java.lang.String propertyName)
Gets the global property that has the given
propertyName . |
java.lang.String |
AdministrationService.getGlobalProperty(java.lang.String propertyName,
java.lang.String defaultValue)
Gets the global property that has the given
propertyName |
GlobalProperty |
AdministrationService.getGlobalPropertyByUuid(java.lang.String uuid)
Get a global property by its uuid.
|
<T> T |
AdministrationService.getGlobalPropertyValue(java.lang.String propertyName,
T defaultValue)
Returns a global property according to the type specified
|
ComplexObsHandler |
ObsService.getHandler(java.lang.String key)
Get the ComplexObsHandler that has been registered with the given key
|
java.util.Map<java.lang.String,ComplexObsHandler> |
ObsService.getHandlers()
Gets the handlers map registered
|
ImplementationId |
AdministrationService.getImplementationId()
Get the implementation id stored for this server Returns null if no implementation id has
been successfully set yet
|
java.util.List<Role> |
UserService.getInheritingRoles(Role role)
Deprecated.
|
PatientState |
ProgramWorkflowService.getLatestState(PatientProgram patientProgram,
ProgramWorkflow programWorkflow)
Deprecated.
|
Location |
LocationService.getLocation(java.lang.Integer locationId)
Returns a location given that locations primary key
locationId A null value is
returned if no location exists with this location. |
Location |
EncounterService.getLocation(java.lang.Integer locationId)
Deprecated.
replaced by
LocationService.getLocation(Integer) |
Location |
LocationService.getLocation(java.lang.String name)
Returns a location given the location's exact
name A null value is returned if
there is no location with this name |
Location |
EncounterService.getLocationByName(java.lang.String name)
Deprecated.
replaced by
LocationService.getLocation(String) |
Location |
LocationService.getLocationByUuid(java.lang.String uuid)
Returns a location by uuid
|
java.util.List<Location> |
EncounterService.getLocations()
Deprecated.
replaced by
LocationService.getAllLocations() |
java.util.List<Location> |
LocationService.getLocations(java.lang.String nameFragment)
Returns locations that match the beginning of the given string.
|
java.util.List<Location> |
LocationService.getLocations(java.lang.String nameFragment,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length)
|
java.util.List<Location> |
LocationService.getLocations(java.lang.String nameFragment,
Location parent,
java.util.Map<LocationAttributeType,java.lang.Object> attributeValues,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length)
Gets the locations matching the specified arguments.
|
java.util.List<Location> |
LocationService.getLocationsByTag(LocationTag tag)
Returns locations that contain the given tag.
|
java.util.List<Location> |
LocationService.getLocationsHavingAllTags(java.util.List<LocationTag> tags)
Returns locations that are mapped to all given tags.
|
java.util.List<Location> |
LocationService.getLocationsHavingAnyTag(java.util.List<LocationTag> tags)
Returns locations that are mapped to any of the given tags.
|
LocationTag |
LocationService.getLocationTag(java.lang.Integer locationTagId)
Returns a location tag given that locations primary key
locationTagId . |
LocationTag |
LocationService.getLocationTagByName(java.lang.String tag)
Returns a location tag given the location's exact name (tag).
|
LocationTag |
LocationService.getLocationTagByUuid(java.lang.String uuid)
Returns a location tag by uuid
|
java.util.List<LocationTag> |
LocationService.getLocationTags(java.lang.String search)
Returns location tags that match the beginning of the given string.
|
MimeType |
ObsService.getMimeType(java.lang.Integer mimeTypeId)
Deprecated.
MimeTypes are no longer used. See ConceptComplex and its use of handlers
|
java.util.List<MimeType> |
ObsService.getMimeTypes()
Deprecated.
|
Concept |
ConceptService.getNextConcept(Concept concept)
Finds the next concept in the dictionary that has the next largest concept id
|
Obs |
ObsService.getObs(java.lang.Integer obsId)
Get an observation
|
Obs |
ObsService.getObsByUuid(java.lang.String uuid)
Get Obs by its UUID
|
java.lang.Integer |
ObsService.getObservationCount(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs)
This method fetches the count of observations according to the criteria in the given
arguments.
|
java.util.List<Obs> |
ObsService.getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sort,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs)
This method fetches observations according to the criteria in the given arguments.
|
java.util.List<Obs> |
ObsService.getObservations(java.lang.String searchString)
This method searches the obs table based on the given
searchString . |
java.util.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(java.lang.Integer orderId)
Get order by internal primary key identifier
|
Order |
OrderService.getOrderByUuid(java.lang.String uuid)
Get Order by its UUID
|
Patient |
PatientService.getPatient(java.lang.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(java.lang.String uuid)
Get patient by universally unique identifier.
|
PatientIdentifier |
PatientService.getPatientIdentifier(java.lang.Integer patientIdentifierId)
Returns a patient identifier that matches the given patientIndentifier id
|
PatientIdentifier |
PatientService.getPatientIdentifierByUuid(java.lang.String uuid)
Get patient identifier by universally unique identifier.
|
java.util.List<PatientIdentifier> |
PatientService.getPatientIdentifiers(PatientIdentifierType patientIdentifierType)
Deprecated.
|
java.util.List<PatientIdentifier> |
PatientService.getPatientIdentifiers(java.lang.String identifier,
java.util.List<PatientIdentifierType> patientIdentifierTypes,
java.util.List<Location> locations,
java.util.List<Patient> patients,
java.lang.Boolean isPreferred)
Get all patientIdentifiers that match all of the given criteria Voided identifiers are not
returned
|
java.util.List<PatientIdentifier> |
PatientService.getPatientIdentifiers(java.lang.String identifier,
PatientIdentifierType pit)
Deprecated.
|
PatientIdentifierType |
PatientService.getPatientIdentifierType(java.lang.Integer patientIdentifierTypeId)
Get patientIdentifierType by internal identifier
|
PatientIdentifierType |
PatientService.getPatientIdentifierType(java.lang.String name)
Deprecated.
|
PatientIdentifierType |
PatientService.getPatientIdentifierTypeByName(java.lang.String name)
Get patientIdentifierType by exact name
|
PatientIdentifierType |
PatientService.getPatientIdentifierTypeByUuid(java.lang.String uuid)
Get patient identifierType by universally unique identifier
|
java.util.List<PatientIdentifierType> |
PatientService.getPatientIdentifierTypes()
Deprecated.
replaced by
PatientService.getAllPatientIdentifierTypes() |
java.util.List<PatientIdentifierType> |
PatientService.getPatientIdentifierTypes(java.lang.String name,
java.lang.String format,
java.lang.Boolean required,
java.lang.Boolean hasCheckDigit)
Get all patientIdentifier types that match the given criteria
|
Patient |
PatientService.getPatientOrPromotePerson(java.lang.Integer patientOrPersonId)
Get patient by internal identifier.
|
PatientProgram |
ProgramWorkflowService.getPatientProgram(java.lang.Integer patientProgramId)
Returns a PatientProgram given that PatientPrograms primary key
patientProgramId
A null value is returned if no PatientProgram exists with this patientProgramId. |
java.util.Collection<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient)
|
java.util.List<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient,
Program program,
java.util.Date minEnrollmentDate,
java.util.Date maxEnrollmentDate,
java.util.Date minCompletionDate,
java.util.Date maxCompletionDate,
boolean includeVoided)
Returns PatientPrograms that match the input parameters.
|
java.util.List<Patient> |
PatientService.getPatients(java.lang.String query)
Generic search on patients based on the given string.
|
java.util.List<Patient> |
PatientService.getPatients(java.lang.String query,
java.lang.Integer start,
java.lang.Integer length)
Generic search on patients based on the given string and returns a specific number of them
from the specified starting position.
|
java.util.List<Patient> |
PatientService.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes)
Deprecated.
replaced by a call to
PatientService.getPatients(String, String, List, boolean) with
"false" as the last parameter |
java.util.List<Patient> |
PatientService.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.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. |
java.util.List<Patient> |
PatientService.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
java.lang.Integer start,
java.lang.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. |
java.util.List<Patient> |
PatientService.getPatientsByIdentifier(java.lang.String identifier,
boolean includeVoided)
Deprecated.
replaced by
PatientService.getPatients(String, String, List) |
java.util.List<Patient> |
PatientService.getPatientsByIdentifierPattern(java.lang.String identifier,
boolean includeVoided)
Deprecated.
replaced by getPatients( ... )
|
java.util.List<Patient> |
PatientService.getPatientsByName(java.lang.String name)
Deprecated.
replaced by
PatientService.getPatients(String, String, List) |
java.util.List<Patient> |
PatientService.getPatientsByName(java.lang.String name,
boolean includeVoided)
Deprecated.
replaced by getPatients( ... )
|
PatientState |
ProgramWorkflowService.getPatientState(java.lang.Integer patientStateId)
Deprecated.
|
java.util.List<Person> |
PersonService.getPeople(java.lang.String searchPhrase,
java.lang.Boolean dead)
Find a person matching the searchPhrase search string
|
Person |
PersonService.getPerson(java.lang.Integer personId)
Gets a person by internal id
|
Person |
PersonService.getPerson(Patient pat)
Deprecated.
|
Person |
PersonService.getPerson(User user)
Deprecated.
|
PersonAddress |
PersonService.getPersonAddressByUuid(java.lang.String uuid)
Get PersonAddress by its UUID
|
PersonAttribute |
PersonService.getPersonAttribute(java.lang.Integer id)
Get a PersonAttribute from the database with the given PersonAttributeid
|
PersonAttribute |
PersonService.getPersonAttributeByUuid(java.lang.String uuid)
Get PersonAttribute by its UUID
|
PersonAttributeType |
PersonService.getPersonAttributeType(java.lang.Integer typeId)
Get the PersonAttributeType given the type's PersonAttributeTypeId
|
PersonAttributeType |
PersonService.getPersonAttributeType(java.lang.String typeName)
Deprecated.
|
PersonAttributeType |
PersonService.getPersonAttributeTypeByName(java.lang.String typeName)
Get the PersonAttributeType given the type's name
|
java.util.List<PersonAttributeType> |
PersonService.getPersonAttributeTypes()
Deprecated.
|
java.util.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)
|
java.util.List<PersonAttributeType> |
PersonService.getPersonAttributeTypes(java.lang.String personType,
java.lang.String viewType)
Deprecated.
|
java.util.List<PersonAttributeType> |
PersonService.getPersonAttributeTypes(java.lang.String exactName,
java.lang.String format,
java.lang.Integer foreignKey,
java.lang.Boolean searchable)
Find person attribute types matching the given parameters.
|
Person |
PersonService.getPersonByUuid(java.lang.String uuid)
Get Person by its UUID
|
PersonMergeLog |
PersonService.getPersonMergeLogByUuid(java.lang.String uuid,
boolean deserialize)
Gets a PersonMergeLog object from the model using the UUID identifier.
|
PersonName |
PersonService.getPersonNameByUuid(java.lang.String uuid)
Get PersonName by its UUID
|
java.util.List<java.lang.String> |
LocationService.getPossibleAddressValues(Address incomplete,
java.lang.String fieldName)
Given an Address object, returns all the possible values for the specified AddressField.
|
java.util.List<ProgramWorkflowState> |
ProgramWorkflowService.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
Concept |
ConceptService.getPrevConcept(Concept concept)
Finds the previous concept in the dictionary that has the next lowest concept id
|
Privilege |
UserService.getPrivilege(java.lang.String p)
Returns Privilege in the system with given String privilege
|
Privilege |
UserService.getPrivilegeByUuid(java.lang.String uuid)
Get Privilege by its UUID
|
java.util.List<Privilege> |
UserService.getPrivileges()
Deprecated.
|
Problem |
PatientService.getProblem(java.lang.Integer problemListId)
Returns the Problem
|
java.util.List<Problem> |
PatientService.getProblems(Person p)
Get a list of the problems for the patient, sorted on sort_weight
|
Program |
ProgramWorkflowService.getProgram(java.lang.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(java.lang.String name)
Returns a program given the program's exact
name A null value is returned if
there is no program with this name |
java.util.List<Program> |
ProgramWorkflowService.getPrograms()
Deprecated.
|
java.util.List<Program> |
ProgramWorkflowService.getPrograms(java.lang.String nameFragment)
Returns programs that match the given string.
|
java.util.List<Concept> |
ConceptService.getProposedConcepts(java.lang.String text)
Find matching proposed concepts
|
DataSetProvider |
DataSetService.getProvider(DataSetDefinition definition)
Deprecated.
|
java.util.List<DataSetProvider> |
DataSetService.getProviders()
Deprecated.
Gets the list of providers that have been previously set on this service
|
java.util.List<Form> |
FormService.getPublishedForms()
Returns all published forms (not including retired ones)
|
java.util.List<Concept> |
ConceptService.getQuestionsForAnswer(Concept concept)
Deprecated.
use #getConceptsByAnswer(Concept)
|
java.util.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(java.lang.Integer relationshipId)
Get relationship by internal relationship identifier
|
Relationship |
PersonService.getRelationshipByUuid(java.lang.String uuid)
Get Relationship by its UUID
|
java.util.Map<Person,java.util.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
|
java.util.List<Relationship> |
PersonService.getRelationships()
Deprecated.
|
java.util.List<Relationship> |
PersonService.getRelationships(Person p)
Deprecated.
|
java.util.List<Relationship> |
PersonService.getRelationships(Person p,
boolean showVoided)
Deprecated.
|
java.util.List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType)
Get relationships stored in the database that
|
java.util.List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date effectiveDate)
Get relationships stored in the database that are active on the passed date
|
java.util.List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date startEffectiveDate,
java.util.Date endEffectiveDate)
Get relationships stored in the database that were active during the specified date range
|
java.util.Map<Person,java.util.List<Person>> |
PersonService.getRelationships(RelationshipType relationshipType)
Deprecated.
|
java.util.List<Relationship> |
PersonService.getRelationshipsByPerson(Person p)
Get list of relationships that include Person in person_id or relative_id Does not include
voided relationships
|
java.util.List<Relationship> |
PersonService.getRelationshipsByPerson(Person p,
java.util.Date effectiveDate)
Get list of relationships that include Person in person_id or relative_id.
|
java.util.List<Relationship> |
PersonService.getRelationshipsTo(Person toPerson,
RelationshipType relType)
Deprecated.
|
RelationshipType |
PersonService.getRelationshipType(java.lang.Integer relationshipTypeId)
Get relationshipType by internal identifier
|
RelationshipType |
PersonService.getRelationshipTypeByName(java.lang.String relationshipTypeName)
Find relationshipType by exact name match
|
RelationshipType |
PersonService.getRelationshipTypeByUuid(java.lang.String uuid)
Gets the relationship type with the given uuid.
|
java.util.List<RelationshipType> |
PersonService.getRelationshipTypes()
Deprecated.
|
java.util.List<RelationshipType> |
PersonService.getRelationshipTypes(java.lang.String searchString)
Get relationshipTypes by searching through the names and loosely matching to the given
searchString
|
java.util.List<RelationshipType> |
PersonService.getRelationshipTypes(java.lang.String relationshipTypeName,
java.lang.Boolean preferred)
Find relationshipTypes by exact name match and/or preferred status
|
java.util.Map<java.lang.Class<? extends ReportRenderer>,ReportRenderer> |
ReportService.getRenderers()
Deprecated.
Gets the renderers map registered to this report service
|
ReportSchema |
ReportService.getReportSchema(java.lang.Integer reportSchemaId)
Deprecated.
Get the
ReportSchema with the given id |
ReportSchema |
ReportService.getReportSchema(ReportSchemaXml reportSchemaXml)
Deprecated.
Returns a ReportSchema object from a ReportSchemaXml definition De-serialized the xml
definition, applies macro definitions, and returns an expanded report schema object
|
java.util.List<ReportSchema> |
ReportService.getReportSchemas()
Deprecated.
Return a list of
ReportSchema s |
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(java.lang.String r)
Returns role object with given string role
|
Role |
UserService.getRoleByUuid(java.lang.String uuid)
Get Role by its UUID
|
java.util.List<Role> |
UserService.getRoles()
Deprecated.
|
java.util.List<java.util.Locale> |
AdministrationService.getSearchLocales()
Returns a list of locales used by the user when searching.
|
java.util.List<ConceptSet> |
ConceptService.getSetsContainingConcept(Concept concept)
Find all sets that the given concept is a member of
|
java.util.Set<Person> |
PersonService.getSimilarPeople(java.lang.String nameSearch,
java.lang.Integer birthyear,
java.lang.String gender)
Find a similar person given the attributes.
|
java.util.Set<Person> |
PersonService.getSimilarPeople(java.lang.String nameSearch,
java.lang.Integer birthyear,
java.lang.String gender,
java.lang.String personType)
Deprecated.
|
ProgramWorkflowState |
ProgramWorkflowService.getState(java.lang.Integer id)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
ProgramWorkflowState |
ProgramWorkflowService.getState(ProgramWorkflow programWorkflow,
java.lang.String name)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
java.util.List<ProgramWorkflowState> |
ProgramWorkflowService.getStates()
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
java.util.List<ProgramWorkflowState> |
ProgramWorkflowService.getStates(boolean includeVoided)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
AdministrationService.getSystemInformation()
Get a map of all the System Information.
|
java.util.SortedMap<java.lang.String,java.lang.String> |
AdministrationService.getSystemVariables()
Get a listing or important variables used in openmrs
|
User |
UserService.getUser(java.lang.Integer userId)
Get user by internal user identifier.
|
User |
UserService.getUserByUsername(java.lang.String username)
Get user by username (user's login identifier)
|
User |
UserService.getUserByUuid(java.lang.String uuid)
Get user by the given uuid.
|
java.util.List<User> |
UserService.getUsers()
Deprecated.
|
java.util.List<User> |
UserService.getUsers(java.lang.String nameSearch,
java.util.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 |
java.util.List<User> |
UserService.getUsers(java.lang.String name,
java.util.List<Role> roles,
boolean includeRetired,
java.lang.Integer start,
java.lang.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. |
java.util.List<User> |
UserService.getUsersByName(java.lang.String givenName,
java.lang.String familyName,
boolean includeRetired)
Search for a list of users by exact first name and last name.
|
java.util.List<User> |
UserService.getUsersByPerson(Person person,
boolean includeRetired)
Get all user accounts that belong to a given person.
|
java.util.List<User> |
UserService.getUsersByRole(Role role)
Get users by role granted
|
Visit |
VisitService.getVisit(java.lang.Integer visitId)
Gets a visit by its visit id.
|
Visit |
VisitService.getVisitByUuid(java.lang.String uuid)
Gets a visit by its UUID.
|
java.util.List<Visit> |
VisitService.getVisits(java.util.Collection<VisitType> visitTypes,
java.util.Collection<Patient> patients,
java.util.Collection<Location> locations,
java.util.Collection<Concept> indications,
java.util.Date minStartDatetime,
java.util.Date maxStartDatetime,
java.util.Date minEndDatetime,
java.util.Date maxEndDatetime,
java.util.Map<VisitAttributeType,java.lang.Object> attributeValues,
boolean includeInactive,
boolean includeVoided)
Gets the visits matching the specified arguments
|
java.util.List<Visit> |
VisitService.getVisitsByPatient(Patient patient)
Gets all unvoided visits for the specified patient
|
java.util.List<Visit> |
VisitService.getVisitsByPatient(Patient patient,
boolean includeInactive,
boolean includeVoided)
Gets all visits for the specified patient
|
ProgramWorkflow |
ProgramWorkflowService.getWorkflow(java.lang.Integer id)
Deprecated.
ProgramWorkflows should not be retrieved directly, but rather through the
programs they belong to: use
Program.getWorkflows() |
ProgramWorkflow |
ProgramWorkflowService.getWorkflow(Program program,
java.lang.String name)
Deprecated.
|
void |
UserService.grantUserRole(User user,
Role role)
Deprecated.
|
boolean |
ConceptService.hasAnyObservation(ConceptName conceptName)
Checks if there are any observations (including voided observations) using a conceptName.
|
boolean |
UserService.hasDuplicateUsername(User user)
true/false if username or systemId is already in db in username or system_id columns
|
boolean |
ProgramWorkflowService.isInProgram(Patient patient,
Program program,
java.util.Date fromDate,
java.util.Date toDate)
|
boolean |
ProgramWorkflowService.isLegalTransition(ProgramWorkflowState fromState,
ProgramWorkflowState toState)
|
boolean |
ProviderService.isProviderIdentifierUnique(Provider provider)
Checks if the identifier for the specified provider is unique
|
boolean |
UserService.isSecretAnswer(User u,
java.lang.String answer)
Compares
answer against the user 's secret answer. |
void |
AdministrationService.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept)
Deprecated.
|
Concept |
ConceptService.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept)
Maps a concept proposal to a concept
|
Concept |
ConceptService.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept,
java.util.Locale locale)
Maps a concept proposal to a concept
|
int |
FormService.mergeDuplicateFields()
Audit form, consolidate similar fields
|
void |
PatientService.mergePatients(Patient preferred,
java.util.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(java.lang.String name)
Parses a name into a PersonName (separate Given, Middle, and Family names)
|
java.util.Collection<java.lang.Integer> |
ProgramWorkflowService.patientsInProgram(Program program,
java.util.Date fromDate,
java.util.Date toDate)
Deprecated.
use
ProgramWorkflowService.getPatientPrograms(Patient, Program, Date, Date, Date, Date, boolean)
which can be Iterated across to return collection of patient ids |
void |
PatientService.processDeath(Patient patient,
java.util.Date dateDied,
Concept causeOfDeath,
java.lang.String otherReason)
Convenience method to establish that a patient has died.
|
void |
ConceptService.proposeConcept(ConceptProposal conceptProposal)
Deprecated.
|
void |
ActiveListService.purgeActiveListItem(ActiveListItem item)
Completely removes an ActiveListItem from the database (not reversible)
|
Cohort |
CohortService.purgeCohort(Cohort cohort)
Completely removes a Cohort from the database (not reversible)
|
void |
CohortService.purgeCohortDefinition(CohortDefinition definition)
Deprecated.
see reportingcompatibility module
|
void |
ConceptService.purgeConcept(Concept conceptOrConceptNumeric)
Completely purge a
Concept or ConceptNumeric from the database. |
void |
ConceptService.purgeConceptClass(ConceptClass cc)
Purge a ConceptClass
|
void |
ConceptService.purgeConceptMapType(ConceptMapType conceptMapType)
Completely purges a concept map type from the database
|
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 |
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 |
AdministrationService.purgeGlobalProperties(java.util.List<GlobalProperty> globalProperties)
Completely remove the given global properties from the database
|
void |
AdministrationService.purgeGlobalProperty(GlobalProperty globalProperty)
Completely remove the given global property from the database
|
void |
LocationService.purgeLocation(Location location)
Completely remove a location from the database (not reversible) This method delegates to
#purgeLocation(location, boolean) method
|
void |
LocationService.purgeLocationTag(LocationTag tag)
Completely remove a location tag from the database (not reversible).
|
void |
ObsService.purgeMimeType(MimeType mimeType)
Deprecated.
MimeTypes are no longer used. See
ConceptComplex and its use
of handlers |
void |
ObsService.purgeObs(Obs obs)
Completely remove an observation from the database.
|
void |
ObsService.purgeObs(Obs obs,
boolean cascade)
Completely remove an observation from the database.
|
void |
OrderService.purgeOrder(Order order)
Completely delete an order from the database.
|
void |
OrderService.purgeOrder(Order order,
boolean cascade)
Completely delete an order from the database.
|
void |
OrderService.purgeOrderFrequency(OrderFrequency orderFrequency)
Completely removes an order frequency 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 |
CohortService.registerCohortDefinitionProvider(java.lang.Class<? extends CohortDefinition> cohortDefClass,
CohortDefinitionProvider cohortDef)
Deprecated.
see reportingcompatibility module
|
void |
ObsService.registerHandler(java.lang.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(java.lang.String key,
java.lang.String handlerClass)
Convenience method for
ObsService.registerHandler(String, ComplexObsHandler) |
void |
ReportService.registerRenderer(java.lang.Class<? extends ReportRenderer> rendererClass,
ReportRenderer renderer)
Deprecated.
Registers the given renderer with the service
|
void |
ReportService.registerRenderer(java.lang.String rendererClass)
Deprecated.
Convenience method for
ReportService.registerRenderer(Class, ReportRenderer) |
void |
ConceptService.rejectConceptProposal(ConceptProposal cp)
Deprecated.
|
ActiveListItem |
ActiveListService.removeActiveListItem(ActiveListItem item,
java.util.Date endDate)
Sets the Active List Item as inactive by setting the end date to today, if null
|
void |
PatientService.removeAllergy(Allergy allergy,
java.lang.String reason)
Resolving the allergy, effectively removes the Allergy from the Patient's Active List by
setting the stop date to now, if null.
|
void |
CohortService.removeCohortDefinitionProvider(java.lang.Class<? extends CohortDefinitionProvider> providerClass)
Deprecated.
see reportingcompatibility module
|
void |
ObsService.removeHandler(java.lang.String key)
Remove the handler associated with the key from list of available handlers
|
Cohort |
CohortService.removePatientFromCohort(Cohort cohort,
Patient patient)
Removes a patient from a Cohort.
|
void |
PatientService.removeProblem(Problem problem,
java.lang.String reason)
Effectively removes the Problem from the Patient's Active List by setting the stop date to
now, if null.
|
void |
DataSetService.removeProvider(DataSetProvider provider)
Deprecated.
Remove a registered DataSetProvider
|
void |
ReportService.removeRenderer(java.lang.Class<? extends ReportRenderer> rendererClass)
Deprecated.
Remove the renderer associated with
rendererClass from the list of available
renderers |
User |
UserService.removeUserProperty(User user,
java.lang.String key)
Removes the property denoted by
key from the user 's properties. |
Concept |
ConceptService.retireConcept(Concept conceptOrConceptNumeric,
java.lang.String reason)
Retiring a concept essentially removes it from circulation
|
ConceptMapType |
ConceptService.retireConceptMapType(ConceptMapType conceptMapType,
java.lang.String retireReason)
Retiring a concept map type essentially removes it from circulation
|
ConceptReferenceTerm |
ConceptService.retireConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm,
java.lang.String retireReason)
Retiring a concept reference term essentially removes it from circulation
|
ConceptSource |
ConceptService.retireConceptSource(ConceptSource cs,
java.lang.String reason)
This effectively removes a concept source from the database.
|
Drug |
ConceptService.retireDrug(Drug drug,
java.lang.String reason)
Retiring a Drug essentially removes it from circulation
|
EncounterRole |
EncounterService.retireEncounterRole(EncounterRole encounterRole,
java.lang.String reason)
Retire an EncounterRole.
|
EncounterType |
EncounterService.retireEncounterType(EncounterType encounterType,
java.lang.String reason)
Retire an EncounterType.
|
Field |
FormService.retireField(Field field)
Retires field
|
void |
FormService.retireForm(Form form,
java.lang.String reason)
Retires the Form, leaving it in the database, but removing it from data entry screens
|
Location |
LocationService.retireLocation(Location location,
java.lang.String reason)
Retires the given location.
|
LocationTag |
LocationService.retireLocationTag(LocationTag tag,
java.lang.String reason)
Retire the given location tag.
|
PatientIdentifierType |
PatientService.retirePatientIdentifierType(PatientIdentifierType patientIdentifierType,
java.lang.String reason)
Retire a type of patient identifier
|
PersonAttributeType |
PersonService.retirePersonAttributeType(PersonAttributeType type,
java.lang.String retiredReason)
Retire a Person Attribute Type
|
Program |
ProgramWorkflowService.retireProgram(Program program)
Retires the given program
|
RelationshipType |
PersonService.retireRelationshipType(RelationshipType type,
java.lang.String retiredReason)
Retire a Person Relationship Type
|
void |
AdministrationService.retireTribe(Tribe tribe)
Deprecated.
The Tribe object is no longer supported. Install the Tribe module
|
User |
UserService.retireUser(User user,
java.lang.String reason)
Deactive a user account so that it can no longer log in.
|
void |
UserService.revokeUserRole(User user,
Role role)
Deprecated.
|
ActiveListItem |
ActiveListService.saveActiveListItem(ActiveListItem item)
Save or update an Active List Item
|
void |
LocationService.saveAddressTemplate(java.lang.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,
java.util.Date dateDied,
Concept causeOfDeath,
java.lang.String otherReason)
Convenience method that saves the Obs that indicates when and why the patient died (including
any "other" reason there might be) TODO keep this in the PatientService?
|
Cohort |
CohortService.saveCohort(Cohort cohort)
Save a cohort to the database (create if new, or update if changed) This method will throw an
exception if any patientIds in the Cohort don't exist.
|
CohortDefinition |
CohortService.saveCohortDefinition(CohortDefinition definition)
Deprecated.
see reportingcompatibility module
|
Concept |
ConceptService.saveConcept(Concept concept)
Save or update the given
Concept or ConceptNumeric in the database |
ConceptClass |
ConceptService.saveConceptClass(ConceptClass cc)
Creates or updates a concept class
|
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 |
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
|
java.util.List<GlobalProperty> |
AdministrationService.saveGlobalProperties(java.util.List<GlobalProperty> props)
Save the given list of global properties to the database.
|
GlobalProperty |
AdministrationService.saveGlobalProperty(GlobalProperty gp)
Save the given global property to the database
|
Location |
LocationService.saveLocation(Location location)
Save location to database (create if new or update if changed)
|
LocationTag |
LocationService.saveLocationTag(LocationTag tag)
Save location tag to database (create if new or update if changed)
|
MimeType |
ObsService.saveMimeType(MimeType mimeType)
Deprecated.
MimeTypes are no longer used. See ConceptComplex and its use of handlers
|
Obs |
ObsService.saveObs(Obs obs,
java.lang.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. |
OrderFrequency |
OrderService.saveOrderFrequency(OrderFrequency orderFrequency)
Creates or updates the given order frequency 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
|
void |
PatientService.saveProblem(Problem problem)
Creates a ProblemListItem to the Patient's Problem Active List.
|
Program |
ProgramWorkflowService.saveProgram(Program program)
Save
program to database (create if new or update if changed) |
Relationship |
PersonService.saveRelationship(Relationship relationship)
Create or update a relationship between people.
|
RelationshipType |
PersonService.saveRelationshipType(RelationshipType relationshipType)
Inserts or updates the given relationship type object in the database
|
void |
ReportService.saveReportSchema(ReportSchema reportSchema)
Deprecated.
Save or update the given
ReportSchema in the database. |
Role |
UserService.saveRole(Role role)
Save the given role in the database
|
User |
UserService.saveUser(User user,
java.lang.String password)
Saves a user to 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 |
CohortService.setCohortDefinitionProviders(java.util.Map<java.lang.Class<? extends CohortDefinition>,CohortDefinitionProvider> providerClassMap)
Deprecated.
see reportingcompatibility module
|
void |
ObsService.setHandlers(java.util.Map<java.lang.String,ComplexObsHandler> handlers)
Add the given map to this service's handlers.
|
void |
AdministrationService.setImplementationId(ImplementationId implementationId)
Set the given
implementationId as this implementation's unique id |
void |
DataSetService.setProviders(java.util.List<DataSetProvider> providers)
Deprecated.
Add the given list of DataSetProviders to the providers on this service.
|
void |
ReportService.setRenderers(java.util.Map<java.lang.Class<? extends ReportRenderer>,ReportRenderer> renderers)
Deprecated.
Add the given map to this service's renderers This map is set via spring, see the
applicationContext-service.xml file
|
User |
UserService.setUserProperty(User user,
java.lang.String key,
java.lang.String value)
Adds the
key /value pair to the given user . |
void |
ProgramWorkflowService.triggerStateConversion(Patient patient,
Concept reasonForExit,
java.util.Date dateConverted)
Deprecated.
as of 1.10, because the only place in core where it was called was
PatientService#exitFromCare(Patient patient, Date dateExited, Concept
reasonForExit) which was moved to exit from care module
|
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.
|
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.
|
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
|
void |
AdministrationService.unretireTribe(Tribe tribe)
Deprecated.
The Tribe object is no longer supported. Install the Tribe module
|
User |
UserService.unretireUser(User user)
Clears retired flag for a user.
|
Encounter |
EncounterService.unvoidEncounter(Encounter encounter)
Unvoid encounter record
|
Obs |
ObsService.unvoidObs(Obs obs)
Revive an observation (pull a Lazarus)
|
Order |
OrderService.unvoidOrder(Order order)
Unvoid order record.
|
Patient |
PatientService.unvoidPatient(Patient patient)
Unvoid patient record.
|
PatientProgram |
ProgramWorkflowService.unvoidPatientProgram(PatientProgram patientProgram)
Unvoids the given patientProgram
|
Person |
PersonService.unvoidPerson(Person person)
Effectively resurrects this person in the db.
|
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
|
User |
UserService.unvoidUser(User user)
Deprecated.
|
Visit |
VisitService.unvoidVisit(Visit visit)
Unvoids the given visit.
|
Cohort |
CohortService.updateCohort(Cohort cohort)
Deprecated.
replaced by saveCohort(Cohort)
|
void |
ConceptService.updateConcept(Concept concept)
Deprecated.
use #saveConcept(Concept)
|
void |
ConceptService.updateConcept(ConceptNumeric concept)
Deprecated.
use #saveConcept(Concept)
|
void |
AdministrationService.updateConceptClass(ConceptClass cc)
Deprecated.
|
void |
AdministrationService.updateConceptDatatype(ConceptDatatype cd)
Deprecated.
|
void |
ConceptService.updateConceptIndex(Concept concept)
Iterates over the words in names and synonyms (for each locale) and updates the concept
index, note that this only updates the index of the specified concept.
|
void |
ConceptService.updateConceptIndexes()
Iterates over all concepts and calls upddateConceptIndexes(Concept concept)
|
void |
ConceptService.updateConceptIndexes(java.lang.Integer conceptIdStart,
java.lang.Integer conceptIdEnd)
Iterates over all concepts with conceptIds between
conceptIdStart and
conceptIdEnd (inclusive) and calls updateConceptIndexes(concept) |
void |
AdministrationService.updateConceptProposal(ConceptProposal cp)
Deprecated.
|
void |
AdministrationService.updateConceptSetDerived()
Deprecated.
|
void |
ConceptService.updateConceptSetDerived()
Iterates over all concepts calling updateConceptSetDerived(concept)
|
void |
AdministrationService.updateConceptSetDerived(Concept concept)
Deprecated.
|
void |
ConceptService.updateConceptSetDerived(Concept concept)
Updates the concept set derived business table for this concept (bursting the concept sets)
|
void |
ProgramWorkflowService.updateConceptStateConversion(ConceptStateConversion conceptStateConversion)
|
void |
AdministrationService.updateConceptWord(Concept concept)
Deprecated.
|
void |
ConceptService.updateConceptWord(Concept concept)
Deprecated.
|
void |
AdministrationService.updateConceptWords()
Deprecated.
moved to
ConceptService.updateConceptWords() |
void |
ConceptService.updateConceptWords()
Deprecated.
|
void |
AdministrationService.updateConceptWords(java.lang.Integer conceptIdStart,
java.lang.Integer conceptIdEnd)
Deprecated.
|
void |
ConceptService.updateConceptWords(java.lang.Integer conceptIdStart,
java.lang.Integer conceptIdEnd)
Deprecated.
|
void |
ConceptService.updateDrug(Drug drug)
Deprecated.
use #saveDrug(Drug)
|
void |
EncounterService.updateEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterService.saveEncounter(Encounter) |
void |
AdministrationService.updateEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormService.updateField(Field field)
Deprecated.
|
void |
AdministrationService.updateFieldType(FieldType fieldType)
Deprecated.
|
void |
FormService.updateForm(Form form)
Deprecated.
|
void |
FormService.updateFormField(FormField formField)
Deprecated.
|
void |
AdministrationService.updateLocation(Location location)
Deprecated.
|
void |
AdministrationService.updateMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsService.updateObs(Obs obs)
Deprecated.
|
Patient |
PatientService.updatePatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
PatientService.updatePatientIdentifier(PatientIdentifier patientIdentifier)
Deprecated.
patient identifiers should not be updated directly; rather, after changing
patient identifiers, use
PatientService.savePatient(Patient) to save changes to the
database |
void |
AdministrationService.updatePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
ProgramWorkflowService.updatePatientProgram(PatientProgram patientProgram)
Deprecated.
|
void |
PersonService.updatePerson(Person person)
Deprecated.
|
void |
PersonService.updatePersonAttributeType(PersonAttributeType type)
Deprecated.
|
void |
AdministrationService.updatePrivilege(Privilege privilege)
Deprecated.
|
void |
PersonService.updateRelationship(Relationship relationship)
Deprecated.
replaced by #saveRelationship(Relationship)
|
void |
PersonService.updateRelationshipType(RelationshipType relationshipType)
Deprecated.
replaced by #saveRelationshipType(RelationshipType)
|
void |
AdministrationService.updateReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.updateReportObject(AbstractReportObject reportObject)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationService.updateRole(Role role)
Deprecated.
|
void |
AdministrationService.updateTribe(Tribe tribe)
Deprecated.
The Tribe object is no longer supported. Install the Tribe module
|
void |
UserService.updateUser(User user)
Deprecated.
replaced by
UserService.saveUser(User, String) |
void |
ProgramWorkflowService.updateWorkflow(ProgramWorkflow programWorkflow)
Deprecated.
|
void |
AdministrationService.validate(java.lang.Object object,
org.springframework.validation.Errors errors)
Performs validation in the manual flush mode to prevent any premature flushes.
|
ActiveListItem |
ActiveListService.voidActiveListItem(ActiveListItem item,
java.lang.String reason)
Voids the Active List Item
|
void |
PatientService.voidAllergy(Allergy allergy,
java.lang.String reason)
Used only in cases where the Allergy was entered by error
|
Cohort |
CohortService.voidCohort(Cohort cohort,
java.lang.String reason)
Voids the given cohort, deleting it from the perspective of the typical end user.
|
void |
ConceptService.voidConcept(Concept concept,
java.lang.String reason)
Deprecated.
|
void |
ProgramWorkflowService.voidLastState(PatientProgram patientProgram,
ProgramWorkflow wf,
java.lang.String voidReason)
|
MimeType |
ObsService.voidMimeType(MimeType mimeType,
java.lang.String reason)
Deprecated.
MimeTypes are no longer used. See ConceptComplex and its use of handlers
|
Obs |
ObsService.voidObs(Obs obs,
java.lang.String reason)
Equivalent to deleting an observation
|
Order |
OrderService.voidOrder(Order order,
java.lang.String voidReason)
Mark an order as voided.
|
Patient |
PatientService.voidPatient(Patient patient,
java.lang.String reason)
Void patient record (functionally delete patient from system).
|
PatientIdentifier |
PatientService.voidPatientIdentifier(PatientIdentifier patientIdentifier,
java.lang.String reason)
Void patient identifier (functionally delete patient identifier from system)
|
PatientProgram |
ProgramWorkflowService.voidPatientProgram(PatientProgram patientProgram,
java.lang.String reason)
Voids the given patientProgram
|
Person |
PersonService.voidPerson(Person person,
java.lang.String reason)
Effectively removes this person from the system.
|
void |
PatientService.voidProblem(Problem problem,
java.lang.String reason)
Used only in cases where the Problem was entered by error
|
Relationship |
PersonService.voidRelationship(Relationship relationship,
java.lang.String voidReason)
Voids the given Relationship, effectively removing it from openmrs.
|
User |
UserService.voidUser(User user,
java.lang.String reason)
Deprecated.
|
Visit |
VisitService.voidVisit(Visit visit,
java.lang.String reason)
Voids the given visit.
|
void |
ProgramWorkflowService.voidWorkflow(ProgramWorkflow programWorkflow,
java.lang.String reason)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
ContextAuthenticationException
This exception is thrown when a user attempts to access a service or object that they do not have
rights to.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ServiceContext.getRegisteredComponent(java.lang.String beanName,
java.lang.Class<T> type)
Retrieves a bean that match the given type (including subclasses) and name.
|
static <T> T |
Context.getRegisteredComponent(java.lang.String beanName,
java.lang.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 |
---|---|
java.util.List<VisitType> |
VisitDAO.getAllVisitTypes() |
java.util.List<ConceptReferenceTerm> |
ConceptDAO.getConceptReferenceTerms(java.lang.String query,
ConceptSource conceptSource,
java.lang.Integer start,
java.lang.Integer length,
boolean includeRetired) |
java.util.List<java.util.List<java.lang.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 |
---|---|
java.util.List<VisitType> |
HibernateVisitDAO.getAllVisitTypes() |
java.util.List<ConceptReferenceTerm> |
HibernateConceptDAO.getConceptReferenceTerms(java.lang.String query,
ConceptSource conceptSource,
java.lang.Integer start,
java.lang.Integer length,
boolean includeRetired) |
java.util.List<java.util.List<java.lang.Object>> |
HibernateOrderDAO.getOrderFromDatabase(Order order,
boolean isOrderADrugOrder) |
Order |
HibernateOrderDAO.getRevisionOrder(Order order) |
Modifier and Type | Method and Description |
---|---|
protected VisitType |
ExistingOrNewVisitAssignmentHandler.getVisitType(Encounter encounter)
Gets the visit type for an encounter.
|
Modifier and Type | Method and Description |
---|---|
void |
AdministrationServiceImpl.addGlobalProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Deprecated.
|
void |
UserServiceImpl.changeHashedPassword(User user,
java.lang.String hashedPassword,
java.lang.String salt) |
void |
UserServiceImpl.changePassword(java.lang.String pw,
java.lang.String pw2) |
void |
UserServiceImpl.changePassword(User u,
java.lang.String pw) |
void |
UserServiceImpl.changeQuestionAnswer(User u,
java.lang.String question,
java.lang.String answer) |
void |
ConceptServiceImpl.convertBooleanConceptToCoded(Concept conceptToChange) |
void |
AdministrationServiceImpl.createConceptClass(ConceptClass cc)
Deprecated.
moved to ConceptService
|
void |
AdministrationServiceImpl.createConceptDatatype(ConceptDatatype cd)
Deprecated.
moved to ConceptService
|
void |
AdministrationServiceImpl.createConceptProposal(ConceptProposal cp)
Deprecated.
moved to ConceptService
|
void |
EncounterServiceImpl.createEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterServiceImpl.saveEncounter(Encounter) |
void |
AdministrationServiceImpl.createEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormServiceImpl.createField(Field field)
Deprecated.
|
void |
AdministrationServiceImpl.createFieldType(FieldType fieldType)
Deprecated.
|
Form |
FormServiceImpl.createForm(Form form)
Deprecated.
|
void |
FormServiceImpl.createFormField(FormField formField)
Deprecated.
|
void |
AdministrationServiceImpl.createLocation(Location location)
Deprecated.
|
void |
AdministrationServiceImpl.createMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsServiceImpl.createObs(Obs obs)
Deprecated.
|
void |
ObsServiceImpl.createObsGroup(Obs[] obs)
Deprecated.
This method should no longer need to be called on the api. This was meant as
temporary until we created a true ObsGroup pojo.
|
Patient |
PatientServiceImpl.createPatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
AdministrationServiceImpl.createPatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
Person |
PersonServiceImpl.createPerson(Person person)
Deprecated.
|
void |
PersonServiceImpl.createPersonAttributeType(PersonAttributeType type)
Deprecated.
|
void |
AdministrationServiceImpl.createPrivilege(Privilege privilege)
Deprecated.
|
void |
PersonServiceImpl.createRelationship(Relationship relationship)
Deprecated.
|
void |
PersonServiceImpl.createRelationshipType(RelationshipType relationshipType)
Deprecated.
|
void |
AdministrationServiceImpl.createReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.createReportObject(AbstractReportObject reportObject)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.createRole(Role role)
Deprecated.
|
void |
AdministrationServiceImpl.createTribe(Tribe tribe)
Deprecated.
|
User |
UserServiceImpl.createUser(User user,
java.lang.String password)
Deprecated.
|
void |
AdministrationServiceImpl.deleteConceptClass(ConceptClass cc)
Deprecated.
moved to ConceptService
|
void |
AdministrationServiceImpl.deleteConceptDatatype(ConceptDatatype cd)
Deprecated.
moved to ConceptService
|
void |
ConceptServiceImpl.deleteConceptStopWord(java.lang.Integer conceptStopWordId) |
void |
EncounterServiceImpl.deleteEncounter(Encounter encounter)
Deprecated.
Replaced by
EncounterServiceImpl.purgeEncounter(Encounter) |
void |
AdministrationServiceImpl.deleteEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormServiceImpl.deleteField(Field field)
Deprecated.
|
void |
AdministrationServiceImpl.deleteFieldType(FieldType fieldType)
Deprecated.
|
void |
FormServiceImpl.deleteForm(Form form)
Deprecated.
|
void |
FormServiceImpl.deleteFormField(FormField formField)
Deprecated.
|
void |
AdministrationServiceImpl.deleteGlobalProperty(java.lang.String propertyName)
Deprecated.
|
void |
AdministrationServiceImpl.deleteLocation(Location location)
Deprecated.
|
void |
AdministrationServiceImpl.deleteMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsServiceImpl.deleteObs(Obs obs)
Deprecated.
use #purgeObs(Obs)
|
void |
PatientServiceImpl.deletePatient(Patient patient)
Deprecated.
replaced by
PatientServiceImpl.purgePatient(Patient) |
void |
AdministrationServiceImpl.deletePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
PersonServiceImpl.deletePerson(Person person)
Deprecated.
|
void |
AdministrationServiceImpl.deletePrivilege(Privilege privilege)
Deprecated.
|
void |
PersonServiceImpl.deleteRelationship(Relationship relationship)
Deprecated.
|
void |
PersonServiceImpl.deleteRelationshipType(RelationshipType relationshipType)
Deprecated.
|
void |
AdministrationServiceImpl.deleteReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.deleteReportObject(java.lang.Integer reportObjectId)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.deleteRole(Role role)
Deprecated.
|
void |
AdministrationServiceImpl.deleteTribe(Tribe tribe)
Deprecated.
|
void |
UserServiceImpl.deleteUser(User user)
Deprecated.
|
Form |
FormServiceImpl.duplicateForm(Form form)
Duplicate this form and form_fields associated with this form
|
Cohort |
CohortServiceImpl.evaluate(CohortDefinition definition,
EvaluationContext evalContext)
Deprecated.
see reportingcompatibility module
|
java.util.List<java.util.List<java.lang.Object>> |
AdministrationServiceImpl.executeSQL(java.lang.String sql,
boolean selectOnly) |
void |
PatientServiceImpl.exitFromCare(Patient patient,
java.util.Date dateExited,
Concept reasonForExit)
This is the way to establish that a patient has left the care center.
|
java.util.List<ConceptSearchResult> |
ConceptServiceImpl.findConceptAnswers(java.lang.String phrase,
java.util.Locale locale,
Concept concept) |
java.util.List<Patient> |
PatientServiceImpl.findDuplicatePatients(java.util.Set<java.lang.String> attributes)
Deprecated.
|
java.util.List<EncounterType> |
EncounterServiceImpl.findEncounterTypes(java.lang.String name) |
java.util.List<Field> |
FormServiceImpl.findFields(Concept concept)
Deprecated.
|
java.util.List<Field> |
FormServiceImpl.findFields(java.lang.String searchPhrase)
Deprecated.
|
java.util.List<Location> |
EncounterServiceImpl.findLocations(java.lang.String name)
Deprecated.
use LocationService.getLocations(name)
|
Patient |
PatientServiceImpl.findPatient(Patient patientToMatch)
Deprecated.
|
java.util.List<Patient> |
PatientServiceImpl.findPatients(java.lang.String query,
boolean includeVoided)
Deprecated.
|
RelationshipType |
PersonServiceImpl.findRelationshipType(java.lang.String relationshipTypeName)
Deprecated.
|
java.util.List<ConceptMapType> |
ConceptServiceImpl.getActiveConceptMapTypes() |
EncounterVisitHandler |
EncounterServiceImpl.getActiveEncounterVisitHandler() |
<T extends ActiveListItem> |
ActiveListServiceImpl.getActiveListItem(java.lang.Class<T> clazz,
java.lang.Integer activeListItemId) |
ActiveListItem |
ActiveListServiceImpl.getActiveListItemByUuid(java.lang.String uuid) |
<T extends ActiveListItem> |
ActiveListServiceImpl.getActiveListItems(java.lang.Class<T> clazz,
Person p,
ActiveListType type) |
java.util.List<ActiveListItem> |
ActiveListServiceImpl.getActiveListItems(Person p,
ActiveListType type) |
java.util.List<Visit> |
VisitServiceImpl.getActiveVisitsByPatient(Patient patient) |
java.lang.String |
LocationServiceImpl.getAddressTemplate() |
java.util.List<Cohort> |
CohortServiceImpl.getAllCohorts() |
java.util.List<Cohort> |
CohortServiceImpl.getAllCohorts(boolean includeVoided) |
java.util.List<ConceptClass> |
ConceptServiceImpl.getAllConceptClasses() |
java.util.List<ConceptDatatype> |
ConceptServiceImpl.getAllConceptDatatypes(boolean includeRetired) |
java.util.List<ConceptReferenceTerm> |
ConceptServiceImpl.getAllConceptReferenceTerms() |
java.util.List<Concept> |
ConceptServiceImpl.getAllConcepts() |
java.util.List<Concept> |
ConceptServiceImpl.getAllConcepts(java.lang.String sortBy,
boolean asc,
boolean includeRetired) |
java.util.List<ConceptStateConversion> |
ProgramWorkflowServiceImpl.getAllConceptStateConversions() |
java.util.List<EncounterType> |
EncounterServiceImpl.getAllEncounterTypes() |
java.util.List<EncounterType> |
EncounterServiceImpl.getAllEncounterTypes(boolean includeRetired) |
java.util.List<Allergy> |
PatientServiceImpl.getAllergies(Person p) |
Allergy |
PatientServiceImpl.getAllergy(java.lang.Integer allergyListId) |
java.util.List<Field> |
FormServiceImpl.getAllFields() |
java.util.List<Field> |
FormServiceImpl.getAllFields(boolean includeRetired) |
java.util.List<FieldType> |
FormServiceImpl.getAllFieldTypes() |
java.util.List<FieldType> |
FormServiceImpl.getAllFieldTypes(boolean includeRetired) |
java.util.List<FormField> |
FormServiceImpl.getAllFormFields() |
java.util.List<Form> |
FormServiceImpl.getAllForms() |
java.util.List<Form> |
FormServiceImpl.getAllForms(boolean includeRetired) |
java.util.List<GlobalProperty> |
AdministrationServiceImpl.getAllGlobalProperties() |
java.util.List<Location> |
LocationServiceImpl.getAllLocations() |
java.util.List<Location> |
LocationServiceImpl.getAllLocations(boolean includeRetired) |
java.util.List<LocationTag> |
LocationServiceImpl.getAllLocationTags() |
java.util.List<LocationTag> |
LocationServiceImpl.getAllLocationTags(boolean includeRetired) |
java.util.List<MimeType> |
ObsServiceImpl.getAllMimeTypes()
Deprecated.
|
java.util.List<PatientIdentifierType> |
PatientServiceImpl.getAllPatientIdentifierTypes() |
java.util.List<PatientIdentifierType> |
PatientServiceImpl.getAllPatientIdentifierTypes(boolean includeRetired) |
java.util.List<Patient> |
PatientServiceImpl.getAllPatients() |
java.util.List<Patient> |
PatientServiceImpl.getAllPatients(boolean includeVoided) |
java.util.List<PersonAttributeType> |
PersonServiceImpl.getAllPersonAttributeTypes() |
java.util.List<PersonAttributeType> |
PersonServiceImpl.getAllPersonAttributeTypes(boolean includeRetired) |
java.util.List<Privilege> |
UserServiceImpl.getAllPrivileges() |
java.util.List<Program> |
ProgramWorkflowServiceImpl.getAllPrograms() |
java.util.List<Program> |
ProgramWorkflowServiceImpl.getAllPrograms(boolean includeRetired) |
java.util.List<Relationship> |
PersonServiceImpl.getAllRelationships() |
java.util.List<Relationship> |
PersonServiceImpl.getAllRelationships(boolean includeVoided) |
java.util.List<RelationshipType> |
PersonServiceImpl.getAllRelationshipTypes() |
java.util.List<RelationshipType> |
PersonServiceImpl.getAllRelationshipTypes(boolean includeRetired) |
java.util.List<Role> |
UserServiceImpl.getAllRoles() |
java.util.List<User> |
UserServiceImpl.getAllUsers() |
java.util.List<Visit> |
VisitServiceImpl.getAllVisits() |
Cohort |
CohortServiceImpl.getCohort(java.lang.String name) |
java.util.List<Cohort> |
CohortServiceImpl.getCohorts(java.lang.String nameFragment) |
Obs |
ObsServiceImpl.getComplexObs(java.lang.Integer obsId,
java.lang.String view) |
Concept |
ConceptServiceImpl.getConcept(java.lang.Integer conceptId) |
ConceptAnswer |
ConceptServiceImpl.getConceptAnswer(java.lang.Integer conceptAnswerId) |
java.util.List<ConceptWord> |
ConceptServiceImpl.getConceptAnswers(java.lang.String phrase,
java.util.Locale locale,
Concept concept)
Deprecated.
|
Concept |
ConceptServiceImpl.getConceptByMapping(java.lang.String code,
java.lang.String sourceName) |
Concept |
ConceptServiceImpl.getConceptByMapping(java.lang.String code,
java.lang.String sourceName,
java.lang.Boolean includeRetired) |
java.util.List<ConceptMap> |
ConceptServiceImpl.getConceptMappingsToSource(ConceptSource conceptSource) |
ConceptMapType |
ConceptServiceImpl.getConceptMapType(java.lang.Integer conceptMapTypeId) |
ConceptMapType |
ConceptServiceImpl.getConceptMapTypeByName(java.lang.String name) |
ConceptMapType |
ConceptServiceImpl.getConceptMapTypeByUuid(java.lang.String uuid) |
java.util.List<ConceptMapType> |
ConceptServiceImpl.getConceptMapTypes(boolean includeRetired,
boolean includeHidden) |
ConceptName |
ConceptServiceImpl.getConceptName(java.lang.Integer conceptNameId) |
ConceptNumeric |
ConceptServiceImpl.getConceptNumeric(java.lang.Integer conceptId) |
ConceptReferenceTerm |
ConceptServiceImpl.getConceptReferenceTerm(java.lang.Integer conceptReferenceTermId) |
ConceptReferenceTerm |
ConceptServiceImpl.getConceptReferenceTermByCode(java.lang.String code,
ConceptSource conceptSource) |
ConceptReferenceTerm |
ConceptServiceImpl.getConceptReferenceTermByName(java.lang.String name,
ConceptSource conceptSource) |
ConceptReferenceTerm |
ConceptServiceImpl.getConceptReferenceTermByUuid(java.lang.String uuid) |
java.util.List<ConceptReferenceTerm> |
ConceptServiceImpl.getConceptReferenceTerms(boolean includeRetired) |
java.util.List<ConceptReferenceTerm> |
ConceptServiceImpl.getConceptReferenceTerms(java.lang.String query,
ConceptSource conceptSource,
java.lang.Integer start,
java.lang.Integer length,
boolean includeRetired) |
java.util.List<ConceptSearchResult> |
ConceptServiceImpl.getConcepts(java.lang.String phrase,
java.util.List<java.util.Locale> locales,
boolean includeRetired,
java.util.List<ConceptClass> requireClasses,
java.util.List<ConceptClass> excludeClasses,
java.util.List<ConceptDatatype> requireDatatypes,
java.util.List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
java.lang.Integer start,
java.lang.Integer size) |
java.util.List<ConceptSearchResult> |
ConceptServiceImpl.getConcepts(java.lang.String phrase,
java.util.Locale locale,
boolean includeRetired) |
java.util.List<Concept> |
ConceptServiceImpl.getConcepts(java.lang.String sortBy,
java.lang.String dir)
Deprecated.
|
java.util.List<Concept> |
ConceptServiceImpl.getConceptsByAnswer(Concept concept) |
java.util.List<ConceptMap> |
ConceptServiceImpl.getConceptsByConceptSource(ConceptSource conceptSource) |
java.util.List<Concept> |
ConceptServiceImpl.getConceptsByMapping(java.lang.String code,
java.lang.String sourceName) |
java.util.List<Concept> |
ConceptServiceImpl.getConceptsByMapping(java.lang.String code,
java.lang.String sourceName,
boolean includeRetired) |
java.util.List<Concept> |
ConceptServiceImpl.getConceptsByName(java.lang.String name) |
java.util.List<Concept> |
ConceptServiceImpl.getConceptsByName(java.lang.String name,
java.util.Locale locale,
java.lang.Boolean exactLocale) |
java.util.List<ConceptSet> |
ConceptServiceImpl.getConceptSetsByConcept(Concept concept) |
ConceptSource |
ConceptServiceImpl.getConceptSourceByName(java.lang.String conceptSourceName) |
java.util.List<ConceptWord> |
ConceptServiceImpl.getConceptWords(java.lang.String phrase,
java.util.Locale locale)
Deprecated.
|
java.lang.Integer |
ConceptServiceImpl.getCountOfDrugs(java.lang.String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired) |
ConceptMapType |
ConceptServiceImpl.getDefaultConceptMapType() |
Location |
LocationServiceImpl.getDefaultLocation() |
Order |
OrderServiceImpl.getDiscontinuationOrder(Order order) |
Drug |
ConceptServiceImpl.getDrug(java.lang.Integer drugId) |
Drug |
ConceptServiceImpl.getDrugByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
java.util.List<Drug> |
ConceptServiceImpl.getDrugs(java.lang.String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<Drug> |
ConceptServiceImpl.getDrugs(java.lang.String searchPhrase,
java.util.Locale locale,
boolean exactLocale,
boolean includeRetired) |
java.util.List<Drug> |
ConceptServiceImpl.getDrugsByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypes,
boolean includeRetired) |
java.util.List<Patient> |
PatientServiceImpl.getDuplicatePatientsByAttributes(java.util.List<java.lang.String> attributes) |
Encounter |
EncounterServiceImpl.getEncounter(java.lang.Integer encounterId) |
Encounter |
EncounterServiceImpl.getEncounterByUuid(java.lang.String uuid) |
EncounterRole |
EncounterServiceImpl.getEncounterRole(java.lang.Integer encounterRoleId) |
EncounterRole |
EncounterServiceImpl.getEncounterRoleByUuid(java.lang.String uuid) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncounters(java.lang.String query,
java.lang.Integer start,
java.lang.Integer length,
boolean includeVoided) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncounters(java.lang.String query,
java.lang.Integer patientId,
java.lang.Integer start,
java.lang.Integer length,
boolean includeVoided) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(Patient patient) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(java.lang.String query) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(java.lang.String query,
boolean includeVoided) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByPatientId(java.lang.Integer patientId) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByPatientId(java.lang.Integer patientId,
boolean includeVoided)
Deprecated.
|
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByPatientIdentifier(java.lang.String identifier) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByPatientIdentifier(java.lang.String identifier,
boolean includeVoided)
Deprecated.
|
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByVisitsAndPatient(Patient patient,
boolean includeVoided,
java.lang.String query,
java.lang.Integer start,
java.lang.Integer length) |
java.lang.Integer |
EncounterServiceImpl.getEncountersByVisitsAndPatientCount(Patient patient,
boolean includeVoided,
java.lang.String query) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersNotAssignedToAnyVisit(Patient patient) |
EncounterType |
EncounterServiceImpl.getEncounterType(java.lang.Integer encounterTypeId) |
EncounterType |
EncounterServiceImpl.getEncounterType(java.lang.String name) |
EncounterType |
EncounterServiceImpl.getEncounterTypeByUuid(java.lang.String uuid) |
Field |
FormServiceImpl.getField(java.lang.Integer fieldId) |
FieldAnswer |
FormServiceImpl.getFieldAnswerByUuid(java.lang.String uuid) |
Field |
FormServiceImpl.getFieldByUuid(java.lang.String uuid) |
java.util.List<Field> |
FormServiceImpl.getFields()
Deprecated.
|
java.util.List<Field> |
FormServiceImpl.getFields(java.util.Collection<Form> forms,
java.util.Collection<FieldType> fieldTypes,
java.util.Collection<Concept> concepts,
java.util.Collection<java.lang.String> tableNames,
java.util.Collection<java.lang.String> attributeNames,
java.lang.Boolean selectMultiple,
java.util.Collection<FieldAnswer> containsAllAnswers,
java.util.Collection<FieldAnswer> containsAnyAnswer,
java.lang.Boolean retired) |
java.util.List<Field> |
FormServiceImpl.getFields(java.lang.String fuzzySearchPhrase) |
java.util.List<Field> |
FormServiceImpl.getFieldsByConcept(Concept concept) |
FieldType |
FormServiceImpl.getFieldType(java.lang.Integer fieldTypeId) |
FieldType |
FormServiceImpl.getFieldTypeByUuid(java.lang.String uuid) |
java.util.List<FieldType> |
FormServiceImpl.getFieldTypes()
Deprecated.
|
Form |
FormServiceImpl.getForm(java.lang.Integer formId) |
Form |
FormServiceImpl.getForm(java.lang.String name) |
Form |
FormServiceImpl.getForm(java.lang.String name,
java.lang.String version) |
Form |
FormServiceImpl.getFormByUuid(java.lang.String uuid) |
FormField |
FormServiceImpl.getFormField(Form form,
Concept concept)
Deprecated.
|
FormField |
FormServiceImpl.getFormField(Form form,
Concept concept,
java.util.Collection<FormField> ignoreFormFields,
boolean force) |
FormField |
FormServiceImpl.getFormField(java.lang.Integer formFieldId) |
FormField |
FormServiceImpl.getFormFieldByUuid(java.lang.String uuid) |
java.util.List<FormField> |
FormServiceImpl.getFormFields(Form form)
Deprecated.
|
FormResource |
FormServiceImpl.getFormResource(Form form,
java.lang.String name) |
FormResource |
FormServiceImpl.getFormResource(java.lang.Integer formResourceId) |
FormResource |
FormServiceImpl.getFormResourceByUuid(java.lang.String uuid) |
java.util.Collection<FormResource> |
FormServiceImpl.getFormResourcesForForm(Form form) |
java.util.List<Form> |
FormServiceImpl.getForms()
Deprecated.
|
java.util.List<Form> |
FormServiceImpl.getForms(boolean publishedOnly)
Deprecated.
|
java.util.List<Form> |
FormServiceImpl.getForms(boolean publishedOnly,
boolean includeRetired)
Deprecated.
|
java.util.Set<Form> |
FormServiceImpl.getForms(Concept c)
Deprecated.
|
java.util.List<Form> |
FormServiceImpl.getFormsContainingConcept(Concept concept) |
java.util.List<GlobalProperty> |
AdministrationServiceImpl.getGlobalProperties()
Deprecated.
|
java.lang.String |
AdministrationServiceImpl.getGlobalProperty(java.lang.String propertyName) |
java.lang.String |
AdministrationServiceImpl.getGlobalProperty(java.lang.String propertyName,
java.lang.String defaultValue) |
<T> T |
AdministrationServiceImpl.getGlobalPropertyValue(java.lang.String propertyName,
T defaultValue) |
ComplexObsHandler |
ObsServiceImpl.getHandler(Obs obs)
Convenience method to get the ComplexObsHandler associated with a complex Obs.
|
java.util.Map<java.lang.String,ComplexObsHandler> |
ObsServiceImpl.getHandlers() |
ImplementationId |
AdministrationServiceImpl.getImplementationId() |
java.util.List<Role> |
UserServiceImpl.getInheritingRoles(Role role)
Deprecated.
|
Location |
LocationServiceImpl.getLocation(java.lang.Integer locationId) |
Location |
EncounterServiceImpl.getLocation(java.lang.Integer locationId)
Deprecated.
use LocationService.getLocation(locationId)
|
Location |
LocationServiceImpl.getLocation(java.lang.String name) |
Location |
EncounterServiceImpl.getLocationByName(java.lang.String name)
Deprecated.
use LocationService.getLocation(name)
|
Location |
LocationServiceImpl.getLocationByUuid(java.lang.String uuid) |
java.util.List<Location> |
EncounterServiceImpl.getLocations()
Deprecated.
use LocationService.getAllLocations()
|
java.util.List<Location> |
LocationServiceImpl.getLocations(java.lang.String nameFragment) |
java.util.List<Location> |
LocationServiceImpl.getLocations(java.lang.String nameFragment,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length)
Deprecated.
|
java.util.List<Location> |
LocationServiceImpl.getLocationsByTag(LocationTag tag) |
java.util.List<Location> |
LocationServiceImpl.getLocationsHavingAllTags(java.util.List<LocationTag> tags) |
java.util.List<Location> |
LocationServiceImpl.getLocationsHavingAnyTag(java.util.List<LocationTag> tags) |
LocationTag |
LocationServiceImpl.getLocationTag(java.lang.Integer locationTagId) |
LocationTag |
LocationServiceImpl.getLocationTagByName(java.lang.String tag) |
LocationTag |
LocationServiceImpl.getLocationTagByUuid(java.lang.String uuid) |
java.util.List<LocationTag> |
LocationServiceImpl.getLocationTags(java.lang.String search) |
MimeType |
ObsServiceImpl.getMimeType(java.lang.Integer mimeTypeId)
Deprecated.
|
java.util.List<MimeType> |
ObsServiceImpl.getMimeTypes()
Deprecated.
|
java.util.Collection<?> |
AdministrationServiceImpl.getMRNGeneratorLog()
Deprecated.
|
java.lang.String |
OrderServiceImpl.getNewOrderNumber(OrderContext orderContext) |
Obs |
ObsServiceImpl.getObs(java.lang.Integer obsId) |
Obs |
ObsServiceImpl.getObsByUuid(java.lang.String uuid) |
java.lang.Integer |
ObsServiceImpl.getObservationCount(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs) |
java.util.List<Obs> |
ObsServiceImpl.getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sort,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs) |
java.util.List<Obs> |
ObsServiceImpl.getObservationsByPersonAndConcept(Person who,
Concept question) |
Order |
OrderServiceImpl.getOrder(java.lang.Integer orderId) |
Order |
OrderServiceImpl.getOrderByUuid(java.lang.String uuid) |
Patient |
PatientServiceImpl.getPatient(java.lang.Integer patientId) |
Patient |
PatientServiceImpl.getPatientByExample(Patient patientToMatch)
This default implementation simply looks at the OpenMRS internal id (patient_id).
|
Patient |
PatientServiceImpl.getPatientByUuid(java.lang.String uuid) |
PatientIdentifier |
PatientServiceImpl.getPatientIdentifier(java.lang.Integer patientIdentifierId) |
PatientIdentifier |
PatientServiceImpl.getPatientIdentifierByUuid(java.lang.String uuid) |
java.util.List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(PatientIdentifierType pit)
Deprecated.
|
java.util.List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(java.lang.String identifier,
java.util.List<PatientIdentifierType> patientIdentifierTypes,
java.util.List<Location> locations,
java.util.List<Patient> patients,
java.lang.Boolean isPreferred) |
java.util.List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(java.lang.String identifier,
PatientIdentifierType pit)
Deprecated.
|
java.util.List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(java.lang.String identifier,
PatientIdentifierType patientIdentifierType,
boolean includeVoided)
Deprecated.
|
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierType(java.lang.Integer patientIdentifierTypeId) |
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierType(java.lang.String name)
Deprecated.
|
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierTypeByName(java.lang.String name) |
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierTypeByUuid(java.lang.String uuid) |
java.util.List<PatientIdentifierType> |
PatientServiceImpl.getPatientIdentifierTypes()
Deprecated.
|
java.util.List<PatientIdentifierType> |
PatientServiceImpl.getPatientIdentifierTypes(java.lang.String name,
java.lang.String format,
java.lang.Boolean required,
java.lang.Boolean hasCheckDigit) |
java.util.List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient,
Program program,
java.util.Date minEnrollmentDate,
java.util.Date maxEnrollmentDate,
java.util.Date minCompletionDate,
java.util.Date maxCompletionDate,
boolean includeVoided) |
java.util.List<Patient> |
PatientServiceImpl.getPatients(java.lang.String query) |
java.util.List<Patient> |
PatientServiceImpl.getPatients(java.lang.String query,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<Patient> |
PatientServiceImpl.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes)
Deprecated.
|
java.util.List<Patient> |
PatientServiceImpl.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly) |
java.util.List<Patient> |
PatientServiceImpl.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<Patient> |
PatientServiceImpl.getPatientsByIdentifier(java.lang.String identifier,
boolean includeVoided)
Deprecated.
replaced by @deprecated replaced by
PatientServiceImpl.getPatients(String, String, List) |
java.util.List<Patient> |
PatientServiceImpl.getPatientsByIdentifierPattern(java.lang.String identifier,
boolean includeVoided)
Deprecated.
|
java.util.List<Patient> |
PatientServiceImpl.getPatientsByName(java.lang.String name)
Deprecated.
|
java.util.List<Patient> |
PatientServiceImpl.getPatientsByName(java.lang.String name,
boolean includeVoided)
Deprecated.
|
java.util.List<Person> |
PersonServiceImpl.getPeople(java.lang.String searchPhrase,
java.lang.Boolean dead) |
Person |
PersonServiceImpl.getPerson(java.lang.Integer personId) |
Person |
PersonServiceImpl.getPerson(Patient pat)
Deprecated.
|
Person |
PersonServiceImpl.getPerson(User user)
Deprecated.
|
PersonAddress |
PersonServiceImpl.getPersonAddressByUuid(java.lang.String uuid) |
PersonAttribute |
PersonServiceImpl.getPersonAttributeByUuid(java.lang.String uuid) |
PersonAttributeType |
PersonServiceImpl.getPersonAttributeTypeByName(java.lang.String typeName) |
java.util.List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(OpenmrsConstants.PERSON_TYPE personType,
PersonService.ATTR_VIEW_TYPE viewType) |
java.util.List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(java.lang.String personTypeStr,
java.lang.String displayTypeStr)
|
java.util.List<PersonAttributeType> |
PersonServiceImpl.getPersonAttributeTypes(java.lang.String exactName,
java.lang.String format,
java.lang.Integer foreignKey,
java.lang.Boolean searchable) |
Person |
PersonServiceImpl.getPersonByUuid(java.lang.String uuid) |
PersonMergeLog |
PersonServiceImpl.getPersonMergeLogByUuid(java.lang.String uuid,
boolean deserialize) |
PersonName |
PersonServiceImpl.getPersonNameByUuid(java.lang.String uuid) |
java.util.List<java.lang.String> |
LocationServiceImpl.getPossibleAddressValues(Address incomplete,
java.lang.String fieldName) |
Privilege |
UserServiceImpl.getPrivilege(java.lang.String p) |
Privilege |
UserServiceImpl.getPrivilegeByUuid(java.lang.String uuid) |
java.util.List<Privilege> |
UserServiceImpl.getPrivileges()
Deprecated.
|
Problem |
PatientServiceImpl.getProblem(java.lang.Integer problemListId) |
java.util.List<Problem> |
PatientServiceImpl.getProblems(Person p) |
java.util.List<Program> |
ProgramWorkflowServiceImpl.getPrograms(java.lang.String nameFragment) |
java.util.List<Form> |
FormServiceImpl.getPublishedForms() |
java.util.List<ConceptReferenceTermMap> |
ConceptServiceImpl.getReferenceTermMappingsTo(ConceptReferenceTerm term) |
Relationship |
PersonServiceImpl.getRelationship(java.lang.Integer relationshipId) |
Relationship |
PersonServiceImpl.getRelationshipByUuid(java.lang.String uuid) |
java.util.Map<Person,java.util.List<Person>> |
PersonServiceImpl.getRelationshipMap(RelationshipType relType) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationships()
Deprecated.
|
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person p)
Deprecated.
|
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person p,
boolean showVoided)
Deprecated.
|
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date effectiveDate) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date startEffectiveDate,
java.util.Date endEffectiveDate) |
java.util.Map<Person,java.util.List<Person>> |
PersonServiceImpl.getRelationships(RelationshipType relType)
Deprecated.
|
java.util.List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p,
java.util.Date effectiveDate) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationshipsTo(Person toPerson,
RelationshipType relType)
|
RelationshipType |
PersonServiceImpl.getRelationshipType(java.lang.Integer relationshipTypeId) |
RelationshipType |
PersonServiceImpl.getRelationshipTypeByName(java.lang.String relationshipTypeName) |
RelationshipType |
PersonServiceImpl.getRelationshipTypeByUuid(java.lang.String uuid) |
java.util.List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes()
Deprecated.
|
java.util.List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes(java.lang.String searchString) |
java.util.List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes(java.lang.String relationshipTypeName,
java.lang.Boolean preferred) |
Order |
OrderServiceImpl.getRevisionOrder(Order order) |
Role |
UserServiceImpl.getRole(java.lang.String r) |
Role |
UserServiceImpl.getRoleByUuid(java.lang.String uuid) |
java.util.List<Role> |
UserServiceImpl.getRoles()
Deprecated.
|
java.util.List<Location> |
LocationServiceImpl.getRootLocations(boolean includeRetired) |
java.util.List<java.util.Locale> |
AdministrationServiceImpl.getSearchLocales() |
java.util.Set<Person> |
PersonServiceImpl.getSimilarPeople(java.lang.String name,
java.lang.Integer birthyear,
java.lang.String gender) |
java.util.Set<Person> |
PersonServiceImpl.getSimilarPeople(java.lang.String nameSearch,
java.lang.Integer birthyear,
java.lang.String gender,
java.lang.String personType)
Deprecated.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
AdministrationServiceImpl.getSystemInformation() |
java.util.SortedMap<java.lang.String,java.lang.String> |
AdministrationServiceImpl.getSystemVariables() |
User |
UserServiceImpl.getUser(java.lang.Integer userId) |
User |
UserServiceImpl.getUserByUsername(java.lang.String username) |
User |
UserServiceImpl.getUserByUuid(java.lang.String uuid) |
java.util.List<User> |
UserServiceImpl.getUsers()
Deprecated.
|
java.util.List<User> |
UserServiceImpl.getUsers(java.lang.String nameSearch,
java.util.List<Role> roles,
boolean includeVoided) |
java.util.List<User> |
UserServiceImpl.getUsers(java.lang.String name,
java.util.List<Role> roles,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<User> |
UserServiceImpl.getUsersByName(java.lang.String givenName,
java.lang.String familyName,
boolean includeVoided) |
java.util.List<User> |
UserServiceImpl.getUsersByPerson(Person person,
boolean includeRetired) |
java.util.List<User> |
UserServiceImpl.getUsersByRole(Role role) |
Visit |
VisitServiceImpl.getVisit(java.lang.Integer visitId) |
Visit |
VisitServiceImpl.getVisitByUuid(java.lang.String uuid) |
java.util.List<Visit> |
VisitServiceImpl.getVisits(java.util.Collection<VisitType> visitTypes,
java.util.Collection<Patient> patients,
java.util.Collection<Location> locations,
java.util.Collection<Concept> indications,
java.util.Date minStartDatetime,
java.util.Date maxStartDatetime,
java.util.Date minEndDatetime,
java.util.Date maxEndDatetime,
java.util.Map<VisitAttributeType,java.lang.Object> attributeValues,
boolean includeInactive,
boolean includeVoided) |
java.util.List<Visit> |
VisitServiceImpl.getVisitsByPatient(Patient patient) |
java.util.List<Visit> |
VisitServiceImpl.getVisitsByPatient(Patient patient,
boolean includeInactive,
boolean includeVoided) |
void |
UserServiceImpl.grantUserRole(User user,
Role role)
Deprecated.
|
boolean |
ConceptServiceImpl.hasAnyObservation(ConceptName conceptName) |
boolean |
UserServiceImpl.hasDuplicateUsername(User user) |
boolean |
ProviderServiceImpl.isProviderIdentifierUnique(Provider provider) |
void |
AdministrationServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept)
Deprecated.
moved to ConceptService
|
Concept |
ConceptServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept) |
Concept |
ConceptServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept,
java.util.Locale locale) |
int |
FormServiceImpl.mergeDuplicateFields() |
void |
PatientServiceImpl.mergePatients(Patient preferred,
java.util.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 |
AdministrationServiceImpl.mrnGeneratorLog(java.lang.String site,
java.lang.Integer start,
java.lang.Integer count)
Deprecated.
|
PersonName |
PersonServiceImpl.parsePersonName(java.lang.String name) |
void |
PatientServiceImpl.processDeath(Patient patient,
java.util.Date dateDied,
Concept causeOfDeath,
java.lang.String otherReason)
This is the way to establish that a patient has died.
|
void |
ActiveListServiceImpl.purgeActiveListItem(ActiveListItem item) |
Cohort |
CohortServiceImpl.purgeCohort(Cohort cohort) |
protected boolean |
ObsServiceImpl.purgeComplexData(Obs obs)
Internal method to remove ComplexData when an Obs is purged.
|
void |
ConceptServiceImpl.purgeConcept(Concept concept) |
void |
ConceptServiceImpl.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 |
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(java.util.List<GlobalProperty> globalProperties) |
void |
AdministrationServiceImpl.purgeGlobalProperty(GlobalProperty globalProperty) |
void |
LocationServiceImpl.purgeLocation(Location location) |
void |
LocationServiceImpl.purgeLocationTag(LocationTag tag) |
void |
ObsServiceImpl.purgeObs(Obs obs) |
void |
ObsServiceImpl.purgeObs(Obs obs,
boolean cascade) |
void |
OrderServiceImpl.purgeOrder(Order order) |
void |
OrderServiceImpl.purgeOrder(Order order,
boolean cascade) |
void |
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 |
CohortServiceImpl.registerCohortDefinitionProvider(java.lang.Class<? extends CohortDefinition> defClass,
CohortDefinitionProvider cohortDefProvider)
Deprecated.
see reportingcompatibility module
|
void |
ObsServiceImpl.registerHandler(java.lang.String key,
ComplexObsHandler handler) |
void |
ObsServiceImpl.registerHandler(java.lang.String key,
java.lang.String handlerClass) |
ActiveListItem |
ActiveListServiceImpl.removeActiveListItem(ActiveListItem item,
java.util.Date endDate) |
void |
PatientServiceImpl.removeAllergy(Allergy allergy,
java.lang.String reason) |
void |
PatientServiceImpl.removeProblem(Problem problem,
java.lang.String reason) |
Concept |
ConceptServiceImpl.retireConcept(Concept concept,
java.lang.String reason) |
ConceptMapType |
ConceptServiceImpl.retireConceptMapType(ConceptMapType conceptMapType,
java.lang.String retireReason) |
ConceptReferenceTerm |
ConceptServiceImpl.retireConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm,
java.lang.String retireReason) |
ConceptSource |
ConceptServiceImpl.retireConceptSource(ConceptSource cs,
java.lang.String reason) |
Drug |
ConceptServiceImpl.retireDrug(Drug drug,
java.lang.String reason) |
EncounterRole |
EncounterServiceImpl.retireEncounterRole(EncounterRole encounterRole,
java.lang.String reason) |
EncounterType |
EncounterServiceImpl.retireEncounterType(EncounterType encounterType,
java.lang.String reason) |
Field |
FormServiceImpl.retireField(Field field) |
void |
FormServiceImpl.retireForm(Form form,
java.lang.String reason) |
Location |
LocationServiceImpl.retireLocation(Location location,
java.lang.String reason) |
LocationTag |
LocationServiceImpl.retireLocationTag(LocationTag tag,
java.lang.String reason) |
PatientIdentifierType |
PatientServiceImpl.retirePatientIdentifierType(PatientIdentifierType patientIdentifierType,
java.lang.String reason) |
PersonAttributeType |
PersonServiceImpl.retirePersonAttributeType(PersonAttributeType type,
java.lang.String retiredReason) |
Program |
ProgramWorkflowServiceImpl.retireProgram(Program program) |
RelationshipType |
PersonServiceImpl.retireRelationshipType(RelationshipType type,
java.lang.String retiredReason) |
void |
AdministrationServiceImpl.retireTribe(Tribe tribe)
Deprecated.
|
User |
UserServiceImpl.retireUser(User user,
java.lang.String reason) |
void |
UserServiceImpl.revokeUserRole(User user,
Role role)
Deprecated.
|
ActiveListItem |
ActiveListServiceImpl.saveActiveListItem(ActiveListItem item) |
void |
LocationServiceImpl.saveAddressTemplate(java.lang.String xml) |
void |
PatientServiceImpl.saveAllergy(Allergy allergy) |
void |
PatientServiceImpl.saveCauseOfDeathObs(Patient patient,
java.util.Date deathDate,
Concept cause,
java.lang.String otherReason) |
Cohort |
CohortServiceImpl.saveCohort(Cohort cohort) |
CohortDefinition |
CohortServiceImpl.saveCohortDefinition(CohortDefinition definition)
Deprecated.
see reportingcompatibility module
|
Concept |
ConceptServiceImpl.saveConcept(Concept concept) |
ConceptClass |
ConceptServiceImpl.saveConceptClass(ConceptClass cc) |
ConceptDatatype |
ConceptServiceImpl.saveConceptDatatype(ConceptDatatype cd)
Deprecated.
as of 1.9 because users should never change datatypes, it could harm data and
other code expecting them to be here
|
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) |
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) |
java.util.List<GlobalProperty> |
AdministrationServiceImpl.saveGlobalProperties(java.util.List<GlobalProperty> props) |
GlobalProperty |
AdministrationServiceImpl.saveGlobalProperty(GlobalProperty gp) |
Location |
LocationServiceImpl.saveLocation(Location location) |
LocationTag |
LocationServiceImpl.saveLocationTag(LocationTag tag) |
MimeType |
ObsServiceImpl.saveMimeType(MimeType mimeType)
Deprecated.
|
Obs |
ObsServiceImpl.saveObs(Obs obs,
java.lang.String changeMessage) |
Order |
OrderServiceImpl.saveOrder(Order order,
OrderContext orderContext) |
OrderFrequency |
OrderServiceImpl.saveOrderFrequency(OrderFrequency orderFrequency) |
Patient |
PatientServiceImpl.savePatient(Patient patient) |
PatientIdentifier |
PatientServiceImpl.savePatientIdentifier(PatientIdentifier patientIdentifier) |
PatientIdentifierType |
PatientServiceImpl.savePatientIdentifierType(PatientIdentifierType patientIdentifierType)
TODO: Add changedBy and DateChanged columns to table patient_identifier_type
|
PatientProgram |
ProgramWorkflowServiceImpl.savePatientProgram(PatientProgram patientProgram) |
Person |
PersonServiceImpl.savePerson(Person person) |
PersonAttributeType |
PersonServiceImpl.savePersonAttributeType(PersonAttributeType type) |
PersonMergeLog |
PersonServiceImpl.savePersonMergeLog(PersonMergeLog personMergeLog) |
PersonName |
PersonServiceImpl.savePersonName(PersonName personName) |
Privilege |
UserServiceImpl.savePrivilege(Privilege privilege) |
void |
PatientServiceImpl.saveProblem(Problem problem) |
Program |
ProgramWorkflowServiceImpl.saveProgram(Program program) |
Relationship |
PersonServiceImpl.saveRelationship(Relationship relationship) |
RelationshipType |
PersonServiceImpl.saveRelationshipType(RelationshipType relationshipType) |
Role |
UserServiceImpl.saveRole(Role role) |
User |
UserServiceImpl.saveUser(User user,
java.lang.String password) |
Visit |
VisitServiceImpl.saveVisit(Visit visit) |
VisitType |
VisitServiceImpl.saveVisitType(VisitType visitType) |
void |
AdministrationServiceImpl.setGlobalProperties(java.util.List<GlobalProperty> props)
Deprecated.
|
void |
AdministrationServiceImpl.setGlobalProperty(GlobalProperty gp)
Deprecated.
|
void |
AdministrationServiceImpl.setGlobalProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Deprecated.
|
void |
ObsServiceImpl.setHandlers(java.util.Map<java.lang.String,ComplexObsHandler> newHandlers) |
void |
AdministrationServiceImpl.setImplementationId(ImplementationId implementationId) |
ConceptMapType |
ConceptServiceImpl.unretireConceptMapType(ConceptMapType conceptMapType) |
ConceptReferenceTerm |
ConceptServiceImpl.unretireConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) |
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) |
PatientIdentifierType |
PatientServiceImpl.unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
void |
PersonServiceImpl.unretirePersonAttributeType(PersonAttributeType type) |
Program |
ProgramWorkflowServiceImpl.unRetireProgram(Program program) |
void |
AdministrationServiceImpl.unretireTribe(Tribe tribe)
Deprecated.
|
User |
UserServiceImpl.unretireUser(User user) |
Encounter |
EncounterServiceImpl.unvoidEncounter(Encounter encounter) |
Obs |
ObsServiceImpl.unvoidObs(Obs obs)
Unvoids an Obs
|
Order |
OrderServiceImpl.unvoidOrder(Order order) |
Patient |
PatientServiceImpl.unvoidPatient(Patient patient) |
Person |
PersonServiceImpl.unvoidPerson(Person person) |
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 |
AdministrationServiceImpl.updateConceptClass(ConceptClass cc)
Deprecated.
moved to ConceptService
|
void |
AdministrationServiceImpl.updateConceptDatatype(ConceptDatatype cd)
Deprecated.
moved to ConceptService
|
void |
ConceptServiceImpl.updateConceptIndex(Concept concept) |
void |
ConceptServiceImpl.updateConceptIndexes() |
void |
ConceptServiceImpl.updateConceptIndexes(java.lang.Integer conceptIdStart,
java.lang.Integer conceptIdEnd) |
void |
AdministrationServiceImpl.updateConceptProposal(ConceptProposal cp)
Deprecated.
moved to ConceptService
|
void |
AdministrationServiceImpl.updateConceptSetDerived()
Deprecated.
moved to ConceptService
|
void |
ConceptServiceImpl.updateConceptSetDerived() |
void |
AdministrationServiceImpl.updateConceptSetDerived(Concept concept)
Deprecated.
moved to ConceptService
|
void |
ConceptServiceImpl.updateConceptSetDerived(Concept concept) |
void |
AdministrationServiceImpl.updateConceptWord(Concept concept)
Deprecated.
moved to ConceptServiceImpl
|
void |
ConceptServiceImpl.updateConceptWord(Concept concept)
Deprecated.
|
void |
AdministrationServiceImpl.updateConceptWords()
Deprecated.
moved to ConceptServiceImpl
|
void |
ConceptServiceImpl.updateConceptWords()
Deprecated.
|
void |
AdministrationServiceImpl.updateConceptWords(java.lang.Integer conceptIdStart,
java.lang.Integer conceptIdEnd)
Deprecated.
moved to ConceptService
|
void |
ConceptServiceImpl.updateConceptWords(java.lang.Integer conceptIdStart,
java.lang.Integer conceptIdEnd)
Deprecated.
|
void |
EncounterServiceImpl.updateEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterServiceImpl.saveEncounter(Encounter) |
void |
AdministrationServiceImpl.updateEncounterType(EncounterType encounterType)
Deprecated.
|
void |
FormServiceImpl.updateField(Field field)
Deprecated.
|
void |
AdministrationServiceImpl.updateFieldType(FieldType fieldType)
Deprecated.
|
void |
FormServiceImpl.updateForm(Form form)
Deprecated.
|
void |
FormServiceImpl.updateFormField(FormField formField)
Deprecated.
|
void |
AdministrationServiceImpl.updateLocation(Location location)
Deprecated.
|
void |
AdministrationServiceImpl.updateMimeType(MimeType mimeType)
Deprecated.
|
void |
ObsServiceImpl.updateObs(Obs obs)
Deprecated.
|
Patient |
PatientServiceImpl.updatePatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
PatientServiceImpl.updatePatientIdentifier(PatientIdentifier pi)
Deprecated.
patient identifiers should not be updated directly; rather, after changing
patient identifiers, use
PatientServiceImpl.savePatient(Patient) to save changes to the
database |
void |
AdministrationServiceImpl.updatePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
PersonServiceImpl.updatePerson(Person person)
Deprecated.
|
void |
PersonServiceImpl.updatePersonAttributeType(PersonAttributeType type)
Deprecated.
|
void |
AdministrationServiceImpl.updatePrivilege(Privilege privilege)
Deprecated.
|
void |
PersonServiceImpl.updateRelationship(Relationship relationship)
Deprecated.
|
void |
PersonServiceImpl.updateRelationshipType(RelationshipType relationshipType)
Deprecated.
|
void |
AdministrationServiceImpl.updateReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.updateReportObject(AbstractReportObject reportObject)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationServiceImpl.updateRole(Role role)
Deprecated.
|
void |
AdministrationServiceImpl.updateTribe(Tribe tribe)
Deprecated.
|
void |
UserServiceImpl.updateUser(User user)
Deprecated.
replaced by
UserServiceImpl.saveUser(User, String) |
void |
AdministrationServiceImpl.validate(java.lang.Object object,
org.springframework.validation.Errors errors) |
ActiveListItem |
ActiveListServiceImpl.voidActiveListItem(ActiveListItem item,
java.lang.String reason) |
void |
PatientServiceImpl.voidAllergy(Allergy allergy,
java.lang.String reason) |
MimeType |
ObsServiceImpl.voidMimeType(MimeType mimeType,
java.lang.String reason)
Deprecated.
|
Obs |
ObsServiceImpl.voidObs(Obs obs,
java.lang.String reason)
Voids an Obs If the Obs argument is an obsGroup, all group members will be voided.
|
Order |
OrderServiceImpl.voidOrder(Order order,
java.lang.String voidReason) |
Patient |
PatientServiceImpl.voidPatient(Patient patient,
java.lang.String reason) |
PatientIdentifier |
PatientServiceImpl.voidPatientIdentifier(PatientIdentifier patientIdentifier,
java.lang.String reason) |
Person |
PersonServiceImpl.voidPerson(Person person,
java.lang.String reason) |
PersonName |
PersonServiceImpl.voidPersonName(PersonName personName,
java.lang.String voidReason) |
void |
PatientServiceImpl.voidProblem(Problem problem,
java.lang.String reason) |
Relationship |
PersonServiceImpl.voidRelationship(Relationship relationship,
java.lang.String voidReason) |
User |
UserServiceImpl.voidUser(User user,
java.lang.String reason) |
Visit |
VisitServiceImpl.voidVisit(Visit visit,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
void |
ArdenService.compile(java.lang.String ardenRuleDefinition,
java.lang.String outFolder)
Parse arden rule definition from a string and then output java file in the designated output
directory.
|
Modifier and Type | Method and Description |
---|---|
void |
ArdenServiceImpl.compile(java.lang.String ardenRuleDefinition,
java.lang.String outputDir) |
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 |
---|---|
java.lang.Integer |
HL7Service.countHL7InArchive(int messageState,
java.lang.String query)
the total count of all HL7InArchive objects in the database
|
java.lang.Integer |
HL7Service.countHL7InError(java.lang.String query)
the total count of all HL7InError objects in the database
|
java.lang.Integer |
HL7Service.countHL7InQueue(int messageState,
java.lang.String query)
the total count of all HL7InQueue objects in the database
|
void |
HL7Service.createHL7Source(HL7Source hl7Source)
Deprecated.
|
java.util.List<HL7InArchive> |
HL7Service.getAllHL7InArchives()
Get all archive hl7 queue items from the database
|
java.util.List<HL7InError> |
HL7Service.getAllHL7InErrors()
Get all
HL7InError items from the database |
java.util.List<HL7InQueue> |
HL7Service.getAllHL7InQueues()
Return a list of all hl7 in queues in the database
|
java.util.List<HL7Source> |
HL7Service.getAllHL7Sources()
Get all of the hl7 source objects from the database.
|
static java.io.File |
HL7Util.getHl7ArchivesDirectory()
Gets the destination directory for hl7 archives.
|
java.util.List<HL7InArchive> |
HL7Service.getHL7InArchiveBatch(int start,
int length,
int messageState,
java.lang.String query)
Return a list of all hl7 in archives based on batch settings and a query string
|
java.util.List<HL7InArchive> |
HL7Service.getHL7InArchiveByState(java.lang.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(java.lang.String uuid)
Get the archive item with the given uuid
|
HL7InError |
HL7Service.getHL7InError(java.lang.Integer hl7InErrorId)
Get the error item with the given id
|
java.util.List<HL7InError> |
HL7Service.getHL7InErrorBatch(int start,
int length,
java.lang.String query)
Return a list of all hl7 in errors based on batch settings and a query string
|
HL7InError |
HL7Service.getHL7InErrorByUuid(java.lang.String uuid)
Get the error item with the given uuid
|
HL7InQueue |
HL7Service.getHL7InQueue(java.lang.Integer hl7InQueueId)
Get the hl7 queue item with the given primary key id
|
java.util.List<HL7InQueue> |
HL7Service.getHL7InQueueBatch(int start,
int length,
int messageState,
java.lang.String query)
Return a list of all hl7 in queues based on batch settings and a query string
|
java.util.List<HL7InQueue> |
HL7Service.getHL7InQueueByState(java.lang.Integer state)
Get the queue items given a state (deleted, error, pending, processing, processed).
|
HL7InQueue |
HL7Service.getHL7InQueueByUuid(java.lang.String uuid)
Get the hl7 queue item with the given uuid
|
HL7QueueItem |
HL7Service.getHl7QueueItemByUuid(java.lang.String uuid)
Get
HL7QueueItem with the given uuid. |
HL7Source |
HL7Service.getHL7Source(java.lang.Integer hl7SourceId)
Auto generated method comment
|
HL7Source |
HL7Service.getHL7SourceByName(java.lang.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(java.util.List<HL7InArchive> archives)
Loads data for a list of HL7 archives from the filesystem
|
void |
HL7Service.migrateHl7InArchivesToFileSystem(java.util.Map<java.lang.String,java.lang.Integer> progressStatusMap)
Method is called by the archives migration thread to transfer hl7 in archives from the
hl7_in_archives database table to the file system
|
void |
HL7Service.purgeHL7InArchive(HL7InArchive hl7InArchive)
Completely delete the hl7 in archive item from the database
|
void |
HL7Service.purgeHL7InError(HL7InError hl7InError)
Completely remove this error item from the database
|
void |
HL7Service.purgeHL7Source(HL7Source hl7Source)
Completely remove the source from the database.
|
HL7Source |
HL7Service.retireHL7Source(HL7Source hl7Source)
Mark the given
hl7Source as no longer active |
HL7InArchive |
HL7Service.saveHL7InArchive(HL7InArchive hl7InArchive)
Save the given hl7 in archive to the database
|
HL7InError |
HL7Service.saveHL7InError(HL7InError hl7InError)
Save the given error item to the database
|
HL7InQueue |
HL7Service.saveHL7InQueue(HL7InQueue hl7InQueue)
Save the given
hl7InQueue to the database |
HL7Source |
HL7Service.saveHL7Source(HL7Source hl7Source)
Save the given
hl7Source to the database |
Modifier and Type | Class and Description |
---|---|
class |
ProposingConceptException
Represents a obs that should be a proposed concept
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
HL7ServiceImpl.countHL7InArchive(int messageState,
java.lang.String query) |
java.lang.Integer |
HL7ServiceImpl.countHL7InError(java.lang.String query) |
java.lang.Integer |
HL7ServiceImpl.countHL7InQueue(int messageState,
java.lang.String query) |
java.util.List<HL7InArchive> |
HL7ServiceImpl.getAllHL7InArchives() |
java.util.List<HL7InError> |
HL7ServiceImpl.getAllHL7InErrors() |
java.util.List<HL7InQueue> |
HL7ServiceImpl.getAllHL7InQueues() |
java.util.List<HL7Source> |
HL7ServiceImpl.getAllHL7Sources() |
java.util.List<HL7InArchive> |
HL7ServiceImpl.getHL7InArchiveBatch(int start,
int length,
int messageState,
java.lang.String query) |
java.util.List<HL7InArchive> |
HL7ServiceImpl.getHL7InArchiveByState(java.lang.Integer state) |
HL7InArchive |
HL7ServiceImpl.getHL7InArchiveByUuid(java.lang.String uuid) |
java.util.List<HL7InError> |
HL7ServiceImpl.getHL7InErrorBatch(int start,
int length,
java.lang.String query) |
HL7InError |
HL7ServiceImpl.getHL7InErrorByUuid(java.lang.String uuid) |
java.util.List<HL7InQueue> |
HL7ServiceImpl.getHL7InQueueBatch(int start,
int length,
int messageState,
java.lang.String query) |
java.util.List<HL7InQueue> |
HL7ServiceImpl.getHL7InQueueByState(java.lang.Integer state) |
HL7InQueue |
HL7ServiceImpl.getHL7InQueueByUuid(java.lang.String uuid) |
HL7QueueItem |
HL7ServiceImpl.getHl7QueueItemByUuid(java.lang.String uuid) |
HL7Source |
HL7ServiceImpl.getHL7SourceByName(java.lang.String name) |
void |
HL7ServiceImpl.loadHL7InArchiveData(HL7InArchive archive) |
void |
HL7ServiceImpl.loadHL7InArchiveData(java.util.List<HL7InArchive> archives) |
void |
HL7ServiceImpl.migrateHl7InArchivesToFileSystem(java.util.Map<java.lang.String,java.lang.Integer> progressStatusMap) |
void |
HL7ServiceImpl.purgeHL7InArchive(HL7InArchive hl7InArchive) |
void |
HL7ServiceImpl.purgeHL7InError(HL7InError hl7InError) |
void |
HL7ServiceImpl.purgeHL7Source(HL7Source hl7Source) |
HL7Source |
HL7ServiceImpl.retireHL7Source(HL7Source hl7Source) |
HL7InArchive |
HL7ServiceImpl.saveHL7InArchive(HL7InArchive hl7InArchive) |
HL7InError |
HL7ServiceImpl.saveHL7InError(HL7InError hl7InError) |
HL7InQueue |
HL7ServiceImpl.saveHL7InQueue(HL7InQueue hl7InQueue) |
HL7Source |
HL7ServiceImpl.saveHL7Source(HL7Source hl7Source) |
Modifier and Type | Class and Description |
---|---|
class |
ImmutableResultException |
Modifier and Type | Method and Description |
---|---|
void |
AlertService.createAlert(Alert alert)
Deprecated.
|
void |
AlertService.createAlert(java.lang.String text,
java.util.Collection<User> users)
Deprecated.
|
void |
AlertService.createAlert(java.lang.String text,
User user)
Deprecated.
|
Alert |
AlertService.getAlert(java.lang.Integer alertId)
Get alert by internal identifier
|
java.util.List<Alert> |
AlertService.getAlerts()
Deprecated.
use
AlertService.getAlertsByUser(User) and pass "null" as the parameter for
user |
java.util.List<Alert> |
AlertService.getAlerts(User user)
Deprecated.
|
java.util.List<Alert> |
AlertService.getAlerts(User user,
boolean includeRead,
boolean includeExpired)
Finds alerts for the given user with the given status
|
java.util.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. |
java.util.List<Alert> |
AlertService.getAllActiveAlerts(User user)
Find all alerts for a user that have not expired
|
java.util.List<Alert> |
AlertService.getAllAlerts()
Get all unexpired alerts for all users
|
java.util.List<Alert> |
AlertService.getAllAlerts(boolean includeExpired)
Get alerts for all users while obeying includeExpired
|
java.util.List<Alert> |
AlertService.getAllAlerts(User user)
Deprecated.
use #getAlerts(User, boolean, boolean)
|
void |
AlertService.markAlertRead(Alert alert)
Deprecated.
|
void |
AlertService.purgeAlert(Alert alert)
Completely delete the given alert from the database
|
Alert |
AlertService.saveAlert(Alert alert)
Save the given
alert in the database |
void |
AlertService.updateAlert(Alert alert)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertServiceImpl.createAlert(Alert alert)
Deprecated.
|
void |
AlertServiceImpl.createAlert(java.lang.String text,
java.util.Collection<User> users)
Deprecated.
|
void |
AlertServiceImpl.createAlert(java.lang.String text,
User user)
Deprecated.
|
Alert |
AlertServiceImpl.getAlert(java.lang.Integer alertId) |
java.util.List<Alert> |
AlertServiceImpl.getAlerts()
Deprecated.
|
java.util.List<Alert> |
AlertServiceImpl.getAlerts(User user)
Deprecated.
|
java.util.List<Alert> |
AlertServiceImpl.getAlerts(User user,
boolean includeRead,
boolean includeExpired) |
java.util.List<Alert> |
AlertServiceImpl.getAlertsByUser(User user) |
java.util.List<Alert> |
AlertServiceImpl.getAllActiveAlerts(User user) |
java.util.List<Alert> |
AlertServiceImpl.getAllAlerts() |
java.util.List<Alert> |
AlertServiceImpl.getAllAlerts(boolean includeExpired) |
java.util.List<Alert> |
AlertServiceImpl.getAllAlerts(User user)
Deprecated.
|
void |
AlertServiceImpl.markAlertRead(Alert alert)
Deprecated.
|
void |
AlertServiceImpl.purgeAlert(Alert alert) |
Alert |
AlertServiceImpl.saveAlert(Alert alert) |
void |
AlertServiceImpl.updateAlert(Alert alert)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Obs |
ComplexObsHandler.saveObs(Obs obs)
Save a complex obs.
|
Modifier and Type | Method and Description |
---|---|
Obs |
BinaryStreamHandler.saveObs(Obs obs) |
Obs |
ImageHandler.saveObs(Obs obs) |
Obs |
BinaryDataHandler.saveObs(Obs obs)
TODO should this support a StringReader too?
|
Obs |
TextHandler.saveObs(Obs obs) |
Modifier and Type | Class and Description |
---|---|
class |
UnallowedIdentifierException
UnallowedIdentifierException is thrown when a class tries to process an identifier given certain
expectations and those expectations are not held up.
|
Modifier and Type | Class and Description |
---|---|
class |
ParameterException
Deprecated.
see reportingcompatibility module
|
class |
RenderingException
Deprecated.
see reportingcompatibility module
|
class |
ReportRenderingException
Deprecated.
see reportingcompatibility module
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Class<? extends ReportRenderer>,ReportRenderer> |
ReportServiceImpl.getRenderers()
Deprecated.
|
ReportSchema |
ReportServiceImpl.getReportSchema(java.lang.Integer reportSchemaId)
Deprecated.
|
ReportSchema |
ReportServiceImpl.getReportSchema(ReportSchemaXml reportSchemaXml)
Deprecated.
|
java.util.List<ReportSchema> |
ReportServiceImpl.getReportSchemas()
Deprecated.
|
void |
ReportServiceImpl.registerRenderer(java.lang.Class<? extends ReportRenderer> rendererClass,
ReportRenderer renderer)
Deprecated.
|
void |
ReportServiceImpl.registerRenderer(java.lang.String rendererClass)
Deprecated.
|
void |
ReportServiceImpl.setRenderers(java.util.Map<java.lang.Class<? extends ReportRenderer>,ReportRenderer> newRenderers)
Deprecated.
ADDs renderers...doesn't replace them.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
ReportObjectService.createReportObject(AbstractReportObject reportObject)
Deprecated.
|
void |
ReportObjectService.createSearchHistory(CohortSearchHistory history)
Deprecated.
|
void |
ReportObjectService.deleteReport(AbstractReportObject reportObject)
Deprecated.
|
void |
ReportObjectService.deleteSearchHistory(CohortSearchHistory history)
Deprecated.
|
java.util.List<PatientFilter> |
ReportObjectService.getAllPatientFilters()
Deprecated.
Auto generated method comment
|
java.util.List<PatientSearch> |
ReportObjectService.getAllPatientSearches()
Deprecated.
Get all patient searches in the database
|
java.util.List<java.lang.String> |
ReportObjectService.getAllReportObjectClasses()
Deprecated.
Auto generated method comment
|
java.util.List<AbstractReportObject> |
ReportObjectService.getAllReportObjects()
Deprecated.
Get all report objects stored in the system
|
java.util.List<CohortSearchHistory> |
ReportObjectService.getAllSearchHistories()
Deprecated.
Get all search histories stored in the database
|
java.lang.String |
ReportObjectService.getDefaultReportObjectValidator()
Deprecated.
Auto generated method comment
|
PatientFilter |
ReportObjectService.getPatientFilterById(java.lang.Integer filterId)
Deprecated.
Auto generated method comment
|
PatientFilter |
ReportObjectService.getPatientFilterByName(java.lang.String filterName)
Deprecated.
Auto generated method comment
|
PatientSearch |
ReportObjectService.getPatientSearch(java.lang.Integer searchId)
Deprecated.
Get patient search object by internal id or null if none found
|
PatientSearch |
ReportObjectService.getPatientSearch(java.lang.String name)
Deprecated.
Get a patient search matching the name exactly or null if none found
|
AbstractReportObject |
ReportObjectService.getReportObject(java.lang.Integer reportObjectId)
Deprecated.
Get the report object by internal id
|
java.lang.String |
ReportObjectService.getReportObjectClassBySubType(java.lang.String subType)
Deprecated.
|
java.util.List<AbstractReportObject> |
ReportObjectService.getReportObjectsByType(java.lang.String reportObjectType)
Deprecated.
Get report objects by type that was stored.
|
java.util.List<java.lang.String> |
ReportObjectService.getReportObjectSubTypes(java.lang.String type)
Deprecated.
Get the current list of different sub types stored in the system
|
java.util.List<java.lang.String> |
ReportObjectService.getReportObjectTypes()
Deprecated.
Get the current list of different reportObjectTypes stored in the system
|
java.lang.String |
ReportObjectService.getReportObjectValidatorByClass(java.lang.String currentClassName)
Deprecated.
Auto generated method comment
|
java.util.List<CohortSearchHistory> |
ReportObjectService.getSearchHistories()
Deprecated.
|
CohortSearchHistory |
ReportObjectService.getSearchHistory(java.lang.Integer id)
Deprecated.
Get a CohortSearchHistory by internal id or null if none found
|
boolean |
ReportObjectService.isSubTypeOfType(java.lang.String type,
java.lang.String subType)
Deprecated.
Auto generated method comment
|
void |
ReportObjectService.purgeReportObject(AbstractReportObject reportObject)
Deprecated.
Completely delete the given reportObject from the database
|
void |
ReportObjectService.purgeSearchHistory(CohortSearchHistory history)
Deprecated.
Completely delete this method from the database
|
AbstractReportObject |
ReportObjectService.saveReportObject(AbstractReportObject reportObject)
Deprecated.
Save the given report object to the database
|
CohortSearchHistory |
ReportObjectService.saveSearchHistory(CohortSearchHistory history)
Deprecated.
TODO: why is this method in this service?
|
void |
ReportObjectService.updateReportObject(AbstractReportObject reportObject)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
ReportObjectServiceImpl.createReportObject(AbstractReportObject reportObject)
Deprecated.
|
void |
ReportObjectServiceImpl.deleteReport(AbstractReportObject reportObject)
Deprecated.
|
java.util.List<PatientFilter> |
ReportObjectServiceImpl.getAllPatientFilters()
Deprecated.
|
java.util.List<PatientSearch> |
ReportObjectServiceImpl.getAllPatientSearches()
Deprecated.
|
PatientFilter |
ReportObjectServiceImpl.getPatientFilterById(java.lang.Integer filterId)
Deprecated.
|
PatientFilter |
ReportObjectServiceImpl.getPatientFilterByName(java.lang.String filterName)
Deprecated.
|
PatientSearch |
ReportObjectServiceImpl.getPatientSearch(java.lang.Integer searchId)
Deprecated.
|
PatientSearch |
ReportObjectServiceImpl.getPatientSearch(java.lang.String name)
Deprecated.
|
AbstractReportObject |
ReportObjectServiceImpl.getReportObject(java.lang.Integer reportObjectId)
Deprecated.
|
java.util.List<AbstractReportObject> |
ReportObjectServiceImpl.getReportObjectsByType(java.lang.String reportObjectType)
Deprecated.
|
void |
ReportObjectServiceImpl.purgeReportObject(AbstractReportObject reportObject)
Deprecated.
|
AbstractReportObject |
ReportObjectServiceImpl.saveReportObject(AbstractReportObject reportObject)
Deprecated.
|
void |
ReportObjectServiceImpl.updateReportObject(AbstractReportObject reportObject)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Security.encodeString(java.lang.String strToEncode)
This method will hash
strToEncode using the preferred algorithm. |
static java.io.File |
OpenmrsUtil.getDirectoryInApplicationDataDirectory(java.lang.String folderName)
Find the given folderName in the application data directory.
|
static java.lang.String |
Security.getRandomToken()
This method will generate a random string
|
Modifier and Type | Method and Description |
---|---|
static void |
ValidateUtil.validate(java.lang.Object obj)
Test the given object against all validators that are registered as compatible with the
object class
|
void |
EncounterValidator.validate(java.lang.Object obj,
org.springframework.validation.Errors errors)
Validates the given Encounter.
|
void |
ConceptReferenceTermValidator.validate(java.lang.Object obj,
org.springframework.validation.Errors errors)
Checks that a given concept reference term object is valid.
|
void |
ProviderValidator.validate(java.lang.Object obj,
org.springframework.validation.Errors errors)
Validates the given Provider.
|
void |
ConceptValidator.validate(java.lang.Object obj,
org.springframework.validation.Errors errors)
Checks that a given concept object is valid.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
DWREncounterService.findBatchOfEncounters(java.lang.String phrase,
boolean includeVoided,
java.lang.Integer start,
java.lang.Integer length)
Returns a list of matching encounters (depending on values of start and length parameters) if
the length parameter is not specified, then all matches will be returned from the start index
if specified.
|
java.util.Vector |
DWREncounterService.findBatchOfEncounters(java.lang.String phrase,
java.lang.Integer patientId,
boolean includeVoided,
java.lang.Integer start,
java.lang.Integer length)
Returns a list of matching encounters (depending on values of start and length parameters) if
the length parameter is not specified, then all matches will be returned from the start index
if specified.
|
java.util.Vector<java.lang.Object> |
DWREncounterService.findBatchOfLocations(java.lang.String searchValue,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length)
Returns a list of matching locations (depending on values of start and length parameters) if
the length parameter is not specified, then all matches will be returned from the start index
if specified.
|
java.util.Map<java.lang.String,java.lang.Object> |
DWRConceptService.findCountAndConceptReferenceTerms(java.lang.String phrase,
java.lang.Integer sourceId,
java.lang.Integer start,
java.lang.Integer length,
boolean includeRetired,
boolean getMatchCount) |
java.util.Map<java.lang.String,java.lang.Object> |
DWRConceptService.findCountAndConcepts(java.lang.String phrase,
boolean includeRetired,
java.util.List<java.lang.String> includeClassNames,
java.util.List<java.lang.String> excludeClassNames,
java.util.List<java.lang.String> includeDatatypeNames,
java.util.List<java.lang.String> excludeDatatypeNames,
java.lang.Integer start,
java.lang.Integer length,
boolean getMatchCount)
Returns a map of results with the values as count of matches and a partial list of the
matching concepts (depending on values of start and length parameters) while the keys are are
'count' and 'objectList' respectively, if the length parameter is not specified, then all
matches will be returned from the start index if specified.
|
java.util.Map<java.lang.String,java.lang.Object> |
DWREncounterService.findCountAndEncounters(java.lang.String phrase,
boolean includeVoided,
java.lang.Integer start,
java.lang.Integer length,
boolean getMatchCount)
Returns a map of results with the values as count of matches and a partial list of the
matching encounters (depending on values of start and length parameters) while the keys are
are 'count' and 'objectList' respectively, if the length parameter is not specified, then all
matches will be returned from the start index if specified.
|
java.util.Map<java.lang.String,java.lang.Object> |
DWREncounterService.findCountAndLocations(java.lang.String phrase,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length,
boolean getMatchCount)
Returns a map of results with the values as count of matches and a partial list of the
matching locations (depending on values of start and length parameters) while the keys are
are 'count' and 'objectList' respectively, if the length parameter is not specified, then all
matches will be returned from the start index if specified.
|
java.util.Map<java.lang.String,java.lang.Object> |
DWRPatientService.findCountAndPatients(java.lang.String searchValue,
java.lang.Integer start,
java.lang.Integer length,
boolean getMatchCount)
Returns a map of results with the values as count of matches and a partial list of the
matching patients (depending on values of start and length parameters) while the keys are are
'count' and 'objectList' respectively, if the length parameter is not specified, then all
matches will be returned from the start index if specified.
|
java.util.Map<java.lang.String,java.lang.Object> |
DWRPersonService.findCountAndPeople(java.lang.String phrase,
boolean includeRetired,
java.lang.String roles,
java.lang.Integer start,
java.lang.Integer length,
boolean getMatchCount)
Returns a map of results with the values as count of matches and a partial list of the
matching people (depending on values of start and length parameters) while the keys are are
'count' and 'objectList' respectively, if the length parameter is not specified, then all
matches will be returned from the start index if specified.
|
java.util.List<java.lang.Object> |
DWRConceptService.findDrugs(java.lang.String phrase,
boolean includeRetired) |
java.util.Vector |
DWREncounterService.findEncounters(java.lang.String phrase,
boolean includeVoided)
Returns a list of encounters for patients with a matching name, identifier or encounterId if
phrase is a number.
|
java.util.Vector<java.lang.Object> |
DWRVisitService.findEncountersByVisit(java.lang.Integer visitId)
Fetches all encounters belonging to the visit that matches the specified visitId
|
java.util.Map<java.lang.String,java.lang.Object> |
DWRProviderService.findProviderCountAndProvider(java.lang.String name,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length)
Finds providers for the given name along with the total count of providers that matched.
|
java.util.Vector<java.lang.Object> |
DWRVisitService.findVisitsByPatient(java.lang.Integer patientId,
boolean includeInactive,
boolean includeVoided)
Gets all visits for the patient matching the given patientId
|
VisitListItem |
DWRVisitService.getVisit(java.lang.Integer visitId)
Gets the visit matching the specified visitId
|
Modifier and Type | Method and Description |
---|---|
protected static java.io.InputStream |
TestInstallUtil.getResourceInputStream(java.lang.String urlString,
java.lang.String openmrsUsername,
java.lang.String openmrsPassword) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.