FHIR Chat · Avro · implementers

Stream: implementers

Topic: Avro


view this post on Zulip Angelo Kastroulis (Apr 23 2021 at 20:44):

Hi all. We've just released a toolchain that will consume FHIR Json Schemas and generate Avro schemas and Java SpecificRecord classes.

It's here if anyone's interested: https://github.com/carreragroup/avro-on-fhir

We'd love feedback if anyone wants to use it.

view this post on Zulip Vibin_chander (Apr 25 2021 at 13:55):

@Angelo Kastroulis trying to understand does it provide the .avsc files for all the resources and their respective data tyoes?

view this post on Zulip Angelo Kastroulis (May 06 2021 at 18:50):

Yes, @Vibin_chander it generates the avsc files, but we also include a gradle project that builds SpecificRecords. We currently have it generating a single avsc, but we're adding a switch the generate loose files.

view this post on Zulip Angelo Kastroulis (May 12 2021 at 15:45):

@Grahame Grieve @Lloyd McKenzie As we work through debugging/implementing this Avro tooling, do either of you think that there would be any interest in transferring the FHIR->Avro repo to HL7 so that the schemas could be part of the balloted package (or if not part of the package, part of some process we could treat as canonical)?

view this post on Zulip Lloyd McKenzie (May 12 2021 at 15:52):

I think it's possible. I suspect that Avro would be as widely used as RDF. First step is probably to submit a change request proposing that. It could then be discussed by FHIR-I and InM.


Last updated: Apr 12 2022 at 19:14 UTC