Compiling the FHIR schema with XJC I've written previously about fixing HL7 CDA schema compilation with XJC, now that I've been looking at FHIR it seems that there are name collisions in that schema too. The actual problem arises out of the W3C XHTML 1.0 Schema and not the FHIR schema per se.
Java validation regex pattern for the OID root UID value I've been focusing on making sure that the input to my web services at work is correct. One of these inputs happens to be the root part of a HL7 OID, which is a dot-separated UID. The values look like this '1.2.3', '188.8.131.52.7774.1', etc. It's very similar to an IP address, but can have more than 4 parts.
JiBX fails to generate Java XML bindings for schemas with circular references I wanted to compare how JiBX stacks against JAXB in terms of performance. From their website, they claim "It also provides very high performance, outperforming all other Java data binding tools across a wide variety of tests.". This sounded great, especially since I've identified that JAXB is a bottleneck. I downloaded JiBX 1.2.6 and proceeded to generate my bindings, only to find that it could not handle my schema.
Performance difference between JAXB and Velocity generating XML fragments One of the peculiarities we've noticed during our recent bout of performance testing at work was how much JVM heap space was being used and immediately garbage collected by one of our web services. The figures were quite staggering, with a peak use of 3Gb to generate the response message in some cases. This was not impacting the performance of the system overall, but still needed investigating as it gives lots of room for improvements.
Online CDA UUID to OID converter I'm a big fan of online tools, especially when it comes to things like string length, or regex validation. So naturally I thought there would be a CDA UUID to OID converter available online somewhere. I was wrong about this, the only references I found were to the algorithms on how to do it. To fill the gap, I put a bit of code together and created an online tool just for this purpose.