fhir
0.12.1, released a year ago by fhirfli.dev
Dart and Flutter library for working with FHIR resources across multiple versions.
WASM-ready
What it does
Provides models and helpers for working with FHIR (Fast Healthcare Interoperability Resources) data standards for versions R4, STU3, DSTU2, and R5 in Dart and Flutter. Includes support for parsing, primitives, and serialization.
AI-written summary of version 0.12.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to build healthcare applications interacting with FHIR APIs
- You are working with FHIR standards R4, STU3, DSTU2, or R5
Skip it when
- You are starting a new project, as this package is now considered legacy and largely unmaintained
- You only need the R4 version (use fhir_r4 instead)
Strengths
- Supports multiple FHIR versions
- Includes helpful data classes, primitives, and timezone handling for FHIR data
Weaknesses
- Rapidly becoming a legacy package with limited active maintenance
- Too large for pub.dev to publish in full form, leading to removed versions like dstu2 and r6 in certain contexts
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 6
Add the dependency to pubspec.yaml.
not documentedAlternatives
Packages that do the same job and could replace fhir.
- coingecko_api
Dart package providing simple access to the CoinGecko API (Version 3).
46Compare
Works with
Packages commonly used together with fhir: ones it builds on, ones built on it, and its own family.
- yamlfhir depends on itA Dart library for parsing YAML documents into Dart data structures.
- uuidfhir depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- json_annotationfhir depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- intlfhir depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- freezed_annotationfhir depends on itAnnotations for the freezed code-generator.
- fhir_r4Same familyStrongly‑typed immutable FHIR R4B resource and data‑type models for Dart/Flutter with JSON/YAML/XML support.
- fhir_pathSame familyModel-independent FHIRPath evaluation engine in Dart, port of the Java reference implementation.