Resource Standards library that comes with utilities

Usage no npm install needed!

<script type="module">
  import medisotComplianceLibrary from '';


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();
  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");