|
|
|
|
|
by killjoywashere
1653 days ago
|
|
This is why DICOM is a thing: because hospitals cannot be tied to a vendor for radiology studies. They have to be able to cancel contracts, novate, etc. Sounds like someone is trying to wrap this up, godspeed: https://spectrum.ieee.org/wearable-health-data-standards Also, IMHO, I think healthcare is where protobuf could really win over JSON: a protobuf comes with the schema and any datatype can ride the message. Everything you need is there. Is protobuf a heavier lift to get started? Yeah. So? Healthcare is too heavily regulated (and for good reasons) for this to be a significant issue. The barrier to entry is so much higher than the effort to handle protobuf, that it's lost in the wash. |
|
It's just sad that FHIR has lots of issues as a standard. On one hand it suffers from trying to model the whole world, similar to the problems of the semantic web in the 90s. Even with the cop-out of extensions for things it doesn't support all the objects are very bloated.
A lot of things feel like ad-hoc solutions and there are tons of pitfalls. A primitive value can be there by the primitive value being missing, but an extension being there. FHIR XML cannot be translated to FHIR JSON without access to the resources' definitions, because elements that have a higher maximum cardinality than 1 are serialized as lists in JSON, but the same way in XML. Yet when you read a FHIR XML or JSON you do not know which resource definition applies because there is no way to know the FHIR version. Variant elements that can be different types do not have the element name als the XML element name, but the element name with the type name added to the end after capitalizing the first letter. Profiling the resources is absolutely necessary to ensure interoperability but it's extremely hard to get right.
In the end FHIR brings a whole lot of complexity, while it doesn't bring much of a benefit.