public class ConceptFormController.ConceptFormBackingObject
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Concept |
concept |
java.util.List<Drug> |
conceptDrugList
The list of drugs for its concept object
|
java.util.List<ConceptMap> |
conceptMappings |
java.util.Map<java.util.Locale,ConceptDescription> |
descriptionsByLocale |
java.lang.String |
handlerKey |
java.lang.Double |
hiAbsolute |
java.lang.Double |
hiCritical |
java.lang.Double |
hiNormal |
java.util.Map<java.util.Locale,java.util.List<ConceptName>> |
indexTermsByLocale |
java.util.List<java.util.Locale> |
locales |
java.lang.Double |
lowAbsolute |
java.lang.Double |
lowCritical |
java.lang.Double |
lowNormal |
java.util.Map<java.util.Locale,ConceptName> |
namesByLocale |
boolean |
precise |
java.util.Map<java.util.Locale,java.lang.String> |
preferredNamesByLocale |
java.util.Map<java.util.Locale,ConceptName> |
shortNamesByLocale |
java.util.Map<java.util.Locale,java.util.List<ConceptName>> |
synonymsByLocale |
java.lang.String |
units |
Constructor and Description |
---|
ConceptFormBackingObject(Concept concept)
Default constructor must take in a Concept object to create itself
|
Modifier and Type | Method and Description |
---|---|
Concept |
getConcept() |
java.util.Map<java.lang.String,java.lang.String> |
getConceptAnswers()
Get the answers for this concept with decoded names.
|
java.util.List<Drug> |
getConceptDrugList() |
Concept |
getConceptFromFormData()
This method takes all the form data from the input boxes and puts it onto the concept
object so that it can be saved to the database
|
java.util.List<ConceptMap> |
getConceptMappings() |
java.util.List<ConceptSet> |
getContainedInSets()
Get the sets that this concept is declared to be a child member of
|
java.util.Map<java.util.Locale,ConceptDescription> |
getDescriptionsByLocale() |
java.util.List<Form> |
getFormsInUse()
Get the forms that this concept is declared to be used in
|
java.lang.String |
getHandlerKey() |
java.lang.Double |
getHiAbsolute() |
java.lang.Double |
getHiCritical() |
java.lang.Double |
getHiNormal() |
java.util.Map<java.util.Locale,java.util.List<ConceptName>> |
getIndexTermsByLocale() |
java.util.List<java.util.Locale> |
getLocales() |
java.lang.Double |
getLowAbsolute() |
java.lang.Double |
getLowCritical() |
java.lang.Double |
getLowNormal() |
java.util.Map<java.util.Locale,ConceptName> |
getNamesByLocale() |
java.util.Map<java.util.Locale,java.lang.String> |
getPreferredNamesByLocale() |
java.util.List<Concept> |
getQuestionsAnswered()
Get the other concept questions that this concept is declared as an answer for
|
java.lang.String |
getSetElements()
Builds a white-space separated list of concept ids belonging to a concept set
|
java.util.Map<java.util.Locale,ConceptName> |
getShortNamesByLocale() |
java.util.Map<java.util.Locale,java.util.List<ConceptName>> |
getSynonymsByLocale() |
java.lang.String |
getUnits() |
boolean |
isPrecise() |
void |
setConcept(Concept concept) |
void |
setConceptDrugList(java.util.List<Drug> conceptDrugList)
Sets the list of drugs for its concept object
|
void |
setConceptMappings(java.util.List<ConceptMap> conceptMappings) |
void |
setDescriptionsByLocale(java.util.Map<java.util.Locale,ConceptDescription> descriptionsByLocale) |
void |
setHandlerKey(java.lang.String handlerKey) |
void |
setHiAbsolute(java.lang.Double hiAbsolute) |
void |
setHiCritical(java.lang.Double hiCritical) |
void |
setHiNormal(java.lang.Double hiNormal) |
void |
setIndexTermsByLocale(java.util.Map<java.util.Locale,java.util.List<ConceptName>> indexTermsByLocale) |
void |
setLocales(java.util.List<java.util.Locale> locales) |
void |
setLowAbsolute(java.lang.Double lowAbsolute) |
void |
setLowCritical(java.lang.Double lowCritical) |
void |
setLowNormal(java.lang.Double lowNormal) |
void |
setNamesByLocale(java.util.Map<java.util.Locale,ConceptName> namesByLocale) |
void |
setPrecise(boolean precise) |
void |
setPreferredNamesByLocale(java.util.Map<java.util.Locale,java.lang.String> preferredNamesByLocale) |
void |
setShortNamesByLocale(java.util.Map<java.util.Locale,ConceptName> shortNamesByLocale) |
void |
setSynonymsByLocale(java.util.Map<java.util.Locale,java.util.List<ConceptName>> synonymsByLocale) |
void |
setUnits(java.lang.String units) |
public Concept concept
public java.util.List<java.util.Locale> locales
public java.util.Map<java.util.Locale,ConceptName> namesByLocale
public java.util.Map<java.util.Locale,ConceptName> shortNamesByLocale
public java.util.Map<java.util.Locale,java.util.List<ConceptName>> synonymsByLocale
public java.util.Map<java.util.Locale,ConceptDescription> descriptionsByLocale
public java.util.Map<java.util.Locale,java.util.List<ConceptName>> indexTermsByLocale
public java.util.List<ConceptMap> conceptMappings
public java.util.List<Drug> conceptDrugList
public java.lang.Double hiAbsolute
public java.lang.Double lowAbsolute
public java.lang.Double lowCritical
public java.lang.Double hiCritical
public java.lang.Double lowNormal
public java.lang.Double hiNormal
public boolean precise
public java.lang.String units
public java.lang.String handlerKey
public java.util.Map<java.util.Locale,java.lang.String> preferredNamesByLocale
public ConceptFormBackingObject(Concept concept)
concept
- The concept for this pagepublic Concept getConceptFromFormData()
public java.lang.String getSetElements()
public Concept getConcept()
public void setConcept(Concept concept)
concept
- the concept to setpublic java.util.List<java.util.Locale> getLocales()
public void setLocales(java.util.List<java.util.Locale> locales)
locales
- the locales to setpublic java.util.Map<java.util.Locale,ConceptName> getNamesByLocale()
public void setNamesByLocale(java.util.Map<java.util.Locale,ConceptName> namesByLocale)
namesByLocale
- the namesByLocale to setpublic java.util.Map<java.util.Locale,ConceptName> getShortNamesByLocale()
public void setShortNamesByLocale(java.util.Map<java.util.Locale,ConceptName> shortNamesByLocale)
shortNamesByLocale
- the shortNamesByLocale to setpublic java.util.Map<java.util.Locale,ConceptDescription> getDescriptionsByLocale()
public void setDescriptionsByLocale(java.util.Map<java.util.Locale,ConceptDescription> descriptionsByLocale)
descriptionsByLocale
- the descriptionsByLocale to setpublic java.util.List<ConceptMap> getConceptMappings()
public void setConceptMappings(java.util.List<ConceptMap> conceptMappings)
conceptMappings
- the conceptMappings to setpublic java.util.Map<java.util.Locale,java.util.List<ConceptName>> getSynonymsByLocale()
public void setSynonymsByLocale(java.util.Map<java.util.Locale,java.util.List<ConceptName>> synonymsByLocale)
synonymsByLocale
- the synonymsByLocale to setpublic java.lang.Double getHiAbsolute()
public void setHiAbsolute(java.lang.Double hiAbsolute)
hiAbsolute
- the hiAbsolute to setpublic java.lang.Double getLowAbsolute()
public void setLowAbsolute(java.lang.Double lowAbsolute)
lowAbsolute
- the lowAbsolute to setpublic java.lang.Double getLowCritical()
public void setLowCritical(java.lang.Double lowCritical)
lowCritical
- the lowCritical to setpublic java.lang.Double getHiCritical()
public void setHiCritical(java.lang.Double hiCritical)
hiCritical
- the hiCritical to setpublic java.lang.Double getLowNormal()
public void setLowNormal(java.lang.Double lowNormal)
lowNormal
- the lowNormal to setpublic java.lang.Double getHiNormal()
public void setHiNormal(java.lang.Double hiNormal)
hiNormal
- the hiNormal to setpublic boolean isPrecise()
public void setPrecise(boolean precise)
precise
- the precise to setpublic java.lang.String getUnits()
public void setUnits(java.lang.String units)
units
- the units to setpublic java.lang.String getHandlerKey()
public void setHandlerKey(java.lang.String handlerKey)
handlerKey
- the handlerKey to setpublic java.util.Map<java.util.Locale,java.util.List<ConceptName>> getIndexTermsByLocale()
public void setIndexTermsByLocale(java.util.Map<java.util.Locale,java.util.List<ConceptName>> indexTermsByLocale)
indexTermsByLocale
- the indexTermsByLocale to setpublic java.util.List<Form> getFormsInUse()
public java.util.List<Concept> getQuestionsAnswered()
public java.util.List<ConceptSet> getContainedInSets()
public java.util.Map<java.lang.String,java.lang.String> getConceptAnswers()
public java.util.Map<java.util.Locale,java.lang.String> getPreferredNamesByLocale()
public void setPreferredNamesByLocale(java.util.Map<java.util.Locale,java.lang.String> preferredNamesByLocale)
preferredNamesByLocale
- the preferredNamesByLocale to setpublic java.util.List<Drug> getConceptDrugList()
public void setConceptDrugList(java.util.List<Drug> conceptDrugList)
conceptDrugList
- the value to be setCopyright © 2018 OpenMRS Inc.. All Rights Reserved.