Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@metriport/commonwell-sdk

Package Overview
Dependencies
Maintainers
10
Versions
394
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metriport/commonwell-sdk

SDK to simplify CommonWell API integration - by Metriport Inc.

latest
Source
npmnpm
Version
8.10.1
Version published
Weekly downloads
8.9K
14.84%
Maintainers
10
Weekly downloads
 
Created
Source

commonwell-sdk

SDK to simplify CommonWell API integration - by Metriport Inc.

Usage

To connect to the CommonWell API, you can use the one of the options below:

  • CommonWellMember class:
    • This class is used to connect to the CommonWell API as a member organization.
    • It is used to create, update, and delete organizations, certificates, and other resources.
  • CommonWell class:
    • This class is used to connect to the CommonWell API as a contributor organization.
    • It is used to create, update, link, and delete patients, query documents, and other resources.

CommonWellMember

import { APIMode, CommonWellMember } from "@metriport/commonwell-sdk";

const commonWellMember = new CommonWellMember({
  orgCert: "<member-certificate-string>",
  rsaPrivateKey: "<member-private-key-string>",
  memberName: "<member-name>",
  memberId: "<member-id>",
  apiMode: APIMode.integration, // or APIMode.production
});

CommonWell

import { APIMode, CommonWell } from "@metriport/commonwell-sdk";

const commonWell = new CommonWell({
  orgCert: "<contributor-certificate-string>",
  rsaPrivateKey: "<contributor-private-key-string>",
  orgName: "<contributor-name>",
  oid: "<contributor-id>",
  homeCommunityId: "<contributor-home-community-id>",
  npi: "<contributor-npi>",
  apiMode: APIMode.integration, // or APIMode.production
});
            ,▄,
          ▄▓███▌
      ▄▀╙   ▀▓▀    ²▄
    ▄└               ╙▌
  ,▀                   ╨▄
  ▌                     ║
                         ▌
                         ▌
,▓██▄                 ╔███▄
╙███▌                 ▀███▀
    ▀▄
      ▀╗▄         ,▄
         '╙▀▀▀▀▀╙''


      by Metriport Inc.

FAQs

Package last updated on 27 Jan 2026

Did you know?

Socket

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