As for the CCDA piece, that's interesting. It should be pretty easy to build that, it's a pretty simple standard and I think there are C# and Java libs that basically just do it.
lol. It's not the standard that's hard, it's how every EHR vendor has implemented it.
*ehr employee who's worked with CCDA and FHIR
Maybe 80% of it is nice and sane and then you realize that it also seems to work for animals and you have a wtf moment.
I haven't dug into it in detail since DSTU2 though.