Site icon Hay on FHIR

Implementation Guide viewer

Just a short post to describe some updates to the Implementation Guide viewer (which I’ve renamed from ‘profile viewer’ as it was described in this post.) Thanks to some comments in the FHIR chat from my friend John Moehrke I’ve done some work on the ‘Graph visualizer’ component of the viewer.

The idea is to make it easier to understand the contents of an Implementation Guide, and the relationships between them. Currently limited to Profiles, Extensions & ValueSets – but no reason why it couldn’t be extended (or won’t be 🙂 ).

To take a look, start clinFHIR and select the Implementation Guide view (as described in the previous post – remembering the name change).

If you load the CareConnect Implementation Guide (which is the one I’ve been working with), you’ll see a (small) graph to the right hand side. It is certainly possible to work with this graph (though it is a bit cluttered), but it really becomes useful when you limit the view. To do so, expand the ‘Profiles’ accordion to the left, and select one of the profiles – say Condition.

The graph in the middle shows the Condition profile as a central node, all of the resources that it references (ie the direction is from the Condition profile to the other resource), and the connections between them.

Selecting a node will show a few basic details about that node in the lower right (url & description). Depending on the node type (more on this in a minute) there will be other options:

Selecting one of the arrows (representing the references between nodes) will show the paths from the source to the target resource in to the lower right (Only a single arrow is shown, regardless of the number of references between any two nodes, otherwise the graph is overly cluttered).

The actual contents of the graph can be changed using the check boxes to the upper right. Options are:

Here’s a shot of the Condition profile, showing all related profiles and ValueSets

Here it is showing the ‘extended family’:

You’ll definitely need to zoom to see detail – here’s an example:

There are still a number of enhancements planned – for example the ability to actually edit the Implementation Guide but even in its current form it’s useful to help see what is in an Implementation Guide. I’m also not going to guarantee that it is correct! (More testing would be a real help 🙂 )

If you do want to try it out on another Implementation Guide, then loading one on a FHIR server (making sure all the referenced resources are also on the same server – ValueSets on the Terminology Server) and setting that server as the Conformance server ought to work. I’m pretty sure that there will be plenty of issues with Implementation Guide’s that I haven’t created so let me know of any issues. Also so far I’ve only used the STU2 version of the IG.

Note that there’s also a potential problem with storage – all the resources are saved in the browser cache to improve performance, so a large Implementation Guide will likely overflow that cache (you’ll get a message and the chance to clear the cache, but it needs to be properly fixed).

 

 

Exit mobile version