DATA_VALUE

Dear All,
I have a question about DATA_VALUE class in data types:
Why all of the data types should be inherited from DATA_VALUE? What’s the usefulness of this pattern?

Thanks in Advance
Masoumeh
|

The DATA_VALUE class can be used anywhere you want to allow any kind of
data value. In openEHR, ELEMENT.value is of type DATA_VALUE. This is
typically constrained to particular subtypes in archetypes.

- thomas beale

Masoumeh Seydi wrote:
> Dear All,
> I have a question about DATA_VALUE class in data types:
> Why all of the data types should be inherited from DATA_VALUE? What's
the usefulness of this pattern?