Stream: implementers
Topic: FHIR Example Generator
Dave Henderson (Oct 26 2018 at 10:49):
Hi all,
As part of our API builds we include examples of payloads, but creating these can be quite time consuming for large APIs. Before I go and look at either off the shelf options or investigate creating a bespoke tool, does anyone use such a tool to create payload examples for profiles ? I'd like to have a source of data that I can map to. I'm looking at Altova MapForce which seems to work very well, but seems excessive for this task. Are there any other options available ?
Cheers
Michel Rutten (Oct 26 2018 at 11:03):
Hi @Dave Henderson, are you familiar with Synthea?
https://github.com/synthetichealth/synthea
Dave Henderson (Oct 26 2018 at 12:29):
Hi Michel,
I did briefly look at this. My only concern was the source data would not be suitable for use within England, but it could be an option to get some data that's universal.
Grahame Grieve (Oct 26 2018 at 13:10):
the notepad++ plug-in generates examples from profiles. And you can also get them from test.fhir.org calling $generate on a structure definition
Jason Walonoski (Oct 29 2018 at 13:24):
Synthea has a simple tutorial on how to generate data outside the US. Mostly a manual process -- you need to provide data about the population. See https://github.com/synthetichealth/synthea/wiki/Other-Areas#abridged-example-for-shrewsbury-shropshire-united-kingdom
Last updated: Apr 12 2022 at 19:14 UTC