Boolean represented as string
Opened this issue · 3 comments
ericprud commented
Turtle filename
codesystem-contact-point-use
FHIR Resource
URL of corresponding attribute on build.fhir.org, e.g. https://build.fhir.org/observation.html#a26.b
ShEx shape
@<boolean>~fhir:v
Description
- fhir:caseSensitive [ fhir:v "true"] ;
+ fhir:caseSensitive [ fhir:v true] ;
dbooth-boston commented
Confirmed fixed in HL7/kindling#148 , though it is serialized as the semantically equivalent:
fhir:caseSensitive [ fhir:v "true"^^xsd:boolean]
ericprud commented
Do we see where this was fixed? Maybe worth going all the way to have a clean-looking serialization?
tmprd commented
HL7/kindling#148 fixes the datatype annotation, but the string encoding needs to be fixed here https://github.com/hapifhir/org.hl7.fhir.core/blob/master/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/TurtleParser.java#L496C27-L537