Wednesday, January 21, 2009

First HL7 International Conference in The Netherlands


HL7 Conference, Noordwijkerhout, The Netherlands

Friday, Saturday April 29th, April 30th

The May working group meeting for HL7 International is taking place outside north America for the first time this year.

Sierra sent me along to find out what was going on and to contribute to the working groups.

It was nice to be back in Britain again after quite a long time away. It was nice to see that everyone was still comfortably miserable, (as evinced by a chap who, as he ran over the foot of the lady sitting next to me in the meeting room, said "I told you twice to move your bag!"); and that Heathrow airport is still a vast maze of confusion both for passengers and for the staff who work there. There may be something about the acronym of the British Airport Authority that is important here.

I left one area which had a left arrow for international flights and a right arrow for local flights, only to find that they joined up immediately to go down a flight of steps....

I managed to go through passport control without meaning to - there was really no way to avoid it - but finally edned up at the right place to catch a flight to Amsterdam. Through the departure gate we went, down a long slope and onto - a bus! Yes, having been transported by bus from one terminal to another, we were now treated to a bus trip that took us through the Dickensian underworld of Heathrow airport, finally arriving on the tarmac just behind the jets of an Airbus A320!

On the flight were Helen Stevens, Leon Salvail and Bob Grant. We travelled through the airport together, and marvelled Dutch efficiency as the wheelchair Leon borrowed had holders for crutches. When we entered an elevator however, a buzzer went off that told me to leave my cart behind, which I duly did. Then we were puzzled because it went off again. Was it Leon's crutches? No. Step out Bob. It was Bob! Bob had triggered the clever Dutch cart detector. Bob took the stairs. I hope he doesn't take it personally.

We rented a car and all four of us drove out to Noordwijkerhout (pronounced roughly Nord-vike-er-out - no spitting allowed). In the conference brochure, the location for the conference in the Netherlands had been rather glibly described as "Amsterdam" when in fact Amsterdam is an hour or so away by car.

Saturday, Sunday, April 30th,  May 1st

On Saturday evening, after a nap, I went into Amsterdam and observed the Koninginsdag festivities - the Queen's birthday. It was very busy in Amsterdam, but pleasant enough to walk around, stepping over beer cans, and Dutchman full of the contents of the empty cans.

Sunday - The Canadians met together in the evening, and discussed which working groups we would attend. Who's who? From left to right: Alexis Grassie, ?, Grant Gillis (HL7 Canada), Bob Grant, Leon Salvail, Louise Brown, ?,?,?,?, Llloyd Mackenzie, Michael van Campen, Garry ?

Also, not in the picture, was someone I met at lunch who lives in Charlottetown and works for Kodak. There was a "Connect-a-thon" at the hotel immediately prior to this conference.

Monday, 2nd May

After attending a first timer's meeting at 7:30am, I went to the main session where there was an overview of the H7 international. Interestingly, there were 19 Canadians at the HL7 Conference, and only 10 from Germany and 12 from France. The vast majority of attendees were Americans.

Most of the day was spent in the Control/Query working group. We started off working through some outstanding comments on ballott material. There was a very long discussion on versioning, and I think everyone realised that there was a lot of work to be done to figure out what was to be versioned, and how that versioning should be represented in messages.

Tuesday 3rd May

I had breakfast with a group of people, including Rene Spronk, who were discussing why HL7 International is contemplating shipping a snazzy CD with the latest ballot material on it. They came to the conclusion that there was no point in shipping it at all for the content; it was just a stunt, and therefore required eye-catching artwork, to be left on a coffee table somewhere.

Control/Query had a joint session with Personnel Management, so we had Leon, Bob, Louise Brown and a few other familiar faces there. The discussion centred around how we should define registries, repositories and master files. It didn't seem crucial to me box all systems in, and of course, Wittgenstein would say, "It's a registry, if you say it is - look at the use." So we decided that there was a spectrum, not three tight boxes, and that the discussion was only valuable as glossary material, having no technical impact.

In the second quarter, we talked about web services, and were dealing with some negative comments. There was an outstanding negative comment about the fact that HL7 is apparently favouring proprietary work.

In the third quarter, I attended a session by John Quinn, in the Process Improvement Committee, where he gave an overview of the process for ballots, voting, and membership. He discussed the differences between version 2 and version 3, and the motivation for moving to version 3.

One thing I learned was that usually only members can vote, but that sometimes there are public votes in which anyone can vote.

