News for hackers. Stuff that matters.
Re:Google Cloud Healthcare API by fjabre on Monday April 08, 2019 @09:42AM (#19605089)
HL7 is a joke as are most acronyms in the healthcare tech space.

It's like reading through a framework devised by lawyers and policy makers. I cant wrap my head around healthcare tech to save my life and ive been working the field for 15 years. It's a jumbled mess.

HL7 is what happens when a regulator designs a tech framework.

Re:Google Cloud Healthcare API by jimbokun on Monday April 08, 2019 @11:12AM (#19605900)
I don't disagree with your assessment of HL7 historically, but FHIR documentation is outstanding:

https://www.hl7.org/fhir/resourcelist.html

Documents both the REST API and JSON and XML formats for every type of resource, with lots of examples, and sufficient detail for anyone to create a compliant implementation. Documentation for all of the datatypes like dates and times, terminologies, identifiers, references, numeric values, and how to serialize and parse them. Cross links everywhere.

It's legitimately one of the best documented and well thought out APIs I have worked with. I think they took all the mistakes made and legacy baggage of the old HL7 specs to heart, and did a great job of replacing them with something much better with very high quality documentation.

Re:Google Cloud Healthcare API by nathas on Monday April 08, 2019 @11:22AM (#19605997)
I disagree. The data format is well defined, but how those documents interact with each other is still a jumbled mess.

There's also so much extensibility that someone implementing it could just throw away all of the default fields in a patient's record and create their own, and we're right back to a mess of records that are useless across systems without having custom handlers.

Re:Google Cloud Healthcare API by nradov on Monday April 08, 2019 @01:00PM (#19606954)
FHIR only provides a baseline starting point which covers the most common data elements. That's why for any particular use case the implementers need to get together and write a detailed Implementation Guide. The IG may include extensions for necessary data elements not covered in the standard.

The health IT domain is simply so large and complex that including every use case in a single comprehensive standard would be totally impractical.

Re:Google Cloud Healthcare API by legulere on Monday April 08, 2019 @04:09PM (#19608583)
FHIR is a bit big of ad-hoc mess:

Most specification pages have more shoulds than shalls.

Foundational types are a huge mess. For instance there are countless types of references that look very similar but work differently: absolute references, relative references, contained references and references that are replaced as part of a transaction all use the same field. Literal references suddenly lack the type that is referenced which can be not clear from the context. Then there are references that are just free text. Nothing you would expect to be mandatory actually is: code and system are both 0..1 in Coding for instance. A lot of things are not specified how they work at all but just have examples, for instance slicing or how the serialization actually works. Adhering to profiles from someone else is a huge pain in the ass, xml schemas are easier to understand and work with, you gain nothing from using FHIR. If a FHIR rest server does not understand your conditional requests it might just execute them when the condition would evaluate to false. Types that somehow look similar are shoehorned into one type, like transaction requests and search results. FHIR sits in a sweet spot of modeling Health data: not detailed enough to be useful interoperable on its own, detailed enough to not be compatible with other models without a pain in the ass. It’s like the semantic web again where people tried modeling the world.

FHIR is a bit like JavaScript easy to get something to work at the start but hard to actually get it right.

Re:Google Cloud Healthcare API by nradov on Monday April 08, 2019 @10:21AM (#19605442)
HL7 is an independent, worldwide standards development organization. Which specific framework are you referring to?

I have personally participated in quite a bit of HL7 standards development and I can guarantee you that regulators have only minor influence over the process. HL7 work groups have multiple types of participants including providers, payers, vendors, and regulators.

The older HL7 V2 and V3 standards can take a while to learn. FHIR (which is essentially HL7 V4) is a bit easier to understand. But the health IT domain is inherently complex and can never be made simple.

Re:Google Cloud Healthcare API by fjabre on Monday April 08, 2019 @11:52AM (#19606321)
I was referring to all frameworks/standards that the HL7 org has developed for handling of patient/clinical data.

Patient data is not special other than its security requirements. There does not need to be a layer of standards in this space dedicated to handling/transfer of clinical/hospital data between organizations. Private industry & hospitals can solve this without the need for a standards board or HL7 standards. We have enough standards for handling/transfer of sensitive data.

Engineers have already solved that with interoperable data systems dedicated to managing and sorting through large sets of data. Healthcare data is simply data. There are plenty of other types of highly sensitive data that don't need an entire organization dictating bloated standards implementations that are already highly fragmented themselves.

HL7 is an unnecessary abstraction.

Re:Google Cloud Healthcare API by markolschesky on Monday April 08, 2019 @11:14AM (#19605912)
HL7v2 was invented in 1989. It was invented to meet the needs of then intra-operability between existing HIS systems. HL7 itself is a open organization comprised of a variety of members from vendors to health systems to life sciences/pharma.

HL7v2's problem is that it is 30 years old and probably should have been replaced by something earlier. Then again, so should most X12, mainframes, COBOL, etc. etc. FHIR is good, but the challenge is that the incentives for interoperability are much lower than those for intra-operability.

Re:Google Cloud Healthcare API by snuxoll on Monday April 08, 2019 @12:16PM (#19606542)
People love to bitch about HL7, but it gets far too much vitriol compared to X12. You want to talk about an antiquated format that should be taken out back and shot, here is your target.

The annoying part is the QACH CORE Connectivity Rule has finally made interacting with health care partners for X12 transactions suck less by providing standard REST and SOAP interfaces for transaction exchange, but we couldn’t be bothered to implement a less shitty transaction format.

HL7 is a work of art in comparison.

Re:Google Cloud Healthcare API by droobles on Monday April 08, 2019 @09:52AM (#19605172)
I used to sit next to a guy at a healthcare startup that wrote some huge HL7 parser, I wonder if they still use it. They were considering open sourcing it.
Re:Google Cloud Healthcare API by eclipxe on Monday April 08, 2019 @10:34AM (#19605546)
I built an HL7 parser at a startup that was open source. Mirth.
Re:Google Cloud Healthcare API by CalumSult on Monday April 08, 2019 @10:39AM (#19605609)
I use Mirth, thanks for open sourcing it!
Re:Google Cloud Healthcare API by eclipxe on Monday April 08, 2019 @12:50PM (#19606849)
Awesome to hear that people are using it - I've long since moved on, but the days debugging my MLLP code were some of my favorite times!
Re:Google Cloud Healthcare API by nwhatt on Monday April 08, 2019 @01:58PM (#19607493)
Re:Google Cloud Healthcare API by scruple on Monday April 08, 2019 @07:05PM (#19610013)
We still use Mirth in a few legacy systems at work. I have fond memories of writing some custom JavaScript modules that were manipulating HL7 data at the time, was some fun work. I believe that they're still in use today, too.
Re:Google Cloud Healthcare API by markolschesky on Monday April 08, 2019 @11:15AM (#19605916)
I love Mirth and the community that's built around it. Thank you very much for all the work you did on the project.
Re:Google Cloud Healthcare API by eclipxe on Monday April 08, 2019 @12:50PM (#19606857)
Great to hear! I've been off the project for years, but great to hear the community is going strong! I was the first community manager!
Re:Google Cloud Healthcare API by bryanrasmussen on Monday April 08, 2019 @11:32AM (#19606123)
Rule: Frameworks focused on heavily regulated domains will read as though they were devised by lawyers and policy makers.
Re:Google Cloud Healthcare API by cabaalis on Monday April 08, 2019 @10:42AM (#19605633)
I wouldn't call it a joke because it is functional, but HL7 is terribly unwieldy and IMO is contributing to the lack of innovation in the space.
Re:Google Cloud Healthcare API by allyant on Monday April 08, 2019 @10:05AM (#19605285)
Ha! This brings back memories - trying to figure out exactly what HL7 FHIR resource your data belongs to, and how the relationships are setup can take a long time.
Re:Google Cloud Healthcare API by Insanity on Monday April 08, 2019 @10:30AM (#19605518)
Yeah, healthcare standards are peculiar.. Not just HL7 though, I find that a lot of the communication formats (with government services etc) are either badly documented or badly designed. Usually, both.
Re:Google Cloud Healthcare API by nradov on Monday April 08, 2019 @10:42AM (#19605637)
Have you taken the time to enter formal change requests for problems you have found in HL7 standards? Implementers are encouraged to do so, and the HL7 work groups do take those requests seriously. Sometimes you have to take active steps to improve the situation.
Re:Google Cloud Healthcare API by Insanity on Monday April 08, 2019 @11:01AM (#19605786)
For HL7 I have not done so because I don't actively work with it(apart from helping a colleague every now and then). For other formats provided by the (Belgian) government I have. And even made some PRs to their services :)

Which they did merge and overal they do seem open to improvements of their systems and standards.

Re:Google Cloud Healthcare API by Darkstack on Monday April 08, 2019 @10:36AM (#19605579)
I wrote a HL7 ADT parser (version 1/2 with the horrible MSH header) with some fields removed/obfuscated to meet legislation in my country, yes HL7 is a mess, it looks awful, but it works.