demographic archetypes

Bert Verhees wrote:

Hi Bert,

It is a strange thing, with the demographics-archetypes, and I would
hope to see an explanation why that is.
[...]
The Liu/java editor does not support them
[...]

The reason why the LiU Archetype Editor not support demographic archetypes
is simply lack of time for our implementer. But we are currently working
with a new version of the archetype editor, so it may change in the future.

  Regards,
  Mikael

Mikael Nyström schreef:

Bert Verhees wrote:

Hi Bert,


It is a strange thing, with the demographics-archetypes, and I would
hope to see an explanation why that is.
[...]
The Liu/java editor does not support them
[...]


The reason why the LiU Archetype Editor not support demographic archetypes
is simply lack of time for our implementer. But we are currently working
with a new version of the archetype editor, so it may change in the future.

	Regards,
	Mikael

Thanks, I tried to look at it myself, but I do not have much experience with the GUI-Java-classes that are used, it was too big for me to get this started as something to do extra.
So, good news it will be updated.

Thanks
Bert

Bert Verhees schreef:

Heath Frankel schreef:

Bert,
>From Ocean's perspective, it is simply a matter of priorities.  There are many existing identity management systems that are deployed and work, some even have trait based mechanisms similar to Archetypes.  We have concentrated our development effort in the EHR RM area as this is where openEHR brings something new and major benefits over existing EHR data models.  If we had endless resources we would do Demographics as well.


Maybe it is a good idea if we (community) can do it. The demographics
are in the specs defined as a necessary part of an EHR, and I think many
people will welcome an archetype-editor which is capable of doing
demographics also. It is a good signal to the world outside the
community to have this.

I wrote you an email separate, for some advise, it would be great if I
(and other developers) get support (if possible) to help to save time on
understanding the complexity of the current code-base for the archetype
editor. For, example, documentation, code-scheme's, easy-startup
understanding, needed libraries, etc.
Nothing is so frustrating as working a week on something and then
discovering that something essential is missing, or searching for days
for something that is just in another location.

The archetype-editor compiles in mono, without errors many files, maybe all vb and resource-files.
Except for one, a file missing-error and a file missing-warning.

I printed below the compiler output. I think, in this way, it is easier to help me for the people involved in this project.
I skipped a lot of the compiler output (all files in the same directories compiled without error)

Thanks
Bert

