The Unified Codes for Units of Measure or UCUM is a code system maintained by the Regienstrief Institute. It was principally developed by Dr.'s Gunther Schadow and Clem McDonald. UCUM supports the representation units of measure with less ambiguity than existing combinations of the ISO and ANSI Units of measure used in HL7 Version 2.
UCUM is an interesting code system because:
A. It is infinite in size.
B. It describes a grammar for creating codes
C. There are multiple codes for representating effectively identical concepts.
D. There are reductions to canonical forms.
Note: The same things can be said for unit expressions using either the ISO or ANSI unit standards, so UCUM isn't unique in this regard.
Infinite Size
We tend in information processing systems to like complete lists, but units have mathematical properties that defy such list making. Units are compositional. Any unit can be multiplied or divided by another unit, or raised to a power, or be multiplied (or divided by) a constant to produce another unit expression.
UCUM allows you to compose two unit expressions with / or . to perform multiplication or division, or append an exponent to a unit expression to raise it to an arbitrary power (e.g., m3 for cubic meters). You can multiply or divided by integer constants (e.g., s = min/60). There are shorthand representations for constant powers of 10 (e.g., 10 to the third power is 10*3). Even better, common metric prefixes can be used with metric units to generate for example: kg or mg from g.
A Grammar
Computer geeks like me learn about grammars for languages pretty early on in our education. The grammar for a programming language can run on for pages. The grammar for UCUM is remarkably short, containing about 10 productions.
The key things to remember are that:
1. Parenthesis override precedence rules,
2. Exponentiation has higher precedence than multiplication (e.g., 10.m2 = 10 meters squared) or division
3. Constants may only be positive integers when used with multiplication or division, but may be positive or negative when exponentiating.
4. Anything inside {} is an annotation with an effective unit value of 1.
5. Metric prefixes may only be used with metric units. You cannot say "kilo-inch" in UCUM.
Multiple Representations and Canonical Forms
From an engineering perspective you can say kilometer a bunch of different ways in UCUM:
1000.m
10*3.m
km
This may or may not be a "defect", I won't even bother arguing the point. What is important is that UCUM tells you how you can determine that these are identical, because it gives you all the information you need to rationalize these expressions into a canonical form. The one thing that UCUM doesn't do is define a canonical form, but it one be readily developed algorithmically. I leave that excercise to the reader.
But just in case you need to use UCUM units before you work that excercise out, you can check out some worked examples.
P.S. Thanks Paul for the inspiration...
Thursday, March 18, 2010
Wednesday, March 17, 2010
The Deluge
Being out sick for a couple of days meant that I spent today wading through a mountain of e-mails, tweets and RSS feeds. The most common topic in my twitterverse were comments on the meaningful use IFR and NRPM.
Thus far, I've briefly skimmed comments from:
There's some remarkable agreement among all of these comments:
1. Quality Measures need to be streamlined.
2. An incremental approach to incentives should be used.
3. The bar is set too high in some places (e.g., CPOE).
Of course, my survey is anything but scientific.
If you care to, you can read all the feedback on the proposed rule for incentives (use keyword: CMS-2009-0117) and the interim final rule on standards and certification (use keywork: HHS-OS-2010-0001) at http://www.regulations.gov/.
Next comes the interminable silence while CMS and ONC cycle through the thousands of pages of these comments and we see how they decide to take these comments into account later this spring.
Thus far, I've briefly skimmed comments from:
- Chillmark Research (I love the editorial comic at the top of this one)
- HL7
- WEDI
- Congress
- HIMSS
- eHealth Initiative
- Premier
- EHR Association
- HIT Policy Committee
- Consumers
- Markle
- HFMA
- CCHIT
There's some remarkable agreement among all of these comments:
1. Quality Measures need to be streamlined.
2. An incremental approach to incentives should be used.
3. The bar is set too high in some places (e.g., CPOE).
Of course, my survey is anything but scientific.
If you care to, you can read all the feedback on the proposed rule for incentives (use keyword: CMS-2009-0117) and the interim final rule on standards and certification (use keywork: HHS-OS-2010-0001) at http://www.regulations.gov/.
Next comes the interminable silence while CMS and ONC cycle through the thousands of pages of these comments and we see how they decide to take these comments into account later this spring.

