Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
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.handler | |
org.openmrs.api.impl | |
org.openmrs.customdatatype.datatype | |
org.openmrs.hl7.handler | |
org.openmrs.logic.result | |
org.openmrs.parameter | |
org.openmrs.propertyeditor | |
org.openmrs.util |
Shared utilities for OpenMRS classes
|
Modifier and Type | Class and Description |
---|---|
class |
ConceptComplex
Child class of Concept that has a
ComplexObsHandler associated with the Concept. |
class |
ConceptNumeric
The ConceptNumeric extends upon the Concept object by adding some number range values
|
Modifier and Type | Field and Description |
---|---|
protected Concept |
Obs.concept |
Concept |
ServiceOrder.specimenSource |
protected Concept |
Obs.valueCoded |
Modifier and Type | Method and Description |
---|---|
Concept |
AllergyProperties.getAllergyReactionsConcept() |
Concept |
ConceptAnswer.getAnswerConcept() |
Concept |
OrderSet.getCategory()
Gets the category
|
Concept |
Person.getCauseOfDeath() |
Concept |
CodedOrFreeText.getCoded()
Gets the coded concept
|
Concept |
Allergen.getCodedAllergen() |
Concept |
ProgramWorkflowState.getConcept() |
Concept |
ProgramWorkflow.getConcept() |
Concept |
Program.getConcept() |
Concept |
OrderSetMember.getConcept() |
Concept |
OrderFrequency.getConcept()
Get the concept for the drugFrequency
|
Concept |
Order.getConcept() |
Concept |
Obs.getConcept() |
Concept |
MedicationDispense.getConcept() |
Concept |
FieldAnswer.getConcept() |
Concept |
Field.getConcept() |
Concept |
Drug.getConcept()
Gets the concept this drug is tied to
|
Concept |
ConceptStateConversion.getConcept() |
Concept |
ConceptSet.getConcept() |
Concept |
ConceptSearchResult.getConcept() |
Concept |
ConceptName.getConcept() |
Concept |
ConceptMap.getConcept() |
Concept |
ConceptDescription.getConcept() |
Concept |
ConceptAttribute.getConcept() |
Concept |
ConceptAnswer.getConcept() |
protected Concept |
AllergyProperties.getConceptByGlobalProperty(String globalPropertyName) |
Concept |
ConceptSet.getConceptSet() |
Concept |
Drug.getDosageForm() |
Concept |
Drug.getDoseLimitUnits()
Gets the doseLimitUnits which represents the units of the existing maximumDailyDose and
minimumDailyDose
|
Concept |
SimpleDosingInstructions.getDoseUnits() |
Concept |
MedicationDispense.getDoseUnits() |
Concept |
DrugOrder.getDoseUnits()
Gets the doseUnits of this drug order
|
Concept |
AllergyProperties.getDrugAllergensConcept() |
Concept |
SimpleDosingInstructions.getDurationUnits() |
Concept |
DrugOrder.getDurationUnits()
Gets durationUnits of a Drug Order
|
Concept |
AllergyProperties.getEnvironmentAllergensConcept() |
Concept |
AllergyProperties.getFoodAllergensConcept() |
Concept |
Visit.getIndication() |
Concept |
DrugIngredient.getIngredient() |
Concept |
ServiceOrder.getLocation()
Gets a location of the particular order
|
Concept |
ConceptProposal.getMappedConcept() |
Concept |
AllergyProperties.getMildSeverityConcept() |
Concept |
AllergyProperties.getModerateSeverityConcept() |
Concept |
ConceptProposal.getObsConcept() |
Concept |
OrderGroup.getOrderGroupReason()
Gets the order group reason which denotes the reason why the group was
ordered
|
Concept |
Order.getOrderReason() |
Concept |
AllergyProperties.getOtherNonCodedConcept() |
Concept |
PatientProgram.getOutcome() |
Concept |
Program.getOutcomesConcept() |
Concept |
MedicationDispense.getQuantityUnits() |
Concept |
DrugOrder.getQuantityUnits() |
Concept |
AllergyReaction.getReaction() |
Concept |
Provider.getRole()
Gets the role concept
|
Concept |
SimpleDosingInstructions.getRoute() |
Concept |
MedicationDispense.getRoute() |
Concept |
DrugOrder.getRoute()
Gets the route
|
Concept |
AllergyProperties.getSevereSeverityConcept() |
Concept |
Allergy.getSeverity() |
Concept |
Provider.getSpeciality()
Gets the speciality concept
|
Concept |
ServiceOrder.getSpecimenSource() |
Concept |
MedicationDispense.getStatus() |
Concept |
MedicationDispense.getStatusReason() |
Concept |
MedicationDispense.getSubstitutionReason() |
Concept |
MedicationDispense.getSubstitutionType() |
Concept |
MedicationDispense.getType() |
Concept |
Location.getType() |
Concept |
DrugIngredient.getUnits() |
Concept |
AllergyProperties.getUnknownConcept() |
Concept |
Obs.getValueCoded() |
Concept |
Concept.hydrate(String reference) |
Modifier and Type | Method and Description |
---|---|
List<Concept> |
Concept.findPossibleValues(String searchText)
Deprecated.
|
List<Concept> |
Concept.getPossibleValues()
Deprecated.
|
List<Concept> |
Concept.getSetMembers()
Get all the concept members of current concept
|
List<Concept> |
Concept.getSetMembers(boolean includeRetired)
If includeRetired is true, then the returned object is the list of all the concept
set members of current concept, else retired concept set members are excluded.
|
Modifier and Type | Method and Description |
---|---|
void |
Concept.addSetMember(Concept setMember)
Appends the concept to the end of the existing list of concept members for this Concept
|
void |
Concept.addSetMember(Concept setMember,
int index)
Add the concept to the existing member to the list of set members in the given location.
|
static String |
Duration.getCode(Concept durationUnits)
Returns concept reference term code of the mapping to the SNOMED CT concept source
|
AllergyReaction |
Allergy.getReaction(Concept concept)
Gets the reaction with a given concept
|
ProgramWorkflowState |
ProgramWorkflow.getState(Concept concept)
Returns a
ProgramWorkflowState whose Concept matches the passed concept |
void |
ConceptAnswer.setAnswerConcept(Concept answerConcept) |
void |
OrderSet.setCategory(Concept category)
Sets the category
|
void |
Person.setCauseOfDeath(Concept causeOfDeath) |
void |
CodedOrFreeText.setCoded(Concept coded)
Sets the coded concept
|
void |
Allergen.setCodedAllergen(Concept codedAllergen) |
void |
ProgramWorkflowState.setConcept(Concept concept) |
void |
ProgramWorkflow.setConcept(Concept concept) |
void |
Program.setConcept(Concept concept) |
void |
OrderSetMember.setConcept(Concept concept)
Sets the concept
|
void |
OrderFrequency.setConcept(Concept concept)
Sets the concept for the drugFrequency
|
void |
Order.setConcept(Concept concept) |
void |
Obs.setConcept(Concept concept) |
void |
MedicationDispense.setConcept(Concept concept) |
void |
FieldAnswer.setConcept(Concept concept) |
void |
Field.setConcept(Concept concept) |
void |
Drug.setConcept(Concept concept)
Sets the concept this drug is tied to
|
void |
ConceptStateConversion.setConcept(Concept concept) |
void |
ConceptSet.setConcept(Concept concept) |
void |
ConceptSearchResult.setConcept(Concept concept) |
void |
ConceptName.setConcept(Concept concept) |
void |
ConceptMap.setConcept(Concept concept) |
void |
ConceptDescription.setConcept(Concept concept) |
void |
ConceptAttribute.setConcept(Concept concept) |
void |
ConceptAnswer.setConcept(Concept concept) |
void |
ConceptSet.setConceptSet(Concept set) |
void |
Drug.setDosageForm(Concept dosageForm) |
void |
Drug.setDoseLimitUnits(Concept doseLimitUnits)
Sets the doseLimitUnits which represents the units of the existing maximumDailyDose and
minimumDailyDose
|
void |
SimpleDosingInstructions.setDoseUnits(Concept doseUnits) |
void |
MedicationDispense.setDoseUnits(Concept doseUnits) |
void |
DrugOrder.setDoseUnits(Concept doseUnits)
Sets the doseUnits of this drug order
|
void |
SimpleDosingInstructions.setDurationUnits(Concept durationUnits) |
void |
DrugOrder.setDurationUnits(Concept durationUnits)
Sets the durationUnits of a Drug Order
|
void |
Visit.setIndication(Concept indication) |
void |
DrugIngredient.setIngredient(Concept ingredient) |
void |
ServiceOrder.setLocation(Concept location)
Sets a location of the particular order
|
void |
ConceptProposal.setMappedConcept(Concept mappedConcept) |
void |
ConceptProposal.setObsConcept(Concept obsConcept) |
void |
OrderGroup.setOrderGroupReason(Concept orderGroupReason)
Sets the order group reason which denotes the reason why the group was
ordered
|
void |
Order.setOrderReason(Concept orderReason) |
void |
PatientProgram.setOutcome(Concept concept) |
void |
Program.setOutcomesConcept(Concept concept) |
void |
MedicationDispense.setQuantityUnits(Concept quantityUnits) |
void |
DrugOrder.setQuantityUnits(Concept quantityUnits) |
void |
AllergyReaction.setReaction(Concept reaction) |
void |
Provider.setRole(Concept role)
Sets the role concept
|
void |
SimpleDosingInstructions.setRoute(Concept route) |
void |
MedicationDispense.setRoute(Concept route) |
void |
DrugOrder.setRoute(Concept route)
Sets the route
|
void |
Allergy.setSeverity(Concept severity) |
void |
Provider.setSpeciality(Concept speciality)
Sets the speciality concept
|
void |
ServiceOrder.setSpecimenSource(Concept specimenSource) |
void |
MedicationDispense.setStatus(Concept status) |
void |
MedicationDispense.setStatusReason(Concept statusReason) |
void |
MedicationDispense.setSubstitutionReason(Concept substitutionReason) |
void |
MedicationDispense.setSubstitutionType(Concept substitutionType) |
void |
MedicationDispense.setType(Concept type) |
void |
Location.setType(Concept type) |
void |
DrugIngredient.setUnits(Concept units) |
void |
Obs.setValueCoded(Concept valueCoded) |
Constructor and Description |
---|
Allergen(AllergenType allergenType,
Concept codedAllergen,
String nonCodedAllergen) |
Allergy(Patient patient,
Allergen allergen,
Concept severity,
String comments,
List<AllergyReaction> reactions) |
AllergyReaction(Allergy allergy,
Concept reaction,
String reactionNonCoded) |
CodedOrFreeText(Concept coded,
ConceptName specificName,
String nonCoded)
Convenience constructor with concept, concept name and manually written concept name to save
|
ConceptAnswer(Concept answerConcept) |
ConceptAnswer(Concept answerConcept,
Drug d) |
ConceptComplex(Concept c)
Constructor from Concept.
|
ConceptNumeric(Concept c)
Optional constructor for turning a Concept into a ConceptNumeric
Note: This cannot copy over numeric specific values |
ConceptSearchResult(String word,
Concept concept,
ConceptName conceptName)
Convenience constructor
|
ConceptSearchResult(String word,
Concept concept,
ConceptName conceptName,
Double transientWeight)
Convenience constructor that takes in a weight too
|
ConceptSet(Concept concept,
Double weight) |
Obs(Person person,
Concept question,
Date obsDatetime,
Location location)
Required parameters constructor A value is also required, but that can be one of: valueCoded,
valueDrug, valueNumeric, or valueText
|
Modifier and Type | Method and Description |
---|---|
Concept |
ConceptService.getConcept(Integer conceptId)
Gets the concept with the given id
|
Concept |
ConceptService.getConcept(String conceptIdOrName)
Get Concept by id or name convenience method
|
Concept |
ConceptService.getConceptByMapping(String code,
String sourceName)
Looks up a concept via
ConceptMap This will return the Concept which contains
a ConceptMap entry whose sourceCode is equal to the passed
conceptCode and whose ConceptSource has either a name or
hl7Code that is equal to the passed mappingCode . |
Concept |
ConceptService.getConceptByMapping(String code,
String sourceName,
Boolean includeRetired)
Looks up a concept via
ConceptMap This will return the Concept which contains
a ConceptMap entry whose sourceCode is equal to the passed
conceptCode and whose ConceptSource has either a name or
hl7Code that is equal to the passed mappingCode . |
Concept |
ConceptService.getConceptByName(String name)
Return a Concept that matches the name exactly
|
Concept |
ConceptService.getConceptByReference(String conceptRef)
Get the concept by conceptRef where the conceptRef can either be: 1) an integer id like 5090
2) a mapping type id like "XYZ:HT" 3) a uuid like "a3e12268-74bf-11df-9768-17cfc9833272" 4) a
name like "PLATELETS" 5) the fully qualified name of a Java constant which contains one of the above
|
Concept |
ConceptService.getConceptByUuid(String uuid)
Get Concept by its UUID
|
Concept |
ConceptService.getFalseConcept()
Returns the FALSE concept
|
Concept |
ConceptService.getNextConcept(Concept concept)
Finds the next concept in the dictionary that has the next largest concept id
|
Concept |
OrderService.getNonCodedDrugConcept()
Gets the non coded drug concept, i.e the concept that matches the uuid specified as the value
for the global property {@link OpenmrsConstants#GP_DRUG_ORDER_DRUG_OTHER
|
Concept |
ConceptService.getPrevConcept(Concept concept)
Finds the previous concept in the dictionary that has the next lowest concept id
|
Concept |
ConceptService.getTrueConcept()
Returns the TRUE concept
|
Concept |
ConceptService.getUnknownConcept()
Returns the UNKNOWN concept
|
Concept |
ConceptService.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept)
Maps a concept proposal to a concept
|
Concept |
ConceptService.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept,
Locale locale)
Maps a concept proposal to a concept
|
Concept |
ConceptService.retireConcept(Concept conceptOrConceptNumeric,
String reason)
Retiring a concept essentially removes it from circulation
|
Concept |
ConceptService.saveConcept(Concept concept)
Save or update the given
Concept or ConceptNumeric in the database
If this is a new concept, the returned concept will have a new getConceptId()
inserted into it that was generated by the database |
Modifier and Type | Method and Description |
---|---|
Iterator<Concept> |
ConceptService.conceptIterator()
Returns an iterator for all concepts, including retired and expired.
|
List<Concept> |
ConceptService.getAllConcepts()
Return a list of unretired concepts sorted by concept id ascending and
|
List<Concept> |
ConceptService.getAllConcepts(String sortBy,
boolean asc,
boolean includeRetired)
Return a list of concepts sorted on sortBy in dir direction (asc/desc)
|
List<Concept> |
ConceptService.getConceptsByAnswer(Concept concept)
Returns all possible Concepts to which this concept is a value-coded answer.
|
List<Concept> |
ConceptService.getConceptsByClass(ConceptClass cc) |
List<Concept> |
ConceptService.getConceptsByConceptSet(Concept concept)
Return a List of all concepts within a concept set
|
List<Concept> |
ConceptService.getConceptsByMapping(String code,
String sourceName)
Looks up a concept via
ConceptMap This will return the list of concepts
Concept s which contain a ConceptMap entry whose sourceCode is
equal to the passed conceptCode and whose ConceptSource has either a
name or hl7Code that is equal to the passed
mappingCode |
List<Concept> |
ConceptService.getConceptsByMapping(String code,
String sourceName,
boolean includeRetired)
Looks up a concept via
ConceptMap This will return the list of Concept s which
contain a ConceptMap entry whose sourceCode is equal to the passed
conceptCode and whose ConceptSource has either a name or
hl7Code that is equal to the passed mappingCode . |
List<Concept> |
ConceptService.getConceptsByName(String name)
Returns a list of concepts matching any part of a concept name, this method is case
insensitive to the concept name string
|
List<Concept> |
ConceptService.getConceptsByName(String name,
Locale locale,
Boolean exactLocale)
Returns a list of concepts with the same name in the given locale.
|
List<Concept> |
ConceptService.getConceptsWithDrugsInFormulary()
Convenience method for finding concepts associated with drugs in formulary.
|
List<Concept> |
OrderService.getDrugDispensingUnits()
Gets the possible units of dispensing, i.e the set members for the concept that matches the
uuid specified as the value for the global property
OpenmrsConstants.GP_DRUG_DISPENSING_UNITS_CONCEPT_UUID |
List<Concept> |
OrderService.getDrugDosingUnits()
Gets the possible drug dosing units, i.e the set members for the concept that matches the
uuid specified as the value for the global property
OpenmrsConstants.GP_DRUG_DOSING_UNITS_CONCEPT_UUID |
List<Concept> |
OrderService.getDrugRoutes()
Gets the possible drug routes, i.e the set members for the concept that matches the uuid
specified as the value for the global property
OpenmrsConstants.GP_DRUG_ROUTES_CONCEPT_UUID |
List<Concept> |
OrderService.getDurationUnits()
Gets the possible units of duration, i.e the set members for the concept that matches the
uuid specified as the value for the global property
OpenmrsConstants.GP_DURATION_UNITS_CONCEPT_UUID |
List<Concept> |
ProgramWorkflowService.getPossibleOutcomes(Integer programId)
Get all possible outcome concepts for a program.
|
List<Concept> |
ConceptService.getProposedConcepts(String text)
Find matching proposed concepts
|
List<Concept> |
OrderService.getTestSpecimenSources()
Gets the possible test specimen sources, i.e the set members for the concept that matches the
uuid specified as the value for the global property
OpenmrsConstants.GP_TEST_SPECIMEN_SOURCES_CONCEPT_UUID |
Modifier and Type | Method and Description |
---|---|
void |
ConceptService.convertBooleanConceptToCoded(Concept conceptToChange)
Changes the datatype of a concept from boolean to coded when it has observations it is
associated to.
|
Order |
OrderService.discontinueOrder(Order orderToDiscontinue,
Concept reasonCoded,
Date discontinueDate,
Provider orderer,
Encounter encounter)
Discontinues an order.
|
List<ConceptSearchResult> |
ConceptService.findConceptAnswers(String phrase,
Locale locale,
Concept concept)
Finds concepts that are possible value coded answers to concept parameter
|
List<ConceptSearchResult> |
ConceptService.getConcepts(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
Integer start,
Integer size)
Searches for concepts by the given parameters.
|
List<Concept> |
ConceptService.getConceptsByAnswer(Concept concept)
Returns all possible Concepts to which this concept is a value-coded answer.
|
List<Concept> |
ConceptService.getConceptsByConceptSet(Concept concept)
Return a List of all concepts within a concept set
|
List<ConceptSet> |
ConceptService.getConceptSetsByConcept(Concept concept)
Return a list of the concept sets with concept_set matching concept
For example to find all concepts for ARVs, you would do
getConceptSets(getConcept("ANTIRETROVIRAL MEDICATIONS")) and then take the conceptIds from
the resulting list.
|
ConceptStateConversion |
ProgramWorkflowService.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger)
Retrieves the ConceptStateConversion that matches the passed
ProgramWorkflow and
Concept |
Integer |
ConceptService.getCountOfConcepts(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept)
Return the number of concepts matching a search phrase and the specified arguments
|
Integer |
ConceptService.getCountOfDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired)
Return the number of drugs with matching names or concept drug names
|
List<Drug> |
ConceptService.getDrugs(String drugName,
Concept concept,
boolean searchKeywords,
boolean searchDrugConceptNames,
boolean includeRetired,
Integer start,
Integer length)
Returns a list of drugs with matching names or concept drug names and returns a specific
number of them from the specified starting position.
|
List<Drug> |
ConceptService.getDrugsByConcept(Concept concept)
Return a list of drugs associated with the given concept
|
List<Drug> |
ConceptService.getDrugsByIngredient(Concept ingredient)
Gets drugs by the given ingredient, which can be either the drug itself or any ingredient.
|
List<Field> |
FormService.getFieldsByConcept(Concept concept)
Finds all Fields that point to the given concept, including retired ones.
|
FormField |
FormService.getFormField(Form form,
Concept concept,
Collection<FormField> ignoreFormFields,
boolean force)
Finds the FormField defined for this form/concept combination while discounting any form
field found in the
ignoreFormFields collection This method was added when
needing to relate observations to form fields during a display. |
List<Form> |
FormService.getFormsContainingConcept(Concept concept)
Returns all forms that contain the given concept as a field in their schema.
|
Concept |
ConceptService.getNextConcept(Concept concept)
Finds the next concept in the dictionary that has the next largest concept id
|
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)
|
OrderFrequency |
OrderService.getOrderFrequencyByConcept(Concept concept)
Gets an OrderFrequency that matches the specified concept
|
List<Order> |
OrderService.getOrderHistoryByConcept(Patient patient,
Concept concept)
Gets all Order objects that use this Concept for a given patient.
|
OrderType |
OrderService.getOrderTypeByConcept(Concept concept)
Gets the order type mapped to a given concept
|
Concept |
ConceptService.getPrevConcept(Concept concept)
Finds the previous concept in the dictionary that has the next lowest concept id
|
List<Program> |
ProgramWorkflowService.getProgramsByConcept(Concept concept)
Returns a list of Programs that are using a particular concept.
|
List<ProgramWorkflow> |
ProgramWorkflowService.getProgramWorkflowsByConcept(Concept concept)
Returns a list of ProgramWorkflows that are using a particular concept.
|
List<ProgramWorkflowState> |
ProgramWorkflowService.getProgramWorkflowStatesByConcept(Concept concept)
Returns a list of ProgramWorkflowStates that are using a particular concept.
|
List<ConceptSet> |
ConceptService.getSetsContainingConcept(Concept concept)
Find all sets that the given concept is a member of
|
boolean |
ConceptService.hasAnyObservation(Concept concept)
Checks if there are any observations (including voided observations) for a concept.
|
Concept |
ConceptService.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept)
Maps a concept proposal to a concept
|
Concept |
ConceptService.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept,
Locale locale)
Maps a concept proposal to a concept
|
void |
PatientService.processDeath(Patient patient,
Date dateDied,
Concept causeOfDeath,
String otherReason)
Convenience method to establish that a patient has died.
|
void |
ConceptService.purgeConcept(Concept conceptOrConceptNumeric)
Completely purge a
Concept or ConceptNumeric from the database. |
Concept |
ConceptService.retireConcept(Concept conceptOrConceptNumeric,
String reason)
Retiring a concept essentially removes it from circulation
|
void |
PatientService.saveCauseOfDeathObs(Patient patient,
Date dateDied,
Concept causeOfDeath,
String otherReason)
Convenience method that saves the Obs that indicates when and why the patient died (including
any "other" reason there might be)
|
Concept |
ConceptService.saveConcept(Concept concept)
Save or update the given
Concept or ConceptNumeric in the database
If this is a new concept, the returned concept will have a new getConceptId()
inserted into it that was generated by the database |
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.
|
Modifier and Type | Method and Description |
---|---|
List<Field> |
FormService.getFields(Collection<Form> forms,
Collection<FieldType> fieldTypes,
Collection<Concept> concepts,
Collection<String> tableNames,
Collection<String> attributeNames,
Boolean selectMultiple,
Collection<FieldAnswer> containsAllAnswers,
Collection<FieldAnswer> containsAnyAnswer,
Boolean retired)
Returns all Fields that match these (nullable) criteria
|
Integer |
ObsService.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs)
This method fetches the count of observations according to the criteria in the given
arguments.
|
Integer |
ObsService.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs)
This method fetches the count of observations according to the criteria in the given
arguments.
|
Integer |
ObsService.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
Integer |
ObsService.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
Integer |
ObsService.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<Visit> visits,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
Integer |
ObsService.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<Visit> visits,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Obs> |
ObsService.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs)
This method fetches observations according to the criteria in the given arguments.
|
List<Obs> |
ObsService.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs)
This method fetches observations according to the criteria in the given arguments.
|
List<Obs> |
ObsService.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Obs> |
ObsService.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Obs> |
ObsService.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Obs> |
ObsService.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Visit> |
VisitService.getVisits(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,Object> attributeValues,
boolean includeInactive,
boolean includeVoided)
Gets the visits matching the specified arguments
|
Modifier and Type | Method and Description |
---|---|
Concept |
ConceptDAO.getConcept(Integer conceptId) |
Concept |
ConceptDAO.getConceptByName(String name) |
Concept |
ConceptDAO.getConceptByUuid(String uuid) |
Concept |
ConceptDAO.getNextConcept(Concept c) |
Concept |
ConceptDAO.getPrevConcept(Concept c) |
Concept |
ConceptDAO.saveConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
Iterator<Concept> |
ConceptDAO.conceptIterator() |
List<Concept> |
ConceptDAO.getAllConcepts(String sortBy,
boolean asc,
boolean includeRetired) |
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<Concept> |
ConceptDAO.getConceptsByClass(ConceptClass conceptClass) |
List<Concept> |
ConceptDAO.getConceptsByMapping(String code,
String sourceName,
boolean includeRetired)
Deprecated.
As of 2.5.0, this method has been deprecated in favor of
ConceptDAO.getConceptIdsByMapping(String, String, boolean) |
List<Concept> |
ConceptDAO.getConceptsByName(String name,
Locale locale,
Boolean exactLocal) |
List<Concept> |
ConceptDAO.getConceptsWithDrugsInFormulary() |
List<Concept> |
ConceptDAO.getProposedConcepts(String text) |
Modifier and Type | Method and Description |
---|---|
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.getConceptsByAnswer(Concept concept) |
List<ConceptSet> |
ConceptDAO.getConceptSetsByConcept(Concept c) |
ConceptStateConversion |
ProgramWorkflowDAO.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger)
Retrieves the ConceptStateConversion that matches the passed
ProgramWorkflow and
Concept |
Integer |
ConceptDAO.getCountOfConcepts(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept) |
Long |
ConceptDAO.getCountOfDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired) |
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<Drug> |
ConceptDAO.getDrugsByIngredient(Concept ingredient) |
FormField |
FormDAO.getFormField(Form form,
Concept concept,
Collection<FormField> ignoreFormFields,
boolean force) |
List<Form> |
FormDAO.getFormsContainingConcept(Concept concept)
Get all forms that contain the given
Concept as one of their fields. |
Concept |
ConceptDAO.getNextConcept(Concept c) |
OrderFrequency |
OrderDAO.getOrderFrequencyByConcept(Concept concept) |
Concept |
ConceptDAO.getPrevConcept(Concept c) |
List<Program> |
ProgramWorkflowDAO.getProgramsByConcept(Concept concept)
Returns a list of Programs that are using a particular concept.
|
List<ProgramWorkflow> |
ProgramWorkflowDAO.getProgramWorkflowsByConcept(Concept concept)
Returns a list of ProgramWorkflows that are using a particular concept.
|
List<ProgramWorkflowState> |
ProgramWorkflowDAO.getProgramWorkflowStatesByConcept(Concept concept)
Returns a list of ProgramWorkflowStates that are using a particular concept.
|
ConceptDatatype |
ConceptDAO.getSavedConceptDatatype(Concept concept)
Gets the value of conceptDatatype currently saved in the database for the given concept,
bypassing any caches.
|
List<ConceptSet> |
ConceptDAO.getSetsContainingConcept(Concept concept) |
void |
ConceptDAO.purgeConcept(Concept concept) |
Concept |
ConceptDAO.saveConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
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
|
Long |
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,
String accessionNumber) |
Long |
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,
String accessionNumber) |
Long |
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,
List<Visit> visits,
boolean includeVoidedObs,
String accessionNumber) |
Long |
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,
List<Visit> visits,
boolean includeVoidedObs,
String accessionNumber) |
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,
String accessionNumber) |
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,
String accessionNumber) |
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> sortList,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
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> sortList,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Order> |
OrderDAO.getOrders(OrderType orderType,
List<Patient> patients,
List<Concept> concepts,
List<User> orderers,
List<Encounter> encounters)
This searches for orders given the parameters.
|
List<Visit> |
VisitDAO.getVisits(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,String> serializedAttributeValues,
boolean includeInactive,
boolean includeVoided)
Gets the visits matching the specified arguments
|
Modifier and Type | Method and Description |
---|---|
Concept |
HibernateConceptDAO.getConcept(Integer conceptId) |
Concept |
HibernateConceptDAO.getConceptByName(String name) |
Concept |
HibernateConceptDAO.getConceptByUuid(String uuid) |
Concept |
HibernateConceptDAO.getNextConcept(Concept c) |
Concept |
HibernateConceptDAO.getPrevConcept(Concept c) |
Concept |
HibernateConceptDAO.saveConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
Iterator<Concept> |
HibernateConceptDAO.conceptIterator() |
List<Concept> |
HibernateConceptDAO.getAllConcepts(String sortBy,
boolean asc,
boolean includeRetired) |
List<Concept> |
HibernateConceptDAO.getConcepts(String name,
Locale loc,
boolean searchOnPhrase,
List<ConceptClass> classes,
List<ConceptDatatype> datatypes) |
List<Concept> |
HibernateConceptDAO.getConceptsByAnswer(Concept concept)
gets questions for the given answer concept
|
List<Concept> |
HibernateConceptDAO.getConceptsByClass(ConceptClass conceptClass) |
List<Concept> |
HibernateConceptDAO.getConceptsByMapping(String code,
String sourceName,
boolean includeRetired)
Deprecated.
|
List<Concept> |
HibernateConceptDAO.getConceptsByName(String name,
Locale locale,
Boolean exactLocale) |
List<Concept> |
HibernateConceptDAO.getConceptsWithDrugsInFormulary() |
List<Concept> |
HibernateConceptDAO.getProposedConcepts(String text) |
Modifier and Type | Method and Description |
---|---|
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.getConceptsByAnswer(Concept concept)
gets questions for the given answer concept
|
List<ConceptSet> |
HibernateConceptDAO.getConceptSetsByConcept(Concept concept) |
ConceptStateConversion |
HibernateProgramWorkflowDAO.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger) |
Integer |
HibernateConceptDAO.getCountOfConcepts(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept) |
Long |
HibernateConceptDAO.getCountOfDrugs(String drugName,
Concept concept,
boolean searchKeywords,
boolean searchDrugConceptNames,
boolean includeRetired) |
List<Drug> |
HibernateConceptDAO.getDrugs(String drugName,
Concept concept,
boolean includeRetired) |
List<Drug> |
HibernateConceptDAO.getDrugs(String drugName,
Concept concept,
boolean searchKeywords,
boolean searchDrugConceptNames,
boolean includeRetired,
Integer start,
Integer length)
Should return a drug if either the drug name or concept name matches the phase not both
Should return distinct drugs
Should return a drug, if phrase match concept_name No need to match both concept_name and
drug_name
Should return drug when phrase match drug_name even searchDrugConceptNames is false
Should return a drug if phrase match drug_name No need to match both concept_name and
drug_name
|
List<Drug> |
HibernateConceptDAO.getDrugsByIngredient(Concept ingredient) |
List<Field> |
HibernateFormDAO.getFieldsByConcept(Concept concept) |
FormField |
HibernateFormDAO.getFormField(Form form,
Concept concept,
Collection<FormField> ignoreFormFields,
boolean force) |
List<Form> |
HibernateFormDAO.getFormsContainingConcept(Concept c) |
Concept |
HibernateConceptDAO.getNextConcept(Concept c) |
OrderFrequency |
HibernateOrderDAO.getOrderFrequencyByConcept(Concept concept) |
Concept |
HibernateConceptDAO.getPrevConcept(Concept c) |
List<Program> |
HibernateProgramWorkflowDAO.getProgramsByConcept(Concept concept) |
List<ProgramWorkflow> |
HibernateProgramWorkflowDAO.getProgramWorkflowsByConcept(Concept concept) |
List<ProgramWorkflowState> |
HibernateProgramWorkflowDAO.getProgramWorkflowStatesByConcept(Concept concept) |
ConceptDatatype |
HibernateConceptDAO.getSavedConceptDatatype(Concept concept) |
List<ConceptSet> |
HibernateConceptDAO.getSetsContainingConcept(Concept concept) |
void |
HibernateConceptDAO.purgeConcept(Concept concept) |
Concept |
HibernateConceptDAO.saveConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
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) |
Long |
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,
String accessionNumber) |
Long |
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,
String accessionNumber) |
Long |
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,
List<Visit> visits,
boolean includeVoidedObs,
String accessionNumber) |
Long |
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,
List<Visit> visits,
boolean includeVoidedObs,
String accessionNumber) |
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,
String accessionNumber) |
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,
String accessionNumber) |
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,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
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,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Order> |
HibernateOrderDAO.getOrders(OrderType orderType,
List<Patient> patients,
List<Concept> concepts,
List<User> orderers,
List<Encounter> encounters) |
List<Visit> |
HibernateVisitDAO.getVisits(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,String> serializedAttributeValues,
boolean includeInactive,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
void |
ConceptSaveHandler.handle(Concept concept,
User creator,
Date dateCreated,
String other) |
Modifier and Type | Method and Description |
---|---|
Concept |
ConceptServiceImpl.getConcept(Integer conceptId) |
Concept |
ConceptServiceImpl.getConcept(String conceptIdOrName) |
Concept |
ConceptServiceImpl.getConceptByMapping(String code,
String sourceName) |
Concept |
ConceptServiceImpl.getConceptByMapping(String code,
String sourceName,
Boolean includeRetired) |
Concept |
ConceptServiceImpl.getConceptByName(String name) |
Concept |
ConceptServiceImpl.getConceptByReference(String conceptRef) |
Concept |
ConceptServiceImpl.getConceptByUuid(String uuid) |
Concept |
ConceptServiceImpl.getFalseConcept() |
Concept |
ConceptServiceImpl.getNextConcept(Concept c) |
Concept |
OrderServiceImpl.getNonCodedDrugConcept() |
Concept |
ConceptServiceImpl.getPrevConcept(Concept c) |
Concept |
ConceptServiceImpl.getTrueConcept() |
Concept |
ConceptServiceImpl.getUnknownConcept() |
Concept |
ConceptServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept) |
Concept |
ConceptServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept,
Locale locale) |
Concept |
ConceptServiceImpl.retireConcept(Concept concept,
String reason) |
Concept |
ConceptServiceImpl.saveConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
Iterator<Concept> |
ConceptServiceImpl.conceptIterator() |
List<Concept> |
ConceptServiceImpl.getAllConcepts() |
List<Concept> |
ConceptServiceImpl.getAllConcepts(String sortBy,
boolean asc,
boolean includeRetired) |
List<Concept> |
ConceptServiceImpl.getConceptsByAnswer(Concept concept) |
List<Concept> |
ConceptServiceImpl.getConceptsByClass(ConceptClass cc) |
List<Concept> |
ConceptServiceImpl.getConceptsByConceptSet(Concept c) |
List<Concept> |
ConceptServiceImpl.getConceptsByMapping(String code,
String sourceName) |
List<Concept> |
ConceptServiceImpl.getConceptsByMapping(String code,
String sourceName,
boolean includeRetired) |
List<Concept> |
ConceptServiceImpl.getConceptsByName(String name) |
List<Concept> |
ConceptServiceImpl.getConceptsByName(String name,
Locale locale,
Boolean exactLocale) |
List<Concept> |
ConceptServiceImpl.getConceptsWithDrugsInFormulary() |
List<Concept> |
OrderServiceImpl.getDrugDispensingUnits() |
List<Concept> |
OrderServiceImpl.getDrugDosingUnits() |
List<Concept> |
OrderServiceImpl.getDrugRoutes() |
List<Concept> |
OrderServiceImpl.getDurationUnits() |
List<Concept> |
ProgramWorkflowServiceImpl.getPossibleOutcomes(Integer programId) |
List<Concept> |
ConceptServiceImpl.getProposedConcepts(String text) |
List<Concept> |
OrderServiceImpl.getTestSpecimenSources() |
Modifier and Type | Method and Description |
---|---|
void |
ConceptServiceImpl.convertBooleanConceptToCoded(Concept conceptToChange) |
Order |
OrderServiceImpl.discontinueOrder(Order orderToDiscontinue,
Concept reasonCoded,
Date discontinueDate,
Provider orderer,
Encounter encounter) |
void |
PatientServiceImpl.exitFromCare(Patient patient,
Date dateExited,
Concept reasonForExit)
This is the way to establish that a patient has left the care center.
|
List<ConceptSearchResult> |
ConceptServiceImpl.findConceptAnswers(String phrase,
Locale locale,
Concept concept) |
List<ConceptSearchResult> |
ConceptServiceImpl.getConcepts(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
Integer start,
Integer size) |
List<Concept> |
ConceptServiceImpl.getConceptsByAnswer(Concept concept) |
List<Concept> |
ConceptServiceImpl.getConceptsByConceptSet(Concept c) |
List<ConceptSet> |
ConceptServiceImpl.getConceptSetsByConcept(Concept concept) |
ConceptStateConversion |
ProgramWorkflowServiceImpl.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger) |
Integer |
ConceptServiceImpl.getCountOfConcepts(String phrase,
List<Locale> locales,
boolean includeRetired,
List<ConceptClass> requireClasses,
List<ConceptClass> excludeClasses,
List<ConceptDatatype> requireDatatypes,
List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept) |
Integer |
ConceptServiceImpl.getCountOfDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired) |
List<Drug> |
ConceptServiceImpl.getDrugs(String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
Integer start,
Integer length) |
List<Drug> |
ConceptServiceImpl.getDrugsByConcept(Concept concept) |
List<Drug> |
ConceptServiceImpl.getDrugsByIngredient(Concept ingredient) |
List<Field> |
FormServiceImpl.getFieldsByConcept(Concept concept) |
FormField |
FormServiceImpl.getFormField(Form form,
Concept concept,
Collection<FormField> ignoreFormFields,
boolean force) |
List<Form> |
FormServiceImpl.getFormsContainingConcept(Concept concept) |
Concept |
ConceptServiceImpl.getNextConcept(Concept c) |
List<Obs> |
ObsServiceImpl.getObservationsByPersonAndConcept(Person who,
Concept question) |
OrderFrequency |
OrderServiceImpl.getOrderFrequencyByConcept(Concept concept) |
List<Order> |
OrderServiceImpl.getOrderHistoryByConcept(Patient patient,
Concept concept) |
OrderType |
OrderServiceImpl.getOrderTypeByConcept(Concept concept) |
Concept |
ConceptServiceImpl.getPrevConcept(Concept c) |
List<Program> |
ProgramWorkflowServiceImpl.getProgramsByConcept(Concept concept) |
List<ProgramWorkflow> |
ProgramWorkflowServiceImpl.getProgramWorkflowsByConcept(Concept concept) |
List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getProgramWorkflowStatesByConcept(Concept concept) |
List<ConceptSet> |
ConceptServiceImpl.getSetsContainingConcept(Concept concept) |
boolean |
ConceptServiceImpl.hasAnyObservation(Concept concept) |
Concept |
ConceptServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept) |
Concept |
ConceptServiceImpl.mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept,
Locale locale) |
void |
PatientServiceImpl.processDeath(Patient patient,
Date dateDied,
Concept causeOfDeath,
String otherReason)
This is the way to establish that a patient has died.
|
void |
ConceptServiceImpl.purgeConcept(Concept concept) |
Concept |
ConceptServiceImpl.retireConcept(Concept concept,
String reason) |
void |
PatientServiceImpl.saveCauseOfDeathObs(Patient patient,
Date deathDate,
Concept cause,
String otherReason) |
Concept |
ConceptServiceImpl.saveConcept(Concept concept) |
void |
ProgramWorkflowServiceImpl.triggerStateConversion(Patient patient,
Concept trigger,
Date dateConverted) |
void |
ConceptServiceImpl.updateConceptIndex(Concept concept) |
Modifier and Type | Method and Description |
---|---|
List<Field> |
FormServiceImpl.getFields(Collection<Form> forms,
Collection<FieldType> fieldTypes,
Collection<Concept> concepts,
Collection<String> tableNames,
Collection<String> attributeNames,
Boolean selectMultiple,
Collection<FieldAnswer> containsAllAnswers,
Collection<FieldAnswer> containsAnyAnswer,
Boolean retired) |
Integer |
ObsServiceImpl.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
Integer |
ObsServiceImpl.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
Integer |
ObsServiceImpl.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
Integer |
ObsServiceImpl.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
Integer |
ObsServiceImpl.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<Visit> visits,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
Integer |
ObsServiceImpl.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<Visit> visits,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Obs> |
ObsServiceImpl.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
List<Obs> |
ObsServiceImpl.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
List<Obs> |
ObsServiceImpl.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Obs> |
ObsServiceImpl.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Obs> |
ObsServiceImpl.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Obs> |
ObsServiceImpl.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
List<Visit> |
VisitServiceImpl.getVisits(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,Object> attributeValues,
boolean includeInactive,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
Concept |
ConceptDatatype.deserialize(String uuid) |
Modifier and Type | Method and Description |
---|---|
CustomDatatype.Summary |
ConceptDatatype.doGetTextSummary(Concept concept) |
Modifier and Type | Method and Description |
---|---|
Concept |
ProposingConceptException.getConcept() |
protected Concept |
ORUR01Handler.getConcept(String hl7ConceptId,
String codingSystem,
String uid)
Get a concept object representing this conceptId and coding system.
|
Modifier and Type | Method and Description |
---|---|
void |
ProposingConceptException.setConcept(Concept concept) |
Constructor and Description |
---|
ProposingConceptException(Concept concept,
String valueName)
Default constructor that takes in the required parameters
|
Modifier and Type | Method and Description |
---|---|
Concept |
Result.toConcept() |
Modifier and Type | Method and Description |
---|---|
boolean |
Result.contains(Concept concept) |
void |
Result.setValueCoded(Concept valueCoded)
Overrides the coded representation of ths result without changing the default datatype
|
Constructor and Description |
---|
Result(Concept valueCoded)
Builds a coded result with a result date of today
|
Result(Date resultDate,
Concept valueCoded,
Object obj)
Builds a coded result with a specific result date
|
Result(Date resultDate,
Result.Datatype datatype,
Boolean valueBoolean,
Concept valueCoded,
Date valueDatetime,
Double valueNumeric,
String valueText,
Object object)
Builds a result date with specific (overloaded) values — i.e., instead of simply
accepting the default translation of one datatype into another (e.g., a date translated
automatically into string format), this contructor allows the various datatype
representations of the result to be individually controlled.
|
Modifier and Type | Method and Description |
---|---|
Collection<Concept> |
OrderSearchCriteria.getConcepts() |
Collection<Concept> |
VisitSearchCriteria.getIndications() |
Modifier and Type | Method and Description |
---|---|
VisitSearchCriteriaBuilder |
VisitSearchCriteriaBuilder.indications(Collection<Concept> indications)
Sets the indications to include in the search criteria.
|
OrderSearchCriteriaBuilder |
OrderSearchCriteriaBuilder.setConcepts(Collection<Concept> concepts) |
void |
VisitSearchCriteria.setIndications(Collection<Concept> indications)
Sets the collection of indications to be included in the search criteria.
|
Constructor and Description |
---|
OrderSearchCriteria(Patient patient,
CareSetting careSetting,
Collection<Concept> concepts,
Collection<OrderType> orderTypes,
Date activatedOnOrBeforeDate,
Date activatedOnOrAfterDate,
boolean isStopped,
Date autoExpireOnOrBeforeDate,
Date canceledOrExpiredOnOrBeforeDate,
Order.Action action,
Order.FulfillerStatus fulfillerStatus,
Boolean includeNullFulfillerStatus,
boolean excludeCanceledAndExpired,
boolean excludeDiscontinueOrders,
boolean includeVoided)
Deprecated.
|
OrderSearchCriteria(Patient patient,
CareSetting careSetting,
Collection<Concept> concepts,
Collection<OrderType> orderTypes,
String accessionNumber,
String orderNumber,
Date activatedOnOrBeforeDate,
Date activatedOnOrAfterDate,
boolean isStopped,
Date autoExpireOnOrBeforeDate,
Date canceledOrExpiredOnOrBeforeDate,
Order.Action action,
Order.FulfillerStatus fulfillerStatus,
Boolean includeNullFulfillerStatus,
boolean excludeCanceledAndExpired,
boolean excludeDiscontinueOrders,
boolean includeVoided)
Instead of calling this constructor directly, it is recommended to use
OrderSearchCriteriaBuilder . |
OrderSearchCriteria(Patient patient,
CareSetting careSetting,
Collection<Concept> concepts,
Collection<OrderType> orderTypes,
String accessionNumber,
String orderNumber,
Date activatedOnOrBeforeDate,
Date activatedOnOrAfterDate,
boolean isStopped,
Date autoExpireOnOrBeforeDate,
Date canceledOrExpiredOnOrBeforeDate,
Order.Action action,
Order.FulfillerStatus fulfillerStatus,
Boolean includeNullFulfillerStatus,
boolean excludeCanceledAndExpired,
boolean excludeDiscontinueOrders,
boolean includeVoided,
Visit visit) |
VisitSearchCriteria(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,String> serializedAttributeValues,
boolean includeInactive,
boolean includeVoided)
Constructs a VisitSearchCriteria with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
protected Concept |
ConceptEditor.getObjectById(Integer id) |
protected Concept |
ConceptEditor.getObjectByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
static List<Concept> |
OpenmrsUtil.conceptListHelper(String descriptor) |
static Set<Concept> |
OpenmrsUtil.conceptSetHelper(String descriptor) |
static List<Concept> |
OpenmrsUtil.delimitedStringToConceptList(String delimitedString,
String delimiter)
Parses and loads a delimited list of concept ids or names
|
static Map<String,Concept> |
OpenmrsUtil.delimitedStringToConceptMap(String delimitedString,
String delimiter) |
Modifier and Type | Method and Description |
---|---|
static String |
FormUtil.conceptToString(Concept concept,
ConceptName localizedName)
Turn the given concept/concept-name pair into a string acceptable for hl7 and forms
|
static String |
FormUtil.conceptToString(Concept concept,
Locale locale)
Turn the given concept into a string acceptable to for hl7 and forms
|
static boolean |
OpenmrsUtil.isConceptInList(Concept concept,
List<Concept> list) |
Modifier and Type | Method and Description |
---|---|
static boolean |
OpenmrsUtil.isConceptInList(Concept concept,
List<Concept> list) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.