vitagroup TEMPLATE API

The TEMPLATE API from vitagroup — 3 operation(s) for template.

Operations 3

GET /rest/openehr/v1/definition/template/adl1.4/{template_id}/webtemplate Deprecated since 2.2.0 and marked for removal #
GET /rest/ecis/v1/template/{templateId} Deprecated since 2.0.0 and marked for removal #
GET /rest/ecis/v1/template/{templateId}/example Deprecated since 2.0.0 and marked for removal #

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/vitagroup-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

vitagroup-template-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EHRbase 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: Template
paths:
  /rest/openehr/v1/definition/template/adl1.4/{template_id}/webtemplate:
    get:
      tags:
      - Template
      summary: Deprecated since 2.2.0 and marked for removal
      description: Replaced by /rest/openehr/v1/definition/template/adl1.4/{template_id}
      operationId: getWebTemplate
      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/json:
              schema:
                $ref: '#/components/schemas/WebTemplate'
            application/openehr.wt+json:
              schema:
                $ref: '#/components/schemas/WebTemplate'
      deprecated: true
  /rest/ecis/v1/template/{templateId}:
    get:
      tags:
      - Template
      summary: Deprecated since 2.0.0 and marked for removal
      description: Replaced by /rest/openehr/v1/definition/template/adl1.4/{template_id}/webtemplate. Note the replacement endpoint provides the Web-Template as it is, without wrapping it in a `webTemplate` property.
      operationId: getTemplate
      parameters:
      - name: templateId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateResponseData'
            application/xml:
              schema:
                $ref: '#/components/schemas/TemplateResponseData'
      deprecated: true
  /rest/ecis/v1/template/{templateId}/example:
    get:
      tags:
      - Template
      summary: Deprecated since 2.0.0 and marked for removal
      description: Replaced by /rest/openehr/v1/definition/template/adl1.4/{template_id}/example
      operationId: getTemplateExample_1
      parameters:
      - name: templateId
        in: path
        required: true
        schema:
          type: string
      - name: format
        in: query
        required: false
        schema:
          type: string
          default: FLAT
          enum:
          - FLAT
          - STRUCTURED
          - RAW
          - XML
          - ECISFLAT
          - EXPANDED
          - JSON
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
            application/xml:
              schema:
                type: string
      deprecated: true
components:
  schemas:
    WebTemplateInput:
      type: object
      properties:
        suffix:
          type: string
        type:
          type: string
        list:
          type: array
          items:
            $ref: '#/components/schemas/WebTemplateInputValue'
        listOpen:
          type: boolean
        validation:
          $ref: '#/components/schemas/WebTemplateValidation'
        terminology:
          type: string
        defaultValue:
          type: string
    WebTemplateTerminology:
      type: object
      properties:
        value:
          type: string
        terminologyId:
          type: string
    TemplateResponseData: {}
    WebTemplateInterval:
      type: object
      properties:
        min: {}
        minOp:
          type: string
          enum:
          - '>='
          - '>'
          - <=
          - <
        max: {}
        maxOp:
          type: string
          enum:
          - '>='
          - '>'
          - <=
          - <
    WebTemplate:
      type: object
      properties:
        templateId:
          type: string
        version:
          type: string
        defaultLanguage:
          type: string
        languages:
          type: array
          items:
            type: string
        tree:
          $ref: '#/components/schemas/WebTemplateNode'
    WebTemplateValidation:
      type: object
      properties:
        precision:
          $ref: '#/components/schemas/WebTemplateInterval'
        range:
          $ref: '#/components/schemas/WebTemplateInterval'
        pattern:
          type: string
    WebTemplateInputValue:
      type: object
      properties:
        value:
          type: string
        label:
          type: string
        localizedLabels:
          type: object
          additionalProperties:
            type: string
        localizedDescriptions:
          type: object
          additionalProperties:
            type: string
        termBindings:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/WebTemplateTerminology'
        ordinal:
          type: integer
          format: int32
        currentStates:
          type: array
          items:
            type: string
        validation:
          $ref: '#/components/schemas/WebTemplateValidation'
    WebtemplateCardinality:
      type: object
      properties:
        min:
          type: integer
          format: int32
        max:
          type: integer
          format: int32
        ids:
          type: array
          items:
            type: string
        excludeFromWebTemplate:
          type: boolean
    WebTemplateAnnotation:
      type: object
      properties:
        comment:
          type: string
        other:
          type: object
          additionalProperties:
            type: string
    WebTemplateNode:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        localizedName:
          type: string
        rmType:
          type: string
        nodeId:
          type: string
        min:
          type: integer
          format: int32
        max:
          type: integer
          format: int32
        localizedNames:
          type: object
          additionalProperties:
            type: string
        localizedDescriptions:
          type: object
          additionalProperties:
            type: string
        aqlPath:
          type: string
        children:
          type: array
          items:
            $ref: '#/components/schemas/WebTemplateNode'
        inputs:
          type: array
          items:
            $ref: '#/components/schemas/WebTemplateInput'
        inContext:
          type: boolean
        termBindings:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/WebTemplateTerminology'
        dependsOn:
          type: array
          items:
            type: string
        annotations:
          $ref: '#/components/schemas/WebTemplateAnnotation'
        proportionTypes:
          type: array
          items:
            type: string
            enum:
            - ratio
            - unitary
            - percent
            - fraction
            - integer_fraction
        cardinalities:
          type: array
          items:
            $ref: '#/components/schemas/WebtemplateCardinality'
externalDocs:
  description: EHRbase Documentation
  url: https://docs.ehrbase.org/