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..d03829d30a 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 @@ -323,6 +323,7 @@ public void compose(Element e, Turtle ttl, String base) throws FHIRException { } ttl.prefix("fhir", FHIR_URI_BASE); + ttl.prefix("rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#"); ttl.prefix("rdfs", "http://www.w3.org/2000/01/rdf-schema#"); ttl.prefix("owl", "http://www.w3.org/2002/07/owl#"); ttl.prefix("xsd", "http://www.w3.org/2001/XMLSchema#"); @@ -511,6 +512,8 @@ else if (type.equals("base64Binary")) xst = "^^xsd:base64Binary"; else if (type.equals("canonical") || type.equals("oid") || type.equals("uri") || type.equals("url") || type.equals("uuid")) xst = "^^xsd:anyURI"; + else if (type.equals("xhtml")) + xst = "^^rdf:XMLLiteral"; else if (type.equals("instant")) xst = "^^xsd:dateTime"; else if (type.equals("time"))