Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OpenSRPOpenMRSXLSForm ColumnXLSForm Value (case insensitive)XLSForm Value  (recommended)
addressTypeaddress6instance::openmrs_entity_parentAny unique value identifying address from a list of possible addresses for a person-
startDatestart_dateinstance::openmrs_entity_idstartDate / start_datestartDate
endDateend_dateinstance::openmrs_entity_idendDate / end_dateendDate
latitudelatitudeinstance::openmrs_entity_idlatitudelatitude
longitudelongitudeinstance::openmrs_entity_idlongitudelongitude
postalCodepostal_codeinstance::openmrs_entity_idpostalCode / postal_codepostalCode
statestate_provinceinstance::openmrs_entity_idstate / state_province / stateProvince/ provincestateProvince
countrycountryinstance::openmrs_entity_idcountrycountry
addressFields (Customizable)
HOUSE_NUMBER / HOUSE / HOUSE_NO / UNIT / UNIT_NUMBER / UNIT_NOaddress1instance::openmrs_entity_idhouse_number / house / house_no / unit / unit_number / unit_no / address1house / unit
STREET / STREET_NUMBER / LANEaddress2instance::openmrs_entity_idstreet / street_number / lane / address2street / lane
SECTOR / AREAaddress3instance::openmrs_entity_idsector / area / address3sector / area
SUB_DISTRICT / MUNICIPALITY / TOWN / LOCALITY / REGIONaddress4instance::openmrs_entity_idmunicipality / town / locality / region / sub_district/ address4sub_district / town / municipality
COUNTY / DISTRICTcounty_districtinstance::openmrs_entity_idcounty / district / countyDistrict / county_districtcountyDistrict
CITY / VILLAGEcity_villageinstance::openmrs_entity_idcityVillage / city_village / city / villagecityVillage
GEOPOINT**latitude, longitude, address5instance::openmrs_entity_idgeopointgeopoint
Everything else with concatenated key-val pairaddress5instance::openmrs_entity_idAny other value for address field not covered elsewhere. Highly unrecommended.-
Note

**geopoint datatype in XLSForm is split into latitude, longitude fields above and also stored as it is into address5 field.

...

Example XLSForm:

The XLS sheet below defines a sample of four different addresses (birthplace, deathplace, usual_residence, previous_residence) with possible field names for different addresses as specified by table above. 

View file
nameregister_with_address.xlsx
height250

Tip

Although application can parse any field value conforming to the table above, there are certain fields that are recommended to make sure that everyone follows the same standard and that XLSForms are applicable across different sites.

 

 

 

...