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 [...]

3
likes
135/ 160
pub points
68
downloads

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

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

Failed check 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.

Failed check 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.

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

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

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.new, hl7_v2.Escape.component, hl7_v2.Escape.escape, hl7_v2.Escape.field.

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

Failed check 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.

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 6 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/parser/message.dart:40:31

   ╷
40 │   /// Recursively merges a Map<String,dynamic> [b] into Map<String,dynamic> [a].
   │                               ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/parser/message.dart

INFO: Angle brackets will be interpreted as HTML.

lib/src/parser/message.dart:40:60

   ╷
40 │   /// Recursively merges a Map<String,dynamic> [b] into Map<String,dynamic> [a].
   │                                                            ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/parser/message.dart

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

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

Package Constraint Compatible Latest Notes
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.

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.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
135
points
68
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