# HL7 CTS data types

**URL:** <https://discourse.openehr.org/t/hl7-cts-data-types/15167>\
**Category:** Reference Implementation: Java (archive)\
**Created:** [5 February 2011 11:18 UTC](https://discourse.openehr.org/t/hl7-cts-data-types/15167 "2011-02-05T11:18:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amir\_Hossein\_Jadidin](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/a/d2c977/32.png) [@Amir\_Hossein\_Jadidin](https://discourse.openehr.org/u/Amir_Hossein_Jadidin)\
**Post date:** [5 February 2011 11:18 UTC](https://discourse.openehr.org/t/hl7-cts-data-types/15167/1 "2011-02-05T11:18:55Z")

</div>

Hi,

I’m going to develop a java web service to provide some basic terminology services for openEHR such as: ConvertTermToCode

These methods accept inputs in specific data type such as: DV\_CodedText  
I don’t know how can I leverage these data types in the source of my web service.  
Would you please help me?  
Kind regards

---

<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:** [7 February 2011 22:03 UTC](https://discourse.openehr.org/t/hl7-cts-data-types/15167/2 "2011-02-07T22:03:25Z")

</div>

Hi Amir,

I guess the terminology interface in the RM Support specification is a good starting place. See [http://www.openehr.org/releases/1.0.2/architecture/rm/support\_im.pdf](http://www.openehr.org/releases/1.0.2/architecture/rm/support_im.pdf)

there is a very simple implementation of terminology interface in java, one could simply wrap it with web services API. See [http://www.openehr.org/svn/ref\_impl\_java/TRUNK/mini-termserv/](http://www.openehr.org/svn/ref_impl_java/TRUNK/mini-termserv/)

Cheers,  
Rong
