[DDI-users] How to model a value with unit

My Coyne mcoyne at boninc.com
Fri Feb 11 22:44:25 EST 2011


Hi,

I would like to model a value that has unit, for example time {value = 2, unit = second} or timve {value = 2, unit = years}.  Or age {value=1, 
unit=day} etc.  

I was thinking of:

1. create a CategoryScheme 
         category value
         category unit
2. Create a CodeScheme
         code for second (=1) makes reference to category unit
         code for minute (=2) makes reference to category unit
         code for hour (=3) makes reference to category unit
          ....
          ....


Is this an acceptable way to model a value with unit?  Please help with any idea or better way to do this.  Thank you







More information about the DDI-users mailing list