1.0.6 • Published 8 months ago

@medipass/medicare-easyclaim-validation v1.0.6

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Medicare Easyclaim Validation

A package for validating Medicare Easyclaim data elements according to the Logic Pack Users Guide V2.0.

This package provides:

  • Schema definitions for data elements
  • Validation rules for patient claims and bulk bill claims
  • Runtime validation
  • Detailed error messages with Medicare error codes

Installation

# You are required to login to access our Medipass private repositories
# https://docs.npmjs.com/cli/v9/commands/npm-login
$ npm login

# Install dependencies using pnpm
# https://pnpm.io/
$ pnpm install

Local Development

Setting Up Local Development

  1. In the medicare-easyclaim-validation directory:
# Build the package
$ pnpm build

# Link the package globally
$ pnpm link --global
  1. In your project where you want to use this package:
# Remove the current dependency if it exists
$ pnpm remove @medipass/medicare-easyclaim-validation

# Link to the global package
$ pnpm link @medipass/medicare-easyclaim-validation

# Verify if the package is linked properly
$ pnpm list --depth 0

# Watch for changes to the package
$ pnpm run build --watch

Switching Back to Published Version

# In your project directory
$ pnpm unlink @medipass/medicare-easyclaim-validation
$ pnpm add @medipass/medicare-easyclaim-validation@latest

Testing

# Run all tests
$ pnpm test

Package Versioning

We follow semantic versioning (MAJOR.MINOR.PATCH):

  • Patch (0.0.X): For bug fixes and small enhancements

    $ pnpm version:patch
  • Minor (0.X.0): For new features without breaking changes

    $ pnpm version:minor
  • Major (X.0.0): For new features with breaking changes

    $ pnpm version:major

Publishing Package

# Publish the package
$ pnpm publish
1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago

1.0.0

10 months ago