Hi Leonardo,

You can use a local terminology-id but do not use 'local' for the
terminology name, which is reserved name meaning that internal atcodes are
being used.

So this would be valid, I think ...

>      <terminology_id>
>        <value>leonardoCT</value>
>      </terminology_id>
>      <code_string>5</code_string>

Ian

Dr Ian McNicoll
office +44 (0)1536 414994
fax +44 (0)1536 516317
mobile +44 (0)775 209 7859
skype ianmcnicoll
ian.mcnicoll at oceaninformatics.com

Clinical analyst, Ocean Informatics, UK
openEHR Clinical Knowledge Editor www.openehr.org/knowledge
Honorary Senior Research Associate, CHIME, UCL
BCS Primary Health Care  www.phcsg.org



On 18 March 2011 09:33, Peter Gummer <peter.gummer at 
oceaninformatics.com>wrote:

> Leonardo Moretti wrote:
>
> > I have clear how to use terminology_id and code for DV_CODED_TEXT,
> > but here
> > I'm wondering if I can use the ordinal (integer) value as coded
> > value in a
> > DV_ORDINAL, like in this example (note: <code_string>5</code_string>):
> > ...
> >      <terminology_id>
> >        <value>local</value>
> >      </terminology_id>
> >      <code_string>5</code_string>
>
> No, Leonardo, you can't do that. The ordinal's value and the code
> string are different things. The code string must be a member of the
> terminology. In your example, the terminology is "local", which means
> that it's an at-code.
>
> Imagine that the coded text used a different terminology. Imagine that
> this terminology had codes like "1", "2", "3", "4", "5", etc. If this
> was your terminology, then of course your code string could be "5".
>
> - Peter
> _______________________________________________
> openEHR-technical mailing list
> openEHR-technical at openehr.org
> http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20110318/465624d3/attachment.html>

Reply via email to