# openehr_ehr_create

A write tool on the openEHR MCP Server MCP server.

Agent View of the PolicyLayer registry record for `openehr_ehr_create`. HTML page: https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-ehr-create

## Facts

- Tool: `openehr_ehr_create`
- Server: openEHR MCP Server (`deak-ai/openehr-mcp-server`) — https://policylayer.com/tools/deak-ai-openehr-mcp-server.md
- Homepage: https://github.com/deak-ai/openehr-mcp-server
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "openehr_ehr_create",
    "arguments": {}
  }
}
```

## Why openehr_ehr_create is rated Medium

Creating a new EHR is a Write operation—it creates data reversibly. It is not Destructive (no deletion), Execute (no arbitrary code execution), or Financial. Severity is high because EHRs contain sensitive patient health information; unauthorized creation could compromise data integrity and create false medical records.

From the tool's own definition: "Tool name 'openehr_ehr_create' indicates creation of a new EHR (Electronic Health Record). The server description confirms it enables 'creating compositions, managing EHRs'."

## Use case

AI agents use openehr_ehr_create to create or update resources in openEHR MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your openEHR MCP Server environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches openEHR MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "openehr_ehr_create": {
      "limits": [
        {
          "counter": "openehr_ehr_create_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on openEHR MCP Server (12)

- `openehr_composition_delete` — Destructive — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-composition-delete.md
- `openehr_query_adhoc` — Execute — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-query-adhoc.md
- `openehr_composition_get` — Read — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-composition-get.md
- `openehr_compositions_list` — Read — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-compositions-list.md
- `openehr_ehr_get` — Read — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-ehr-get.md
- `openehr_ehr_get_by_subject` — Read — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-ehr-get-by-subject.md
- `openehr_ehr_list` — Read — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-ehr-list.md
- `openehr_template_example_composition` — Read — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-template-example-composition.md
- `openehr_template_get` — Read — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-template-get.md
- `openehr_template_list` — Read — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-template-list.md
- `openehr_composition_create` — Write — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-composition-create.md
- `openehr_composition_update` — Write — https://policylayer.com/tools/deak-ai-openehr-mcp-server/openehr-composition-update.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=deak-ai-openehr-mcp-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/deak-ai-openehr-mcp-server
