Thursday, September 28, 2006

FolioViews and ICD-9: a billion dollar tale never told

The more decrepit one becomes, the more "odd stories never told" one accumulates. This is one of those stories, a tale of a seemingly minor technical decision made 20 years ago -- with vast economic, social and scientific consequences that almost nobody recognizes today. It's a story about what happens when data moves into software and how proprietary data formats can shape a world -- unrecognized by anyone. It's a story of the mutability and immortality of software, and about data lock. It's boring, obscure, and I really don't know it all -- but I'm one of the few people that can guess some pieces of it. So, I'll tell it now, and hope corrections in the comments section.

In the 1980s a company named Folio Corporation produced a DOS information management software packaged called "FolioViews". They called it an InfoBase, and it was one of several semi-structured information managers that, in today's terms, were a cross between a database, a textbase, a content management system and and ontology editor. I was quite fond of that class of software, the most famous of which was probably Lotus Agenda. There were several similar, immensely powerful, and long forgotten applications on Mac Classic.

I remember that product because I used to write software reviews for the Journal of Family Practice in the 80s, and I wrote on FolioViews/DOS. (Back then JFP was still a scientific journal, not a throwaway.) FolioViews made a rocky transition to Windows 3.x, I wasn't as impressed with the Windows version, but, oddly enough, I have all the manuals. The software is gone.

That's where I thought the story ended, around 1993. It didn't though.

FolioViews was picked up by a number of governments, government contractors, publishers, CD-ROM vendors and legal firms around the world. It became a vertical market product. Somewhere along the way it was purchased by NextPage and buried (a search on their web site yields nothing about FolioViews). It probably lives a zombie existence there as a potential source of software patent litigation; many of these 1980s software packages implemented designs and ideas that were later patented independently, the old software can invalidate later patents.

Ahh, but what about the economic implications? That's a twisted tale. Somewhere along the line FolioViews became the standard means of editing and publishing ICD-9 and ICD-10, which started life as data sets used by epidemiologists and healthcare researchers. (For all I know it's used for CPT also, but that's murkier.) Here's the catch. ICD-9, in the US at least, became, by default, the only "standard" way to talk about diseases, disorders, and patient conditions. It became the flawed foundation of health care payment rules (along with CPT, DRG, etc etc), clinical decision support systems and EHRs (including one I helped create).

ICD-9 is the primary source of everything we know about what health issues Americans have, a fundamental constraint on the accuracy and capabilities of decision support systems, and a major obstacle to smarter/better healthcare systems. ICD-9 is also built and maintained in FolioViews -- but it's not distributed that way. It's distributed as a paper book (or a PDF, same difference). Fragments of ICD-9 are also published as database-like tables -- but that's only a fraction of it. The complete ICD-9, which exists only in FolioViews, is a rich and baroque mixture of classification, ontology and document -- mostly we don't have it.

Fundamentally, ICD-9 is locked away in the FolioViews Infobase somewhere in the offices of a federal contractor. My 1990s FolioViews manual tells me FolioViews can export wordprocessing documents or the proprietary "Folio Flat File" -- but that's it. Data Lock. Big time. FolioViews had its own peculiar and powerful way of managing data, and even if FolioViews had some sort of useable export facility it would be a non-trivial job to recreate it. It's not clear that there's an equivalent modern software environment that could recreate FolioViews. It might be easier to hire people to translate the WordPerfect output into a purpose-built environment -- except that really we need to dump ICD-9 and ICD-10 and do a SNOMED-derivedICD-11 (but that's another story).

So here we are, twenty years later, living with the consequences of a modest decision made when DOS was king. In a sense, a large portion of American healthcare is a captive of FolioViews, software who's fundamentals, including file formats and data structures, are lost in the mists of ancient computing. Something to think about the next time you wonder why software vendors struggle mightily to produce reliable and interoperable systems to support both clinical practice and financial obligations. The reasons may be more mysterious than you can imagine ...

References:

Update 12/13/06: Interesting twist. A renamed descendant of Folio Views is used by the Mormon church (LDS) to distribute census/genealogy data. FolioViews was indeed a groundbreaking piece of software in its DOS incarnation, so unique it cannot be quite killed. Incidentally, I found this usenet discussion as a side-effect of how I track my usenet postings and follow-up. I add the semi-unique string 'jfaughnan' as metadata to my postings, and I have standard google query embedded in a my news page that retrieves postings. Since 'jfaughnan' appears in the URL for this blog, my standing query turned up the usenet posting referencing the blog. A very new age sequence of circumstances.

