Components

Facility Pickers

Facility pickers are responsible for tagging your data into the various facilities and reporting health units found in OHASIS. In reporting, we use information extracted from these fields to find out contributions, efforts, accomplishments, etc.

#Design

Facility Picker

The facility picker component is only composed of one combobox. What makes it special is how it conveys information based on what facility you're trying to find, and then the facility you've chosen

#Opened

Options are formatted into:

  • First row - the name of the facility
  • Second row - a nickname of the facility and/or the NHSSS facility code
  • Last row - the province and municipality where the facility is located

Filtering values

When trying to find a facility, the combobox also filters the address and/or facility codes/nicknames that match the specified search term.

Facility Picker (open)

#Selected Facility

Facility Picker (selected facility)

When the option with no subunit is selected, the combobox will display the name of the main facility plus a helper information indicating its code/nickname if available, or its address.

#Selected Subunit

Facility Picker (selected subunit)

If you choose a subunit, the combobox will still look similar to the facility version, albeit the helper info will now display the name of the subunit you have chosen.

#Data Structure

Here's a sample of the data conversion on the back-end:

Version Facility Sub-unit
Name Philippine General Hospital
Philippine General Hospital PGH Immunoserology Lab
Facility IDs 130002
130002 130002_001
NHSSS PGH
PGH