RE: [TMO] patient record normalization

My 2 cents for whatever it's worth... 

> per CPR, as a pair of value and datatype:
> 
> ... [ trans:systolic [ muo:measuredIn trans1:mmHg ; 
> muo:numericalValue "120" ] ;
>     trans:diastolic [ muo:measuredIn trans1:mmHg ; 
> muo:numericalValue "80" ] ] .


This is probably the best option as this allows you to switch units and encapsulate unit transformations into specific functions.

> Another, potentially more attractive option, is to model units in the
> predicate:
> 
> :X trans:bloodPressure
>   [ trans:systolicMmHg "120" ;
>     trans:diastolicMmHg "80" ] .

Switching units would be a challenge and require writing predicate rules?

> This greatly simplifies our life as we are otherwise likely 
> to have a variety of e.g. BP data in the database: 120/80 
> mmHg, 12/8 DmHg, 16000/10667 Pa,
> 16/11 MPa, 13 (PAM)
> 
> which would lead to rediculous queries when we want to use the data:
> 
> SELET ?sysM ?diaM {
>           ?x trans:bloodPressure [ trans:systolic ?sys ; 
> trans:diastolic ]
>           FILTER (datatype(?sys) = u:mmHg) && datatype(?dia) 
> = u:mmHg) }
>   UNION SELECT (?sys*10 as ?sysM) (?dia*10 as ?diaM) {
>           ?x trans:bloodPressure [ trans:systolic ?sys ; 
> trans:diastolic ]
>           FILTER (datatype(?sys) = u:dmHg) && datatype(?dia) 
> = u:dmHg) }
>   UNION SELECT (?sys*133 as ?sysM) (?dia*133 as ?diaM) {
>           ?x trans:bloodPressure [ trans:systolic ?sys ; 
> trans:diastolic ]
>           FILTER (datatype(?sys) = u:MPa) && datatype(?dia) = 
> u:MPA) } ... }

One approach to address this would be to adopt a canonical set of units and apply transformations in and out of various data sources.

---Vipul
------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the address shown.  This email transmission may contain confidential information.  This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly.  Please delete it from your files if you are not the intended recipient.  Thank you for your compliance.  Copyright 2010 CIGNA
==============================================================================

Received on Thursday, 9 September 2010 18:22:44 UTC