Closed AtticusRains closed 10 months ago
Yes it is currently defined just as a text field. In the UK we're proposing an extension so that eligibility can come from a taxonomy/vocabulary. See issue 208.
Closing this as we no longer have eligibility modelled in this way. However I'm noting that there's been several other issues discussing how enums in the standard are not rendered properly.
Usually this is handled separately, via a codelists page. I am noting this down in our project docs as being related to this.
The HSDS objects and fields reference documentation currently does not list acceptable values for enum fields (or denote that these fields are enums at all) as described in the datapackage.json
For example, the eligibility.eligibility field is described in the datapackage.json as follows:
The documentation makes this field seem more like an open text field and does not list the acceptable values.