@leafwell/medicalcard
TypeScript icon, indicating that this package has built-in type declarations

0.0.38 • Public • Published

Leafwell Provider Medical Card

A simple document for Leafwell Provider medical card's lib for any of these enviroments: Node.js and compatible with React and React Native. For better understading about the methods and arguments, please make ensure you have typescript installed and configured on your project.

Installation

Using npm:

$ npm install @leafwell/medicalcard

Using yarn:

$ yarn add @leafwell/medicalcard

Example

import Client from "@leafwell/medicalcard";

type ClientHeaders = {
  authorizationBearer?: string;
};

(async function main() {
  const options: ClientHeaders = {
    authorizationBearer: "",
  };

  Client.initialize("url", options);

  const response = await Client.api.startVideoCall({
    clinicianId: "",
    roomId: "",
  });

  console.log(response);
})();

Usage

#### Methods/properties available

```js
Client.initialize();
Client.api

Methods available in api property:

Products

api.disconnectVideoCall();

api.startVideoCall();

Readme

Keywords

none

Package Sidebar

Install

npm i @leafwell/medicalcard

Weekly Downloads

4

Version

0.0.38

License

MIT

Unpacked Size

35.1 kB

Total Files

39

Last publish

Collaborators

  • mnogueira27
  • minuscode