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
72%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

601 out of 1000 API elements (60.1 %) have documentation comments.

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
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.0.2 6.0.2
ucum ^0.4.0 0.4.0 0.5.0
Transitive dependencies
Package Constraint Compatible Latest
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 2.4.4
intl - 0.19.0 0.20.0
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.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
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.5 6.2.5
yaml - 3.1.2 3.1.2

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.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

5
likes
130
pub points
72%
popularity

Publisher

verified publisherfhirfli.dev

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, fhir, petitparser, ucum

More

Packages that depend on fhir_path