Components

Address Pickers

Address pickers help us categorize or locate where specific data points are in relation to the Philippines. Nominally based on the administrative regions as published by the Philippines Statistic Authority (PSA), it is one of the core functionalities that allow OHASIS to work as it is.

#Components

Field groups

An address picker's information can be identified via the blue label that precedes the group.

Address Picker

The address picker component is used to convey three primary sets of information:

  • City/Municipality
  • Province
  • Region

At the back-end, they are represented as Philippines Standard Geographic Codes (PSGC), composed of nine-character length strings set by the PSA.

A text field is also added if there are additional information regarding the address that doesn't fit into the aforementioned fields.

#Province and Municipality

Options are formatted into:

  • First row - the name of the city or municipality
  • Last row - the province where the chosen municipality is located

Filtering values

When trying to find a place, the combobox also filters the provinces that matches the specified search term.

Province and Municipality

Unknown Municipalities

In the event that information regarding the City/Municipality is not provided, an option with Unknown Municipality found on the right-end can be used. This allows us to know the province while keeping the municipality a null value.

#Region

Region

The administrative region where the province & municipality fall under. Automatically filled based on the Province & Municipality that was previously chosen.

If you interact with this field first, it will filter the Province & Municipality options to only those inside its administrative boundaries.

#Text Address

Text Address

Text field you can indicate additional information regarding the address. This could range from Blocks, Lots, Buildings, Floors, etc. This could also be used to indicate venues when asking for location.

#Data Structure

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

Version Region Province City / Municipality Address
Name Region VII (Central Visayas) Cebu City of Cebu (Capital) Blk. 123, Lot 25, Greenhills Village
PSGC 070000000 072200000 072217000 -
NHSSS 7 CEBU CEBU -