Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear all,
we are using the FHIR Connector for PowerBI with our own FHIR-Server.
As described here it should work with any standard-conform FHIR-Server on the market:
https://docs.microsoft.com/en-us/power-query/connectors/fhir/fhir
We were able to slim down the problem to bad pagination. Let me explain it in more detail:
We want to load all Observation Resources from the Server to analyse them
To allow reproduce all steps I will take the public server of HAPI (https://hapi.fhir.org) for my example.
1. Check how many Observation Records are stored on the server
Dear all,
we are using the FHIR Connector for PowerBI with our own FHIR-Server.
As described here it should work with any standard-conform FHIR-Server on the market:
https://docs.microsoft.com/en-us/power-query/connectors/fhir/fhir
However, we discovered recently that Connector seems to have problems loading larger datasets from the server.
We were able to slim down the problem to bad pagination. Let me explain it in more detail:
Use Case
We want to load all Observation Resources from the Server to analyse them
To allow reproduce all steps I will take the public server of HAPI (https://hapi.fhir.org) for my example.
1. Check how many Observation Records are stored on the server
So we would expect to see 941732 records in PBI
2. Let's load it via PBI
As you can see withing PBI it only returns 12405 - The question is why?
No filters are applied, just raw data.
3. If you check the network trace u will discover that the connector stops for some non explaining reason after 20? requests.
4. Also the page size / offset seems to be static for some reason. Not paying respect to the settings of the server. Even tough its basically returned with every request not containing a given pageoffset attribute
{
"relation": "next",
"url": "http://hapi.fhir.org/baseR4?_getpages=e8c53ccc-393d-4e6e-8648-8592a49c7fc8&_getpagesoffset=20&_count=20&_pretty=true&_bundletype=searchset"
}
In case a higher page size should be used (which makes sense on fast connections) the connector should pay respect to max page size of the server but not use sth. random at all...
Don't get me wrong. I like the idea using FHIR withing PBI. Unfortunatley it is not possible for moment as not all data can be loaded to the sheets. I would really like to ask an engineer to take a look on it, after trying to explain the issue to MS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.