In the FHIR query spec it states that the _include parameter can be added to the query URL to request that specified referenced resources are returned in full to prevent further network requests to retrieve these resources.
i.e.
diagnosticreport/search?_include=DiagnosticReport.subject&_include=Patient.provider
This construct requires that you know the resources that are going to be referenced in the result set in advance of the query being made. I suspect for resources such as "Observation" where there will potentially be many profiles with each profile potentially having different extensions, this will not be the case.
Is it feasible to have a syntax whereby all of the referenced resources are "included"?