Thomas Beale schreef:
Bert Verhees wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Beale schreef:
Bert Verhees wrote:
I noticed that in the code I use, the class Archetype is immutable (no
setters, only betters)
I also noticed that in, f.e. in Visual basc written Archetype Editor
from Ocean Informatics, there is a class ADL_Archetype (this has
setters), which inherits from class Archetype, but also the ancestor
has setters. So the ArchetypeEditor has a lot more
setter-functionality, this is of course very explainable.
I wonder, could the code-concepts be used to generate Archetypes from
HL7 XML/XSD-files.
I don't think so. We are studying this....my thinking so far:
* the structural design of HL7 RMIMs (and therefore any derived
expression in XML) is heavily influenced by the HL7 RIM; it would be
quite difficult to do a machine transformation from such structures to
openEHR structures
* different RMIM designers do their own thing, and there is often
limited commonality of structure in HL7 messages designs for components
that are logically the same
* the fine-grained attribute design of HL7 is very problematic - mapping
from all the Act, Act_relationship and Entity attributes to other models
poses a lot of problems.
* Now that I have reviewed some of the NHS RMIMs, there are a lot of
problems apparent, many due to HL7.
Ultimately the problem comes down to this: to get a good archetype, you
need good quality clinical and/or domain expertise - i.e. a human being
- who has deep knowledge of the reference model that the archetypes are
based on. So rebuilding proper archetypes from HL7 structures is more
likely to be done by a review team rather than writing a computer
program.
Why, I don't understand. In fact HL7 are just data in a structure.
The data are delivered in XML-files, and if there are archetypes with
the same structure, the data can just fall in place.
I know this is not nice, and could have been done better by a domain
expert. Everything that can be done, can be done better.
Bert,
I might have misunderstood you - maybe you want to create archetypes
based directly on the RIM. This is possble. No-one else is doing it, or
probably will do it (because of the poor design of the RIM for EHR and
related data), and there are no tools. But...the archetypes could be
written by hand, and the Java ADL parser should process them properly.
Is this what you want to do?
Yes, that is for the time being what I want to do.
Here in the Netherlands is the majority of all involved people in
opinion that HL7 RIM does not suffer from poor design.
But, there is no public discussion about this, and most people do not
know what one or the other thing in fact is.
That is, what I want to mention, in between: OpenEHR needs marketing!!!
But anyway, at this way, I do not oppose against this majority who
thinks HL7 is the best thing, and I implement OpenEHR, the wort of both
worlds?
Maybe, but with opportunities to grow to something better, which is not
yet planned.
One thing extra, the parsing of the DMIM-XSD's used in the Netherlands,
lead to 994 Jaa-classes. Thus, in fact, 994 archetypes, this can only be
done by generating, in such a short period of time I have.
So I want to write this generator in two or three weeks, maybe ugly
code, but it will work, and be based on OpenEHR 0.95.
This is because, it is what I have, and I have it complete, including
object relational layer for database.
Later I want to migrate to a more recent version, the migration path
will be very easy, a brilliant idea of Goran.
Because my archetyes can be imported from, and exported to HL7, I can
export them, use a new kernel and import them again.
Maybe at that time, some better modelling can take place, and some
tricks to get the data in other archetypes during the migation-proces
That is about it.
Thanks for your confirmation that HL7 DMIM data can be stored/restored
in/from OpenEHR
Bert