RE: Decision on decimal

Yes Paul,
In the case of comparison on Quantity you have to consider units. There are no units on decimal.

Tony

From: Paul A. Knapp [mailto:pknapp@pknapp.com]
Sent: Tuesday, August 04, 2015 3:15 PM
To: Anthony Mallia; its@lists.hl7.org; w3c semweb HCLS
Subject: Re: Decision on decimal

Hi Tony:

We discussed this a bit on the ITS call today. One thing to be aware of is that not only will the RDF need to harvest the fractionDigits from the number of decimal digits in the instance, it will also need to examine the units, in the case of a Quantity or derivative, to harvest the exponent, if any, and apply that to the decimal value so that reasoners have the fully expressed value.

For example a pseudo xml:

<Instance_A>
    <value = "1.0200"/>
    <units = "10^4 ml/min"/>
</Instance_A>

<Instance_B>
    <value = "1.0200"/>
    <units = "10^3 ml/min"/>
</Instance_B>

The precision of the above examples are the same, but the values are different.

Paul

At 11:42 AM 2015-08-04, Anthony Mallia wrote:

Content-Transfer-Encoding: base64Here is where I think we landed today on decimal

fhir:decimal rdf:type owl:Class ;
             rdfs:subClassOf fhir:Element ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty fhir:fractionDigits ;
                               owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                               owl:onDataRange xsd:nonNegativeInteger
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty fhir:fractionDigits ;
                               owl:allValuesFrom xsd:nonNegativeInteger
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty fhir:value ;
                               owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                               owl:onDataRange xsd:decimal
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty fhir:value ;
                               owl:allValuesFrom xsd:decimal
                             ] ;

             rdfs:comment "A rational number with defined precision" .

Tony Mallia

***********************************************************************************
Manage subscriptions - http://www.HL7.org/listservice<http://www.hl7.org/listservice>
View archives - http://lists.HL7.org/read/?forum=its<http://lists.hl7.org/read/?forum=its>
Unsubscribe - http://www.HL7.org/tools/unsubscribe.cfm?email=pknapp@pknapp.com&list=its<http://www.hl7.org/tools/unsubscribe.cfm?email=pknapp@pknapp.com&list=its>
Terms of use - http://www.HL7.org/myhl7/managelistservs.cfm?ref=nav#listrules<http://www.hl7.org/myhl7/managelistservs.cfm?ref=nav#listrules>

Paul Knapp
President
Knapp Consulting Inc.
www.pknapp.com

<http://www.pknapp.com/>Tel: +1 604 987-3313
Fax: +1 604 987-3305
Cel: +1 604 250-1915
KSA: +966 56 787 0341
Skype: paulknapp

HL7 International ( www.HL7.org<http://www.hl7.org/> )
   Co-Chair: Implementable Technology Specifications WG; Financial Management WG; Foundation and Technology SD.
   Member: FHIR Management Group; Technical Steering Committee; US Realm Steering Committee; Architecture Review Board
EACOE Certified Enterprise Architect  www.EACOE.<http://www.eacoe.org/> org

<http://www.eacoe.org/>The information in this communication, including any attached documentation, is intended only for the person or entity to which it is addressed, and may contain confidential, personal, and/or privileged information. Any unauthorized disclosure, copying, or taking action on the contents is strictly prohibited. If you have received this message in error, please contact us immediately so we may correct our records. Thank you.

Received on Tuesday, 4 August 2015 19:23:05 UTC