# Associating a longitudinal form with an "entity type"

**URL:** <https://forum.getodk.org/t/associating-a-longitudinal-form-with-an-entity-type/21983>\
**Category:** Development\
**Created:** [September 3, 2019, 9:38am UTC](https://forum.getodk.org/t/associating-a-longitudinal-form-with-an-entity-type/21983 "2019-09-03T09:38:30Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![LN](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ln/32/1605_2.png) [@LN](https://forum.getodk.org/u/LN)\
**Post date:** [September 18, 2019, 8:33pm UTC](https://forum.getodk.org/t/associating-a-longitudinal-form-with-an-entity-type/21983/12 "2019-09-18T20:33:22Z")

</div>

Thank you for your leadership on this, @adam.butler and @xiphware!

Is there a "table of contents" for conversations and documents related to improving longitudinal data workflows somewhere? Building up that context and history would be helpful, I think. There have also been unrelated conversations that have veered into related territory like [the one about the `${entity#...}` syntax for XLSForm](https://forum.getodk.org/t/xlsform-spec-proposal-add-syntax-to-make-it-easy-to-use-a-value-from-the-last-saved-instance/18814/16). If this doesn’t exist, I’d be happy to build it up.

In particular, the [user stories](https://docs.google.com/document/d/1kTbQ_fGo3dQw9IvwSZ6U11OyO7PVvSgyq7dDI20iW2M/edit) document that was generated some time ago provides helpful context for this thread. I would also appreciate a sense of who participated in which conversations and what the conversation/document's status is. For example, I was on maternity leave when the user stories reached their current state and so I don’t have a good sense of how much discussion happened around them and what conclusions were drawn (e.g. how the grayed out stories became grayed out).

At a high level, I believe the stories that remain black can be summarized as:

- Linking of form definitions through specific fields
- Synchronization of datasets between server and clients
- Tasking enumerators

This thread is mostly about the first theme with a bit of the second and it focuses on the implementation strategy. [The roadmap issue](https://github.com/opendatakit/roadmap/issues/23) also focuses on implementation. I would find it very helpful to see more detail from an idealized user experience perspective. How project managers will set up projects, how analysts will view data, how enumerators will pick entities, how conflicts will be resolved will all impact the spec design. Has that been done somewhere? Here are some examples of the types of questions that would be answered by this:

- “As an administrator I want to be able to designate a particular form (“patient form”) as a source of entities for a record form (“visit form”)”

- “As an administrator I want to be able to view records by entity”

- “As an enumerator, I want to be able to select an entity from a list before I begin a record form”

To more explicitly tie these back to the question that started this thread -- where is the “entity” concept visible to the form designer, the project manager, the data manager and the enumerator?

---

_[View the full topic](https://forum.getodk.org/t/associating-a-longitudinal-form-with-an-entity-type/21983)._
