Skip to main content
Glama

Medplum MCP Server

by rkirkendall

createCondition

Generate and record patient conditions or diagnoses by specifying a patient ID, condition code, and clinical status. Facilitates accurate healthcare data management for Medplum FHIR servers.

Instructions

Creates a new condition or diagnosis for a patient. Requires a patient ID and a condition code.

Input Schema

NameRequiredDescriptionDefault
clinicalStatusNoThe clinical status of the condition. For example: "active", "inactive", "resolved".
codeYesThe code representing the condition. Must include a coding system, code, and display text.
onsetStringNoEstimated date, state, or age when the condition began (e.g., "about 3 years ago"). Optional.
patientIdYesThe ID of the patient for whom the condition is being created.
recordedDateNoThe date the condition was recorded, in YYYY-MM-DD format. Optional.

Input Schema (JSON Schema)

{ "properties": { "clinicalStatus": { "description": "The clinical status of the condition. For example: \"active\", \"inactive\", \"resolved\".", "enum": [ "active", "recurrence", "relapse", "inactive", "remission", "resolved" ], "type": "string" }, "code": { "description": "The code representing the condition. Must include a coding system, code, and display text.", "properties": { "coding": { "items": { "properties": { "code": { "description": "The code from the system (e.g., \"44054006\").", "type": "string" }, "display": { "description": "The human-readable display text for the code (e.g., \"Type 2 diabetes mellitus\").", "type": "string" }, "system": { "description": "The URI of the coding system (e.g., \"http://snomed.info/sct\").", "type": "string" } }, "required": [ "system", "code", "display" ], "type": "object" }, "type": "array" }, "text": { "description": "A human-readable summary of the condition.", "type": "string" } }, "required": [ "coding", "text" ], "type": "object" }, "onsetString": { "description": "Estimated date, state, or age when the condition began (e.g., \"about 3 years ago\"). Optional.", "type": "string" }, "patientId": { "description": "The ID of the patient for whom the condition is being created.", "type": "string" }, "recordedDate": { "description": "The date the condition was recorded, in YYYY-MM-DD format. Optional.", "type": "string" } }, "required": [ "patientId", "code" ], "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