fhir_path 0.12.0 copy "fhir_path: ^0.12.0" to clipboard
fhir_path: ^0.12.0 copied to clipboard

FHIRPath navigation and extraction language implemented in pure Dart to be used with base FHIR packages.

5
likes
130/ 160
pub points
1.09k
downloads

We analyzed this package 5 days ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

601 out of 1058 API elements (56.8 %) have documentation comments.

Some symbols that are missing documentation: arg_fxn_lexer, boolean_logic_parser, boolean_logic_parser.AndStringParser, boolean_logic_parser.AndStringParser.AndStringParser.new, boolean_logic_parser.AndStringParser.after.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:fhir_path/fhir_path.dart that imports:
  • package:fhir_path/utils/utils.dart that imports:
  • package:fhir_path/utils/singleton_evaluation.dart that imports:
  • package:ucum/ucum.dart that imports:
  • package:ucum/special/special.dart that imports:
  • package:ucum/special/xml_utils.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:fhir_path/fhir_path.dart that imports:
  • package:fhir_path/utils/utils.dart that imports:
  • package:fhir_path/utils/singleton_evaluation.dart that imports:
  • package:ucum/ucum.dart that imports:
  • package:ucum/special/special.dart that imports:
  • package:ucum/special/xml_utils.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 43 issues. Showing the first 2:

INFO: The variable name 'DATE' isn't a lowerCamelCase identifier.

lib/lexer/literal_lexer.dart:79:26

   ╷
79 │ final Parser<DateParser> DATE = (char('@') & DATEFORMAT).flatten().map((value) {
   │                          ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/lexer/literal_lexer.dart

INFO: The variable name 'DATETIME' isn't a lowerCamelCase identifier.

lib/lexer/literal_lexer.dart:83:30

   ╷
83 │ final Parser<DateTimeParser> DATETIME = (char('@') &
   │                              ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/lexer/literal_lexer.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
collection ^1.18.0 1.19.1 1.19.1
fhir ^0.12.0 0.12.0 0.12.0
petitparser ^6.0.2 6.1.0 6.1.0
ucum ^0.4.0 0.4.0 0.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
freezed_annotation - 2.4.4 3.0.0
intl - 0.19.0 0.20.2
json_annotation - 4.9.0 4.9.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
xml - 6.5.0 6.5.0
xml2json - 6.2.7 6.2.7
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.4.0` on ucum does not support the stable version `0.5.0`.

Try running dart pub upgrade --major-versions ucum to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
130
points
1.09k
downloads

Publisher

verified publisherfhirfli.dev

Weekly Downloads

FHIRPath navigation and extraction language implemented in pure Dart to be used with base FHIR packages.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

collection, fhir, petitparser, ucum

More

Packages that depend on fhir_path