Sometimes it may be useful to be able to associate some entity with an alternate identifier. For example, a temporary code we have assigned to a recently changed division, a OCD identifier, or potentially some other ID.
It would be useful not to have to handle every one of these as a special case, but equally depending on the identifier, it might be sensible to associate it with various different models (e.g: a code might be best viewed as mapping to an Organisation or an OrganisationGeography etc).
What is the right data structure to model this? :thinking:
Sometimes it may be useful to be able to associate some entity with an alternate identifier. For example, a temporary code we have assigned to a recently changed division, a OCD identifier, or potentially some other ID.
It would be useful not to have to handle every one of these as a special case, but equally depending on the identifier, it might be sensible to associate it with various different models (e.g: a code might be best viewed as mapping to an
Organisation
or anOrganisationGeography
etc).What is the right data structure to model this? :thinking: