1.0.6 • Published 8 months ago
@medipass/medicare-easyclaim-validation v1.0.6
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 installLocal Development
Setting Up Local Development
- In the medicare-easyclaim-validation directory:
# Build the package
$ pnpm build
# Link the package globally
$ pnpm link --global- 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 --watchSwitching Back to Published Version
# In your project directory
$ pnpm unlink @medipass/medicare-easyclaim-validation
$ pnpm add @medipass/medicare-easyclaim-validation@latestTesting
# Run all tests
$ pnpm testPackage Versioning
We follow semantic versioning (MAJOR.MINOR.PATCH):
Patch (0.0.X): For bug fixes and small enhancements
$ pnpm version:patchMinor (0.X.0): For new features without breaking changes
$ pnpm version:minorMajor (X.0.0): For new features with breaking changes
$ pnpm version:major
Publishing Package
# Publish the package
$ pnpm publish