-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to formally record enumeration source? #402
Comments
A similar problem was also outlined in comment #390 (comment). Thanks for filing a separate issue. The proposal seems ok, but I am wondering if we shouldn't further normalise it by recording the references in a separate loop and the data sources in a separate loop and then only using the id of the references in the
The The aspect of having a looped and an unlooped item for the same purpose could also be preserved, but we would then have to clearly state which takes precedence, i.e. use the unlooped value unless a looped value is provided. |
Yes! I knew I had seen it somewhere else! A separate category also then allows other places to use them as needed. I'll start something as soon as my computer gets fixed...
This is the next question: How far down the road do we want to go with this? Just a text string, or a full database solution? I'm assuming that this lives in
I think we need both, but, yes, the looped value takes precedence. |
I would prefer If there is a single row in I don't think we need to go "full database" on this one, as we are not intending for checking software to go off and interpret the reference in order to check the provided values. Firstly because that is a hard problem, and secondly because it is a very rare requirement that could be fulfilled by an ad-hoc check by the person updating the values that could be done faster than software could be written. So a simple human-understandable reference is sufficient, with perhaps a DOI to find an electronic version. |
Okay. Any preferences for the new name of One thing that we need to clearly communicate in the definition is that the source actually refers to the default enumeration values and not to the regular enumeration values (which could be misconstrued from the name).
Great idea and it should work well with automatic key-value derivation.
Ok. I guess even the |
I think |
OK. To summarise: We're saying no to just adding:
as suggested in the first post. We're saying yes to
|
Yes, that is what I think would work. |
From #400 (comment), I don't think there is the ability to firmally record the source of an enumeration value.
How about the following for addition to
ddl.dic
:_enumeration.source
for when there is a single source for an enumeration, or there is only a single value_enumeration_default.source
for when there are different sources for each value in an enumeration.?
These tags would go in, for example,
templ_enum.cif
to record whence the values came.The text was updated successfully, but these errors were encountered: