From 7e94b9d05f53e69a9798fbcdb91c077a93b3b0ad Mon Sep 17 00:00:00 2001 From: Jim Balhoff Date: Wed, 11 Dec 2024 14:46:14 -0500 Subject: [PATCH] Output type triple for any [x] property. --- .../main/java/org/hl7/fhir/r5/elementmodel/TurtleParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/TurtleParser.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/TurtleParser.java index 28df24d555..25ed07a96e 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/TurtleParser.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/TurtleParser.java @@ -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)