public class SemanticSearchBean
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private ConceptFirstWord |
currentCUI |
private java.util.Date |
dateFrom |
private java.util.Date |
dateTo |
private DocumentSearchService |
documentSearchService |
private static Log |
log |
private java.util.List<SelectItem> |
matchesList |
private java.lang.Boolean |
negationStatus |
private java.lang.Integer |
patientId |
private ConceptFirstWord |
searchCUI |
private java.util.List<DocumentSearchResult> |
searchResultList |
private static long |
serialVersionUID |
static java.util.Comparator<java.lang.Object> |
umlsFirstWordComparator |
private ConceptSearchService |
umlsFirstWordService |
Constructor and Description |
---|
SemanticSearchBean() |
Modifier and Type | Method and Description |
---|---|
static ConceptFirstWord |
extractUMLSFirstWord(java.lang.String fword) |
static java.lang.String |
formatUMLSFirstWord(ConceptFirstWord fword) |
ConceptFirstWord |
getCurrentCUI()
Gets the currently selected city.
|
java.util.Date |
getDateFrom() |
java.util.Date |
getDateTo() |
DocumentSearchService |
getDocumentSearchService() |
java.util.List<SelectItem> |
getList()
The list of possible matches for the given SelectInputText value
|
private ConceptFirstWord |
getMatch(java.lang.String value) |
java.lang.Boolean |
getNegationStatus() |
java.lang.Integer |
getPatientId() |
ConceptFirstWord |
getSearchCUI() |
java.util.List<DocumentSearchResult> |
getSearchResultList() |
ConceptSearchService |
getUmlsFirstWordService() |
void |
resetListen(ActionEvent event) |
void |
searchListen(ActionEvent event) |
void |
setDateFrom(java.util.Date dateFrom) |
void |
setDateTo(java.util.Date dateTo) |
void |
setDocumentSearchService(DocumentSearchService documentSearchService) |
private void |
setMatches(ValueChangeEvent event)
Utility method for building the match list given the current value of the
SelectInputText component.
|
void |
setNegationStatus(java.lang.Boolean negationStatus) |
void |
setPatientId(java.lang.Integer patientId) |
void |
setSearchCUI(ConceptFirstWord searchCUI) |
void |
setSearchResultList(java.util.List<DocumentSearchResult> searchResultList) |
void |
setUmlsFirstWordService(ConceptSearchService umlsFirstWordService) |
void |
updateList(ValueChangeEvent event)
Called when a user has modifed the SelectInputText value.
|
private static final long serialVersionUID
private static final Log log
private transient ConceptSearchService umlsFirstWordService
private transient DocumentSearchService documentSearchService
private java.util.Date dateFrom
private java.util.Date dateTo
private java.lang.Integer patientId
private java.lang.Boolean negationStatus
private ConceptFirstWord currentCUI
private ConceptFirstWord searchCUI
private java.util.List<SelectItem> matchesList
private java.util.List<DocumentSearchResult> searchResultList
public static java.util.Comparator<java.lang.Object> umlsFirstWordComparator
public ConceptSearchService getUmlsFirstWordService()
public void setUmlsFirstWordService(ConceptSearchService umlsFirstWordService)
public DocumentSearchService getDocumentSearchService()
public void setDocumentSearchService(DocumentSearchService documentSearchService)
public java.util.Date getDateFrom()
public void setDateFrom(java.util.Date dateFrom)
public java.util.Date getDateTo()
public void setDateTo(java.util.Date dateTo)
public java.lang.Integer getPatientId()
public void setPatientId(java.lang.Integer patientId)
public java.lang.Boolean getNegationStatus()
public void setNegationStatus(java.lang.Boolean negationStatus)
public ConceptFirstWord getSearchCUI()
public void setSearchCUI(ConceptFirstWord searchCUI)
public java.util.List<DocumentSearchResult> getSearchResultList()
public void setSearchResultList(java.util.List<DocumentSearchResult> searchResultList)
public void searchListen(ActionEvent event)
public void resetListen(ActionEvent event)
public void updateList(ValueChangeEvent event)
event
- public ConceptFirstWord getCurrentCUI()
public java.util.List<SelectItem> getList()
public static java.lang.String formatUMLSFirstWord(ConceptFirstWord fword)
public static ConceptFirstWord extractUMLSFirstWord(java.lang.String fword)
private ConceptFirstWord getMatch(java.lang.String value)
private void setMatches(ValueChangeEvent event)
event
-