There was a shorter session in the fourth quarter for the Control/Query Working Group, where the Security SIG came and presented some of their work. They seemed to be tackling some of the same issues as the CQ committee, and so a motion was passed so that the Web services security work in CQ (WS-Security) can be jointly undertaken with the the Security SIG.

In the evening, NeoTools had organised a party in Amsterdam, but rather than committing myself to a very late night, I preferred a slightly quieter pursuit of renting a bicycle at the hotel and cycling through the local villages. It was really pleasant to be out on the bike and not have to fight any traffic. Bike paths are everywhere - clearly signed, and often with their own traffic lights.

Wednesday 4th May

In the morning I went to the Modelling and Methodology (M & M) session and listened in as the Security SIG people made another presentation. It seems to me that they have an uphill battle. They are trying to capture enough information to formalised Role Based Access Control (RBAC), but there are issues about the granularity of the information they are capturing, and even then, the information relates only to operations and objects, such as "read Patient Record." What about restrictions on data elements in the objects? They are going to produce something for the next ballot cycle (September), so this is something worth watching.

I stayed with M & M for the next session, and chatted to Jane Curry (former Sierran from Edmonton) for a while. This session was all about conformance, and, as usual, the group worked through the finer points of negative material.

In the final session, I moved back to Control Query, where version 3 conformance issues were being discussed. We spent a long time discussing how to represent units of measure such as a "puff," which is used in many hospitals. There isn't a convenient way currently to represent this information since it needs to be tied to a particular medicine that is released at a certain rate from a certain container.

There was also a discussion on "messy datatypes" : CS (Character Set), Media-Type, and URL Scheme.

Tomorrow is Liberation Day, and the Dutch hold a two minute silence in the evening in remembrance of those who have died in the second world war. The HL7 conference took part in this remembrance this year at a reception held at the famous Keukenhof gardens. We had a guided tour of the gardens, which are still beautiful with tulips and a few brave daffodils. Then we had the two minute silence, and dinner.

I got talking to quite a few people, including one chap from Quovadx. He told me that "Cloverleaf" is alive again - that is now their product name, after three products were merged.

Most of the people that I talk to here are highly skeptical of any straightforward route towards implementation of version 3. Most believe that it will take significant time and work to get two systems to exchange messages reliably!

Here's another funny thing: Everyone has a laptop, but almost everyone with a laptop is hammering away on the keyboard and not participating in the discussions!

Thursday 5th May

This morningI abandoned Control Query in favour of a joing session hosted by the EHR Technical Committee, Vocabulary and Patient Care. There was a summary of work done with the US National Library of Medicine to produce an implementation guide and to produce a respository of vocabulary. The vocabulary project is going about its business by collecting as many existing vocabularies as it can and synthesising.

There was a fascinating overview of projects and countries that are using HL7 v3. A fairly substantial list was winnowed down to about eight participants, and these participants are just beginning to provide a great deal of information. The foremost project appears to be in Finland, where there is now an extensive network of hospitals and health authorities sharing data with HL7 v3. Also selected was a project in Spokane, Washington, which although fairly local, is apparently making widespread use of version 3. Canada's e-MS project was on the list, but not selected for in depth study. The UK's NHS project was also on the list, but also not selected - apparently because it was too huge and too broad in scope that it would be difficult to target the study the questionnnaire to the right people.

The chap in front of me was ignoring all this interesting information and typing up a powerpoint slide entitled "Objective of Cooperability", whatever that is.

For the second quarter I dropped in on Leon and Bob in Personnel Management to see how they were doing working through their harmonisation proposals. The tempo seemed a little different than most of the rest of my week at Control Query; each Teechnical Committee is more or less formal it seems. One item under discussion was the addition of OrganizationEntityType. This is currently not in the Reference Information Model (RIM), but no one was sure exactly what was in the RIM. The action item was therefore to clarify this.

For the third quarter, I returned to Control Query, where abstract data types were under discussion. The most interesting discussion here was that there is a bit if in-fighting at the international level because the HL7 committee appears to be in a tussle with the European standards organisation about which data types to use. Australia is disappointed about this in fighting, and has threatened to withhold support for either, and develop its own datatype standards unless the Americans and Europeans sort themselves out. The chairman, an American, used a word that I have so far only heard my Indian colleagues use: "updation." Perhaps that word is creeping into general use.

On Thursday evening, there was a Facilitators roundtable. All the Technical Committees were present, and they each gave a summary of current issues that needed the attention of the HL7 Board. Most of the issues brought forward resulted in action items for one Technical Committee to converse with another. There was a lot of discussion about overlapping CMETs and Data types, and the issue of versioning was raised again.

