Skip to main content
Glama

Medplum MCP Server

by rkirkendall

createObservation

Generate clinical observations (lab results, vital signs, etc.) by specifying patient ID, observation code, and status to streamline data entry in healthcare systems.

Instructions

Creates a new observation (lab result, vital sign, etc.). Requires patient ID and code.

Input Schema

NameRequiredDescriptionDefault
codeYesThe code representing what was observed (LOINC, SNOMED CT, etc.).
encounterIdNoThe encounter this observation is associated with. Optional.
patientIdYesThe ID of the patient this observation is for.
statusYesThe status of the observation.
valueQuantityNoNumeric value of the observation. Optional.
valueStringNoString value of the observation. Optional.

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "The code representing what was observed (LOINC, SNOMED CT, etc.).", "type": "string" }, "encounterId": { "description": "The encounter this observation is associated with. Optional.", "type": "string" }, "patientId": { "description": "The ID of the patient this observation is for.", "type": "string" }, "status": { "description": "The status of the observation.", "enum": [ "registered", "preliminary", "final", "amended", "corrected", "cancelled" ], "type": "string" }, "valueQuantity": { "description": "Numeric value of the observation. Optional.", "type": "number" }, "valueString": { "description": "String value of the observation. Optional.", "type": "string" } }, "required": [ "patientId", "code", "status" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rkirkendall/medplum-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server