Stream: conformance
Topic: Conformance to IG/Profile
Brian Postlethwaite (Aug 29 2018 at 04:50):
Has anyone done any work in comparing 2 profiles to check for compatibility.
E.g. to test that the Profile for a resource in an application conforms/is compatible with a profile from an IG.
Brian Postlethwaite (Aug 29 2018 at 04:50):
(My secret other goal for this is to also test that when the IG changes, I can verify that my apps profile remains consistent, and update it as required)
Michel Rutten (Aug 29 2018 at 08:40):
Ha, very interesting! We had an intern at Firely who did some research on determining/rating similarities in between profiles. Not quite a simple problem. Conclusion: "we need more research" ;p
Stefan Lang (Aug 29 2018 at 16:24):
That's mostly the same problem we discussed at the last Amsterdam DevDays in a stuffed BoF. Basically same conclusion...
Jason Walonoski (Aug 30 2018 at 13:10):
@Brian Postlethwaite I did this a few years ago. Here is the code (in Ruby): https://github.com/fhir-crucible/fhir_models/blob/master/lib/fhir_models/fhir_ext/structure_definition_compare.rb
It hasn't been updated in a while (over a year), but it used to work fairly well. I'll update it when R4 is eventually released.
Brian Postlethwaite (Aug 30 2018 at 13:15):
Thanks @Jason Walonoski Wallace I'll take a look at the logic.
Grahame Grieve (Aug 30 2018 at 20:48):
I was intending to publish a tool to do this by today, but publication related issues keep dominating my time. But I'm close to getting it done - I just have to figure out how to handle comparing different slices....
Last updated: Apr 12 2022 at 19:14 UTC