-
Type:
Change Request
-
Resolution: Unresolved
-
Priority:
Medium
-
FHIR Core (FHIR)
-
STU3
-
FHIR Infrastructure
-
(NA)
-
Enhancement
The "JSON" view of resouroce content renders "Canonical" inside braces, but it's a primitive not an object; the braces should be omitted:
current behavior:
"instantiates" : [
{ [canonical|http://build.fhir.org/datatypes.html#canonical]([CapabilityStatement|http://build.fhir.org/capabilitystatement.html#CapabilityStatement]) }], // Canonical URL of another capability statement this implements
shoudl be:
"instantiates" : ["<canonical([CapabilityStatement|http://build.fhir.org/capabilitystatement.html#CapabilityStatement])>"], // Canonical URL of another capability statement this implements
More broadly: these JSON and XML-ish views aren't proper JSON or XML. They're confusing for many implementers. Can we drop them?