Replies: 1 comment 5 replies
-
@mjtrac no worries, happy help where I can. Now I don't consider myself a full expert but what I do know is that SQL-on-FHIR is intended to create flattened views on single resources. If you want a table that contains columns that are joined across resources, you still need to add joins on top of the views for each resource. You also ask how that works for a Bundle, I don't know for sure. But this could actually be a mechanism through which you can join resources in one go. Imagine you have an International Patient Summary Bundle. If you flatten that with a single SQL-on-FHIR view, you can mimic the join on the Patient ID since all resources in the bundle pertain to that same patient. But in the most generic case, you need to join views by hand still. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Sorry if this is an unusually dumb question, but is the idea here that the server can transmit, as a table, only some elements of a set of resources, or is this a way to extract data from resources that a FHIR server must still transmit to me as a Bundle?
Beta Was this translation helpful? Give feedback.
All reactions