Thursday, March 11, 2010
Healthcare e-mail -- NOT an Option
I was asked the other day why we cannot communicate health information via e-mail. We certainly communicate enough other information over e-mail and even use it in part to establish banking, health and other vendor account access through that channel.
I want you to follow along with me in a little experiment.
Each of the Recieved: headers in the e-mail is placed there by an SMTP server. Therefore, there are six separate servers where my e-mail to myself could have been stored before being subsequently forwarded to the next one in the chain. Each of the servers has at least one, and possibly several connections to an outside or internal network. They may also be backed up periodically, storing a permanent copy of the e-mail that was in transit.
In only two cases was the communication between the servers reported to be protected by encryption, but other cases may have been ecrypted, or physically secured within a data center. In at least one case, the encryption was the weak RC4 cypher reported to be "unsafe at any key size".
If I were to send a credit card number through this path, there are six different servers that could be attacked to get that number, six different networks that could be sniffed to pick out the SMTP traffic that would contain it, and possibly a backup or two that might also contain the information that hadn't been forwarded. I have no clue who manages these servers, networks and their backups, and whether they have the latest patches, et cetera (But I can certainly identify the product and in some cases even the version number of it being used, which makes attacking them much easier). Would I send a credit card number through this channel? No way.
So as a model to communicate healthcare information, e-mail by itself leaves quite a bit to be desired. Something more is needed. Additional security can be provided by S/MIME, but then you need to obtain certificates, and S/MIME isn't ubiquitiously available on all e-mail clients. There is an additional human factor to consider. An e-mail message is very easily forwarded from one person to another. The e-mail tools make it very simple to do this, and they don't make it simple to ensure that when the message is forwarded, that it is transmitted securely. So even though a single e-mail itself can be secured, it's just not the right way to do it because there are many other risks that make the content of the communication difficult to protect adequately.
There've been some attempts to develop new standards for e-mail that would make it safer, but that's a lot of infrastructure to update, and so those attempts haven't made much headway.
So why is it safe to use e-mail to establish accounts? Well it really isn't, but: The amount of information that a vendor sends you in in an e-mail to establish an account is really just to confirm the e-mail is correctly linked to your identity, which you provided them over a secured (https:) channel. Usually it includes a conformation code that can only be used once, and having been used once cannot be used again. The time between signing up and recieving that e-mail communication (and making use of it) is also very short in most cases, which leaves little opportunity for someone to use it against you. If I do happen to be given login credentials over an e-mail channel, I immediately use them to login and change my password over the secure website. That way I'm sure my password isn't sitting on some server somewhere where who only knows can read it.
P.S. In Outlook, open an e-mail fully, then click on the View Menu and select Options. In the dialog that is displayed, look at Internet Headers.
In G-mail, open the mail. Then click on the down arrow next to the Reply button in the upper right hand corner of the e-mail. Then select "Show Orginal".
I want you to follow along with me in a little experiment.
- Send e-mail from one e-mail account you have to another.
- Open up your e-mail client where you recieved the e-mail you sent to yourself.
- User whatever option is necessary to view your e-mail headers (for Outlook and G-mail, see the postscript below if you don't know how to do this).
- Count the number of times you see the string "Recieved:"
- Make a list of the IP addresses and host names you see on each line starting with "Recieved:"
- Identify who manages each of the servers identified on these recieved lines.
Each of the Recieved: headers in the e-mail is placed there by an SMTP server. Therefore, there are six separate servers where my e-mail to myself could have been stored before being subsequently forwarded to the next one in the chain. Each of the servers has at least one, and possibly several connections to an outside or internal network. They may also be backed up periodically, storing a permanent copy of the e-mail that was in transit.
In only two cases was the communication between the servers reported to be protected by encryption, but other cases may have been ecrypted, or physically secured within a data center. In at least one case, the encryption was the weak RC4 cypher reported to be "unsafe at any key size".
If I were to send a credit card number through this path, there are six different servers that could be attacked to get that number, six different networks that could be sniffed to pick out the SMTP traffic that would contain it, and possibly a backup or two that might also contain the information that hadn't been forwarded. I have no clue who manages these servers, networks and their backups, and whether they have the latest patches, et cetera (But I can certainly identify the product and in some cases even the version number of it being used, which makes attacking them much easier). Would I send a credit card number through this channel? No way.
So as a model to communicate healthcare information, e-mail by itself leaves quite a bit to be desired. Something more is needed. Additional security can be provided by S/MIME, but then you need to obtain certificates, and S/MIME isn't ubiquitiously available on all e-mail clients. There is an additional human factor to consider. An e-mail message is very easily forwarded from one person to another. The e-mail tools make it very simple to do this, and they don't make it simple to ensure that when the message is forwarded, that it is transmitted securely. So even though a single e-mail itself can be secured, it's just not the right way to do it because there are many other risks that make the content of the communication difficult to protect adequately.
There've been some attempts to develop new standards for e-mail that would make it safer, but that's a lot of infrastructure to update, and so those attempts haven't made much headway.
So why is it safe to use e-mail to establish accounts? Well it really isn't, but: The amount of information that a vendor sends you in in an e-mail to establish an account is really just to confirm the e-mail is correctly linked to your identity, which you provided them over a secured (https:) channel. Usually it includes a conformation code that can only be used once, and having been used once cannot be used again. The time between signing up and recieving that e-mail communication (and making use of it) is also very short in most cases, which leaves little opportunity for someone to use it against you. If I do happen to be given login credentials over an e-mail channel, I immediately use them to login and change my password over the secure website. That way I'm sure my password isn't sitting on some server somewhere where who only knows can read it.
P.S. In Outlook, open an e-mail fully, then click on the View Menu and select Options. In the dialog that is displayed, look at Internet Headers.
In G-mail, open the mail. Then click on the down arrow next to the Reply button in the upper right hand corner of the e-mail. Then select "Show Orginal".

Wednesday, March 10, 2010
On Governance for Developing a Policy Framework and Other Updates
One of the things I love about HIMSS is the social interaction that I get with people that I don't get from many other venues. I had an interesting discussion with someone about how his organization put together a policy framework for health information exchange in a few short months.
The information exchange included a number of governmental agencies and participating healthcare organizations in a large city. I believe the total number of agencies and organizations exceeded two dozen. There were a few unique attributes to the governance model used to put together this framework that he expressed to me.
This was another one of those meetings where both the party I was talking to and I had run out of business cards. I never did get over to the CONNECT booth where he was at, because I had other duties that day at the Interoperability Showcase that day.
P.S. Oh, and on that other "secret" issue I reported on earlier this week: The standard that the Federal Government wishes to harmonize into the healthcare space is NIEM or the National Information Exchange Model. The feedback I've gotten from at least two sources indicates that I was "right on" in what I reported two days ago here. HL7 has started investigating NIEM. The initial feedback from their investigation didn't set off any major firestorms so there may be some promise here. I've been looking at it, skimming mostly, but expect to pay more attention as soon. This site looked interesting.
I imagine we'll hear something about the new harmonization effort in the next week or so, although who knows whether this will be a big splash or a stealth program. I suspect the former even though it started as the latter.
I also expect that this harmonization activity will tie in somehow with the NHIN Direct activities. At the moment, that web site seems to be just a sequence of blogs from one person. If NHIN DIRECT really wants to accomplish a draft by very early May, real discussions and work needs to get started alot quicker. The time frames they suggest are rather agressive for drafting specifications from a volunteer base. I'm wondering how they plan to crack that nut, and how much time they expect members to put into this effort. I've been through crazy deadlines before on ONC projects (remember the HITSP 90 day diversion?), and I'm not sure I want to do it again. But I am interested... and waiting to hear more.
The information exchange included a number of governmental agencies and participating healthcare organizations in a large city. I believe the total number of agencies and organizations exceeded two dozen. There were a few unique attributes to the governance model used to put together this framework that he expressed to me.
- They put together more than 100 use cases for information exchange that were based on real business cases. In and of itself, this was probably a monumental task, however, because they had these business cases, they were able to explain the reasons that they needed particular abilities in the exchange. This came into play frequently later.
- The legal end included lawyers who were tasked with figuring out how to set up the appropriate policy to accomplish the goals of the exchange. Most of the time it seems that lawyers are tasked with protecting an organization from liability, rather than figuring out how to accomplish a task. Yes, protecting the organization (and the patients) was one of their responsibilities, but they were also tasked with getting the work done.
- The various workgroups met on a frequent (but not extreme) basis to discuss the policy framework. Silence implied consent to the framework that was proposed, so you had to show up to voice your concerns.
- Blocking problems were addressed by returning to the business case and explaining the need. "Do you really want to prevent us from X?" was the question that was raised, where X was the goal of the business case. That was often enough to restir interest in figuring out how to solve the problem. But just in case...
- There was also very strong top down support from the local leadership that was able to provide a forcing function. When problems came up that seemed unresolvable, the leader was able to provide pressure to break the log-jam.
- The organization was very strong technically. The person I spoke with had a very sound understanding of how to implement access control mechanisms to support the policy framework using standards-based technology. I've run into only a few people outside of the security specialty in healthcare standards who understand this well. This guy could probably have written the IHE Whitepaper on access controls in his sleep.
- They had enough resources to accomplish the task, not only from the policy development side, but also from the technical end.
This was another one of those meetings where both the party I was talking to and I had run out of business cards. I never did get over to the CONNECT booth where he was at, because I had other duties that day at the Interoperability Showcase that day.
P.S. Oh, and on that other "secret" issue I reported on earlier this week: The standard that the Federal Government wishes to harmonize into the healthcare space is NIEM or the National Information Exchange Model. The feedback I've gotten from at least two sources indicates that I was "right on" in what I reported two days ago here. HL7 has started investigating NIEM. The initial feedback from their investigation didn't set off any major firestorms so there may be some promise here. I've been looking at it, skimming mostly, but expect to pay more attention as soon. This site looked interesting.
I imagine we'll hear something about the new harmonization effort in the next week or so, although who knows whether this will be a big splash or a stealth program. I suspect the former even though it started as the latter.
I also expect that this harmonization activity will tie in somehow with the NHIN Direct activities. At the moment, that web site seems to be just a sequence of blogs from one person. If NHIN DIRECT really wants to accomplish a draft by very early May, real discussions and work needs to get started alot quicker. The time frames they suggest are rather agressive for drafting specifications from a volunteer base. I'm wondering how they plan to crack that nut, and how much time they expect members to put into this effort. I've been through crazy deadlines before on ONC projects (remember the HITSP 90 day diversion?), and I'm not sure I want to do it again. But I am interested... and waiting to hear more.

Monday, March 8, 2010
Certification NRPM Comments
I started reading the Certification NPRM this morning around 10:00. The first thing I did was bookmark the rule, which you can find here. I finished that around 10:50. It's now 11:40 and I'm done reading the regulation text starting on page 146 of the NPRM. I can see the fingerprints of NIST on this document. It is remarkably clear and I have only a few comments on the entire proposed rule:
1. Kudus to the government for using standards! The new rule uses international standards: ISO/IEC Guide 65:1996 (General requirements for bodies operating product certification systems) and ISO/IEC 17025:2005 (General requirements for the competence of testing and calibration laboratories) to describe the requirements of certification and testing organizations. But shouldn't these documents be incorporated into the rule by reference along with the location where they can be obtained?
2. As proposed, the sunset of the temporary certification program begins as soon as the first permanent certification body is announced by ONC. I would prefer to see a set end date for the temporary certification program. Deadlines produce results, and a clear end date would provide incentives for organizations to be ready for the permanent program.
3. I'm not terribly sure about the value of two accreditation process, one for testing bodies and the other for certification bodies. I understand the disctinction between testing and certification, but wonder if it is necessary to have two separate accredited bodies as part of the certification process. There is a great deal of overlap in the requirements to be accredited for either and an expectation that at least some organizations will do both. It seems as if having two accrediting processes could increase certification costs without providing much additional value.
4. This is really just a minor nit: In two places the rule talks about the effect of revocation of status for a certifying body on the certifications that it issued. This can be found in sections §170.470 and §170.570, both titled: Effect of revocation on the certifications issued to complete EHRs and EHR modules. I'd like to see text in the rule that says that if a certification is called into question that the orginization whose recieved it is entitled to a refund of fees paid for certification. After all, if you paid for something and got a defective item, you should be entitled to get your money back.
5. NVLAP (National Voluntary Laboratory Accreditation Program) is never defined or expanded in the regulation text itself.
This is one I'm not going to worry about. If the rule goes final as written, I'll still be happy with it. Thanks again NIST!
P.S. NIST is publishing the test methods that are cited in the NPRM and is seeking public comment on those also. Take a look at the first wave.
P.P.S. The PDF I bookmarked was the "corrected" rule that Brian Ahier mentions on his blog.
P.P.P.S. Updated to fix broken links.
1. Kudus to the government for using standards! The new rule uses international standards: ISO/IEC Guide 65:1996 (General requirements for bodies operating product certification systems) and ISO/IEC 17025:2005 (General requirements for the competence of testing and calibration laboratories) to describe the requirements of certification and testing organizations. But shouldn't these documents be incorporated into the rule by reference along with the location where they can be obtained?
2. As proposed, the sunset of the temporary certification program begins as soon as the first permanent certification body is announced by ONC. I would prefer to see a set end date for the temporary certification program. Deadlines produce results, and a clear end date would provide incentives for organizations to be ready for the permanent program.
3. I'm not terribly sure about the value of two accreditation process, one for testing bodies and the other for certification bodies. I understand the disctinction between testing and certification, but wonder if it is necessary to have two separate accredited bodies as part of the certification process. There is a great deal of overlap in the requirements to be accredited for either and an expectation that at least some organizations will do both. It seems as if having two accrediting processes could increase certification costs without providing much additional value.
4. This is really just a minor nit: In two places the rule talks about the effect of revocation of status for a certifying body on the certifications that it issued. This can be found in sections §170.470 and §170.570, both titled: Effect of revocation on the certifications issued to complete EHRs and EHR modules. I'd like to see text in the rule that says that if a certification is called into question that the orginization whose recieved it is entitled to a refund of fees paid for certification. After all, if you paid for something and got a defective item, you should be entitled to get your money back.
5. NVLAP (National Voluntary Laboratory Accreditation Program) is never defined or expanded in the regulation text itself.
This is one I'm not going to worry about. If the rule goes final as written, I'll still be happy with it. Thanks again NIST!
P.S. NIST is publishing the test methods that are cited in the NPRM and is seeking public comment on those also. Take a look at the first wave.
P.P.S. The PDF I bookmarked was the "corrected" rule that Brian Ahier mentions on his blog.
P.P.P.S. Updated to fix broken links.

Thursday, March 4, 2010
The title of this post is a secret. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I really enjoy what this administration is doing with open government. I really appreciate the
FACA blog and the Recovery web sites. I even enjoy seeing frequent communications Dr. Blumenthal sitting in my inbox. But every now and then something happens that gives me heartburn.
FACA blog and the Recovery web sites. I even enjoy seeing frequent communications Dr. Blumenthal sitting in my inbox. But every now and then something happens that gives me heartburn.
Without much fanfare on February 19th our Federal Government announced Task Order 2697 entitled Recovery - Harmonization of Standards and Interoperability. The body of the announcement included this short blurb describing the request:
The purpose of this requirement is to obtain Contractor support services to harmonize standards and interoperability specifications to achieve ubiquitous implementation of standards, promote wider use of standards, and increased level of interoperability across the nation in health information technology (HIT). The overall purpose of the Office of the National Coordinator for Health Information Technology (ONC) programs is to facilitate and expand the secure, electronic movement and use of health information among organizations according to nationally recognized standards.
The response is due in 7 days (March 11th). The announcement concludes with the following notice:
Interested vendors with a CIO-SP2i task order contract may find this solicitation on the NITAAC website at http://nitaac.nih.gov/ under Task Order 2697 titled, “Harmonization of Standards and Interoperability Specifications” (RFP 10-233-SOL-00072).
The contractor listing for CIO-SP2i task orders can be found on the NITACC web site. Because I don’t work for one of the companies that hold a CIO-SP2i Task Order contract with the NIH, I cannot read the Task order. Nor apparently may any other member of the public that may be impacted by these activities. As I read the brief description of the Task Order in this announcement, it signals the way that HITSP Standards Harmonization process is being replaced. I certainly hope the task order includes a mechanism to engage with the members of the previous harmonization process.
I’m curious about a number of things. What is in this contract? Why was this method of contracting
chosen? Who wrote the Task Order? What are its objectives? I’m sure I’ll learn more in 10 days, but why must I wait?
chosen? Who wrote the Task Order? What are its objectives? I’m sure I’ll learn more in 10 days, but why must I wait?
I have to admit a great deal of concern about this particular task order. The way that it has been done is not an open process. There’s no way to disengage rumor from facts. Even inside the ONC it is apparently difficult to find out what’s going on with this one.
All of what I’ve heard below are unsubstantiated rumors that have been reported to me over the last week. This is simply an example of what happens when things are hidden, I don't know whether any one of them is true or not:
- I’ve heard this process was needed because it was the only way to act quickly.
- I’ve heard this process was used to shut out one contractor or another.
- I’ve heard this process will provide ONC with much more control over the activities that are to be performed.
- I’ve heard that the task order contains requirements to utilize a standard developed by the Department of Justice to augment and/or replace work already done in ANSI/HITSP.
- I've heard that subcontractors are under NDA with regard to the content of the task order.
I could do without the heartburn and lack of sleep this is causing me right now. ONC has known the inception of the HITSP contract when it would expire. They’ve had plenty of time to put out an open request for proposal through a normal bidding process to keep it going or to replace it. There’s no reason to keep this a secret. Starting what should be an open process this way is no way to engender any trust.
Oh, and the Post title is "Heartburn".

Wednesday, March 3, 2010
Happy New Year
HIMSS is like New Year’s for me. It’s the culmination of a year or more of work at IHE, HL7 and HITSP, and the start of many new things afterwards. I’ve had several interesting conversations this week at HIMSS, and between spending all of my time on the show floor, talking to customers, talking to other vendors, and talking to government officials, I’ve had precious little time to write.
The Interoperability showcase is going extremely well. We have about an acre of space on the show floor, larger than any other booth on the floor. This is an incredible accomplishment. The IHE Showcase covered less than 2500 square feet five years ago. This year it is more than 10 times that size, and for good reasons (see There’s reason for that).
Today, I’ll simply tell you the kinds of things that I have learned so far. Later this week and next I tell you a lot more about what I learned:
- There is an underserved population of healthcare providers who need access to clinical information.
- There are some things I can do differently in my blog that I found out at the Meet the Blogger’s session in the Social Media center. I’ll be putting some of those into action here later this week.
- I heard more about what could replace HITSP in the future. I expect that it will be much differently organized, and will have more focus on the NHIN work. I also learned that I couldn’t read the recent tender for harmonization because I’m not employed by one of the contractors who can respond to it. I find that extremely frustrating on several levels.
- You can successfully put together a policy framework and supporting technology across several dozen public and private agencies in a short period of time.
- The new Certification proposed rule (that I won’t even read until some time next week) is now available. I have a lot more faith in this proposed regulation than I do in others simply because I trust science more than I do art. I’m sure that I will still have feedback on it, but the results I’ve already heard thus far indicate that this one will be a breath of fresh air compared to the prior two. Thank you NIST.
- There are at least 10 different health exchanges using IHE profiles that aren’t yet on the map but soon will be.

Subscribe to:
Posts (Atom)