Bezig met hoofdcompilatie…
vbnc -out:“/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/bin/ArchetypeEditor.exe” -nologo -utf8output -win32icon:“/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/ocean-transparent.ico” -rootnamespace:“ArchetypeEditor” -define:“PaintBoundary=false” -imports:Microsoft.VisualBasic,System,System.Collections,System.Data,System.Diagnostics,System.Drawing,System.Windows.Forms -target:winexe -r:EiffelSoftware.Runtime, Version=6.0.6.9104, Culture=neutral, PublicKeyToken=def26f296efef469 -r:MagicLibrary, Version=1.7.0.0, Culture=neutral, PublicKeyToken=3a6eb82f876a49bc -r:OceanInformatics.AdlParser, Version=0.0.0.624, Culture=neutral, processorArchitecture=x86 -r:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/OTS/OTSControls.dll -r:/usr/lib/mono/2.0/System.dll -r:/usr/lib/mono/2.0/System.Data.dll -r:/usr/lib/mono/2.0/System.Design.dll -r:/usr/lib/mono/2.0/System.Drawing.dll -r:/usr/lib/mono/2.0/System.EnterpriseServices.dll -r:/usr/lib/mono/2.0/System.Web.Services.dll -r:/usr/lib/mono/2.0/System.Windows.Forms.dll -r:/usr/lib/mono/2.0/System.Xml.dll “-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/DataConstraints/GUI/IdentifierConstraintControl.resources,ArchetypeEditor.IdentifierConstraintControl.resources”
…
“-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/Terminology/openEHR_Translation.exe,ArchetypeEditor.openEHR_Translation.exe” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/ADL_Classes/ADL_Archetype.vb”
…
“/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/ADL_Classes/ADL_TranslationDetails.vb”
…
“/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/BusinessLogic/Duration.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/ADL_Classes/ADL_RmElement.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/AssemblyInfo.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/BusinessLogic/Archetype.vb”
…
“/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/BusinessLogic/EHR_Classes/RmParticipation.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/DataConstraintsView/ArchetypeView.vb”
…
“/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/DataConstraints/UriConstraint.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/Forms/ApplicationOptionsForm.vb”
…
“/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/GUI_Classes/Structure_Controls/TreeStructure.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/My Project/Application.Designer.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/My Project/Resources.Designer.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/My Project/Settings.Designer.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/OceanArchetypeEditor.vb”
…
“/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/TabPage_Controls/TermBindingPanel.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/TimeUnits.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/Web References/ArchetypeFinderWebServiceURL/Reference.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/XML_Classes/XML_RmElement.vb” “/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/XML_Classes/XML_Term.vb”
…
“/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/XML_Classes/XML_TranslationDetails.vb” “-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/DataConstraintsView/BooleanViewControl.resources,ArchetypeEditor.BooleanViewControl.resources”
…
“-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/DataConstraints/OrdinalTable.resources,ArchetypeEditor.OrdinalTable.resources” “-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/Forms/ApplicationOptionsForm.resources,ArchetypeEditor.ApplicationOptionsForm.resources”
…
“-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/Forms/WebSearchForm.resources,ArchetypeEditor.WebSearchForm.resources” “-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/GUI_Classes/Instruction_Controls/PathwayEvent.resources,ArchetypeEditor.PathwayEvent.resources”
…
“-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/GUI_Classes/Structure_Controls/TreeStructure.resources,ArchetypeEditor.TreeStructure.resources” “-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/My Project/Resources.resources,ArchetypeEditor.Resources.resources” “-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/TabPage_Controls/TabPageAction.resources,ArchetypeEditor.TabPageAction.resources”
…
“-resource:/home/verhees/OpenEhr/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/TabPage_Controls/TermBindingPanel.resources,ArchetypeEditor.TermBindingPanel.resources”
Error : VBNC2001: file not found: Version=6.0.6.9104,
Error : VBNC2001: file not found: Culture=neutral,
Error : VBNC2001: file not found: PublicKeyToken=def26f296efef469
Error : VBNC2001: file not found: Version=1.7.0.0,
Error : VBNC2001: file not found: Culture=neutral,
Error : VBNC2001: file not found: PublicKeyToken=3a6eb82f876a49bc
Error : VBNC2001: file not found: Version=0.0.0.624,
Error : VBNC2001: file not found: Culture=neutral,
Error : VBNC2001: file not found: processorArchitecture=x86

[Task:File=, Line=0, Column=0, Type=Warning, Priority=Normal, Description=Het gerefereerde project ‘XMLParser’ kon niet worden gevonden in de oplossing.]

I wrote you an email separate, for some advise, it would be great if I
(and other developers) get support (if possible) to help to save time on
understanding the complexity of the current code-base for the archetype
editor. For, example, documentation, code-scheme's, easy-startup
understanding, needed libraries, etc.
Nothing is so frustrating as working a week on something and then
discovering that something essential is missing, or searching for days
for something that is just in another location.
  

The archetype-editor compiles in mono, without errors many files,
maybe all vb and resource-files.
Except for one, a file missing-error and a file missing-warning.

I switched to the BRANCHES tree. All the assemblies are there, but the
errors still occur.
I don't know what it means

Bert Verhees wrote:

So we need to use "vi" or "notepad" to create demographic archetypes,
and that won't change in short time. Maybe a "vim"-template for
syntax-coloring could help.

There is already a vim template for ADL. It's installed with ADL
Workbench, or you can download it directly from:

http://www.openehr.org/wsvn/ref_impl_eiffel/TRUNK/apps/adl_workbench/etc/vim/?rev=0&sc=0

- Peter

Hi Heath,

Stef,

I am referring to Enterprise Person Master Index (EMPI) systems, in particular those that implement or base their implementation on the OMG Person Identity Service (PIDS) specification, which is the trait-based approach I referred to. IHE also has profiles for Person Identification (PIX) and Person Demographics (PDQ). Most of these are flexible about the information that they maintain about a person and the information used to identify a person. Some examples include Sun eIndex and Initiate System. There is even an Eclipse Open Healthcare Framework implementation of the PIX and PDQ IHE profiles.

Heath

Dear Everyone,

I'm currently working on demographic archetypes for a Swedish national
project. Who has got experience from working with such archetypes? As I
understand things, there is limited tool support for demographics. Is
this correct?

Regards,
Daniel

Hi Daniel,

