Skip to content

Commit

Permalink
Merge pull request #1853 from balhoff/hcls-fhir-rdf-issue-122
Browse files Browse the repository at this point in the history
Output type triple for any [x] property.
  • Loading branch information
grahamegrieve authored Feb 7, 2025
2 parents 57e9513 + 7e94b9d commit 593fae2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ private void composeElement(Section section, Complex ctxt, Element element, Elem
} else {
t = ctxt.linkedPredicate("fhir:"+en, linkResolver == null ? null : linkResolver.resolveProperty(element.getProperty()), comment, element.getProperty().isList());
}
if (element.getProperty().getName().endsWith("[x]") && !element.hasValue()) {
if (element.getProperty().getName().endsWith("[x]")) {
t.linkedPredicate("a", "fhir:" + element.fhirType(), linkResolver == null ? null : linkResolver.resolveType(element.fhirType()), null);
}
if (element.getSpecial() != null)
Expand Down

0 comments on commit 593fae2

Please sign in to comment.