-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should not use fhir:value for non-hoisted scalar properties #104
Comments
We discussed this on 28-Jul-2022 ACTION: jim to look into whether rdf:value would work instead of fhir:value |
Description of rdf:value: rdf:value has no meaning on its own. It is provided as a piece of vocabulary that may be used in idioms such as illustrated in example below: EXAMPLE 1 The rdfs:domain of rdf:value is rdfs:Resource. The rdfs:range of rdf:value is rdfs:Resource. |
It occurs to me that |
I see that OWL has owl:topDataProperty. If we chose that we'd have:
which seems painfully long to type, given that it will be used for every scalar in FHIR RDF. I don't see anything appropriate in the Relation Ontology either, plus they use unfriendly names for their properties, like:
|
Maybe @balhoff can comment more but semantically speaking using topObjectProperty is not ideal as it implies.. nothing. Every thing in the multiverse is connected to everything else with topObjectProperty! (Annoying lurker, out. Sorry :P) |
(REJECTED) Option 0: Keep fhir:valueThis option definitely would not play well with OWL, because in R5 fhir:value is already being used as an object property, so it would be used as both an object and datatype property in FHIR RDF data. (REJECTED) Option 1: Use rdf:valueThis option would force users to choose between playing well with OWL vs using rdf:value as an object property anywhere else in their data, which would restrict users beyond how rdf:value was originally defined. (REJECTED) Option 2: Use fhir:scalarThis does not seem likely to conflict with any property that FHIR might invent in the future. (REJECTED) Option 3: Use fhir:literalThis does not seem likely to conflict with any property that FHIR might invent in the future. (AGREED) Option 4: Use fhir:vSince FHIR uses full words in its property and class names, this does not seem likely to conflict with any property that FHIR might invent in the future. (REJECTED) Option 5: Use prov:value |
On today's call we agreed to use fhir:v as the property name for non-hoisted scalars, instead of fhir:value:
|
Done and implemented in R5 |
In FHIR JSON, a scalar property such as Patient.gender is represented directly:
In R4 FHIR RDF we have an intervening blank node, and then used fhir:value (as an OWL datatype property) to hold the actual scalar value:
But FHIR uses the "value" property for other purposes that are not datatype properties. So we should use a different property name for this purpose.
The text was updated successfully, but these errors were encountered: