Stream: shorthand
Topic: GoFSH and R5
David Pyke (Mar 08 2022 at 16:33):
I'm trying to update examples for an R5 resource and would really like to do it in FSH. Can GoFSH handle R5 or will I be converting manually?
Chris Moesel (Mar 08 2022 at 16:49):
GoFSH should be able to handle R5. Let us know if you run into any issues.
David Pyke (Mar 08 2022 at 16:50):
I'm trying to convert the current R5 Consent examples with GoFSH and there are a number of elements being dropped. How do I tell GoFSH that it's R5, not R4?
Chris Moesel (Mar 08 2022 at 18:30):
Ohhh... GoFSH figures out the version of FHIR by looking at the ImplementationGuide
resource (if available) or looking at the SD/CS/VS resources (since they have fhirVersion
properties). Since Consent
doesn't have a fhirVersion
property, there's not much for GoFSH to go on.
You can solve this by throwing in a minimal ImplementationGuide.json
file (ideally specifying id
, name
, url
, version
, status
, and fhirVersion
) or by throwing in a minimal profile (since it has a fhirVersion
).
Chris Moesel (Mar 08 2022 at 18:31):
We should consider adding an argument for specifying the FHIR version. Looking at the code right now, I'm also realizing it might not work quite right with FHIR R4B.
Chris Moesel (Mar 09 2022 at 20:41):
Last updated: Apr 12 2022 at 19:14 UTC