Versions Compared

Key

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

...

In OpenSRP, address is specified by Address class in BaseEntity. Following are the standard address fields for OpenSRP, which has to be mapped by each site. Note that these fields are not mandatory (except for addressType), but in case of any need to capture data for the field, the following variable names should be used for the field:

  • addressType: MUST be specified if more than one address is collected. The unique field that identifies an address from a list of different addresses for a single person, e.g. office, usual_residence, previous_residence, birth_place, death_place, burial_place, etc. The field value is customizable but should be chosen carefully, since once the system goes live and data entry has started, addressType should not be changed, because the field value is used to generate reports based on addressType or location dimension.
  • startDate: Optional. The date when person address became valid. If you want to get reports for duration of residence make sure to capture this data.
  • endDate: Optional. The date when person abandoned the address. If no end date is specified system assumes current date as end date for calculating reports for durations.
  • latitude: Optional. Field to capture latitude for Geo-coordinates.
  • longitude: Optional. Field to capture longitude for Geo-coordinates.
  • postalCode. Optional. Field to capture postal or zip code.
  • state: Field is used to capture the major division in a country. This field should contain state or province part of address.
  • country: Field to capture country.

...