FHIR Chat · Get test data from HAPI FHIR · implementers

Stream: implementers

Topic: Get test data from HAPI FHIR


view this post on Zulip Vladimir Shapira (Mar 31 2022 at 16:38):

Greetings experts,

I'm new here and new to FHIR.
Sorry if i'm asking in the wrong forum.

I see there is a lot of records for different resources on Hapi server
http://hapi.fhir.org/baseR4

I was wondering if its possible to use Hapi server in order to get some samples to be used as test data?
For example GET /Patient only returns small list of very basic patient messages. I was wondering if it's possible to make GET request for more samples or just samples with much more data, maybe ones that have Contained element also?

Appreciate any help and info.
Thank you,
Vlad

view this post on Zulip John Silva (Mar 31 2022 at 17:25):

Other folks here can give you better answers but there are FHIR operations like .../Patient$everything, that can return all the data associated with a patient that might make this easier. I'm not sure if HAPI supports this or not, best to ask HAPI-specific questions in the #hapi stream.
There is also "bulk export", which can be used to export a whole FHIR-server's worth of data; again not sure if HAPI supports this and this probably wouldn't be a good idea to attempt on the public HAPI server anyway.

If you are really looking for test FHIR data that is 'clinically correct' you might want to instead look at Synthea.
https://synthetichealth.github.io/synthea/

view this post on Zulip Lloyd McKenzie (Mar 31 2022 at 19:51):

You can certainly post your own data. If you want to get a sense of what "real-world" data looks like, you won't find much of that on 'test' systems unfortunately.


Last updated: Apr 12 2022 at 19:14 UTC