Wednesday, September 27, 2006

Answering the stupid question: what would YOU do in Iraq

Apparently in right wingnut circles and spineless journalists there's a call for "democrats" (meaning rationalists in this context) to come forward with their "solutions" to the Bush/GOP catastrophe in Iraq.
Shrillblog amplifies a Kevin Drum response. In brief, this is the GOP's Vietnam. There isn't a fix any longer, there are only less bad alternatives. The less bad alternatives are basically versions of retreat under fire, possibly with a continued presence in the north. It appears that Iran has won, the US lost an immense amount of money and thousands of lives, and the Iraqi people lost much more. If there are better options they will need to come from the Iraqi people and with an internationalized support rather than direct US support.

Politically, the sad truth is that the American people are not ready to hear this. A recent MN opinion poll show that less than 50% believe that the Iraq war was bungled. The numbers are a large increase from a year ago, but that's still not enough.

Given the impossibility of being frank, and the hopelessness of the GOP and the Bush administration, a non-suicidal rationalist politician will say relatively little. (Betty McCollum, our local representative, is rather honest -- but her seat is so safe I think the GOP opposition might be on the lam somewhere).

The irritating thing here is not the GOP ploy -- it's a perfectly reasonable ploy. It's the spineless journalists who play along with it ...

The Fall of Microsoft?

I've proclaimed the Fall of Microsoft before. The last time was OS/2 3.x, which was so clearly superior to both Win 98 and Win NT that it seemed sure to succeed. That's when I learned a lasting lesson about business strategy (including the Black Arts) vs. technical excellence. (I think of OS/2 every time my XP box slows to a grinding halt, tied up by its utterly lousy multitasking engine.)

Now I'll do it again. No, it's not Vista. Sure Vista will be a massive turkey, but we know about that. It's Word and Outlook/Exchange.

Word I've written about. It's fundamentally awful when used as anything but a sophisticated typewriter. Yeah, the help files and the grammar/spelling checking are good -- but that's about the end of it.

In some ways though, the Outlook/Exchange combination is even worse. Word I can work around the bugs, but Outlook/Exchange is just nasty. I got my latest jolt today when performance and reliability issues (sync errors with Exchange) forced me to switch to cached mode -- which is far faster. Except that my Sent folder had vanished, and I had several cryptic/worthless Outlook sync error messages that pointed to dead addresses.

No harm done of course. I keep my data in non-synched offline PST files and past experience had taught me to backup my Sent folderm, and anything else that's synched with the Exchange server, prior to switching modes. So I didn't really lose any data.

The point is though, that Outlook/Exchange and Word are two of Microsoft's core money spinners. Over the years they keep getting worse, not better. Microsoft can't seem to fix it. They've moved into a parasitic mode, siphoning the juices of the corporate customers who can't escape data lock. That mode will work for a long time, but it's a Faustian bargain. Once a corporation, or an organism, becomes a parasite, reversion to free range existence is very rare.

This time, the Fall may be for real ...

Tuesday, September 26, 2006

Brer Clinton: the rage returns

Incredibly, for it's surely suicidal, right wingnuts are allegedly trying to resurrect the shade of William Clinton. This is a bit like having your enemy sick a dog on you -- except its your dog. Maybe we should call him Brer Bill 'Briar Patch' Clinton.

Or perhaps it's not incredible. Maybe it's 'suicide by cop'. The wingnuts know they're destroying the nation, so they're asking us to stop them before they kill again.

Not that I'm a Clinton fan. Through some terrible strain of self-destructive arrogance he gave his enemies the perfect weapon, and they used it to put Vlad Bush in office. That was a historic failure. Still, to remember a competent president with a competent administration ...

David Brin, expanding on Russ Daggatt, provides a minor demonstration of what a potent weapon the wingnuts have handed the forces of reason.

Monday, September 25, 2006

Grief

A mother's son dies at war. She tells the story of her grief. It is in grief that we are most akin.

Sunday, September 24, 2006

System failure: No Contact orders in Minnesota

Another story of a women killed by boyfriend/husband. The sad story didn't suggest much that could be done differently, until near the very end ...
Two slayings renew calls for vigilance

