FHIR Chat · GoFSH fails on Synthea R4 data? · shorthand

Stream: shorthand

Topic: GoFSH fails on Synthea R4 data?


view this post on Zulip John Silva (Feb 26 2021 at 22:33):

When trying to use the GoFSH [goFSH v1.0.0 (implements FHIR Shorthand specification v1.0.0)] on some Synthea R4 downloaded JSON files it keeps coming up with this error:

info  Checking local cache for hl7.fhir.r4.core#4.0.1...
info  Found hl7.fhir.r4.core#4.0.1 in local cache.
info  Loaded package hl7.fhir.r4.core#4.0.1
info  Processing Instances...
info  Processed 1 Instance
info  Optimizing FSH definitions to follow best practices...
error Could not write to output directory: Cannot read property 'length' of undefined

I've tried a few JSON samples from this Synthea R4 dataset:
https://storage.googleapis.com/synthea-public/synthea_sample_data_fhir_r4_sep2019.zip 1K Sample Synthetic Patient Records, FHIR R4[mirror]

April374_Gerhold939_e3c6cb9c-5f13-4d78-bc38-d7c005346389.json
Will178_Lang846_4c4d682d-d436-4bd3-a618-d1fd388b583d.json
Williams176_Carter549_3707a5a8-088e-46d8-8744-bb6d4c28b52a.json

view this post on Zulip Chris Moesel (Mar 01 2021 at 22:43):

Hi @John Silva. Thanks for the details. I was able to reproduce the issue. We'll take a look to see what's going on!

view this post on Zulip Chris Moesel (Mar 01 2021 at 23:06):

OK. So the good news is that we've actually already fixed this. The bad news is that the fix is not yet released. But... we expect to release it in the next couple of days!


Last updated: Apr 12 2022 at 19:14 UTC