Site icon Hay on FHIR

Building a profile in the new clinFHIR

So I had a question from someone who was wanting to develop some profiles using clinFHIR and not sure of the best way to approach this. I’ll write in more detail later on, but as there has been a substantial change in process and User Interface from the previous version, I thought I’d just do a quick post about how the new process is intended to work.

Because the focus is really on helping folk new to FHIR rather than being a comprehensive profiling tool (use Forge for that), the starting point is a Logical Model, from which the real profiles can be generated. To do this, there are some constraints in the way that the logical models are created – and the generated profiles themselves cover only a small subset of the profiling functionality that FHIR supports.

There are a number of clinFHIR modules that you can use for this. These include:

Here’s a link to a bit more detail, and here are some videos

So the overall process goes something like this (assuming you are wanting to profile a single resource).

If you want to create a new ValueSet to bind to a coded element – either an extension or a core element, then you have a couple of options.

The ValueSet builder is good for building simple SNOMED based ValueSets, and the CodeSystem builder is useful for ‘ad hoc’ code systems (it automatically builds an associated ‘select all’ ValueSet), good when you just want to put something together to illustrate a point, or to list the potential values and have someone else find them in SNOMED. Note that there are much more advanced tooling available for building ValueSets – like Ontoserver for example

You don’t need to use clinFHIR to create the extension definition (or you shouldn’t), but you’ll need to upload them to the Conformance server yourself.

As always this is a work in progress – I’ve only just got the basic functionality working so there’s a way to go before it is robust enough for use (with the May ‘Clinicians on FHIR’ event at the next Working Group Meeting being the deadline) but I did want to let people know the development direction. The scenario builder in particular right now will choke on complex extensions at the moment, and support for the more complex resource types (like CarePlan) need some attention (though it will now save resources to the Data Server).

I intend to add a bit more capability to the profile generation – in particular simple slicing – but it will never be a match for Forge! I also intend to connect the Extension definition builder to Simplifier – so that Extension Definitions you create can be easily saved there, and also to enhance the ‘find an extension definition’ capabilities – this will be really important moving forward to minimise the creation of extension definitions that represent the same thing.

But I think (hope) this is going to represent the ‘final’ version of clinFHIR (from an overall functionality / UI perspective)!

This is really short description, I’ll do a longer post – or maybe a video – when the dust has settled on the FHIR QA process!

Comments welcomed…

 

Exit mobile version