Stream: implementers
Topic: C++ FHIR Client API
David Flade (Jul 01 2021 at 19:44):
Dear FHIR community,
can anybody recommend an open source FHIR Client API for C++ ?
Best wishes,
David
Grahame Grieve (Jul 01 2021 at 19:47):
have you looked at the firely DotNet library (se #dotnet)
David Flade (Jul 01 2021 at 19:59):
Hi Graham, I had a look in GitHub: https://github.com/FirelyTeam/firely-net-sdk . But this is for C#. I couldn't find there anything for C++.
David Flade (Jul 01 2021 at 20:01):
Also here is nothing listed:
https://wiki.hl7.org/Open_Source_FHIR_implementations
David Flade (Jul 01 2021 at 20:22):
Did anybody make experiences with this?
https://github.com/google/fhir/tree/master/cc/google/fhir
Grahame Grieve (Jul 01 2021 at 21:31):
oh. sorry. didn't read carefully enough
Lloyd McKenzie (Jul 01 2021 at 21:54):
I'm not aware of anyone having done any work with C++
Brian Postlethwaite (Jul 01 2021 at 22:30):
You should be able to adapt the c# code generation to at least get you the models in c++ but you'll probably need to do your own serializers and utilities.
Peter Jordan (Jul 01 2021 at 23:18):
Yes, you'd need to replace anything in the C# library that uses the .NET Framework Classes with an alternative or write your own if they don't exist. Haven't touched C++ for ages (thankfully) - but I'm guessing there are plenty of C++ classes/templates out there for handling xml and json.
David Flade (Jul 05 2021 at 08:01):
Thanks to all of you for your input!
Josh Mandel (Jul 06 2021 at 03:19):
https://github.com/google/fhir/tree/master/cc/google/fhir is Google's proto implementation; gives you a way to parse/serialize JSON into protos, which is one take at the "models in c++" part of a client API.
Last updated: Apr 12 2022 at 19:14 UTC