Here 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

Reply via email to