Socket
Socket
Sign inDemoInstall

medisot-compliance-library

Package Overview
Dependencies
69
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    medisot-compliance-library

Resource Standards library that comes with utilities


Version published
Weekly downloads
2
Maintainers
1
Install size
6.44 MB
Created
Weekly downloads
 

Readme

Source


CORNELIUS
The compliance library that is responsible for maintaining all the standard healthcare resources

How to use
To use, add the library as a dependency in the ioc and inject the same wherever required:

  1. Registering the dependency in the container
import {Container} from "inversify";
import { PatientResourceUtils } from "medisot-compliance-library";

let container = new Container();
container.bind<PatientResourceUtils>(TYPES.PatientResourceUtils).to(PatientResourceUtils);
  1. Injecting the dependency where required
export default class UserService {
   constructor(@inject(TYPES.PatientResourceUtils) private patientResourceUtils: PatientResourceUtils) {}
}
  1. Using the injected dependency to perform resource conversion
let formattedUserProfile = this.patientResourceUtils.convertIntoFHIR(userProfile, "medisot");

FAQs

Last updated on 12 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc