terraframe / geoprism-registry

GeoPrism Registry is a system for curating interlinked data through time. It's the first framework implementing the Common Geo-Registry specification.
https://geoprismregistry.com/
GNU Lesser General Public License v3.0
18 stars 5 forks source link

Automatically change end date of previous attribute value instance based on the start date of the next instance when adding a new instance #919

Open rfromthecastle opened 1 year ago

rfromthecastle commented 1 year ago

User stories

Raised by @viengthong2015 from the Department of Planning and Finance IT team staff, Lao Ministry of Health, on August 10, 2023 As a Registry Maintainer, it would be easier if when adding a new instance of an attribute value, the end date of the previous instance automatically gets set to the day before the start date of the new instance.

Problems this relates to

Data management

Proposed solution

See user story.

Considered alternatives

Manual update of end date of validity period of previous attribute instance

Additional context

None

viengthong2015 commented 1 year ago

when we update a attribute of an GeoObject, the "end date" of old instance should be automatic change based on the "start date" of new instance (no need user to set "end date" for old instance)

recommanded