fhir_r4 0.2.0 copy "fhir_r4: ^0.2.0" to clipboard
fhir_r4: ^0.2.0 copied to clipboard

FHIR library for supporing the R5 Version of FHIR for Dart & Flutter.

3
likes
120/ 160
pub points
23%
popularity

We analyzed this package 13 hours ago, and awarded it 120 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

17214 out of 21698 API elements (79.3 %) have documentation comments.

Some symbols that are missing documentation: fhir_r4, fhir_r4.AbsParser, fhir_r4.AbsParser.AbsParser, fhir_r4.Account.fhirType, fhir_r4.Account.resourceType.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:fhir_r4/fhir_r4.dart that imports:
  • package:fhir_r4/src/fhir_auth/r4.dart that imports:
  • package:fhir_r4/src/fhir_auth/fhir_client/export.dart that imports:
  • package:fhir_r4/src/fhir_auth/fhir_client/smart_fhir_client.dart that imports:
  • package:fhir_r4/src/fhir_auth/fhir_client/authenticate/device_authentication.dart that imports:
  • package:flutter_web_auth_2/flutter_web_auth_2.dart that imports:
  • package:flutter_web_auth_2/src/server.dart that imports:
  • package:window_to_front/window_to_front.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:fhir_r4/fhir_r4.dart that imports:
  • package:fhir_r4/src/fhir_auth/r4.dart that imports:
  • package:fhir_r4/src/fhir_auth/fhir_client/export.dart that imports:
  • package:fhir_r4/src/fhir_auth/fhir_client/smart_fhir_client.dart that imports:
  • package:fhir_r4/src/fhir_auth/fhir_client/authenticate/device_authentication.dart that imports:
  • package:flutter_web_auth_2/flutter_web_auth_2.dart that imports:
  • package:flutter_web_auth_2/src/server.dart that imports:
  • package:window_to_front/window_to_front.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Windows`.

Because:

  • package:fhir_r4/fhir_r4.dart that imports:
  • package:fhir_r4/src/fhir_auth/r4.dart that imports:
  • package:fhir_r4/src/fhir_auth/fhir_client/export.dart that imports:
  • package:fhir_r4/src/fhir_auth/fhir_client/gcp_fhir_client.dart that imports:
  • package:google_sign_in/google_sign_in.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:fhir_r4/fhir_r4.dart that imports:
  • package:fhir_r4/src/fhir_auth/r4.dart that imports:
  • package:fhir_r4/src/fhir_auth/fhir_client/export.dart that imports:
  • package:fhir_r4/src/fhir_auth/fhir_client/gcp_fhir_client.dart that imports:
  • package:google_sign_in/google_sign_in.dart that declares support for platforms: Android, iOS, macOS, Web.
Package not compatible with platform Web

Because:

  • package:fhir_r4/fhir_r4.dart that imports:
  • package:fhir_r4/src/fhir_path/r4.dart that imports:
  • package:fhir_r4/src/fhir_path/utils/utils.dart that imports:
  • package:fhir_r4/src/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_r4/fhir_r4.dart that imports:
  • package:fhir_r4/src/fhir_path/r4.dart that imports:
  • package:fhir_r4/src/fhir_path/utils/utils.dart that imports:
  • package:fhir_r4/src/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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 33 issues. Showing the first 2:

WARNING: The diagnostic 'invalid_annotation_target' doesn't need to be ignored here because it's already being ignored.

lib/src/fhir_at_rest/fhir_request.freezed.dart:86:12

   ╷
86 │ // ignore: invalid_annotation_target
   │            ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/fhir_at_rest/fhir_request.freezed.dart

WARNING: The diagnostic 'invalid_annotation_target' doesn't need to be ignored here because it's already being ignored.

lib/src/fhir_at_rest/fhir_request.freezed.dart:1153:12

     ╷
1153 │ // ignore: invalid_annotation_target
     │            ^^^^^^^^^^^^^^^^^^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/fhir_at_rest/fhir_request.freezed.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
archive ^3.6.1 3.6.1 4.0.1
collection ^1.18.0 1.19.0 1.19.1
crypto ^3.0.5 3.0.6 3.0.6
fhir_primitives ^0.1.3 0.1.3 0.1.3
flutter flutter 0.0.0 0.0.0
flutter_web_auth_2 ^3.1.2 3.1.2 4.1.0
flutter_web_plugins flutter 0.0.0 0.0.0
freezed_annotation ^2.4.4 2.4.4 2.4.4
google_sign_in ^6.2.1 6.2.2 6.2.2
hive ^2.2.3 2.2.3 2.2.3
http ^1.2.2 1.2.2 1.2.2
http_parser ^4.0.2 4.1.1 4.1.1
intl ^0.19.0 0.19.0 0.20.1
json_annotation ^4.9.0 4.9.0 4.9.0
jwt_decoder ^2.0.1 2.0.1 2.0.1
mime ^1.0.6 1.0.6 2.0.0
oauth2 ^2.0.3 2.0.3 2.0.3
petitparser ^6.0.2 6.0.2 6.0.2
rxdart ^0.28.0 0.28.0 0.28.0
ucum ^0.5.0 0.5.0 0.5.0
universal_io ^2.2.2 2.2.2 2.2.2
url_launcher ^6.3.0 6.3.1 6.3.1
uuid ^4.5.0 4.5.1 4.5.1
xml ^6.5.0 6.5.0 6.5.0
yaml ^3.1.2 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
fixnum - 1.1.1 1.1.1
flutter_web_auth_2_platform_interface - 3.1.0 4.1.0
google_identity_services_web - 0.3.3 0.3.3
google_sign_in_android - 6.1.33 6.1.33
google_sign_in_ios - 5.7.8 5.7.8
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.12.4+3 0.12.4+3
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
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
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
window_to_front - 0.0.3 0.0.3

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

Found 4 issues. Showing the first 2:

The constraint `^3.6.1` on archive does not support the stable version `4.0.0`, that was published 1 days ago.

When archive is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^3.1.2` on flutter_web_auth_2 does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions flutter_web_auth_2 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.16, Flutter 3.27.0-0.2.pre, Dart 3.6.0-334.4.beta.

Check the analysis log for details.