# Another small question about archetypes

**URL:** https://discourse.openehr.org/t/another-small-question-about-archetypes/14647
**Category:** Implementers (archive)
**Created:** [16 May 2007 18:43 UTC](https://discourse.openehr.org/t/another-small-question-about-archetypes/14647 "2007-05-16T18:43:32Z")
**Posts on this page:** 4
**Page:** 1

<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: [16 May 2007 18:43 UTC](https://discourse.openehr.org/t/another-small-question-about-archetypes/14647/1 "2007-05-16T18:43:32Z")

</div>

I keep it short to use as less of your time as possible

Two elements:  
ELEMENT[at1.1.1.2] matches { -- last name value  
&nbsp;&nbsp;value matches {  
&nbsp;&nbsp;&nbsp;&nbsp;DV\_TEXT matches {\*}  
&nbsp;&nbsp;}  
}

path to value attribute of DV\_TEXT is  
/data[at0001]/items[at1.1.1.2]/value

---

<div class="post-metadata">

### Author: ![Heath\_Frankel2](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/h/67e7ee/32.png) [@Heath\_Frankel2](https://discourse.openehr.org/u/Heath_Frankel2)
#### Post date: [17 May 2007 11:29 UTC](https://discourse.openehr.org/t/another-small-question-about-archetypes/14647/2 "2007-05-17T11:29:54Z")

</div>

Bert

> ELEMENT[at1.1.1.2] matches { -- last name value  
> &nbsp;&nbsp;value matches {  
> &nbsp;&nbsp;&nbsp;&nbsp;DV\_TEXT matches {\*}  
> &nbsp;&nbsp;}  
> }
> 
> path to value attribute of DV\_TEXT is  
> /data[at0001]/items[at1.1.1.2]/value

No the path is  
&nbsp;&nbsp;/data[at0001]/items[at1.1.1.2]/value/value

Heath

---

<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: [18 May 2007 18:11 UTC](https://discourse.openehr.org/t/another-small-question-about-archetypes/14647/3 "2007-05-18T18:11:09Z")

</div>

---------- Doorgestuurd bericht ----------

---

<div class="post-metadata">

### Author: ![Sam](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://discourse.openehr.org/u/Sam)
#### Post date: [22 May 2007 07:54 UTC](https://discourse.openehr.org/t/another-small-question-about-archetypes/14647/4 "2007-05-22T07:54:28Z")

</div>

Right - value will give you the DV\_TEXT which is the value of the element. DV\_TEXT has a value attribute so it will be at /value/value.

Sam

Heath Frankel wrote:
