EHRbase ADL 1.4 TEMPLATE API

The ADL 1.4 TEMPLATE API from EHRbase — 3 operation(s) for adl 1.4 template.

Operations 4

GET /rest/openehr/v1/definition/template/adl1.4 List templates #
POST /rest/openehr/v1/definition/template/adl1.4 Upload a template #
GET /rest/openehr/v1/definition/template/adl1.4/{template_id} Get template #
GET /rest/openehr/v1/definition/template/adl1.4/{template_id}/example Get an example composition for the specified template #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ehrbase-adl-1-4-template-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ehrbase-adl-1-4-template-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EHRbase ADL 1.4 TEMPLATE API
  description: 'EHRbase implements the official openEHR REST API. Additionally, EHRbase provides a custom `status` heartbeat endpoint, an Admin API (if activated) and a Status and Metrics API (if activated) for monitoring and maintenance. Note: The openEHR REST API is documented in their official documentation, not here. Please refer to their separate documentation.'
  license:
    name: Apache 2.0
    url: https://github.com/ehrbase/ehrbase/blob/develop/LICENSE.md
  version: v1
servers:
- url: https://sandkiste.ehrbase.org/ehrbase
  description: Generated server url
tags:
- name: ADL 1.4 TEMPLATE
paths:
  /rest/openehr/v1/definition/template/adl1.4:
    get:
      tags:
      - ADL 1.4 TEMPLATE
      summary: List templates
      externalDocs:
        url: https://specifications.openehr.org/releases/ITS-REST/latest/definition.html#tag/ADL1.4/operation/definition_template_adl1.4_list
      operationId: getTemplatesClassic
      parameters:
      - name: Accept
        in: header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TemplateMetaDataDto'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TemplateMetaDataDto'
    post:
      tags:
      - ADL 1.4 TEMPLATE
      summary: Upload a template
      externalDocs:
        url: https://specifications.openehr.org/releases/ITS-REST/latest/definition.html#tag/ADL1.4/operation/definition_template_adl1.4_upload
      operationId: createTemplateClassic
      parameters:
      - name: Prefer
        in: header
        required: false
        schema:
          type: string
      requestBody:
        content:
          application/xml:
            schema:
              type: string
        required: true
      responses:
        '201':
          description: Created
          content:
            application/xml:
              schema:
                type: string
  /rest/openehr/v1/definition/template/adl1.4/{template_id}:
    get:
      tags:
      - ADL 1.4 TEMPLATE
      summary: Get template
      externalDocs:
        url: https://specifications.openehr.org/releases/ITS-REST/latest/definition.html#tag/ADL1.4/operation/definition_template_adl1.4_get
      operationId: getTemplateClassic
      parameters:
      - name: Accept
        in: header
        required: false
        schema:
          type: string
      - name: template_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/xml:
              schema:
                type: object
            application/json:
              schema:
                type: object
            application/openehr.wt+json:
              schema:
                type: object
  /rest/openehr/v1/definition/template/adl1.4/{template_id}/example:
    get:
      tags:
      - ADL 1.4 TEMPLATE
      summary: Get an example composition for the specified template
      operationId: getTemplateExample
      parameters:
      - name: Accept
        in: header
        required: false
        schema:
          type: string
      - name: template_id
        in: path
        required: true
        schema:
          type: string
      - name: format
        in: query
        description: Composition format
        required: false
        schema:
          type: string
          enum:
          - JSON
          - XML
          - STRUCTURED
          - FLAT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
            application/xml:
              schema:
                type: string
            application/openehr.wt.structured.schema+json:
              schema:
                type: string
            application/openehr.wt.flat.schema+json:
              schema:
                type: string
components:
  schemas:
    TemplateMetaDataDto:
      type: object
      properties:
        concept:
          type: string
        template_id:
          type: string
        archetype_id:
          type: string
        created_timestamp:
          type: string
          format: date-time
externalDocs:
  description: EHRbase Documentation
  url: https://docs.ehrbase.org/