fhir:value[x] properties include both object properties and datatype properties
Closed this issue · 1 comments
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
.
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.