You migth want to have a look at the technical list, where this
subject was discussed recently.

Hi Daniel,
This is a bit hack but is a potential work around for the lack of tooling support for demographics archetypes based on an approach I have been using where I am looking to store demographics within an EHR model. You can model your demographics archetypes in the Archetype Editor using CLUSTER archetypes, then change the root type name and archetyped data structure attribute name and type name to the appropriate demographic model values.

For example an address archetype would have a root type name of CLUSTER and attribute of items of type CLUSTER. This could be changed to have a root type name of ADDRESS and attribute of details of type ITEM_TREE.

It should be possible to write a transformation between these CLUSTER and demographic type archetypes so that they can be converted in and out of the CLUSTER archetype file that can be used with the Archetype Editor. This is probably most easiest done using XML archetypes.

Ultimately it would be best to provide demographic archetype support within the Archetype Editor but this would require either funded or volunteer resources to be made available.

Regards

Heath

Hi Daniel,
I have looked into this a bit more and while I have been successful in producing a PERSON and ADDRESS archetype using my suggested approach, the transform for the PERSON archetype will be more complicated than I expected. Further investigation will need to be done.

Regards

Heath

Ultimately it would be best to provide demographic archetype support within
the Archetype Editor but this would require either funded or volunteer
resources to be made available.
    