Lloyd Mackenzie gave a tooling update. There is a Visio tool, a RoseTree tool, and  a v3 Generator tool. The last tool is the most interesting. It generates the "Model Interchange Format" which is not, as the name suggests, for exchanging Models. It is actually a representation of everything that HL7 knows about: vocabulary, DMIMs, datatypes, interactions and so on. With the MIF format, one can generate schemas or do other work. MIF is rapidly becoming the representation format for HL7 artifacts.

Because there is such a lot of work to be done to create reliable tooling, the HL7 Board has announced a full time paid position for a Tooling Support person. There is another tool in the works, and that is an HL7 MIF to UML translator.

So that was about it.

Friday Morning, 6th May

All in all a very successful conference. I had breakfast this morning with the CQ crowd, and we talked more about MIF format. Graham from Australia seems to be the most knowledgeable here. I now have a foundation of face-to-face contact on which to build. When I post to the CQ list, these people will at least know who I am.

Friday, January 9, 2009

Conformance strengths

Each data type property identifies whether and how that property is expected to be supported. Possible values, noted in italics in the data type specifications, are:


1. Not Permitted The property must never appear in an instance. Applications may raise an error if they receive it.

2. Optional The element may be supported by applications if they choose (and they must declare their decision in their conformance statement). If not supported, the element must be ignored if received. I.e. Applications MUST NOT raise an error upon receiving an unsupported optional element.

3. Required The property must be supported by all applications (they are able to capture and/or display it), but won’t necessarily always be present in an instance.

4. Populated The property must be supported (able to be captured and/or displayed) and must always appear in the instance, but may appear with a flavor of null.
The term 'populated' is not an official HL7 conformance strength. It was used in Canada to differentiate

Required 1..n (where a value must be supplied but can contain a flavour of null) from

Required 0..n (where no value need be supplied).



5. Mandatory The property must be supported and must always be present with a non-null value.

In general, if an attribute (or data type property) is not available (i.e. cannot be valued), then the rest of the data type properties (mandatory or not) should not be present. Exceptions to this rule will be documented in affected data types (e.g. CD).

HL7 v3 international datat types spec.

The datatypes spec has recursive defintions at the abstract level:
Radov, Nick wrote on the INM HL7 list:

 I've been reviewing the V3 data types and am puzzled by the definition of equality for ED http://www.hl7.org/v3ballot/html/infrastructure/datatypes/datatypes.htm#prop-ED.equal. It states that "Two values of type ED are equal if and only if their mediatype and data are equal." The mediaType property is a CS. And CS includes a code property, which is an ST. ST is a specialization of ED, and now we're back where we started. It seems like it would be impossible to implement the ED equality algorithm as specified since that would lead to infinite recursion. Is that intentional or an error in the spec?

The abstract types are included in the XSDs though and this will cause trouble. Not impossible to deal with but not so nice.

Thursday, January 8, 2009

HL7 international batch messages

Rene Spronk writes in lists.hl7.org INM list:
The Batch material has never gone normative, it is still awaiting the outcome of the Wrappers R2 project/effort.

See http://wiki.hl7.org/index.php?title=Batch_Topic_DSTU_R1_Issues for issues related to the interpretation of Batch that haven't been included in the material yet.


Note that the InM decision that a Batch Wrapper does NOT constitute a transactional grouper (which it was in v2) is a major one. A Batch is a grouper for Transmission purposes only.

If you need a transactional grouper (= something you reject as a whole because one of its component interactions has an error) you'll need to deal with that at the controlAct wrapper, e.g.through nested controlActs (something that isn't available at this point in time).

Batch messages

Batch messages in HL7 are created with a wrapper of HL7 interactions.

xsi:nil

From the HL7 lists:
Xsi:nil is what allows you to exclude mandatory class attributes and associations when you declare a parent association as “null”. For example, assume you have a patient role with a 1..1 non-mandatory association to playing person which in turn has mandatory attributes name and date of birth.


In schema, you’ll end up with a 1..1 “nillable” element called PlayingPerson which in turn has 1..1 non-nillable elements for name and birthTime. If for some reason the person information is unknown, the instance would send the playingPerson element with an attribute of xsi:nil=”true”, nullFlavor=”UNK”, and no child elements. Normally, that would be a violation of the schema because both name and birthTime have a minimum cardinality of 1. However because xsi:nil is set to true, the schema validator essentially “skips” validating the contents of the nil element, which is what you want.
- Lloyd Mckenzie writes.


All non-mandatory associations should therefore be declared as nillable. (We don’t do the same thing with datatypes because none of the datatype properties have a minimum cardinality of 1 in the schema.)