w3c / hcls-fhir-rdf

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

fhir:link missing from MedicationStatement.subject #121

Open dbooth-boston opened 1 year ago

dbooth-boston commented 1 year ago

Turtle filename This R4 example has a fhir:link inside the fhir:MedicationStatement.subject: https://hl7.org/fhir/R4B/medicationstatementexample1.ttl.html

But it is missing in the R5 example. Look for fhir:subject in this example: https://build.fhir.org/medicationstatementexample1.ttl.html

FHIR Resource https://build.fhir.org/medicationstatement.html#af

ShEx shape https://build.fhir.org/medicationstatement.shex.html

Description The turtle probably should have the fhir:link or something equivalent, but we should discuss.

This issue is related to https://github.com/w3c/hcls-fhir-rdf/issues/120

dbooth-boston commented 6 months ago

I just checked, and this is not fixed by https://github.com/HL7/kindling/pull/148

dbooth-boston commented 1 month ago

@balhoff

balhoff commented 1 month ago

@dbooth-boston can you assign to me?

dbooth-boston commented 1 month ago

@tmprd Do you think this is a change needed in Kindling?

tmprd commented 3 weeks ago

No, I think this needs to be changed in https://github.com/hapifhir/org.hl7.fhir.core

This might be the method used to addfhir:link: https://github.com/hapifhir/org.hl7.fhir.core/blob/0ebf628becc39dfeba744a25e82e68b6508e5674/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/TurtleParser.java#L372C18-L372C35