Package | Description |
---|---|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.impl | |
org.openmrs.hl7.db |
HL7-specific DAO classes
|
org.openmrs.hl7.db.hibernate | |
org.openmrs.notification.db | |
org.openmrs.notification.db.hibernate | |
org.openmrs.reporting.db | |
org.openmrs.reporting.db.hibernate | |
org.openmrs.scheduler.db | |
org.openmrs.scheduler.db.hibernate | |
org.openmrs.util |
Shared utilities for OpenMRS classes
|
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetService.getAllPatients() |
Cohort |
PatientSetService.getPatientsByCharacteristics(String gender,
Date minBirthdate,
Date maxBirthdate) |
Cohort |
PatientSetService.getPatientsByCharacteristics(String gender,
Date minBirthdate,
Date maxBirthdate,
Integer minAge,
Integer maxAge,
Boolean aliveOnly,
Boolean deadOnly)
Get patients by specified gender, birthdate range, age range, and alive status (all optional)
|
Cohort |
PatientSetService.getPatientsByCharacteristics(String gender,
Date minBirthdate,
Date maxBirthdate,
Integer minAge,
Integer maxAge,
Boolean aliveOnly,
Boolean deadOnly,
Date effectiveDate)
Get patients by specified gender, birthdate range, age range, and alive status (all optional)
|
Modifier and Type | Method and Description |
---|---|
void |
UserDAO.changeHashedPassword(User user,
String hashedPassword,
String salt) |
void |
UserDAO.changePassword(String pw,
String pw2) |
void |
UserDAO.changePassword(User u,
String pw) |
void |
UserDAO.changeQuestionAnswer(String pw,
String q,
String a) |
void |
UserDAO.changeQuestionAnswer(User u,
String question,
String answer) |
Cohort |
PatientSetDAO.convertPatientIdentifier(List<String> identifiers) |
<T extends OpenmrsObject> |
SerializedObjectDAO.convertSerializedObject(Class<T> clazz,
SerializedObject serializedObject)
Converts a raw SerializedObject to an OpenmrsObject, using the appropriate Serializer
|
void |
NoteDAO.createNote(Note note)
Creates a new note record
|
void |
AdministrationDAO.createReport(Report r)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationDAO.createReportObject(AbstractReportObject ro)
Deprecated.
see reportingcompatibility module
|
void |
TemplateDAO.createTemplate(Template template)
Create new template.
|
void |
ActiveListDAO.deleteActiveListItem(ActiveListItem item) |
Cohort |
CohortDAO.deleteCohort(Cohort cohort)
Removes a cohort from the database
|
ConceptSource |
ConceptDAO.deleteConceptSource(ConceptSource cs) |
void |
EncounterDAO.deleteEncounter(Encounter encounter)
Purge an encounter from database.
|
void |
EncounterDAO.deleteEncounterType(EncounterType encounterType)
Purge encounter type from database.
|
void |
FormDAO.deleteField(Field field)
Deletes a field from the database.
|
void |
FormDAO.deleteFieldType(FieldType fieldType)
Delete the given field type from the database
|
void |
FormDAO.deleteForm(Form form)
Delete form from database.
|
void |
FormDAO.deleteFormField(FormField formField)
Deletes a FormField from the database.
|
void |
AdministrationDAO.deleteGlobalProperty(GlobalProperty gp) |
void |
ObsDAO.deleteMimeType(MimeType mimeType)
Deprecated.
|
void |
NoteDAO.deleteNote(Note note)
TODO: Couldn't find a voidNote method Delete note from database.
|
void |
ObsDAO.deleteObs(Obs obs) |
void |
OrderDAO.deleteOrder(Order order) |
void |
OrderDAO.deleteOrderType(OrderType orderType) |
void |
PatientDAO.deletePatient(Patient patient)
Delete patient from database.
|
void |
PatientDAO.deletePatientIdentifier(PatientIdentifier patientIdentifier) |
void |
PatientDAO.deletePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
void |
ProgramWorkflowDAO.deletePatientProgram(PatientProgram patientProgram)
Completely remove a patientProgram from the database (not reversible) This method delegates
to #purgePatientProgram(patientProgram, boolean) method
|
void |
PersonDAO.deletePerson(Person person) |
void |
PersonDAO.deletePersonAttributeType(PersonAttributeType type) |
void |
UserDAO.deletePrivilege(Privilege privilege) |
void |
ProgramWorkflowDAO.deleteProgram(Program program)
Completely remove a program from the database (not reversible) This method delegates to
#purgeProgram(program, boolean) method
|
void |
PersonDAO.deleteRelationship(Relationship relationship) |
void |
PersonDAO.deleteRelationshipType(RelationshipType relationshipType) |
void |
AdministrationDAO.deleteReport(Report r)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationDAO.deleteReportObject(Integer reportObjectId)
Deprecated.
see reportingcompatibility module
|
void |
UserDAO.deleteRole(Role role) |
void |
TemplateDAO.deleteTemplate(Template template)
Delete existing template.
|
void |
UserDAO.deleteUser(User user) |
Form |
FormDAO.duplicateForm(Form form)
Creates new form from the given
Form |
List<List<Object>> |
AdministrationDAO.executeSQL(String sql,
boolean selectOnly) |
String |
PatientSetDAO.exportXml(Cohort ps)
Deprecated.
|
String |
PatientSetDAO.exportXml(Integer patientId)
Deprecated.
|
List<EncounterType> |
EncounterDAO.findEncounterTypes(String name)
Find Encounter Types matching the given name.
|
List<Program> |
ProgramWorkflowDAO.findPrograms(String nameFragment)
Returns programs that match the given string.
|
Integer |
UserDAO.generateSystemId() |
Map<Integer,Collection<Integer>> |
PatientSetDAO.getActiveDrugIds(Collection<Integer> patientIds,
Date fromDate,
Date toDate) |
<T extends ActiveListItem> |
ActiveListDAO.getActiveListItem(Class<T> clazz,
Integer activeListItemId) |
ActiveListItem |
ActiveListDAO.getActiveListItemByUuid(String uuid) |
<T extends ActiveListItem> |
ActiveListDAO.getActiveListItems(Class<T> clazz,
Person p,
ActiveListType type) |
List<ActiveListItem> |
ActiveListDAO.getActiveListItems(Person p,
ActiveListType type) |
List<Cohort> |
CohortDAO.getAllCohorts(boolean includeVoided)
Gets all cohorts in the database
|
List<ConceptClass> |
ConceptDAO.getAllConceptClasses(boolean includeRetired) |
List<ConceptDatatype> |
ConceptDAO.getAllConceptDatatypes(boolean includeRetired) |
List<ConceptProposal> |
ConceptDAO.getAllConceptProposals(boolean includeComplete) |
List<Concept> |
ConceptDAO.getAllConcepts(String sortBy,
boolean asc,
boolean includeRetired) |
List<ConceptSource> |
ConceptDAO.getAllConceptSources() |
List<ConceptStateConversion> |
ProgramWorkflowDAO.getAllConceptStateConversions()
Returns all conceptStateConversions
|
List<EncounterType> |
EncounterDAO.getAllEncounterTypes(Boolean includeVoided)
Get all encounter types
|
List<Field> |
FormDAO.getAllFields(boolean includeRetired)
Returns all fields in the database, possibly including retired ones
|
List<FieldType> |
FormDAO.getAllFieldTypes(boolean includeRetired)
Get all field types
|
List<FormField> |
FormDAO.getAllFormFields()
Returns all FormFields in the database
|
List<Form> |
FormDAO.getAllForms(boolean includeRetired)
Returns all forms in the database, possibly including retired ones
|
List<GlobalProperty> |
AdministrationDAO.getAllGlobalProperties() |
List<MimeType> |
ObsDAO.getAllMimeTypes(boolean includeRetired)
Deprecated.
|
<T extends OpenmrsObject> |
SerializedObjectDAO.getAllObjects(Class<T> type)
Retrieves all non-retired objects of the passed type from the database that have been saved through serialization
|
<T extends OpenmrsObject> |
SerializedObjectDAO.getAllObjects(Class<T> type,
boolean includeRetired)
Retrieves all objects from the database that match the passed type that have been saved through serialization
Returns voided / retired Objects only if includeRetired parameter is true
|
<T extends OpenmrsMetadata> |
SerializedObjectDAO.getAllObjectsByName(Class<T> type,
String name,
boolean exactMatchOnly)
Retrieves all objects from the database that match the passed type and name that have been saved through serialization
|
List<OrderType> |
OrderDAO.getAllOrderTypes(boolean includeRetired) |
List<PatientIdentifierType> |
PatientDAO.getAllPatientIdentifierTypes(boolean includeRetired) |
List<Patient> |
PatientDAO.getAllPatients(boolean includeVoided) |
List<PersonAttributeType> |
PersonDAO.getAllPersonAttributeTypes(boolean includeRetired) |
List<Privilege> |
UserDAO.getAllPrivileges() |
List<Program> |
ProgramWorkflowDAO.getAllPrograms(boolean includeRetired)
Returns all programs
|
List<Relationship> |
PersonDAO.getAllRelationships(boolean includeVoided) |
List<Role> |
UserDAO.getAllRoles() |
List<SerializedObject> |
SerializedObjectDAO.getAllSerializedObjects(Class<?> type,
boolean includeRetired)
Retrieves all raw Serialized Object from the database that match the passed type and includeRetired flag
|
List<SerializedObject> |
SerializedObjectDAO.getAllSerializedObjectsByName(Class<?> type,
String name,
boolean exactMatchOnly)
Retrieves all raw Serialized Objects from the database that match the passed type and name
|
List<User> |
UserDAO.getAllUsers() |
Map<Integer,Map<String,Object>> |
PatientSetDAO.getCharacteristics(Cohort patients) |
Cohort |
CohortDAO.getCohort(Integer id)
Finds the cohort with the given primary key
|
List<Cohort> |
CohortDAO.getCohorts(String nameFragment)
Finds all Cohorts with matching names
|
List<Cohort> |
CohortDAO.getCohortsContainingPatientId(Integer patientId)
Finds all cohorts that contain the given patientId
|
Concept |
ConceptDAO.getConcept(Integer conceptId) |
ConceptAnswer |
ConceptDAO.getConceptAnswer(Integer conceptAnswerId) |
ConceptClass |
ConceptDAO.getConceptClass(Integer i) |
List<ConceptClass> |
ConceptDAO.getConceptClasses(String name) |
ConceptDatatype |
ConceptDAO.getConceptDatatype(Integer i) |
ConceptDatatype |
ConceptDAO.getConceptDatatypeByName(String name) |
List<ConceptDatatype> |
ConceptDAO.getConceptDatatypes(String name)
Deprecated.
|
ConceptName |
ConceptDAO.getConceptName(Integer conceptNameId) |
ConceptNumeric |
ConceptDAO.getConceptNumeric(Integer conceptId) |
ConceptProposal |
ConceptDAO.getConceptProposal(Integer i) |
List<ConceptProposal> |
ConceptDAO.getConceptProposals(String text) |
List<ConceptSearchResult> |
ConceptDAO.getConcepts(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
Integer start,
Integer size) |
List<Concept> |
ConceptDAO.getConcepts(String name,
Locale loc,
boolean searchOnPhrase,
List<ConceptClass> classes,
List<ConceptDatatype> datatypes)
Returns a list of concepts based on the search criteria
|
List<Concept> |
ConceptDAO.getConceptsByAnswer(Concept concept) |
List<ConceptMap> |
ConceptDAO.getConceptsByConceptSource(ConceptSource conceptSourceName) |
List<ConceptSet> |
ConceptDAO.getConceptSetsByConcept(Concept c) |
ConceptSource |
ConceptDAO.getConceptSource(Integer conceptSourceId) |
ConceptSource |
ConceptDAO.getConceptSourceByName(String conceptSourceName) |
List<Concept> |
ConceptDAO.getConceptsWithDrugsInFormulary() |
List<ConceptWord> |
ConceptDAO.getConceptWords(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
Integer start,
Integer size) |
Integer |
ConceptDAO.getCountOfDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired) |
Map<Integer,List<DrugOrder>> |
PatientSetDAO.getCurrentDrugOrders(Cohort ps,
List<Concept> drugConcepts) |
Map<Integer,PatientState> |
PatientSetDAO.getCurrentStates(Cohort ps,
ProgramWorkflow wf) |
Drug |
ConceptDAO.getDrug(Integer drugId) |
Map<Integer,List<DrugOrder>> |
PatientSetDAO.getDrugOrders(Cohort ps,
List<Concept> drugConcepts) |
List<Drug> |
ConceptDAO.getDrugs(String phrase) |
List<Drug> |
ConceptDAO.getDrugs(String drugName,
Concept concept,
boolean includeRetired)
DAO for retrieving a list of drugs based on the following criteria
|
List<Drug> |
ConceptDAO.getDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
Integer start,
Integer length) |
List<Patient> |
PatientDAO.getDuplicatePatientsByAttributes(List<String> attributes) |
Encounter |
EncounterDAO.getEncounter(Integer encounterId)
Get encounter by internal identifier
|
List<Encounter> |
EncounterDAO.getEncountersByPatientId(Integer patientId) |
EncounterType |
EncounterDAO.getEncounterType(Integer encounterTypeId)
Get encounterType by internal identifier
|
EncounterType |
EncounterDAO.getEncounterType(String name)
Get encounterType by name
|
Field |
FormDAO.getField(Integer fieldId) |
List<Field> |
FormDAO.getFields(Collection<Form> forms,
Collection<FieldType> fieldTypes,
Collection<Concept> concepts,
Collection<String> tableNames,
Collection<String> attributeNames,
Boolean selectMultiple,
Collection<FieldAnswer> containsAllAnswers,
Collection<FieldAnswer> containsAnyAnswer,
Boolean retired)
Returns all fields that match a broad range of (nullable) criteria
|
List<Field> |
FormDAO.getFields(String search) |
FieldType |
FormDAO.getFieldType(Integer fieldTypeId)
Get fieldType by internal identifier
|
Form |
FormDAO.getForm(Integer formId)
Get form by internal form identifier
|
Form |
FormDAO.getForm(String name,
String version)
Get form by exact name and version
|
Integer |
FormDAO.getFormCount(String partialName,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields) |
FormField |
FormDAO.getFormField(Form form,
Concept concept,
Collection<FormField> ignoreFormFields,
boolean force) |
FormField |
FormDAO.getFormField(Integer formFieldId) |
List<Form> |
FormDAO.getForms(String partialName,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields)
Gets all forms that match all the criteria.
|
List<Form> |
FormDAO.getFormsByName(String name)
Gets all forms with the given name, sorted (alphabetically) by descending version
|
List<Form> |
FormDAO.getFormsContainingConcept(Concept concept)
Get all forms that contain the given
Concept as one of their fields. |
String |
AdministrationDAO.getGlobalProperty(String propertyName) |
GlobalProperty |
AdministrationDAO.getGlobalPropertyByUuid(String uuid) |
List<Location> |
LocationDAO.getLocations(String nameFragment,
boolean includeRetired,
Integer start,
Integer length)
Returns a specified number of locations starting with a given string from the specified index
|
MimeType |
ObsDAO.getMimeType(Integer mimeTypeId)
Deprecated.
|
Collection<?> |
AdministrationDAO.getMRNGeneratorLog() |
Concept |
ConceptDAO.getNextConcept(Concept c) |
Note |
NoteDAO.getNote(Integer noteId)
Get note by internal identifier
|
List<Note> |
NoteDAO.getNotes()
Get all notes
|
<T extends OpenmrsObject> |
SerializedObjectDAO.getObject(Class<T> type,
Integer id)
Retrieves the saved object of the passed type from the database by it's id
|
<T extends OpenmrsObject> |
SerializedObjectDAO.getObjectByUuid(Class<T> type,
String uuid)
Retrieves the saved object of the passed type from the database by it's uuid
|
Obs |
ObsDAO.getObs(Integer obsId) |
Integer |
ObsDAO.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs) |
Map<Integer,List<Obs>> |
PatientSetDAO.getObservations(Cohort patients,
Concept concept,
Date fromDate,
Date toDate) |
List<Obs> |
ObsDAO.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
<Ord extends Order> |
OrderDAO.getOrder(Integer orderId,
Class<Ord> classType) |
OrderType |
OrderDAO.getOrderType(Integer orderTypeId) |
Patient |
PatientDAO.getPatient(Integer patientId) |
PatientIdentifier |
PatientDAO.getPatientIdentifier(Integer patientIdentifierId) |
List<PatientIdentifier> |
PatientDAO.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
PatientIdentifierType |
PatientDAO.getPatientIdentifierType(Integer patientIdentifierTypeId) |
List<PatientIdentifierType> |
PatientDAO.getPatientIdentifierTypes(String name,
String format,
Boolean required,
Boolean hasCheckDigit) |
Map<Integer,PatientProgram> |
PatientSetDAO.getPatientPrograms(Cohort ps,
Program program,
boolean includeVoided,
boolean includePast) |
List<PatientProgram> |
ProgramWorkflowDAO.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided)
Returns PatientPrograms that match the input parameters.
|
List<Patient> |
PatientSetDAO.getPatients(Collection<Integer> patientIds) |
List<Patient> |
PatientDAO.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
Integer start,
Integer length,
boolean searchOnNamesOrIdentifiers) |
Cohort |
PatientSetDAO.getPatientsByCharacteristics(String gender,
Date minBirthdate,
Date maxBirthdate,
Integer minAge,
Integer maxAge,
Boolean aliveOnly,
Boolean deadOnly) |
Cohort |
PatientSetDAO.getPatientsByCharacteristics(String gender,
Date minBirthdate,
Date maxBirthdate,
Integer minAge,
Integer maxAge,
Boolean aliveOnly,
Boolean deadOnly,
Date effectiveDate) |
Cohort |
PatientSetDAO.getPatientsByProgramAndState(Program program,
List<ProgramWorkflowState> stateList,
Date fromDate,
Date toDate) |
Cohort |
PatientSetDAO.getPatientsHavingEncounters(List<EncounterType> encounterTypeList,
Location location,
Form form,
Date fromDate,
Date toDate,
Integer minCount,
Integer maxCount) |
Cohort |
PatientSetDAO.getPatientsHavingLocation(Integer locationId,
PatientSetService.PatientLocationMethod method) |
Cohort |
PatientSetDAO.getPatientsHavingNumericObs(Integer conceptId,
PatientSetService.TimeModifier timeModifier,
PatientSetService.Modifier modifier,
Number value,
Date fromDate,
Date toDate) |
Cohort |
PatientSetDAO.getPatientsHavingObs(Integer conceptId,
PatientSetService.TimeModifier timeModifier,
PatientSetService.Modifier modifier,
Object value,
Date fromDate,
Date toDate) |
Cohort |
PatientSetDAO.getPatientsHavingTextObs(Integer conceptId,
String value,
PatientSetService.TimeModifier timeModifier) |
Cohort |
PatientSetDAO.getPatientsInProgram(Integer programId,
Date fromDate,
Date toDate) |
List<Person> |
PersonDAO.getPeople(String searchPhrase,
Boolean dead) |
Person |
PersonDAO.getPerson(Integer personId) |
PersonAttribute |
PersonDAO.getPersonAttribute(Integer id) |
PersonAttributeType |
PersonDAO.getPersonAttributeType(Integer typeId) |
List<PersonAttributeType> |
PersonDAO.getPersonAttributeTypes(String exactName,
String format,
Integer foreignKey,
Boolean searchable) |
Concept |
ConceptDAO.getPrevConcept(Concept c) |
Privilege |
UserDAO.getPrivilege(String p) |
Program |
ProgramWorkflowDAO.getProgram(Integer programId)
Retrieves a
Program from the database by primary key programId |
List<Concept> |
ConceptDAO.getProposedConcepts(String text) |
Relationship |
PersonDAO.getRelationship(Integer relationshipId) |
Map<Integer,List<Relationship>> |
PatientSetDAO.getRelationships(Cohort ps,
RelationshipType relType) |
List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
RelationshipType |
PersonDAO.getRelationshipType(Integer relationshipTypeId) |
List<RelationshipType> |
PersonDAO.getRelationshipTypes(String relationshipTypeName,
Boolean preferred) |
Map<Integer,List<Person>> |
PatientSetDAO.getRelatives(Cohort ps,
RelationshipType relType,
boolean forwards) |
Role |
UserDAO.getRole(String r) |
SerializedObject |
SerializedObjectDAO.getSerializedObject(Integer id)
Retrieves the raw SerializedObject from the database by id
|
SerializedObject |
SerializedObjectDAO.getSerializedObjectByUuid(String uuid)
Retrieves the raw Serialized Object from the database by uuid
|
List<ConceptSet> |
ConceptDAO.getSetsContainingConcept(Concept concept) |
Map<Integer,String> |
PatientSetDAO.getShortPatientDescriptions(Collection<Integer> patientIds) |
Set<Person> |
PersonDAO.getSimilarPeople(String name,
Integer birthyear,
String gender) |
Template |
TemplateDAO.getTemplate(Integer id)
Get message template by id
|
List<Template> |
TemplateDAO.getTemplates()
Get all message templates
|
List<Template> |
TemplateDAO.getTemplatesByName(String name)
Get message template by name
|
User |
UserDAO.getUser(Integer userId) |
User |
UserDAO.getUserByUsername(String username) |
List<User> |
UserDAO.getUsers(String name,
List<Role> roles,
boolean includeRetired,
Integer start,
Integer length) |
boolean |
UserDAO.hasDuplicateUsername(String username,
String systemId,
Integer userId) |
boolean |
UserDAO.isSecretAnswer(User u,
String answer) |
void |
AdministrationDAO.mrnGeneratorLog(String site,
Integer start,
Integer count) |
void |
ConceptDAO.purgeConcept(Concept concept) |
void |
ConceptDAO.purgeConceptClass(ConceptClass cc) |
void |
ConceptDAO.purgeConceptDatatype(ConceptDatatype cd) |
void |
ConceptDAO.purgeConceptProposal(ConceptProposal cp) |
void |
ConceptDAO.purgeDrug(Drug drug) |
void |
SerializedObjectDAO.purgeObject(Integer id)
Deletes the item from the database with the given primary key id
|
void |
SerializedObjectDAO.registerSupportedType(Class<? extends OpenmrsObject> clazz)
Registers a class as one that should be supported
|
ActiveListItem |
ActiveListDAO.saveActiveListItem(ActiveListItem item) |
Cohort |
CohortDAO.saveCohort(Cohort cohort)
Saves a Cohort to the database
|
Concept |
ConceptDAO.saveConcept(Concept concept) |
ConceptClass |
ConceptDAO.saveConceptClass(ConceptClass cc) |
ConceptDatatype |
ConceptDAO.saveConceptDatatype(ConceptDatatype cd) |
ConceptProposal |
ConceptDAO.saveConceptProposal(ConceptProposal cp) |
ConceptSource |
ConceptDAO.saveConceptSource(ConceptSource conceptSource) |
ConceptStateConversion |
ProgramWorkflowDAO.saveConceptStateConversion(ConceptStateConversion csc)
Save ConceptStateConversion to database (create if new or update if changed)
|
Drug |
ConceptDAO.saveDrug(Drug drug) |
Encounter |
EncounterDAO.saveEncounter(Encounter encounter)
Saves an encounter
|
Field |
FormDAO.saveField(Field field) |
FieldType |
FormDAO.saveFieldType(FieldType fieldType)
Save the given field type to the database
|
Form |
FormDAO.saveForm(Form form) |
FormField |
FormDAO.saveFormField(FormField formField) |
GlobalProperty |
AdministrationDAO.saveGlobalProperty(GlobalProperty gp) |
MimeType |
ObsDAO.saveMimeType(MimeType mimeType)
Deprecated.
|
<T extends OpenmrsObject> |
SerializedObjectDAO.saveObject(T object)
Saves an object to the database in serialized form
|
<T extends OpenmrsObject> |
SerializedObjectDAO.saveObject(T object,
OpenmrsSerializer serializer)
Saves an object to the database, in serialized form, using the specified
OpenmrsSerializer |
Obs |
ObsDAO.saveObs(Obs obs) |
Order |
OrderDAO.saveOrder(Order order) |
OrderType |
OrderDAO.saveOrderType(OrderType orderType) |
Patient |
PatientDAO.savePatient(Patient patient) |
PatientIdentifierType |
PatientDAO.savePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
PatientProgram |
ProgramWorkflowDAO.savePatientProgram(PatientProgram patientProgram)
Save patientProgram to database (create if new or update if changed)
|
Person |
PersonDAO.savePerson(Person person) |
PersonAttributeType |
PersonDAO.savePersonAttributeType(PersonAttributeType type) |
Privilege |
UserDAO.savePrivilege(Privilege privilege) |
Program |
ProgramWorkflowDAO.saveProgram(Program program)
Saves a Program to the database
|
Relationship |
PersonDAO.saveRelationship(Relationship relationship) |
RelationshipType |
PersonDAO.saveRelationshipType(RelationshipType relationshipType) |
Role |
UserDAO.saveRole(Role role) |
User |
UserDAO.saveUser(User user,
String password) |
void |
SerializedObjectDAO.unregisterSupportedType(Class<? extends OpenmrsObject> clazz)
Removes this class as one that should be supported
|
void |
ConceptDAO.updateConceptSetDerived() |
void |
ConceptDAO.updateConceptSetDerived(Concept concept) |
void |
ConceptDAO.updateConceptWord(Concept concept) |
void |
NoteDAO.updateNote(Note note)
Update note
|
void |
AdministrationDAO.updateReport(Report r)
Deprecated.
see reportingcompatibility module
|
void |
AdministrationDAO.updateReportObject(AbstractReportObject ro)
Deprecated.
see reportingcompatibility module
|
void |
TemplateDAO.updateTemplate(Template template)
Update existing template.
|
Modifier and Type | Method and Description |
---|---|
void |
HibernateUserDAO.changeHashedPassword(User user,
String hashedPassword,
String salt) |
void |
HibernateUserDAO.changePassword(String pw,
String pw2) |
void |
HibernateUserDAO.changePassword(User u,
String pw) |
void |
HibernateUserDAO.changeQuestionAnswer(String pw,
String question,
String answer) |
void |
HibernateUserDAO.changeQuestionAnswer(User u,
String question,
String answer) |
Cohort |
HibernatePatientSetDAO.convertPatientIdentifier(List<String> identifiers) |
<T extends OpenmrsObject> |
HibernateSerializedObjectDAO.convertSerializedObject(Class<T> clazz,
SerializedObject serializedObject) |
void |
HibernateAdministrationDAO.createReport(Report r)
Deprecated.
see reportingcompatibility module
|
void |
HibernateAdministrationDAO.createReportObject(AbstractReportObject ro)
Deprecated.
see reportingcompatibility module
|
void |
HibernateTemplateDAO.createTemplate(Template template) |
void |
HibernateActiveListDAO.deleteActiveListItem(ActiveListItem item) |
Cohort |
HibernateCohortDAO.deleteCohort(Cohort cohort) |
ConceptSource |
HibernateConceptDAO.deleteConceptSource(ConceptSource cs) |
void |
HibernateEncounterDAO.deleteEncounter(Encounter encounter) |
void |
HibernateEncounterDAO.deleteEncounterType(EncounterType encounterType) |
void |
HibernateFormDAO.deleteField(Field field) |
void |
HibernateFormDAO.deleteFieldType(FieldType fieldType) |
void |
HibernateFormDAO.deleteForm(Form form) |
void |
HibernateFormDAO.deleteFormField(FormField formField) |
void |
HibernateAdministrationDAO.deleteGlobalProperty(GlobalProperty property) |
void |
HibernateObsDAO.deleteMimeType(MimeType mimeType)
Deprecated.
|
void |
HibernateNoteDAO.deleteNote(Note note) |
void |
HibernateObsDAO.deleteObs(Obs obs) |
void |
HibernateOrderDAO.deleteOrder(Order order) |
void |
HibernateOrderDAO.deleteOrderType(OrderType orderType) |
void |
HibernatePatientDAO.deletePatient(Patient patient) |
void |
HibernatePatientDAO.deletePatientIdentifier(PatientIdentifier patientIdentifier) |
void |
HibernatePatientDAO.deletePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
void |
HibernateProgramWorkflowDAO.deletePatientProgram(PatientProgram patientProgram) |
void |
HibernatePersonDAO.deletePerson(Person person) |
void |
HibernateUserDAO.deletePrivilege(Privilege privilege) |
void |
HibernateProgramWorkflowDAO.deleteProgram(Program program) |
void |
HibernatePersonDAO.deleteRelationship(Relationship relationship) |
void |
HibernatePersonDAO.deleteRelationshipType(RelationshipType relationshipType) |
void |
HibernateAdministrationDAO.deleteReport(Report r)
Deprecated.
see reportingcompatibility module
|
void |
HibernateAdministrationDAO.deleteReportObject(Integer reportObjectId)
Deprecated.
see reportingcompatibility module
|
void |
HibernateUserDAO.deleteRole(Role role) |
void |
HibernateTemplateDAO.deleteTemplate(Template template) |
Form |
HibernateFormDAO.duplicateForm(Form form) |
List<List<Object>> |
HibernateAdministrationDAO.executeSQL(String sql,
boolean selectOnly) |
String |
HibernatePatientSetDAO.exportXml(Cohort ps)
Deprecated.
|
String |
HibernatePatientSetDAO.exportXml(Integer patientId)
Deprecated.
|
List<EncounterType> |
HibernateEncounterDAO.findEncounterTypes(String name) |
List<Program> |
HibernateProgramWorkflowDAO.findPrograms(String nameFragment) |
Map<Integer,Collection<Integer>> |
HibernatePatientSetDAO.getActiveDrugIds(Collection<Integer> patientIds,
Date fromDate,
Date toDate)
Returns a Map from patientId to a Collection of drugIds for drugs active for the patients on
that date If patientIds is null then do this for all patients Does not return anything for
voided patients
|
<T extends ActiveListItem> |
HibernateActiveListDAO.getActiveListItem(Class<T> clazz,
Integer activeListItemId) |
ActiveListItem |
HibernateActiveListDAO.getActiveListItemByUuid(String uuid) |
<T extends ActiveListItem> |
HibernateActiveListDAO.getActiveListItems(Class<T> clazz,
Person p,
ActiveListType type) |
List<ActiveListItem> |
HibernateActiveListDAO.getActiveListItems(Person p,
ActiveListType type) |
List<Cohort> |
HibernateCohortDAO.getAllCohorts(boolean includeVoided) |
List<ConceptClass> |
HibernateConceptDAO.getAllConceptClasses(boolean includeRetired) |
List<ConceptDatatype> |
HibernateConceptDAO.getAllConceptDatatypes(boolean includeRetired) |
List<ConceptProposal> |
HibernateConceptDAO.getAllConceptProposals(boolean includeCompleted) |
List<Concept> |
HibernateConceptDAO.getAllConcepts(String sortBy,
boolean asc,
boolean includeRetired) |
List<ConceptStateConversion> |
HibernateProgramWorkflowDAO.getAllConceptStateConversions() |
List<EncounterType> |
HibernateEncounterDAO.getAllEncounterTypes(Boolean includeRetired) |
List<Field> |
HibernateFormDAO.getAllFields(boolean includeRetired) |
List<FieldType> |
HibernateFormDAO.getAllFieldTypes(boolean includeRetired) |
List<FormField> |
HibernateFormDAO.getAllFormFields() |
List<Form> |
HibernateFormDAO.getAllForms(boolean includeRetired) |
List<GlobalProperty> |
HibernateAdministrationDAO.getAllGlobalProperties() |
List<MimeType> |
HibernateObsDAO.getAllMimeTypes(boolean includeRetired)
Deprecated.
|
<T extends OpenmrsObject> |
HibernateSerializedObjectDAO.getAllObjects(Class<T> type) |
<T extends OpenmrsObject> |
HibernateSerializedObjectDAO.getAllObjects(Class<T> type,
boolean includeRetired) |
<T extends OpenmrsMetadata> |
HibernateSerializedObjectDAO.getAllObjectsByName(Class<T> type,
String name,
boolean exactMatchOnly) |
List<OrderType> |
HibernateOrderDAO.getAllOrderTypes(boolean includeRetired) |
List<PatientIdentifierType> |
HibernatePatientDAO.getAllPatientIdentifierTypes(boolean includeRetired) |
List<Patient> |
HibernatePatientDAO.getAllPatients(boolean includeVoided) |
List<PersonAttributeType> |
HibernatePersonDAO.getAllPersonAttributeTypes(boolean includeRetired) |
List<Privilege> |
HibernateUserDAO.getAllPrivileges() |
List<Program> |
HibernateProgramWorkflowDAO.getAllPrograms(boolean includeRetired) |
List<Relationship> |
HibernatePersonDAO.getAllRelationships(boolean includeVoided) |
List<Role> |
HibernateUserDAO.getAllRoles() |
List<SerializedObject> |
HibernateSerializedObjectDAO.getAllSerializedObjects(Class<?> type,
boolean includeRetired) |
List<SerializedObject> |
HibernateSerializedObjectDAO.getAllSerializedObjectsByName(Class<?> type,
String name,
boolean exactMatchOnly) |
List<User> |
HibernateUserDAO.getAllUsers() |
Map<Integer,Map<String,Object>> |
HibernatePatientSetDAO.getCharacteristics(Cohort patients) |
Cohort |
HibernateCohortDAO.getCohort(Integer id) |
List<Cohort> |
HibernateCohortDAO.getCohorts(String nameFragment) |
List<Cohort> |
HibernateCohortDAO.getCohortsContainingPatientId(Integer patientId) |
Concept |
HibernateConceptDAO.getConcept(Integer conceptId) |
ConceptAnswer |
HibernateConceptDAO.getConceptAnswer(Integer conceptAnswerId) |
ConceptClass |
HibernateConceptDAO.getConceptClass(Integer i) |
List<ConceptClass> |
HibernateConceptDAO.getConceptClasses(String name) |
ConceptDatatype |
HibernateConceptDAO.getConceptDatatypeByName(String name) |
List<ConceptDatatype> |
HibernateConceptDAO.getConceptDatatypes(String name) |
ConceptName |
HibernateConceptDAO.getConceptName(Integer conceptNameId) |
ConceptProposal |
HibernateConceptDAO.getConceptProposal(Integer conceptProposalId) |
List<ConceptProposal> |
HibernateConceptDAO.getConceptProposals(String text) |
List<ConceptSearchResult> |
HibernateConceptDAO.getConcepts(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
Integer start,
Integer size) |
List<Concept> |
HibernateConceptDAO.getConcepts(String name,
Locale loc,
boolean searchOnPhrase,
List<ConceptClass> classes,
List<ConceptDatatype> datatypes) |
List<ConceptMap> |
HibernateConceptDAO.getConceptsByConceptSource(ConceptSource conceptSource) |
ConceptSource |
HibernateConceptDAO.getConceptSourceByName(String conceptSourceName) |
List<ConceptWord> |
HibernateConceptDAO.getConceptWords(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
Integer start,
Integer size) |
Integer |
HibernateConceptDAO.getCountOfDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired) |
Map<Integer,List<DrugOrder>> |
HibernatePatientSetDAO.getCurrentDrugOrders(Cohort patients,
List<Concept> drugConcepts) |
Map<Integer,PatientState> |
HibernatePatientSetDAO.getCurrentStates(Cohort ps,
ProgramWorkflow wf) |
Drug |
HibernateConceptDAO.getDrug(Integer drugId) |
Map<Integer,List<DrugOrder>> |
HibernatePatientSetDAO.getDrugOrders(Cohort patients,
List<Concept> drugConcepts) |
List<Drug> |
HibernateConceptDAO.getDrugs(String phrase) |
List<Drug> |
HibernateConceptDAO.getDrugs(String drugName,
Concept concept,
boolean includeRetired) |
List<Drug> |
HibernateConceptDAO.getDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
Integer start,
Integer length) |
Encounter |
HibernateEncounterDAO.getEncounter(Integer encounterId) |
List<Encounter> |
HibernateEncounterDAO.getEncountersByPatientId(Integer patientId) |
EncounterType |
HibernateEncounterDAO.getEncounterType(Integer encounterTypeId) |
EncounterType |
HibernateEncounterDAO.getEncounterType(String name) |
Field |
HibernateFormDAO.getField(Integer fieldId) |
List<Field> |
HibernateFormDAO.getFields(Collection<Form> forms,
Collection<FieldType> fieldTypes,
Collection<Concept> concepts,
Collection<String> tableNames,
Collection<String> attributeNames,
Boolean selectMultiple,
Collection<FieldAnswer> containsAllAnswers,
Collection<FieldAnswer> containsAnyAnswer,
Boolean retired) |
List<Field> |
HibernateFormDAO.getFields(String search) |
List<Field> |
HibernateFormDAO.getFieldsByConcept(Concept concept) |
FieldType |
HibernateFormDAO.getFieldType(Integer fieldTypeId) |
Form |
HibernateFormDAO.getForm(Integer formId) |
Form |
HibernateFormDAO.getForm(String name,
String version) |
Integer |
HibernateFormDAO.getFormCount(String partialName,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields) |
FormField |
HibernateFormDAO.getFormField(Form form,
Concept concept,
Collection<FormField> ignoreFormFields,
boolean force) |
FormField |
HibernateFormDAO.getFormField(Integer formFieldId) |
List<FormField> |
HibernateFormDAO.getFormFields(Form form) |
List<Form> |
HibernateFormDAO.getForms(String partialName,
Boolean published,
Collection<EncounterType> encounterTypes,
Boolean retired,
Collection<FormField> containingAnyFormField,
Collection<FormField> containingAllFormFields,
Collection<Field> fields) |
List<Form> |
HibernateFormDAO.getFormsByName(String name) |
List<Form> |
HibernateFormDAO.getFormsContainingConcept(Concept c) |
String |
HibernateAdministrationDAO.getGlobalProperty(String propertyName) |
GlobalProperty |
HibernateAdministrationDAO.getGlobalPropertyByUuid(String uuid) |
List<Location> |
HibernateLocationDAO.getLocations(String nameFragment,
boolean includeRetired,
Integer start,
Integer length) |
MimeType |
HibernateObsDAO.getMimeType(Integer mimeTypeId)
Deprecated.
|
<T extends OpenmrsObject> |
HibernateSerializedObjectDAO.getObject(Class<T> baseClass,
Integer id) |
<T extends OpenmrsObject> |
HibernateSerializedObjectDAO.getObjectByUuid(Class<T> baseClass,
String uuid) |
Obs |
HibernateObsDAO.getObs(Integer obsId) |
Integer |
HibernateObsDAO.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs) |
Map<Integer,List<Obs>> |
HibernatePatientSetDAO.getObservations(Cohort patients,
Concept concept,
Date fromDate,
Date toDate) |
List<Obs> |
HibernateObsDAO.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sortList,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
<Ord extends Order> |
HibernateOrderDAO.getOrder(Integer orderId,
Class<Ord> orderClassType) |
OrderType |
HibernateOrderDAO.getOrderType(Integer orderTypeId) |
Map<Integer,Object> |
HibernatePatientSetDAO.getPatientAttributes(Cohort patients,
String className,
String property,
boolean returnAll) |
PatientIdentifier |
HibernatePatientDAO.getPatientIdentifier(Integer patientIdentifierId) |
List<PatientIdentifier> |
HibernatePatientDAO.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
PatientIdentifierType |
HibernatePatientDAO.getPatientIdentifierType(Integer patientIdentifierTypeId) |
List<PatientIdentifierType> |
HibernatePatientDAO.getPatientIdentifierTypes(String name,
String format,
Boolean required,
Boolean hasCheckDigit) |
PatientProgram |
HibernateProgramWorkflowDAO.getPatientProgram(Integer patientProgramId) |
Map<Integer,PatientProgram> |
HibernatePatientSetDAO.getPatientPrograms(Cohort ps,
Program program,
boolean includeVoided,
boolean includePast)
This method assumes the patient is not simultaneously enrolled in the program more than once.
|
List<PatientProgram> |
HibernateProgramWorkflowDAO.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided) |
List<Patient> |
HibernatePatientSetDAO.getPatients(Collection<Integer> patientIds) |
List<Patient> |
HibernatePatientDAO.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
Integer start,
Integer length,
boolean searchOnNamesOrIdentifiers) |
Cohort |
HibernatePatientSetDAO.getPatientsByCharacteristics(String gender,
Date minBirthdate,
Date maxBirthdate,
Integer minAge,
Integer maxAge,
Boolean aliveOnly,
Boolean deadOnly) |
Cohort |
HibernatePatientSetDAO.getPatientsByCharacteristics(String gender,
Date minBirthdate,
Date maxBirthdate,
Integer minAge,
Integer maxAge,
Boolean aliveOnly,
Boolean deadOnly,
Date effectiveDate) |
Cohort |
HibernatePatientSetDAO.getPatientsHavingTextObs(Integer conceptId,
String value,
PatientSetService.TimeModifier timeModifier) |
List<PersonAttributeType> |
HibernatePersonDAO.getPersonAttributeTypes(String exactName,
String format,
Integer foreignKey,
Boolean searchable) |
Privilege |
HibernateUserDAO.getPrivilege(String p) |
Program |
HibernateProgramWorkflowDAO.getProgram(Integer programId) |
List<Concept> |
HibernateConceptDAO.getProposedConcepts(String text) |
Relationship |
HibernatePersonDAO.getRelationship(Integer relationshipId) |
RelationshipType |
HibernatePersonDAO.getRelationshipType(Integer relationshipTypeId) |
List<RelationshipType> |
HibernatePersonDAO.getRelationshipTypes(String relationshipTypeName,
Boolean preferred) |
Role |
HibernateUserDAO.getRole(String r) |
SerializedObject |
HibernateSerializedObjectDAO.getSerializedObject(Integer id) |
SerializedObject |
HibernateSerializedObjectDAO.getSerializedObjectByUuid(String uuid) |
Map<Integer,String> |
HibernatePatientSetDAO.getShortPatientDescriptions(Collection<Integer> patientIds) |
Set<Person> |
HibernatePersonDAO.getSimilarPeople(String name,
Integer birthyear,
String gender) |
List<User> |
HibernateUserDAO.getUsersByRole(Role role) |
boolean |
HibernateUserDAO.isSecretAnswer(User u,
String answer) |
void |
HibernateConceptDAO.purgeConcept(Concept concept) |
void |
HibernateConceptDAO.purgeConceptClass(ConceptClass cc) |
void |
HibernateConceptDAO.purgeConceptDatatype(ConceptDatatype cd) |
void |
HibernateConceptDAO.purgeConceptProposal(ConceptProposal cp) |
void |
HibernateConceptDAO.purgeDrug(Drug drug) |
void |
HibernateSerializedObjectDAO.purgeObject(Integer id) |
void |
HibernateSerializedObjectDAO.registerSupportedType(Class<? extends OpenmrsObject> clazz) |
ActiveListItem |
HibernateActiveListDAO.saveActiveListItem(ActiveListItem item) |
Cohort |
HibernateCohortDAO.saveCohort(Cohort cohort) |
Concept |
HibernateConceptDAO.saveConcept(Concept concept) |
ConceptClass |
HibernateConceptDAO.saveConceptClass(ConceptClass cc) |
ConceptDatatype |
HibernateConceptDAO.saveConceptDatatype(ConceptDatatype cd) |
ConceptProposal |
HibernateConceptDAO.saveConceptProposal(ConceptProposal cp) |
ConceptSource |
HibernateConceptDAO.saveConceptSource(ConceptSource conceptSource) |
ConceptStateConversion |
HibernateProgramWorkflowDAO.saveConceptStateConversion(ConceptStateConversion csc) |
Drug |
HibernateConceptDAO.saveDrug(Drug drug) |
Encounter |
HibernateEncounterDAO.saveEncounter(Encounter encounter) |
Field |
HibernateFormDAO.saveField(Field field) |
FieldType |
HibernateFormDAO.saveFieldType(FieldType fieldType) |
Form |
HibernateFormDAO.saveForm(Form form)
Returns the form object originally passed in, which will have been persisted.
|
FormField |
HibernateFormDAO.saveFormField(FormField formField) |
GlobalProperty |
HibernateAdministrationDAO.saveGlobalProperty(GlobalProperty gp) |
MimeType |
HibernateObsDAO.saveMimeType(MimeType mimeType)
Deprecated.
|
<T extends OpenmrsObject> |
HibernateSerializedObjectDAO.saveObject(T object) |
<T extends OpenmrsObject> |
HibernateSerializedObjectDAO.saveObject(T object,
OpenmrsSerializer serializer) |
Obs |
HibernateObsDAO.saveObs(Obs obs) |
Order |
HibernateOrderDAO.saveOrder(Order order) |
OrderType |
HibernateOrderDAO.saveOrderType(OrderType orderType) |
Patient |
HibernatePatientDAO.savePatient(Patient patient) |
PatientIdentifierType |
HibernatePatientDAO.savePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
PatientProgram |
HibernateProgramWorkflowDAO.savePatientProgram(PatientProgram patientProgram) |
Person |
HibernatePersonDAO.savePerson(Person person) |
Privilege |
HibernateUserDAO.savePrivilege(Privilege privilege) |
Program |
HibernateProgramWorkflowDAO.saveProgram(Program program) |
Relationship |
HibernatePersonDAO.saveRelationship(Relationship relationship) |
RelationshipType |
HibernatePersonDAO.saveRelationshipType(RelationshipType relationshipType) |
Role |
HibernateUserDAO.saveRole(Role role) |
void |
HibernateSerializedObjectDAO.unregisterSupportedType(Class<? extends OpenmrsObject> clazz) |
void |
HibernateConceptDAO.updateConceptSetDerived() |
void |
HibernateConceptDAO.updateConceptSetDerived(Concept concept) |
void |
HibernateConceptDAO.updateConceptWord(Concept concept) |
void |
HibernateAdministrationDAO.updateReport(Report r)
Deprecated.
see reportingcompatibility module
|
void |
HibernateAdministrationDAO.updateReportObject(AbstractReportObject ro)
Deprecated.
see reportingcompatibility module
|
void |
HibernateTemplateDAO.updateTemplate(Template template) |
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetServiceImpl.getAllPatients() |
Cohort |
PatientSetServiceImpl.getPatientsByCharacteristics(String gender,
Date minBirthdate,
Date maxBirthdate) |
Cohort |
PatientSetServiceImpl.getPatientsByCharacteristics(String gender,
Date minBirthdate,
Date maxBirthdate,
Integer minAge,
Integer maxAge,
Boolean aliveOnly,
Boolean deadOnly) |
Cohort |
PatientSetServiceImpl.getPatientsByCharacteristics(String gender,
Date minBirthdate,
Date maxBirthdate,
Integer minAge,
Integer maxAge,
Boolean aliveOnly,
Boolean deadOnly,
Date effectiveDate) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateHL7DAO.deleteHL7InArchive(HL7InArchive hl7InArchive) |
void |
HibernateHL7DAO.deleteHL7InError(HL7InError hl7InError) |
void |
HibernateHL7DAO.deleteHL7InQueue(HL7InQueue hl7InQueue) |
void |
HibernateHL7DAO.deleteHL7Source(HL7Source hl7Source) |
List<HL7InArchive> |
HibernateHL7DAO.getAllHL7InArchives() |
List<HL7InError> |
HibernateHL7DAO.getAllHL7InErrors() |
List<HL7InQueue> |
HibernateHL7DAO.getAllHL7InQueues() |
List<HL7Source> |
HibernateHL7DAO.getAllHL7Sources() |
<T> List<T> |
HibernateHL7DAO.getHL7Batch(Class clazz,
int start,
int length,
Integer messageState,
String query) |
HL7InArchive |
HibernateHL7DAO.getHL7InArchive(Integer hl7InArchiveId) |
List<HL7InArchive> |
HibernateHL7DAO.getHL7InArchiveByState(Integer state) |
HL7InArchive |
HibernateHL7DAO.getHL7InArchiveByUuid(String uuid) |
HL7InError |
HibernateHL7DAO.getHL7InError(Integer hl7InErrorId) |
HL7InQueue |
HibernateHL7DAO.getHL7InQueue(Integer hl7InQueueId) |
List<HL7InQueue> |
HibernateHL7DAO.getHL7InQueueByState(Integer state) |
HL7Source |
HibernateHL7DAO.getHL7Source(Integer hl7SourceId) |
HL7Source |
HibernateHL7DAO.getHL7SourceByName(String name) |
HL7InQueue |
HibernateHL7DAO.getNextHL7InQueue() |
HL7InArchive |
HibernateHL7DAO.saveHL7InArchive(HL7InArchive hl7InArchive) |
HL7InError |
HibernateHL7DAO.saveHL7InError(HL7InError hl7InError) |
HL7InQueue |
HibernateHL7DAO.saveHL7InQueue(HL7InQueue hl7InQueue) |
HL7Source |
HibernateHL7DAO.saveHL7Source(HL7Source hl7Source) |
Modifier and Type | Method and Description |
---|---|
void |
AlertDAO.deleteAlert(Alert alert) |
Alert |
AlertDAO.getAlert(Integer alertId) |
List<Alert> |
AlertDAO.getAlerts(User user,
boolean includeRead,
boolean includeVoided) |
Alert |
AlertDAO.saveAlert(Alert alert) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateAlertDAO.deleteAlert(Alert alert) |
Alert |
HibernateAlertDAO.getAlert(Integer alertId) |
List<Alert> |
HibernateAlertDAO.getAlerts(User user,
boolean includeRead,
boolean includeExpired) |
List<Alert> |
HibernateAlertDAO.getAllAlerts(boolean includeExpired) |
Alert |
HibernateAlertDAO.saveAlert(Alert alert) |
Modifier and Type | Method and Description |
---|---|
void |
ReportObjectDAO.deleteReportObject(AbstractReportObject reportObj)
Deprecated.
Auto generated method comment
|
List<AbstractReportObject> |
ReportObjectDAO.getAllReportObjects()
Deprecated.
Auto generated method comment
|
AbstractReportObject |
ReportObjectDAO.getReportObject(Integer reportObjId)
Deprecated.
Auto generated method comment
|
List<AbstractReportObject> |
ReportObjectDAO.getReportObjectsByType(String reportObjectType)
Deprecated.
Auto generated method comment
|
AbstractReportObject |
ReportObjectDAO.saveReportObject(AbstractReportObject reportObj)
Deprecated.
Auto generated method comment
|
Modifier and Type | Method and Description |
---|---|
void |
HibernateReportObjectDAO.deleteReportObject(AbstractReportObject reportObj)
Deprecated.
|
AbstractReportObject |
HibernateReportObjectDAO.getReportObject(Integer reportObjId)
Deprecated.
|
List<AbstractReportObject> |
HibernateReportObjectDAO.getReportObjectsByType(String reportObjectType)
Deprecated.
|
AbstractReportObject |
HibernateReportObjectDAO.saveReportObject(AbstractReportObject reportObj)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
SchedulerDAO.createTask(TaskDefinition taskDefinition)
Creates a new task.
|
void |
SchedulerDAO.deleteTask(Integer taskId)
Delete task from database.
|
void |
SchedulerDAO.deleteTask(TaskDefinition task)
Delete task from database.
|
Schedule |
SchedulerDAO.getSchedule(Integer scheduleId)
Get schedule by internal identifier
|
TaskDefinition |
SchedulerDAO.getTask(Integer taskId)
Get task by internal identifier
|
TaskDefinition |
SchedulerDAO.getTaskByName(String name)
Get task by public name.
|
List<TaskDefinition> |
SchedulerDAO.getTasks()
Find all tasks in the database
|
void |
SchedulerDAO.updateTask(TaskDefinition task)
Update task
|
Modifier and Type | Method and Description |
---|---|
void |
HibernateSchedulerDAO.createTask(TaskDefinition task)
Creates a new task.
|
void |
HibernateSchedulerDAO.deleteTask(Integer taskId)
Delete task from database.
|
void |
HibernateSchedulerDAO.deleteTask(TaskDefinition taskConfig)
Delete task from database.
|
Schedule |
HibernateSchedulerDAO.getSchedule(Integer scheduleId)
Get schedule by internal identifier
|
TaskDefinition |
HibernateSchedulerDAO.getTask(Integer taskId)
Get task by internal identifier
|
TaskDefinition |
HibernateSchedulerDAO.getTaskByName(String name)
Get task by public name.
|
List<TaskDefinition> |
HibernateSchedulerDAO.getTasks()
Find all tasks in the database
|
void |
HibernateSchedulerDAO.updateTask(TaskDefinition task)
Update task
|
Modifier and Type | Method and Description |
---|---|
static List<List<Object>> |
DatabaseUtil.executeSQL(Connection conn,
String sql,
boolean selectOnly)
Executes the passed SQL query, enforcing select only if that parameter is set
|
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.