Stream: openehr
Topic: How to create a fhir profile similar to an openehr archetype
Pranitha Sruthi (Jun 08 2017 at 10:02):
Hi, I want to create a FHIR profile equivalent to an examination archetype (using the resource Observation) on openEHR to capture the information of various types of examination (for example, Examination of a burn etc.). Kindly help me. Thanks in advance
Grahame Grieve (Jun 08 2017 at 10:23):
well, that's on my schedule for the next few weeks, to do with @Thomas Beale and @Ian McNicoll, but I'm waiting for @Claude Nanjo to give me some code before getting going .
Pranitha Sruthi (Jun 08 2017 at 11:14):
Ok could you please help me?
Pranitha Sruthi (Jun 08 2017 at 11:18):
Actually, the archetypes have some items and items in turn contain clusters. So, if I create a fhir profile,how can I attach a cluster to my fhir profile?
Grahame Grieve (Jun 08 2017 at 12:35):
you can't, directly
Pranitha Sruthi (Jun 08 2017 at 12:38):
Then how can I do it?
Ian McNicoll (Jun 16 2017 at 13:17):
@Grahame Grieve - I looked at the AllergyIntolerance resource to see how multiple Reaction details are handled (an internal cluster in openEHR) this seems to be represented by a BackboneElement in FHIR which, if I understand correctly is untyped, acts like container i.e can have child elements. if so does cluster not map to BackboneElement.. or ??
Grahame Grieve (Jun 16 2017 at 13:23):
it's analogous in some ways but not others. In particular, it's a fixed set of elements
Vladimir Smirnov (Sep 19 2017 at 10:05):
@Grahame Grieve your work on mapping archetypes to profiles may not be finished, but could you already tell a little more on this? We are developing an EHR, and now is the time to choose the data model. The alternatives are a custom in-house model, and an OpenEHR-based one, both under requirement of mapping the data to FHIR. Since you started the mapping tool project, there must be an approach that you believe could work. If developed properly, how successful could it eventually be?
Grahame Grieve (Sep 19 2017 at 12:15):
well, how successful? whether it can be mapped at all depends on whether the archetype contains different and incompatible decisions with the contents of the resources in FHIR. And sometimes, that's the case - for various reasons, the community has decided to handle the same challenge quite differently, and it's not something you can overcome with mapping.
Grahame Grieve (Sep 19 2017 at 12:16):
a good example of this is the difference in the way that 'no known allergy' or 'no known allergy to X' is handled between openEHR and FHIR - for infrastructural / architectural reasons, these are represented quite differently
Grahame Grieve (Sep 19 2017 at 12:17):
what this means is that some things can't be mapped. And the openEHR community can't go off and made decisions in a vacuum - nor can the FHIR community ignore openEHR comments. (we try not to ignore any comments)
Grahame Grieve (Sep 19 2017 at 12:20):
ok, having crossed that barrier, it's my expectation that a combination of general mapping rules, and specific mark up in archetypes (as the source) will enable the automated generation of FHIR profiles.
Grahame Grieve (Sep 19 2017 at 12:21):
the question that endures is: does that leave so much mark up in the archetype so as to be unmanageable? That we will have to find out....
Thomas Lukasik (Sep 21 2017 at 01:28):
Perhaps direct mapping is the wrong way to approach the co-mingling of openEHR Archetypes and FHIR Resources? If @David Booth is listening in, i'd ask him to please speak to RDF's potential to help in this situation by "standardizing the standards" as the Yosemite Project promises RDF is able to do. I'd like to know whether or not the idea of using RDF to bridge the gaps between Archetypes and Resources has any merit, and if not, I'd be curious why, since that capability seems to be a key aspect of the Yosemite Project. ~ TJL
Grahame Grieve (Sep 21 2017 at 01:34):
my perspective on that is that there's 2 different choices here:
- mapping by decoration from the side vs mapping as a core property of the source
- the syntax in which you express your mapping
Grahame Grieve (Sep 21 2017 at 01:34):
the first is more important then the second
David Booth (Sep 26 2017 at 01:36):
Excellent question. We had some discussion about this in May: https://www.w3.org/2017/05/30-hcls-minutes.html @Claude Nanjo and Eric Prud'hommeaux (W3C) were working on defining a use case, and we have been trying to schedule an opportunity for further discussion with @Thomas Beale and others about it on our weekly FHIR RDF call. @Claude Nanjo set up a doodle poll to help find a date, but it has not yet been scheduled. Claude, do you have some dates to suggest?
Ian McNicoll (Oct 07 2017 at 17:01):
@Vladimir Smirnov - sorry coming a bit late to this conversation. I a,m interested in your project and have been in conversation with Grahame and others about potential mappings between openEHR and FHIR. My company has just kicked off a small open source project to develop mappings between openEHR and the UK-Care-connect FHIR profiles based on HAPI-FHIR. My take is that for most of the more concrete resources eg. Allergies , conditions etc there is just a bit of a one-off hack to do the transforms. The tricky aspect is always going to be the semantic questions (as per Grahame's 'no known allergies' example) not the technical coding.
Obviously being able to do this work once for a broad aspect of the openEHR community will substantially reduce the effort overall, bearing in mind that the actual transforms are going to be between openEHR templates and FHIR profiles with quite a bit of localisation.
The more generic FHIR classes like Observation do provide an interesting opportunity to do something more interesting around automation, with the more concrete openEHR Observation archetypes being used to auto-create FHIR Observation profiles.
Thomas Lukasik (Oct 11 2017 at 23:07):
My company has just kicked off a small open source project to develop mappings between openEHR and the UK-Care-connect FHIR profiles based on HAPI-FHIR.
@Ian McNicoll Has your company's "small open source project" been made public yet, and if so, could you please provide a link to it's repository?
Thanks,
Thomas
Ian McNicoll (Oct 16 2017 at 09:01):
Hi @Thomas Lukasik
We are not quite ready to share the code ;( Needs a bit of work but I will ping here when it is up on a git repo.
Ian
Kevin Mayfield (Oct 16 2017 at 13:59):
@Ian McNicoll have you done work on observation mapping’s to Fhir - mostly interested around snomed codes you’ve used.
Thomas Lukasik (Oct 16 2017 at 15:45):
Hi @Thomas Lukasik
We are not quite ready to share the code ;( Needs a bit of work but I will ping here when it is up on a git repo.
Ian
Thanks @Ian McNicoll.. I'll be looking forward to a glimpse at that solution.. and if there is anything that I can do to help the effort in the meantime, please let me know.
Thomas
Diego Bosca (Jul 03 2018 at 15:28):
How crazy would it be to create profiles from generic FHIR resources for each entity in an archetype and share them as bundles?
Grahame Grieve (Jul 03 2018 at 20:01):
it woudn't be that crazy to create profiles for archetypes. @Ian McNicoll and I are going to set up a general infrastructure for that some day
Grahame Grieve (Jul 03 2018 at 20:02):
I'm not sur about the each entity and the bundle bit - those sound like packaging granularity questions
Ian McNicoll (Jul 03 2018 at 20:15):
Focus on observations. Loads of concrete archetypes begging to be used to profile generic fhir observations. @Diego Bosca let's talk
Last updated: Apr 12 2022 at 19:14 UTC