Williamtfgoossen@cs.com wrote:
In een bericht met de datum 12-9-2005 3:41:30 West-Europa (zomertijd), schrijft Thomas.Beale@OceanInformatics.biz:
Hi William,
we would have preferred to be able to do this. But as we (and many others) have studied the problem over the years, the HL7 RIM looks less and less likely as a design basis for EHR information, including Instructions. Some of the problems (relating to just this topic) include:
Hello Thomas,
I agree with your points below (your comments TB, mine WG), this is still an issue to be worked out. Part of the solution of this however is dealt with on the D-MIM level. Perhaps you have not looked at the care provision D-MIM recently. It does include more detail for the clinical stuff that goes in the documentation. Of course the D-MIM has both the ontologies below. However, at R-MIM specification it is possible to distinghuish between them. In particular the careplan section does describe the information about what to document. It are mostly classes in intent mood: so telling what eventually to do. The other example is the event message in wich the actual observations, including time, value etc. are expressed.
TB:
t
he lack of clarity over whether the RIM is an ontology of information or an ontology of reality (in other words: is Observation a model of some information documenting observations, or a model of an Observation process/act itself?). The HL7 documentation contains numerous conflicting statements about this.
WG: I have never gone through all of these detials at this stage, merely because I work through the modelling use case by use case and find solution per needs basis. Until now we have been able to include a lot of stuff that clinicians want.
Hi William,
my concern here is that while you can "have what you want" by deleting inconvenient attributes where you feel like it, cloning others, renaming and so on, you are always in the business of building a new schema while doing this. Every such exercise is a new schema. This is not a good basis for building generic tools - neither to handle the clinical models (which are effectively embedded in the RMIM level) nor the information. How can one one piece of software for 2 messages when the Observation class from the RIM has been mutated in two different ways in each message? It might still be called Observation, but it won't be the same class in each. Message definitions just are not the right place to be doing clinical modelling.
TB:
t
he RIM doesn't clearly take account of workflow thinking, which we believe to be the sensible basis for modelling a) specifications of future acts and b) their execution. In particular, the modellig of future acts needs to include the primitives: activities, timing, triggers, plus the ability to archetype all this so as to connect a generic workflow representation to specific clinical workflows.
WG: Well, this is not completely through. Yes for the RIM, no for the HL7 standard. Basically we deal with two key features of clinical information: the what = the structures (data, documentation, values) and the dynamics. The RIM with the D-MIM and R-MIMs helps to model structure. The UML notations as sequence diagrams and activity diagrams help to model the dynamics. It is very much feasible to analyse these seperately, model each in appropriate tools and finally integrate at higher model level and system/message level.
I will be very interested to see how this all gets re-integrated smoothly...
TB: The problem with the RIM is that it mixes such protocol notions with content notions.
WG: Well yes the RIM does, but conceive the RIM as your big box with virtual lego bricks, and the D-MIM as the space shuttle you built from it (without missing the last 5 atomic bricks, due to virtual unendlessness). From this analogy, the D-MIM can serve this purpose because both the protocol or guideline can be made explicit and linked to one single act / observation, or to a complex set of this, compared to the content itself as unrolled in the different observation classes needed.
I should have been clearer here - I meant 'protocol' in the IT communications sense (as in http, ftp etc) not in the medical sense.
TB: And to make things more difficult, there are many attributes in Act and
Act-relationship which don't make sense in those classes, only in instances of particular subclasses - these attributes are simply there so they can be removed during RMIM development. This makes it hard to use the model in normal object-oriented development.
WG: Well, we do have experiences now with three vendors that built their record systems based on the Care Provision D-MIM (as mimicked with some adaptations), and hundreds of R-MIM / CMET / GPIC / archetype / template examples in a relational database. The Care Provision Model serves as the CEN 13606 RIM, but then in proper HL7 v3 modelling, allowing entries and groupings of clinical documentation. The R-MIM / CMET / GPIC / archetype / template examples just fit in the slots in the XML message (CDA level 3 somewhere halfway), and is the specification for system development (storage, business logics like calculations, conditional execution, user interface).
WG
I believe it has the strength of your excellent new design to distinghuish between the systems operations and the expression of the clinical content, and the strength of the HL7 standard to guarantee semantic interoperability between more parties than 1 to 1, which is in my opinion the key flaw of the CEN 13606 and OpenEHR approach: every party willing to exchange documents / information must seek agreements with the receiving parties again on which archetypes to use / develop, so an unendless standardisation effort for very small content items. The formula n x n-1^2 tells me that the OpenEHR way stops to be feasible after about 5-7 parties step in. due to the many to many to many to many to many to many to many relationships on the archetype collections to agree upon with party 1, party 2, party 3 party 4, party 5, party 6.
This a strange way to see things. With the archetypes approach, there are agreements at local, regional and national (maybe international) levels. Once they are agreed (e.g. we have 60+ national ones in Australia) then there is no argument about 1:1 agreements. In fact, I have never even heard anyone previously suggest that archetypes were about 1:1 negotiations! Quite the opposite; they will be (already are in some places) quite centrally available. The main advantage is that they are clear clinical models, independent of the details of messaging or other ways of communicating health information.
This is no different from groups of parties, jurisdictions etc agreeing on RMIMs or messages. The problem with the latter is that they are agreeing on a new clinical model and a new schema every time. There is no end to the new schemas.
Consider for example that a lab result could be sent from lab->EHR system, copied from EHR system->EHR system; stored in an EHR system; displayed on the screen; printed; and so on. No matter how many such situations, the model of the result should only have to be defined once. At the moment we can do this with archetypes & templates: define it all once and use it for everything. Only one schema (the reference model). A messaging standard that would help would be one that allows this. But HL7 forces users to define the clinical content of messages as part of their information schemas. Not only that, but if you want to use some or all of the lab result model in question in a different RMIM, there is no guarantee that it will be the same as in the first one; nor that it can be a re-usable component in general (since there is only one level of reusability - CMETs). How can I use the same definition for a screen form? THere is a whole lot of message attributes I don't want, but which I am forced to have.
Now we have a world containing N HL7 variants of some kind of lab result (each also a new data schema), and an archetype of the same result, resting on a single base ontology containing logical concepts of Observation, Evaluation, History, data structures, data types and so on. We can use this model to define EHR content, EHR Extracts, messages, any printed or display form (with additional display information of course). It is a single-source semantic model. And all the while we only have to work with one information schema.
And all of this misses a major point in the first place: the source of all health information is systems, not messages. If it is systems, then the designers of the information are the clinical (administrative, allied etc) professionals using the systems.
TB:
Quite a number of experts are studying the ontological and other technical aspects of the RIM; I expect that we will be able to benefit from their research in the nrea future.
WG: I look forward to this, however, I would like to see the results of the study based on the D-MIMs that are made for purpose, where the RIM is more the collection of stuff to built with. I mean, if compared to the OpenEHR, the D-MIM is the part in which clinical content is expressed and dealt with.
I think what you are saying is almost that we should ignore the RIM, and just see the set of DMIMs as HL7s information reference model. But we cannot get away from the fact that each RMIM, drawn from a DMIM creates a new schema, and is full of messaging attributes all over the place, and so on. (If I want to create an HL7 lab observation for microbiology result, I have to definine mood code on every node, since every node is an Act...but common sense dictates that it is only one result; it is therefore in OBS mood...there are 2 or 3 other mandatory Act attributes to which this also applies.).
My approach and study work is: 1. make explicit the clinicians knowledge, information and processes, (so roughly the semantics)
2. model this appropriately using UML artefacts (where the RIM is a specification of UML class diagrams), and of course: archetypes / templates / GPICS / R-MIMs / CMETs to express the real details clinicians look for and want to control with respect to content, terminology, coding. (roughly the interoperability based on standards)
well, maybe you know more than I do; I don't know of any easy integration of archetypes & templates and GPICS, RMIMs, CMETs etc. We tried it once at an HL7 meeting a couple of years ago, and just got lost in the attributes...I personally cannot see any obvious mapping...
3. implement the clinical material in technology, where it does not matter in principle if the technology is messages only, is a (distributed) database only, or if it is multiple databases with multiple messaging from one to another. We see different technical architectures dealing appropriately with the same clinical content. (so roughly the systems being able to semantically interoperate)
But this will be difficult, because each RMIM is a data schema as well.
Of course each kind of technical representation would require constraining, and the examples you give above explain very well why this is necessary. A message via R-MIM to XML schema etc. needs a different constraining compared to a record system with database, logics and user interface, each adding to the requirements.
so what you are saying here is that there are more constraints related to the technological deployment context of each message?
And yes the RIM is probably to rich for the latter, where only a few attributes are necessary. OK, then from the same D-MIM, you constrain messages via adding/working out some peculiar unrolling of attributes and content, and for EHR by completely removing the rubbish you don't need.
but this can never work for building re-usable software that a) wants to process the same clinical concept in different places (e.g. in an EHR service, in a query server; in a message gateway; in a presentation manager) and b) wants to be able to process more than one kind of message. There is an N x M space of deployment context x messages of software modules to build...
I still think than that from the clinicians point of view it currently is better to start with the richer model, allowing both technical workouts and constrain from the rich model to the 'poorer' stuff (poorer here as sufficient for the function).
but what is the logic of building clinical models of something starting from a model which is full of attributes which don't relate to most instances (quite apart from the fact that this practice violates the basic OO premise of model extensibility...)?
From R-MIM to OpenEHR archetype works well, and is about 1 % of initial investment time with the benefit of well expressed clinical materials (70% of work),
I assume you are talking about a human rewriting process here. There is no automatic transform that I know of. So already you are talking about 1 message structure and 1 archetype, with no obvious strategy for automatic conversion by computers...
message standard with unique coding (20% of work), tools to 'XMLise' it (9% of work), and tools to 'archetypise' it (1 % of work). (Estimates from about 90 archetypes expressed in R-MIM). You could say: go from the 70 to the 1 % and save 19,... but if you need to work backwards from archetype to R-MIM / message, you probably would need to put in much much more effort.
yes, but there are serious questions of quality and fitness for purpose which I have raised above, not just how many hours of work are involved...
- thomas