There are 145 resource types in FHIR R4. That’s a lot of objects to create.
Thankfully, a number of SDKs and libraries exist to do all or part of the work for you.
If you’re using C#, Java or Python, you’re covered by one of the open source SDKs out-of-the-box.
If you’re using another language, you’ll find partial SDKs and collections of objects that help, but you’ll be hard pressed to find a complete solution.
This is a good reason to choose your language carefully if you’re starting work on a new FHIR project. Practicality first. It’s not a time to be trendy!
The further down the list you go, the less complete the libraries — correct me if I’m wrong. If I’ve missed any, please leave a comment and share a link.
C# — Firely
https://www.nuget.org/packages/Hl7.Fhir.R4
Java — Smile CDR
https://hapifhir.io/hapi-fhir/docs/getting_started/introduction.html
Python — Beda Software
https://github.com/beda-software/fhir-py
Kotlin – Google
https://github.com/google/android-fhir
JavaScript — fhir.js
https://github.com/FHIR/fhir.js/
PHP
https://github.com/dcarbone/php-fhir
Ruby
https://github.com/fhir-crucible/fhir_client
Golang
https://github.com/samply/golang-fhir-models
Swift
https://github.com/smart-on-fhir/Swift-FHIR
---
Sign up to “The Tuesday FHIR Sessions” and receive an email every Tuesday where I go deep on a single FHIR topic.