We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/medplum/medplum'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors
// SPDX-License-Identifier: Apache-2.0
export interface ObservationType {
id: string;
code: string;
title: string;
description: string;
chartDatasets: {
label: string;
code?: string;
unit: string;
backgroundColor: string;
borderColor: string;
}[];
}
const backgroundColor = 'rgba(29, 112, 214, 0.7)';
const borderColor = 'rgba(29, 112, 214, 1)';
const secondBackgroundColor = 'rgba(255, 119, 0, 0.7)';
const secondBorderColor = 'rgba(255, 119, 0, 1)';
export const measurementStyles: Record<string, ObservationType> = {
'blood-pressure': {
id: 'blood-pressure',
code: '85354-9',
title: 'Blood Pressure',
description:
'Your blood pressure is the pressure exerted on the walls of your blood vessels. When this pressure is high, it can damage your blood vessels and increase your risk for a heart attack or stroke. We measure your blood pressure periodically to make sure it is not staying high. Hypertention is a condition that refers to consistantly high blood pressure.',
chartDatasets: [
{
label: 'Diastolic',
code: '8462-4',
unit: 'mm[Hg]',
backgroundColor: secondBackgroundColor,
borderColor: secondBorderColor,
},
{
label: 'Systolic',
code: '8480-6',
unit: 'mm[Hg]',
backgroundColor,
borderColor,
},
],
},
height: {
id: 'height',
code: '8302-2',
title: 'Height',
description: 'Your height values',
chartDatasets: [
{
label: 'Height',
unit: 'in',
backgroundColor,
borderColor,
},
],
},
weight: {
id: 'weight',
code: '29463-7',
title: 'Weight',
description: 'Your weight values',
chartDatasets: [
{
label: 'Weight',
unit: 'lbs',
backgroundColor,
borderColor,
},
],
},
bmi: {
id: 'bmi',
code: '39156-5',
title: 'BMI',
description: 'An indicator of body density as determined by the relationship of weight to height',
chartDatasets: [
{
label: 'BMI',
unit: 'kg/m^2',
backgroundColor,
borderColor,
},
],
},
};