Site icon Hay on FHIR

GraphBuilder and R5

Just a short post to follow up on using GraphBuilder for building examples.

To help support people building R5 examples for connectathon, I’ve added the ability to select the version of FHIR to use for the graph. Currently the R4 and R5 draft release are supported (as these are the versions that sushi supports).

To set the FHIR version for your project, create a new project and select the FHIR version at the bottom of the form. This has a number of consequences:

Some things to be aware of.

The other change I’ve made recently is to make it easier to manually insert references into the FSH (from the FSH Editor screen). There are areas where, right now, the way in which references are inserted through the User Interface needs a bit of attention. For example, when creating a Document you can add a new section to the Composition (using the Backbone elements tab from the main screen) but that allows only a single resource to be referenced. You can always edit the FSH directly to add others, but it’s a pain to get the target resource id.

Now, there’s a tab in the FSH Editor where you can add a reference by selecting the resource from a list. You’ll need to figure out the path yourself, but at least it’s easier than the previous way. (and a reminder that the FSH supports soft indexing, which makes it easier to insert multiple elements – like multiple references in a Composition.section). What I’ve found seems to work well is to insert the reference, then edit the FSH directly to set the element.

As always, if you have issues then contact me in the FHIR chat.

Exit mobile version