... The Minnesota Legislature this year increased the penalties for violating no-contact orders, making repeated violations a gross misdemeanor. Kluz said that Lee is the 15th woman to be killed in Minnesota this year in a domestic violence situation.
Huh? A gross misdemeanor? Repeat required? That was an increase?!

Why is it that the noteworthy part of any article is always about 3/4 of the way to the end?

Most of the time there doesn't seem to be any obvious response to tragedies like this one, but the "gross misdemeanor" suggests an obvious fix. Maybe a GM at the judge's discretion on the first violation, but otherwise a felony and arrest.

Not your father's immunology - and odd implications thereof

Nor your father's definition of the human.

In the past few weeks we've read of toxic viral payloads in sometimes commensal bacteria, we're read of viral infections that are a critical part of placental formation in at least one mammal, and we've read about T-Reg cells, such as:
  • mice without T-Regs developed a fatal inflammatory bowel disease -- not due to autoimmune attacks on bowel cells, but rather due to immune attacks on normally tolerated bowel bacteria
  • the best response (mice again) to some parasite infections is to keep a few of the buggers around so the immune system stays tuned. T-Regs help with that.
  • T-reg activity may increase in pregnancy in some women to manage tolerance of the foreign fetus
This must be starting to at least make its way into medical school infectious disease lectures, and of course there are lots of implications for a range of auto-immune diseases (Is ulcerative colitis an auto-immune attack on GI bacteria, why do parasite infections seem to suppress UC, what's the relationship between cutaneous T-Reg cells, vitamin D, sunlight exposure and multiple sclerosis, etc).

Eventually we'll change the way we treat infections, and probably abandon the idea (still persisting) that patients need to take all their antibiotics to kill all the pathogens. We may eventually move to the long mooted concept that managing infections is about managing the "human" (meaning nuclear DNA, mitochondrial DNA, bacterial DNA, Viral DNA, a few prionic forms and lord knows what else) superorganism and its ecology rather than the traditional view of an attacking "pathogen".

Hmmm. What could this approach imply about managing terrorism?

Why do humans lose their childhood memories?

One of the curiousities of human memory is that childhood, for most people, is largely lost. I think I'm not atypical in having a few memories I suspect are genuine, another set based on what I've been told, and mostly no memory at all.

The assymetry between parent and child is one of the more poignant aspects of parenting; one party remembers much of a rather important relationship, the other remembers little.

Why do adults not retain childhood memories? Is there an adaptive advantage to forgetting, or is it simply a side-effect of the way the human brain develops?

Saturday, September 23, 2006

Protecte expensive checked gear, fly with a gun

Well, ok, a starter pistol. The pistol means your checked gear qualifies for weapons handling. It's safe from theft and abuse, and it'll arrive with you.

If we end up having to check our laptops and cellphones starter pistols will be commonplace on planes (well, in the locked secured gun case actually).

Safari must die.

I love Safari. I love the elegance, the performance, the efficiency, the security, stability and features of Safari. I love the Cocoa services and the beautiful UI and the excellent printing. It's a great product from a great team.

Safari must die.

I've known that for months, years maybe. Still, I held out hope. Hope died when I created a Gmail account for my wife last night. There's a button to click to test username availability; in Firefox it updates the page, in Safari it does nothing. I became so frustrated by the process I quit and did it using Firefox.

Safari was the right choice in its time. Back in the day was no way Apple could rely on IE, and Phoenix (later Firefox) was either unborn or unproven. Apple was right to start work on their own browser. Then came Google, and Ajax and, painfully, slowly, widespread support of Firefox as well as IE.

Now Safari is wrong. Being smaller, faster, better, more standards compliant is not enough. The best man doesn't always win the race. Safari cannot contend against Google, Yahoo, and every up and coming Web 2.0 solution. Most of all, Safari cannot defeat Google.

Gates, in his robber-baron heyday, had one great gift even I admired. He would shoot the horse he'd ridden when it faltered. He shot OS/2 (in the back), he shot pre-web MSN, he shot a lot of things. When he stopped shooting Microsoft went into decline.

Jobs shot the Newton (in the forehead). He can shoot Safari.

Maybe keep Webkit for Apple products, but use Firefox's Gecko engine and identify to websites as Mozilla/Firefox. We've got Camino and soon Firefox/Cocoa; Apple should work to make Apple's branded browser the best Firefox there is. Make it beautiful, make the printing work, make it Rendezvous and Keychain and spotlight and Cocoa and Webkit and Photocasting and Address Book friendly. Above all, make it Firefox/Mac -- even if you still call it "Safari".

Death to Safari. Long live Safari/F.

Friday, September 22, 2006

Bombing to the stone age - why now?

Google news is picking up a lot of stories about the alleged US threat to bomb Pakistan "back to the stone age"...
KRT Wire | 09/22/2006 | White House denies threat to bomb Pakistan `back to the Stone Age'

With the United States and Pakistan united in a war against terrorism, the suggestion Friday that the United States once threatened to bomb the Pakistanis 'back to the Stone Age' landed like a diplomatic bombshell...
Hmm. Puzzling. I thought everyone assumed Pakistan signed up with the US because of do-or-die ultimatum -- they sure didn't do it for love. Musharaf's version seems a bit direct, but maybe Armitage is like that.

So no surprise there. The surprising part is Musharraf is talking about it now, and that the topic is getting so many Google hits. I wish someone who knows Pakistan would explain why now, and what Musharraf might be up to ...

Brad DeLong read my blog!

Wow.

My wife will be very impressed. Seriously, she's a big DeLong fan too. We're just two geeks in a pod.

She'll be back from her urgent care shift soon. I have to figure out how best to spring this on her. Maybe I'll casually leave the laptop open to DeLong's page so she scans it while winding down ...

In my previous universe, Bush/Rove used more than nukes to sell their invasion

Salon has a laudatory review of a book by the inestimable Frank Rich on the tragic history of the Bush II (aka Vlad) regime. This sort of book is presumably written for future history students writing essays on the Fall of America, it’s unlikely to have much impact on anyone living now. The picture is indeed dire, with the usual mention of how imminent nuclear attack was used to build support for the way and Bush’s reelection:

Why we are really in Iraq | Salon Books

…What reason could team Bush come up with for attacking Iraq? 'Abstract and highly debatable theories on how to assert superpower machismo and alter the political balance in the Middle East would never fly with American voters as a trigger for war or convince them that such a war was relevant to the fight against the enemy of 9/11 ... For Rove and Bush to get what they wanted most, slam-dunk midterm election victories, and for Libby and Cheney to get what they wanted most, a war in Iraq for ideological reasons predating 9/11, their real whys for going to war had to be replaced by more saleable fictional ones. We'd go to war instead because there was a direct connection between Saddam and Al Qaeda and because Saddam was on the verge of attacking America with nuclear weapons…

Dire as this story is, things were worse in my old universe. In my universe smallpox and biowarfare threats were used as well, and they were even more persuasive than the fear of nuclear weapons. Much was made of mobile labs that turned out to be nothing much at all. In that alternate timeline this led to a massive smallpox immunization program that was widely debated and partly implemented. In that reality some of the vaccination volunteers were seriously harmed by side-effects.

In this universe, however, that clearly never happened — or someone besides my wife and I would remember it. Bad as things are here, in the reality I used to inhabit they were actually worse …

Google Spreadsheets: the next Gmail?

Google hit a home run with Gmail, despite my personal problems with its spam management.

Looks like they may be equally serious about Google Spreadsheets, judging by what they're adding. For many home users this is plenty of functionality, this will probably be my wife's spreadsheet and a shared workspace for quite a few things we do (lists, schedules, etc).

It's time for me to create an internal family page with links to key web apps and services that we'll use on our home network and remotely -- a kind of shared application space.

Videochat family reunions: Cringely on Apple's strategy

Cringely is no Jobs-sycophant, but he can't help wetting himself over what he thinks Apple's going to do next. (I say that fondly because I love Cringely's column.)

Sometimes he's way over the top (retinal laser headmounted displays), sometimes he's spot on. He's always interesting. Today he's skirting the edge of plausibility with a column on Apple's possible media, VOIP, iChat, video-conferencing, HDTV play. Whoa. Makes me want to wait on Mum's Mac Mini purchase until after the January iTV announcement -- just in case.

If Apple could really do this they'd sell of a lot of HDTV units for someone. I fear, however, that the bandwidth requirements would kill most home WAN connections. of course Cringely had another column recently on why homeowners should pay for fiber to the home ...