# Search Overview

With this plug-in, you can search across the breadth and depth of your patient's entire chart or filter your search based on a particular clinical domain. HMP's Search uses Apache's Solr search server and Lucene search library to provide a number of convenient features, including:

- Hit highlighting: The plug-in highlights all of your search terms (regardless of the order in which you typed them) in its results-list summaries and in its detail views.
- Word stemming: Word stemming is a term that refers to the Porter Stemming Algorithm, which provides mapping rules that allow the Search plug-in to map word forms to the bases from which they derive. For example, the word lipids (plural) would map back to the base form of the word lipid. Because the stemming algorithm replaces the search terms you type with the terms' base forms, then indexes these base forms before it starts searching, the new feature works from base terms out to their various versions and from the versions back to the base terms, so you'll see the same results whether you type lipid or lipids.
- Faceted searches: The plug-in sorts results into domains before you search. Facets are indexed, attribute- and parameter-defined fields (in other words, they are filters) that facilitate grouping. In addition to allowing Search to present conveniently grouped results, this feature enables Search to return a numerical indicator telling you how many results are available within each group. You can click on a filter or group of filters to make it easier to focus on exactly the results you are seeking.
- Search suggestions: HMP's Search plug-in dynamically presents suggested search terms based on what you've already typed.
- Proximity searches: The plug-in doesn't require an exact text string for a match—it can recognize terms that appear out of order or with a few intervening words. For example, if you type blood sugar, the plug-in will include in its result list a document containing the phrase sugar level in his blood (if such a document exists, of course).
- Smart results-based details: When you click a search result, the application displays details that make sense for the result type. For example, results for medications look like details on the application's Meds Review tab, while details for laboratory results are graphs that show values over time.

The application's Search plug-in also includes a Quick Search feature, which is available on all single-patient views and offers a limited version of its main search feature. For example, Quick Search does not present suggestions based on the terms you are typing (one of its limitations), nor does it offer easy search-by-category selections (another limitation). It does, however, present categorized results and smart details, enabling you to perform simultaneous searches: For example, you might view laboratory results using the main search feature and the results of a search for medications in the Quick Search feature.

In addition, Search uses National Drug File Reference Terminology (NDF-RT) and Logical Observation Identifier Names and Codes (LOINC) terminologies to enhance its functionality.

### Perform a Basic Search

As you type your text string into the application's main Search field, the plug-in presents a clickable list of automatic suggestions that can save typing time by helping you complete your query. It also provides labels to let you know in which category each suggestion resides.

Search suggestions reflect information in the application's Apache Solr index rather than information in your patient's record, so clicking a suggestion won't necessarily produce results. It will, however, initiate a search that uses advanced technologies to locate possible matches in both structured and unstructured data throughout your patient's medical record. If results are available, HMP's Search groups them by information category, presents a brief summary, and provides on-click access to more detailed information. The Search plug-in also provides spelling suggestions.

Learn How

##### Patient Data Domains

Search works across structured and unstructured patient-data domains—from laboratory results to progress notes and nearly everything between.

Learn More

### Perform a Filtered Search

The Search plug-in offers a Filter menu that allows you to filter results by date range. Located on the Search view's right side, the filter menu contains the following date ranges:

- All: All results
- 2y: Results from the last two years
- 1y: Results from the last year
- 3mo: Results from the last three months
- 1mo: Results from the last month
- 7d: Results from the last seven days
- 72h: Results from the last 72 hours
- 24h: Results from the last 24 hours

Learn How

### Perform a Category Search

HMP's Search plug-in also provides category-based searches that return selectable items from the following four categories:

- Domain
- Lab Group
- LOINC Category
- Therapeutic Drug Class

Learn How

### View Results

Search automatically organizes and groups results, presenting an alphabetized list of result groups on the left side of the Search view. When you click a group, the application lists the items within it, organized in reverse chronological (newest first) order.

Learn More

### View Smart Details

The Search plug-in displays smart details in the right portion of the view's pane. Smart details are context aware—that is the plug-in knows what kind of result you have selected (text item, lab result, order, and so forth) and displays details that are meaningful for this type of result. For example, if you select a result that is a progress note, the detail display presents the note in its entirety, with highlighting that calls out search terms within it. Results that represent medications, on the other hand, yield smart details that appear on the application's Meds Review tab and include actions that allow you to create new tasks or access relevant clinical knowledge sources

Learn More

## Clinical Practice Environment

With its CPE (Clinical Practice Environment) application, the HMP Team Facing framework delivers software that serves healthcare teams and helps meet their needs in caring for our veterans. CPE software will help transition Veterans Health Administration from a chart-centric model of care to a team-based, patient-centered model of care through advanced clinical software and a modern software architecture. This software represents an effort to reestablish close clinician-IT collaborative relationships and to build field-driven, web-based modules that meet the following functional and technology goals.

- Functional Goals:
  - Comprehensive, coded, integrated data
  - Knowledge-driven, context-based decision support
  - Role- and conditions-based workflow-driven systems
  - Multi-patient, team-based care
- Technology Goals:
  - Open source, with a service-oriented architecture (SOA)
  - Web-based, with a flexible, scalable architecture
  - Context-aware, with an extensible, modular platform

While its initial operating capabilities are present, HMP software is a work-in-progress. Specific features and instructions for using them will evolve as our partners in the clinical community evaluate the software and provide feedback, thus realizing the close collaboration between IT and clinical interests that informed this software's genesis.