Re: Decision on decimal

Hi Paul,

That's something that will need to be worked out by implementations, not
something we need to expose in the RDF.

*Lloyd McKenzie*, P.Eng.
Senior Consultant, Information Technology Services
Gevity Consulting Inc.

 E: lmckenzie@gevityinc.com
M: +1 587-334-1110 <1-587-334-1110>
W: gevityinc.com


*GEVITY**Informatics for a healthier world *

CONFIDENTIALITY – This communication is confidential and for the exclusive
use of its intended recipients. If you have received this communication by
error, please notify the sender and delete the message without copying or
disclosing it*.*

NOTE: Unless explicitly stated otherwise, the opinions and positions
expressed in this e-mail do not necessarily reflect those of my employer,
my clients nor the organizations with whom I hold governance positions

On Tue, Aug 4, 2015 at 1:12 PM, Paul A. Knapp <pknapp@pknapp.com> wrote:

> 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
>
> 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.
>
>
> ***********************************************************************************
> Manage your subscriptions <http://www.HL7.org/listservice> | View the
> archives <http://lists.HL7.org/read/?forum=its> | Unsubscribe
> <http://www.HL7.org/tools/unsubscribe.cfm?email=lloyd@lmckenzie.com&list=its>
> | Terms of use
> <http://www.HL7.org/myhl7/managelistservs.cfm?ref=nav#listrules>
>
>

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