Versions Compared

Key

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

...

The OpenSRP application also allows one to capture multiple addresses for a person, which are distinguished by the field "addressType". Hence, each person can have only one address for each addressType. For example, Mr. Smith cannot have two addresses for addressType "usual residence"; however, he can have two addresses with addressTypes "usual residence" and "previous residence". The addressing address scheme in OpenSRP is flexible and can be mapped to a number of different address formats across the world.

...

Each field must be mapped to OpenSRP or OpenMRS predefined fields in XLSForm to allow data to be pushed into OpenMRS as person address. The address group is identified by person_address in instance::openmrs_entity column in the XLSForm. Each field is mapped with OpenMRS as specified by table below.

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.

...

View file
nameregister_with_address.xlsx
height250