Skip to content
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

missing type assertion for [x] property #122

Open
balhoff opened this issue Jul 6, 2023 · 5 comments · May be fixed by hapifhir/org.hl7.fhir.core#1853
Open

missing type assertion for [x] property #122

balhoff opened this issue Jul 6, 2023 · 5 comments · May be fixed by hapifhir/org.hl7.fhir.core#1853
Assignees
Labels
Turtle FHIR specification Turtle examples

Comments

@balhoff
Copy link
Contributor

balhoff commented Jul 6, 2023

In https://build.fhir.org/list-example-double-cousin-relationship-pedigree.ttl.html there is a triple:

... fhir:deceased [ fhir:v "true"^^xsd:boolean ] ;

Here the boolean correctly has a datatype, but doesn't have a fhir:boolean even though this property is deceased[x].

@balhoff balhoff added the Turtle FHIR specification Turtle examples label Jul 6, 2023
@dbooth-boston
Copy link
Contributor

Concluded on 8/10/23 that the spec is correct, except that we should add a type arc to the yellow schema. But the example generator needs to be fixed. https://www.w3.org/2023/08/10-hcls-irc#T15-56-16

@tmprd
Copy link

tmprd commented Aug 14, 2023

Not sure if this is well-known already ( related to #117 ), but almost all of the examples are missing this https://hl7.org/fhir/R5/examples-ttl.zip
Looks like this prevents the ShEx validator from validating the rest https://github.com/fhircat/validation#manual-edits and also is detected by the HermiT reasoner. I'd like to learn about how all the RDF is generated, so I might be able to help with this one.

@dbooth-boston
Copy link
Contributor

I just checked, and this is not fixed by HL7/kindling#148

@tmprd
Copy link

tmprd commented May 28, 2024

I think this needs to be fixed here in the method ttlLiteral() in org.hl7.fhir.r5.elementmodel.TurtleParser, not the Kindling repo

@balhoff
Copy link
Contributor Author

balhoff commented Dec 11, 2024

Fix here: hapifhir/org.hl7.fhir.core#1853

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Turtle FHIR specification Turtle examples
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants