GET
/
medical
/
v1
/
organization
curl --request GET \
  --url https://api.sandbox.metriport.com/medical/v1/organization \
  --header 'x-api-key: <api-key>'
import { MetriportMedicalApi } from "@metriport/api-sdk";

const metriport = new MetriportMedicalApi("YOUR_API_KEY");

const org = await metriport.getOrganization();

Response

id
string
required

The ID assigned to your organization. This ID will be used to uniquely identify your organization in medical documents.

oid
string
required

The OID assigned to this Organization.

name
string
required

The name of your organization. This is usually your legal corporate entity name - for example Metriport Inc..

type
string
required

The type of your organization, can be one of: acuteCare, ambulatory, hospital, labSystems, pharmacy, postAcuteCare.

location
Address
required
import { MetriportMedicalApi } from "@metriport/api-sdk";

const metriport = new MetriportMedicalApi("YOUR_API_KEY");

const org = await metriport.getOrganization();
{
    "id": "018a80c4-292a-7486-a1234-7uwe234ert90",
    "oid": "2.16.840.1.113883.3.666.123",
    "type": "postAcuteCare",
    "name": "Metriport Inc.",
    "location": {
      "addressLine1": "2261 Market Street",
      "addressLine2": "#4818",
      "city": "San Francisco",
      "state": "CA",
      "zip": "94114",
      "country": "USA"
    }
}