Site icon Hay on FHIR

More on FHIR Logical Models

So a couple of weeks ago I posted on a new component that has been added to clinFHIR – a tool that will generate Logical Models – models of something that uses the FHIR infrastructure but doesn’t generate ‘real’ resources. The idea is that it is used as a requirements gathering tool when when interacting with clinicians to describe what information and processes are needed to meet some interoperability related need.

Since then, we’ve added a few new capabilities to the tool, and also further refined how it can work with the other clinFHIR components to provide an ‘end to end’ solution that starts with an idea, and ends with the various FHIR resources (profiles, valueSets, extension definitions etc) that will be needed. This post starts a ‘mini series’ that describes how this could work (and do note that this is just my idea – there are lots of other ways that this could be done).

I’ve also got in the back of my mind the FHIR Devdays in a couple of weeks where I’m leading a clinician related track – this will help flesh out what we’ll be doing there.

Let’s start with the new functionality in the modeler.

(There are screenshots of some of these tabs at the bottom of this post)

It also occurred to me that the modeler could be of value to a couple of other types of user:

But back to the original purpose of the modeler – collecting requirements for creating proper FHIR profiles. How would the overall process work? I can imagine a number of steps.

The first step is to document the business requirements – what are you wanting to do. There will likely be aspects of workflow and/or process involved in this step, but the parts we are focusing on here is the information that needs to be shared – and there could potentially be more than one model we need. Domain knowledge is required for this step, and there isn’t (currently) any tooling in clinFHIR to help.

The next step is to use the logical modeler to create a structured representation of the information to share – the model. This could really be done by anyone – you do need to be familiar with the FHIR datatypes, and ideally the basics of FHIR (especially referencing between common models/resources) but really domain knowledge is the most important.

You also need to decide if you are modeling what will become a single resource (eg an allergy intolerance) or a collection of resources – like a list, document or message. In the latter case you might want to split the design up into a number of referenced models to make the next stage simpler.

This step can take some time as getting agreement from multiple people is not always straightforward – hopefully the ability to make comments against the model will help here.

There are a number of outputs from this stage.

The final (almost) stage is to create or locate the FHIR artifacts – ValueSets, Profiles and Extension Definitions that represent the models in FHIR-space. Right now this will largely be a manual process using tooling (either in clinFHIR or Forge) and will need to be done by someone who understands FHIR reasonably well. However, it may be possible to automate the process (possibly using Grahames mapping proposal) by constraining how the modeler works – this needs more work though. And do note that Forge is much more comprehensive than clinFHIR. It may be that you use clinFHIR in the early stages to get the artifacts ‘mostly’ right (or exemplars of what you want), then Forge to complete them.

My guess is that there will be a ‘feedback loop’ at this point right back to the original model as the process of mapping to FHIR resources will likely produce suggestions that may not have been considered in the first stage – after all, a lot of people have contributed to the FHIR resources! So there will be one or more ‘cycles’ of development until the FHIR artifacts are finalized. There’s currently no direct link between the model and the FHIR profile – something to work on.

So I think that’s enough for a single post. In the next installment, we’ll take a logical model (probably Adverse Drug Reactions) and think about how we’ll generate the real FHIR artifacts from that model.

In the meantime, here are screen shots of the main parts of the modeler as a reference.

The main screen with the ADR Model selected

The mind map: (colours & icons still need attention)

The table view – with the comments tab selected

Coded elements summary

Exit mobile version