FHIR Chat · Transforming archetypes to Questionnaire and Logical models · openehr

Stream: openehr

Topic: Transforming archetypes to Questionnaire and Logical models


view this post on Zulip Diego Bosca (May 12 2020 at 14:19):

Made a couple of blog posts
From openEHR to FHIR Questionnaire http://standardsmania.blogspot.com/2020/04/generating-fhir-questionnaire-resources.html
From archetypes to FHIR Logical Models http://standardsmania.blogspot.com/2020/05/generating-fhir-logical-models-from.html

view this post on Zulip Jose Costa Teixeira (May 12 2020 at 14:23):

"for Logical Models we actually generate the 'snapshot' part of the StructureDefinition."
I create my logical models only by populating the differential. Do I read your post correctly?

view this post on Zulip Diego Bosca (May 13 2020 at 07:26):

Every example I've seen uses the snapshot, which in my mind makes sense as you are describing the full Logical Model. What do you complete a differential logical model part if it's a custom model? Or they are just virtually the same?

view this post on Zulip Jose Costa Teixeira (May 13 2020 at 07:31):

Logical models are defined by adding elements to a structureDefinition, starting (normallly) from an Element (or Base), so the snapshot is almost the same as the differential. When I create Logical models (by hand) i just stack elements to the differential.

view this post on Zulip Jose Costa Teixeira (May 13 2020 at 07:35):

here is one example - we may need to clean up, but you can see that differential and snapshot are the same (except the things inherited from Element - id and extension.
http://build.fhir.org/ig/hl7-be/be-core/branches/master/StructureDefinition-be-model-homecare-team.html

view this post on Zulip Diego Bosca (May 13 2020 at 09:43):

Ok, just assumed that both would be completely equivalent when dealing with external models. I actually use BackboneElement, as the base is not even a FHIR class


Last updated: Apr 12 2022 at 19:14 UTC