specification icon indicating copy to clipboard operation
specification copied to clipboard

eligibility constraints

Open klambacher opened this issue 8 years ago • 5 comments

The eligibility table allows a string with includes a constraint with a set of enums. This does not fit any of our data for any client and the values are not even close to sufficiently inclusive; I would say it is impossible to come up with an exhaustive list that could be used as a limiter here, so I would strongly recommend not having one at all.

In addition, we have a requirement to record minimum and maximum age data which is used for searching purposes. Is possible to recommend a structured format for an entry that describes an age range, so that it could be consistently parsed?

klambacher avatar Aug 09 '17 14:08 klambacher

The current enum list, taken from 1.0 is:

  • "adult"
  • "child"
  • "teen"
  • "family"
  • "female"
  • "male"
  • "Transgender"
  • "Transgender - M to F"
  • "Transgender - F to M"

I would agree this is too limited, and getting to a full list too complex.

@greggish might be able to offer some context on the history of this list, and whether there is a case for trying to keep something standardised, or whether there should be a proposal to drop the codelist from a future version.

I'm going to open a separate issue on age eligibility...

timgdavies avatar Aug 09 '17 17:08 timgdavies

Is it conventional thinking to capitalize transgender? Or is that just a remnant of combining various enum lists?

todrobbins avatar Aug 09 '17 18:08 todrobbins

I believe this would be a remnant of earlier lists.

timgdavies avatar Aug 09 '17 18:08 timgdavies

I don't think this was intended to be a formal set. It might have just been a set of examples.

Note that we can point to the OpenEligibility 'Human Situations' taxonomy as a default reference set, although that too would have to evolve.

greggish avatar Aug 10 '17 17:08 greggish

MINOR - remove the constraint

MAJOR - refactor to taxonomy

robredpath avatar Feb 17 '20 13:02 robredpath

I am closing this because:

  • 3.0 appears to have refactored this towards using taxonomies, while there remains explicit eligibility_description, maximum_age, and minimum_age fields which meet the modelling needs described. This addresses the original issue description.
  • There is ongoing discussion and research into how best to model eligibility. This is out of scope for this issue by itself, however I've noted this link down to ensure that the issue is referenced as part of the ongoing discussion.

mrshll1001 avatar Nov 21 '23 14:11 mrshll1001