w3c / hcls-fhir-rdf

Sketching out an RDF representation for FHIR
39 stars 15 forks source link

fhir:value[x] properties include both object properties and datatype properties #103

Closed dbooth-boston closed 1 year ago

dbooth-boston commented 1 year ago

See http://hl7.org/fhir/observation.html#resource

For example, Observation.valueQuantity is an object property, but Observation.valueString is a datatype property. This means that if we shorten the property name to a generic fhir:value_x, then it would make OWL unhappy.

Option 1: Keep the type in the property name (as JSON does), and as we did in R4

Examples: fhir:valueQuantity and fhir:valueString

Option 2: Use a special suffix for scalar properties

Maybe something like fhir:valueObject for object properties and fhir:valueDatatype for datatype properties. But that seems like it would largely defeat the purpose of shortening the property name, because it ends up not being significantly shorter. It is just trading one suffix for another, such as fhir:valueDatatype instead of fhir:valueString.

dbooth-boston commented 1 year ago

Closing this, because in resolving #102, this issue also goes away, because the target of every fhir:value[x] property will be an object property anyway.

https://www.w3.org/2022/07/28-hcls-minutes.html#t01