NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2331 most downloaded on pub.dev
FHIR library of versions R4, STU3, DSTU2, and R5 (draft) for Dart & Flutter.
Last release 1 years ago
12 Jun 2025
Ships unpredictably
gaps range from 2 weeks to 1.3 years
Nearly every release is documented
notes for 50 of 50 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
67 releases · first in 2020
One column per quarter.
Changed some equalities with FhirTime
Put constructors for dateTimes back the way they were
Kind of overhauled FhirDateTimeBase, FhirDate, FhirDateTime, and FhirInstant
Fixed but in Timezones as pointed out by nimeshgarag
attempting to improve accuracies in datetimes with better timezone management
added convenience methods for Address, HumanName, ContactPoint to multiple classes to make updating them easier
* updated dependencies
Added toJsonString for ease of use in sending resources
* updated dependencies
Added in a dbId field (in case you need an int for Id)
I've been playing with some Db packages, and there's some overlap with a number of the primitive types.
Added a few constructors to BundleRequest to more easily create them
Part of FHIR Mapping is Validation, and part of Validation is requesting Resources. While they do come in JSON, you have to be able to find the URL, a
PR accepted from vsaase to keep meta field when updating version
* Updated dependencies
Tried to add a lot more comments to individual fields (partly for pub.dev points and partly for ease of use)
Ensured R4 is up to version R4B (this includes anumber of breaking changes)
Updating so soon for Flutter 3.0.0
Finally updating R5 to most recent releast (0.4.6) - complete with comments
3 Resource methods changed to getters: resourceTypeString, thisReference, path (this will break some things, but I think they make more sense as gette
Added a .fromJsonString(String source) because I'm tired of writing Resource.fromjson(jsonDecode(source));
Because I was tired of having a test version and not an official version
Allow construction of FhirDateTime from another FhirDateTime
* Updated to Dart 2.15.0 * Update other dependencies
Not sure if copyWith was needed for Resource, but now it's there
Now the newId and newIdIfNoId functions return resources as they should, instead of just IDs
Fixing dumb errors (path() again)
Removed copyWith from generic Resource
Messed up updateVersion, changed updateMeta to updateVersion
Added newIdIfNoID, newId and updateMeta to resources (in addition to newVersion which I assume no one was actually using)
* Update dependencies
Split updateVersion method into method for updating only meta or updating only ID
* Updated to Dart 2.14.0
Created extra operators for Dates, DateTimes, Times, Decimal, Integers
Added a workaround for stack overflow on release builds
Tiloc fixed an error in the QuestionnaireResponse
Fixed a constructor issue in Date
Tiloc helped clean up the comments so dartdoc doesn't run so long
No longer use runtimeType string names for primitive type construction
* Stable(ish) & null safe!
updated dependencies, mostly just new version of freezed
Should be completely ready for null safety
Big thanks to Tiloc for his PR on this one. He redid Date, FhirDateTime and Instant to be more useful. So you can now call .toString(), .toYaml(), .to
Need to override `==` better for the same type of object
== better for the same type of objectAdjusted primitives to make them easier to work with
== operator, the primitive must come first when comparing to raw valueAdded example (need those pub points!)
Mostly just cleaning up my repos to be easier for me to work with
Added FHIR® to Readme, with official permission from HL7 and Graham Grieve!
Keep trying to make it easier to use
newVersion method will update resource meta, or allows a separate meta to update and include with resource
added a resourceTypeString method to easily get string from enum (needed for Db)
replaced resourceType in each resource with enum instead of String
Changed resource_utils to use enums instead of runtimeType (because runtimeType doesn't work)
That's right, a whole other version number!
New Function toYamlString() changes resource to string formatted in YAML.
Updating to removed fields that are named using Dart reserved words. I thought I had caught all of them previously, but apparently not. Dart has a num
get becomes get_, extension becomes extension_ etc.). However, these are not changed in the json, so the input and out put remains unchanged.Changed how resourceType handles defaults. It wasn't really functionaing the previous way. In addition, it was required, which mean that you had to in
Changed Duration to FhirDuration because dart core contains Duration and I was tired of dealing with it
* Ran formatter * Generated documentation
Made dstu2 enums 'part of' instead of importing (easier to use dstu2 Enums in other projects)
Your coding agent can read these notes before it upgrades. Set up the MCP server →