Skip to main content

Getting Started with FHIR-FLI FHIR-FLI Logo

Welcome to the Getting Started guide for FHIR-FLI. This guide will walk you through setting up and using the FHIR-FLI Dart libraries in your projects.

What is FHIR-FLI?

FHIR-FLI (Fast Healthcare Interoperability Resources - with Flutter Library Integration) is a set of Dart libraries that enable Flutter developers to easily work with FHIR data. These libraries provide common functionality that is needed for working with FHIR, including serialization/deserialization, making RESTful requests, SMART on FHIR authentication, local secure storage, FHIRPath, FHIR Bulk Data, FHIR Mapping, CQL, and resource validation.

FHIR Version Support

All packages are available for FHIR R4, R5, and R6. The APIs are identical across versions - just swap the package name:

PackageR4R5R6
Core typesfhir_r4fhir_r5fhir_r6
REST clientfhir_r4_at_restfhir_r5_at_restfhir_r6_at_rest
Auth (SMART)fhir_r4_authfhir_r5_authfhir_r6_auth
Bulk datafhir_r4_bulkfhir_r5_bulkfhir_r6_bulk
CQLfhir_r4_cqlfhir_r5_cqlfhir_r6_cql
Databasefhir_r4_dbfhir_r5_dbfhir_r6_db
Mappingfhir_r4_mappingfhir_r5_mappingfhir_r6_mapping
FHIRPathfhir_r4_pathfhir_r5_pathfhir_r6_path
Validationfhir_r4_validationfhir_r5_validationfhir_r6_validation

The documentation focuses on R4 examples, but all code works identically with R5 and R6 by changing the import.

Here are the official HL7 references for the above functionality