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

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

4
likes
100/ 140
pub points
68%
popularity

We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 140):

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

606 out of 1064 API elements (57.0 %) have documentation comments.

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 42 issues. Showing the first 2:

WARNING: Braces unnecessarily wrap this expression in a set literal.

lib/petit/lexer/fhir_path_lexer.dart:58:21

   ╷
58 │         (i, entry) => {
   │ ┌─────────────────────^
59 │ │         if (entry is MinusParser || entry is PlusParser)
60 │ │           {
61 │ │             if (i == 0 || fullList[i - 1] is OperatorParser)
62 │ │               {
63 │ │                 fullList[i] = entry is MinusParser
64 │ │                     ? UnaryNegateParser()
65 │ │                     : UnaryPlusParser()
66 │ │               }
67 │ │           }
68 │ │       },
   │ └───────^
   ╵

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

INFO: Use 'TypeName _' instead of a type literal.

lib/petit/parser/operation_parser/comparison_parser.dart:212:12

    ╷
212 │       case num:
    │            ^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/petit/parser/operation_parser/comparison_parser.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.17.2 1.18.0 1.18.0
fhir ^0.11.4 0.11.4 0.12.0
petitparser ^6.0.2 6.0.2 6.0.2
units_converter ^2.1.1 2.1.1 3.0.0
Transitive dependencies
Package Constraint Compatible Latest
crypto - 3.0.3 3.0.3
fixnum - 1.1.0 1.1.0
freezed_annotation - 2.4.1 2.4.1
json_annotation - 4.8.1 4.8.1
meta - 1.12.0 1.12.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 4.3.3 4.3.3
xml - 6.5.0 6.5.0
xml2json - 6.2.3 6.2.3
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.11.4` on fhir does not support the stable version `0.12.0`.

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

The constraint `^2.1.1` on units_converter does not support the stable version `3.0.0`.

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

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

Analyzed with Pana 0.22.2, Dart 3.3.0.

Check the analysis log for details.

4
likes
100
pub points
68%
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, units_converter

More

Packages that depend on fhir_path