# How to add reference to a person in the data structure

**URL:** <https://discourse.openehr.org/t/how-to-add-reference-to-a-person-in-the-data-structure/12645>\
**Category:** Implementers (archive)\
**Created:** [17 May 2011 19:18 UTC](https://discourse.openehr.org/t/how-to-add-reference-to-a-person-in-the-data-structure/12645 "2011-05-17T19:18:11Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)\
**Post date:** [23 May 2011 00:42 UTC](https://discourse.openehr.org/t/how-to-add-reference-to-a-person-in-the-data-structure/12645/21 "2011-05-23T00:42:03Z")

</div>

Hi Gediminas and All,

My understanding of your problem is similar as Ian's interpretations. Your original issue was that you wanted to display doctor's name in a table, but somehow you wanted to associate the doctor's reference via uid with each entry/a row so that the doctor's name can be resolved by the doctor's reference.

You may have known that displaying the data in a tabular format doesn't mean that the data must be recorded as a ITEM\_TABLE. You can render the data from ADMIN\_ENTRY.other\_participations and the data from the ADMIN\_ENTRY.data in one table.

Cheers,  
Chunlan

---

<div class="post-metadata">

**Author:** ![Tim\_Cook2](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/t/57b2e6/32.png) [@Tim\_Cook2](https://discourse.openehr.org/u/Tim_Cook2)\
**Post date:** [23 May 2011 01:43 UTC](https://discourse.openehr.org/t/how-to-add-reference-to-a-person-in-the-data-structure/12645/22 "2011-05-23T01:43:24Z")

</div>

I think that this is a problem caused by the global educational systems.  
Every domain analysis has to be thought of in tabular, SQL manner.  
So the end result must be some kind of SQL form. It is sad to know  
that this is caused by which companies fund researchers and therefore  
influence how and what they teach.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)\
**Post date:** [23 May 2011 02:35 UTC](https://discourse.openehr.org/t/how-to-add-reference-to-a-person-in-the-data-structure/12645/23 "2011-05-23T02:35:26Z")

</div>

Dear Timothy,

I don't agree with your statements. There are some publications related to user interfaces on openEHR official website, which are not driven solely by company funded researchers. On the other hand, separation of view model from data model is not an openEHR specific topic, e.g. Model-View-Presenter pattern and Model-View-Controller pattern have been used on various UI programming platforms.

Cheers,  
Chunlan

---

<div class="post-metadata">

**Author:** ![Gediminas\_Backeviciu](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/g/9f8e36/32.png) [@Gediminas\_Backeviciu](https://discourse.openehr.org/u/Gediminas_Backeviciu)\
**Post date:** [23 May 2011 07:29 UTC](https://discourse.openehr.org/t/how-to-add-reference-to-a-person-in-the-data-structure/12645/24 "2011-05-23T07:29:32Z")

</div>

Hi Thomas,

thank you for your response. I think will be the best choice to use DV\_TEXT, because it’s non-clinical data and related to legacy systems.

I agree, we can go from here.

Gediminas Bačkevičius

[Previous page](https://discourse.openehr.org/t/how-to-add-reference-to-a-person-in-the-data-structure/12645.md?page=1)