I could do that, be still mono has a problem loading/compiling the
project, and I don't have a Windows-development machine.
(don't like to have one either).
So I wait until mono is improved regarding to this problem, or maybe,
some else already did it.

BTW, I wonder how ocean creates demographic archetypes, manually? It is
possible to do. I guess, creating a collection of demographic archetypes
is as much work as adding the feature to the archetype-editor.

Bert

Hi,

Hi Daniel,

You migth want to have a look at the technical list, where this
subject was discussed recently.

-------
The most useful demographic archetypes available will be Sergio
Freire's from Brazil - they are based on ISO 22220, and he has about
20 of them. He is just reworking some of the details, and said to me
while I was there recently that he will translate them into English
(using teh ISO 22220 names) and then make them available. I would
expect this set to become the base set for openEHR. They are easy to
build plug-in specialised archetypes for that contain e.g. braziliann
address, japanese address, etc - the bits that vary.

- thomas beale
-------

As an update to this message, I have translated those archetypes to
English and have sent them to the openEHR Foundation. While they are not
available through the foundation, I can provide the set to you.

The first time I made them available was on September, 2008. Since then we
updated the archetypes to the newest version of ISO 22220 (it is not
published yet), 'refactored' some of them to make them more
'internationalised', and made them follow the latest version of openEHR
RM. We used not only ISO 22220, but also ISO provider identification
standard and our own experience.

Of course, any feedback on them is very welcome.

Question is: is the review process for
(demographic) archetypes within openEHR sufficiently up and running
and is the openEHR review board willing to coordinate this? If yes how
should we go about from here?

This is also my question.

As far as tooling concerns. Sergio's archetype can at least be opened
in the OI workbench. For the creation one has to be a bit more
'creative'. This easiest way is to make them by hand (just type them
in a texteditor and change the extension of the saved file to .adl
works for me. One can start with Sergio's AT as an example).
Maybe we should even be bothered by the technical aspects. Let's just
write down the requirements. I'm sure there are some technical people
out there who are willing to make a valid AT out of that. Once the
requirements are defined properly it's not a lot of work.

We have been using a text editor to create most of those archetypes and
the ocean archetype editor to create those based on CLUSTER or any
subclass of ITEM_STRUCTURE.

However I also agree with Stef that most important of all is what are the
requirements that those archetypes should meet?

Cheers,

Sergio

Hi sergio,

The first time I made them available was on September, 2008. Since
then we
updated the archetypes to the newest version of ISO 22220 (it is not
published yet), 'refactored' some of them to make them more
'internationalised', and made them follow the latest version of
openEHR
RM. We used not only ISO 22220, but also ISO provider identification
standard and our own experience.

Of course, any feedback on them is very welcome.

Great. Is this the same set that I received from Heather or has things
changed since then.

Is it an idea to form a separate group to create the first official
basic demographic archetype set which can be widely used.

In that case I also would like to hear from the review board/ Tony
Shannon how to proceed.

As a seperate question to Tony: you're the new chair now for almost 6
months. Can you provide us with some views/ outlooks of what is going
to happen in 2009 and beyond. Are there any plans/ ideas to set up an
official (top level?) archetype repository so that one unified set of
archetypes is being created. If such a thing isn't installed quickly
we run into a big risk that everbody starts using their 'home brewed'
archetypes. In that case interoperability will be lost and if one
wants to create that we have to harmonise/ map all those archetypes a
few years from now. I can't imagine that's the idea behind openEHR.

Cheers,

Stef

Hi Stef,

Your second question is very important. Could you possibly ask it
again in it's own thread as I think it is too important to be hidden
amongst the demographic archetype thread?

Ian

I've posted it again under the name '2009 and beyond'.

Cheers,

Stef

Stef heb jij die archetypes?

GERARD

– –
Gerard Freriks, MD
Huigsloterdijk 378
2158 LR Buitenkaag
The Netherlands

T: +31 252544896
M: +31 620347088
E: gfrer@luna.nl

Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety. Benjamin Franklin 11 Nov 1755

Hi Stef,

If the set you have is dated December 2008, then it is the last one I sent
to Heather.
Since then, based on private e-mails and my own inspection of the
archetypes, I corrected some small mistakes that are not detected by the
archetype workbench. Before sending them again to Heather I am waiting for
further instructions on how to proceed, how the governance of archetypes
will be, etc.

We also think of those demographic archetypes as a starting point. There are
some concepts behind them that must be clarified or even changed, several
issues that arose when we started conceiving them that may lead to changes
and maybe new requirements that may make necessary to expand the set.

We are happy to share experiences and ideas.

Cheers

Sergio

-----Mensagem original-----

Hi Sergio,

If the set you have is dated December 2008, then it is the last one
I sent
to Heather.

In that case I have the latest version. Thanks for sharing.

Since then, based on private e-mails and my own inspection of the
archetypes, I corrected some small mistakes that are not detected by
the
archetype workbench. Before sending them again to Heather I am
waiting for
further instructions on how to proceed, how the governance of
archetypes
will be, etc.

What I just found out is that within the openEHR Clinical knowledge
manager (http://openehr.org/knowledge/) it's possible to work together
on archetypes and to control the different versions/ branches/ etc.
For know I don't know who decides which archetypes can enter the CKM/
who physically does that.

We also think of those demographic archetypes as a starting point.
There are
some concepts behind them that must be clarified or even changed,
several
issues that arose when we started conceiving them that may lead to
changes
and maybe new requirements that may make necessary to expand the set.

So let's start with it. I've asked Sam Heard if it's possible to enter
your latest set into the CKM but as said, I don't know if he's te
person to decide/ do that.

We are happy to share experiences and ideas.

Good to hear.

Cheers

Sergio

Cheers,

Stef

Stef Verlinden wrote:

What I just found out is that within the openEHR Clinical knowledge
manager ([http://openehr.org/knowledge/](http://openehr.org/knowledge/)) it's possible to work together
on archetypes and to control the different versions/ branches/ etc.
For know I don't know who decides which archetypes can enter the CKM/
who physically does that.


That’s right…it’s a beta and feel free to report any issues via the jira links in the About menu.
Any “editor” of a team in CKM can upload new archetypes to CKM.
For now, the easiest is for Heather to coordinate this, but as it will get bigger, there may be more editors working in parallel.
At the moment Archetypes that are uploaded should be a little bit mature even if they are of course still drafts.
You’ll notice the states an archetype can have …draft, under team review, published, (and obsolete and rejected)
We are looking into creating a more or less separate space for very initial archetypes in the future.


We also think of those demographic archetypes as a starting point.
There are
some concepts behind them that must be clarified or even changed,
several
issues that arose when we started conceiving them that may lead to
changes
and maybe new requirements that may make necessary to expand the set.


So let's start with it. I've asked Sam Heard if it's possible to enter
your latest set into the CKM but as said, I don't know if he's te
person to decide/ do that.

Demographic model archetypes should actually upload if they are correct ADL (parsable by the Java ADL Parser).
I tried some of Sergio’s archetypes on a test system and unless there was an error in the ADL that works fine.

However viewing demographic model archetypes as HTML, mindmaps, as well as reviewing them is not yet fully implemented.
Given the current interest in demographic model archetypes, we will soon implement full support for them in CKM.
We are also likely to separate them a bit more from the EHR model archetypes to avoid confusion.

Cheers
Sebastian