opencrvs / opencrvs-core

A global solution to civil registration
https://www.opencrvs.org
Other
81 stars 62 forks source link

For international addresses, only capture a single input field #6947

Open euanmillar opened 2 months ago

euanmillar commented 2 months ago

Description

Add configuration options for international addresses:

What about Place of birth field that countries add for mother and father. Should this not be a single address field instead of a custom freefield?

Euan Deprecate address structure for international addresses, instead display an input field if country is other than the implementing nation. Countries can label it how they like and the data is saved as a description in FHIR Location rather than a structure.

In Uganda, the label would be "Town/City"

No db migration is required.

ACs

GIVEN WHEN THEN

rikukissa commented 2 weeks ago

Flagging this ticket (and specifically us storing the place of delivery, residential address) as one where FHIR works well as a transport data format but not so well as a persistent storage model. "Place of event" by FHIR conventions is stored in Encounter.location which points to the Location collection but as it's the user's personal information we would rather store it directly in the Encounter object, for instance to an address: field if it had that.