FHIR Chat · serialization/parse · dotnet

Stream: dotnet

Topic: serialization/parse


view this post on Zulip Jose Molina (Jan 26 2018 at 15:15):

Hello,
I'm looking to use this package. I wanted to know if you have any future plans to support different serialization/parsing implementations like protobuf? looking to extend this, it already has alot of good work in it that I don't want to duplicate.

view this post on Zulip Michel Rutten (Jan 28 2018 at 16:10):

Hi @Jose Molina, currently we're not working on implementing alternative serialization formats. However we're certainly interested in pull requests. Support for protobuf could be a useful addition. The Google team would probably welcome this ;p @Ewout Kramer, what do you think?

view this post on Zulip Ewout Kramer (Jan 28 2018 at 20:07):

Yes, Google is currently working at defining a protobuf mapping for FHIR. It would make sense to have a FHIR POCO -> protobuf in the .NET API once that is done. So, we're waiting for Google's work to mature, and then we can make this work.

view this post on Zulip Michael van der Zel (Jan 28 2018 at 21:17):

I am working on the RDF serializer and parser and I agree with you. A lot is generic and is already in the .Net API!

view this post on Zulip Jose Molina (Jan 30 2018 at 14:30):

@Ewout Kramer thanks. do you know where i could track their progress for the google side. is there a github i can subscribe to?

view this post on Zulip Brian Postlethwaite (Jan 30 2018 at 17:01):

Once the first pass on this is done, I'm happy to co-ordinate the code generation for the whole model or at least collaborate on it.

view this post on Zulip Christiaan Knaap (Jan 30 2018 at 19:58):

@Jose Molina : Googles work is currently not in a public repo. Best to keep updated here and probably during the next FHIR DevDays in Boston.

view this post on Zulip Brian Postlethwaite (Jul 23 2018 at 06:41):

Any news on the c# protobuf implementation, looks like something is here...
https://github.com/google/protobuf/blob/master/csharp/src/AddressBook/Addressbook.cs

view this post on Zulip Brian Postlethwaite (Jul 23 2018 at 06:43):

Happy to do the grunt work on the serializer if the Google side of things was done.

view this post on Zulip Ewout Kramer (Jul 23 2018 at 11:06):

Hold on, is there something we need to do?

view this post on Zulip Brian Postlethwaite (Jul 23 2018 at 23:40):

I'm not sure to be honest.

view this post on Zulip Martijn Harthoorn (Jul 30 2018 at 12:26):

The link from google is generated C# code, from a .proto file.

view this post on Zulip Martijn Harthoorn (Jul 30 2018 at 12:27):

That might not by very flexible for any FHIR resource C# Poco. Might also not work for things like slices and complex extensions.

view this post on Zulip Jose Molina (Aug 17 2018 at 18:57):

I would also love to know the status of this? we are starting a new project and protobuf support would be awesome!

view this post on Zulip Ewout Kramer (Sep 25 2018 at 08:59):

@Patrik Sundberg probably knowns the latest about this....

view this post on Zulip Jose Molina (Nov 18 2019 at 18:23):

So ASP.NET Core now has support for gRPC, and we want to venture into this and create a FHIR .proto file and play with this, do you guys already have a .proto file for fhir? https://devblogs.microsoft.com/aspnet/grpc-vs-http-apis/

view this post on Zulip Brian Postlethwaite (Nov 18 2019 at 21:23):

The protobuf files are around somewhere.

view this post on Zulip Josh Mandel (Nov 18 2019 at 22:53):

https://github.com/google/fhir/tree/master/proto

view this post on Zulip Josh Mandel (Nov 18 2019 at 22:54):

(but maybe you're asking about protos for the RPC definitions themselves?)


Last updated: Apr 12 2022 at 19:14 UTC