hl7_v2 0.0.1 copy "hl7_v2: ^0.0.1" to clipboard
hl7_v2: ^0.0.1 copied to clipboard

An HL7 v2 message parser and generator, implemented natively in Dart. Allows parsing HL7 v2 messages from their raw string format into a JSON object as well as generating valid HL7 v2 messages from JS [...]

2
likes
135/ 160
pub points
60
downloads

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

failed
Follow Dart file conventions
15 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:2:4

  ╷
2 │ <p><a href="http://www.hl7.org/implement/standards/product_brief.cfm?product_id=185">HL7’s Version 2.x (V2) Messaging Standard</a>
  │    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

15 out of 27 API elements (55.6 %) have documentation comments.

Some symbols that are missing documentation: hl7_v2.Escape, hl7_v2.Escape.Escape, hl7_v2.Escape.component, hl7_v2.Escape.escape, hl7_v2.Escape.field.

10/10 points: Package has 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:hl7_v2/hl7_v2.dart that imports:
  • package:hl7_v2/src/parser/message.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:hl7_v2/hl7_v2.dart that imports:
  • package:hl7_v2/src/parser/message.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 4 issues. Showing the first 2:

/tmp/pana_FESICG/lib/src/schema/fields.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_FESICG/lib/src/schema/messages.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
recase ^4.1.0 4.1.0 4.1.0

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

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.17, Dart 3.6.0.

Check the analysis log for details.

2
likes
135
points
60
downloads

Publisher

verified publisherevoleen.com

Weekly Downloads

An HL7 v2 message parser and generator, implemented natively in Dart. Allows parsing HL7 v2 messages from their raw string format into a JSON object as well as generating valid HL7 v2 messages from JSON objects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

recase

More

Packages that depend on hl7_v2