Cadasto ADL1.4 API

Management of [AOM and ADL 1.4](https://specifications.openehr.org/releases/AM/latest) Operational Templates (OPTs). These templates can be created using [modelling tools](https://www.openehr.org/downloads/modellingtools) such as the Template Designer and the Archetype Designer. Operational templates simplify the creation of openEHR-based input or storage implementations by, for a specific COMPOSITION template (use case), collecting all labels, requirements and constraints from all contained archetypes and sub-templates into a single easily parsed file. This file can be a basis for UI-generation/creation and for data validation.

Operations 4

POST /definition/template/adl1.4 Upload a template #
GET /definition/template/adl1.4 List templates #
GET /definition/template/adl1.4/{template_id} Get a template #
GET /definition/template/adl1.4/{template_id}/example Example composition from 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/cadasto-adl1-4-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

cadasto-adl1-4-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Definition ADL1.4 API
  version: latest
  x-status: STABLE
  x-spec: definition
  description: Management of AOM and ADL 1.4 Operational Templates (OPTs).
servers:
- url: https://{baseUrl}/v1
  description: An example openEHR server URL.
  variables:
    baseUrl:
      default: cataniamc.prod.cadasto.com
      description: The (example) server base URL prefix providing openEHR services. This may contain server name, port and base path prefix.
security: []
tags:
- name: ADL1.4
  x-displayName: ADL1.4 TEMPLATE
  description: Management of AOM and ADL 1.4 Operational Templates (OPTs).
paths:
  /definition/template/adl1.4:
    post:
      operationId: definition_template_adl1.4_upload
      summary: Upload a template
      description: Upload a new ADL 1.4 operational template (OPT).
      tags:
      - ADL1.4
      parameters:
      - $ref: '#/components/parameters/Prefer'
      requestBody:
        description: ''
        content:
          application/xml:
            schema:
              oneOf:
              - $ref: '#/components/schemas/OperationalTemplate'
              - type: string
            examples:
              default:
                value: "<template xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.openehr.org/v1\">\n    <language>\n        <terminology_id>\n            <value>ISO_639-1</value>\n        </terminology_id>\n        <code_string>en</code_string>\n    </language>\n    <description>\n        <original_author id=\"Original Author\">Not Specified</original_author>\n        <lifecycle_state>Initial</lifecycle_state>\n        <other_details id=\"MetaDataSet:Sample Set \">Template metadata sample set</other_details>\n        <other_details id=\"Acknowledgements\"></other_details>\n        <other_details id=\"Business Process Level\"></other_details>\n        <other_details id=\"Care setting\"></other_details>\n        <other_details id=\"Client group\"></other_details>\n        <other_details id=\"Clinical Record Element\"></other_details>\n        <other_details id=\"Copyright\"></other_details>\n        <other_details id=\"Issues\"></other_details>\n        <other_details id=\"Owner\"></other_details>\n        <other_details id=\"Sign off\"></other_details>\n        <other_details id=\"Speciality\"></other_details>\n        <other_details id=\"User roles\"></other_details>\n        <details>\n            <language>\n                <terminology_id>\n                    <value>ISO_639-1</value>\n                </terminology_id>\n                <code_string>en</code_string>\n            </language>\n            <purpose>Not Specified</purpose>\n        </details>\n    </description>\n    <uid>\n        <value>b4d7f203-b329-4e89-a58a-c605b19e94de</value>\n    </uid>\n    <template_id>\n        <value>Vital Signs</value>\n    </template_id>\n    <concept>Vital Signs</concept>\n    <definition>\n        <rm_type_name>COMPOSITION</rm_type_name>\n        <occurrences>\n            <lower_included>true</lower_included>\n            <upper_included>true</upper_included>\n            <lower_unbounded>false</lower_unbounded>\n            <upper_unbounded>false</upper_unbounded>\n            <lower>1</lower>\n            <upper>1</upper>\n        </occurrences>\n        <node_id>at0000</node_id>\n        ..."
        required: true
      responses:
        '201':
          $ref: '#/components/responses/201_Template_adl1_4_upload'
        '400':
          $ref: '#/components/responses/400_invalid_template_content'
        '409':
          $ref: '#/components/responses/409_template_already_exists'
    get:
      operationId: definition_template_adl1.4_list
      summary: List templates
      description: List the available ADL 1.4 operational templates (OPT) on the system.
      tags:
      - ADL1.4
      responses:
        '200':
          $ref: '#/components/responses/200_TemplateList_adl1_4'
  /definition/template/adl1.4/{template_id}:
    get:
      operationId: definition_template_adl1.4_get
      summary: Get a template
      description: 'Retrieves the ADL 1.4 operational template (OPT) identified by `template_id` identifier.


        Note that this can return either the original (canonical) `XML` based OPT format (if called with the `Accept: application/xml` request header), as well as the simplified `JSON`-based “web template” format (if called with the `Accept: application/openehr.wt+json` request header). For more details see the data representation specification.'
      tags:
      - ADL1.4
      parameters:
      - $ref: '#/components/parameters/template_id'
      - $ref: '#/components/parameters/Accept_template'
      responses:
        '200':
          $ref: '#/components/responses/200_Template_adl1_4_retrieved'
        '400':
          $ref: '#/components/responses/400_invalid_template_id'
        '404':
          $ref: '#/components/responses/404_unknown_template_id'
        '406':
          $ref: '#/components/responses/406'
  /definition/template/adl1.4/{template_id}/example:
    get:
      operationId: definition_template_adl1.4_example_get
      summary: Example composition from template
      description: Generated an example COMPOSITION instance based on the ADL 1.4 operational template (OPT) identified by `template_id` identifier.
      tags:
      - ADL1.4
      parameters:
      - $ref: '#/components/parameters/template_id'
      responses:
        '200':
          $ref: '#/components/responses/200_ExampleComposition_generated'
        '404':
          $ref: '#/components/responses/404_unknown_template_id_or_version'
components:
  schemas:
    Tree:
      title: Tree
      required:
      - id
      - name
      - localizedName
      - rmType
      - nodeId
      - min
      - max
      - localizedNames
      - localizedDescriptions
      - aqlPath
      - children
      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:
          $ref: '#/components/schemas/LocalizedNames'
        localizedDescriptions:
          $ref: '#/components/schemas/LocalizedDescriptions'
        aqlPath:
          type: string
        children:
          type: array
          items:
            $ref: '#/components/schemas/Child'
    TermBindings:
      title: TermBindings
      required:
      - SNOMED-CT
      type: object
      properties:
        SNOMED-CT:
          $ref: '#/components/schemas/SNOMEDCT'
      examples:
      - SNOMED-CT:
          value: '163030003'
          terminologyId: SNOMED-CT(2003)
    Precision:
      title: Precision
      required:
      - minOp
      - min
      - maxOp
      - max
      type: object
      properties:
        minOp:
          type: string
        min:
          type: integer
          format: int32
        maxOp:
          type: string
        max:
          type: integer
          format: int32
      examples:
      - minOp: '>='
        min: 1
        maxOp: <=
        max: 1
    Input:
      title: Input
      required:
      - type
      type: object
      properties:
        type:
          type: string
        suffix:
          type: string
        list:
          type: array
          items:
            $ref: '#/components/schemas/List'
          description: ''
        defaultValue:
          type: string
        validation:
          $ref: '#/components/schemas/Validation1'
      examples:
      - type: TEXT
    Annotations1:
      title: Annotations1
      type: object
      properties:
        comment:
          type: string
        view:pass_through:
          type: string
      examples:
      - comment: 'Perloff D, Grim C, Flack J, Frohlich ED, Hill M, McDonald M, Morgenstern BZ. Human blood pressure determination by sphygmomanometry. Circulation 1993;88;2460-2470. '
    Child1:
      title: Child1
      required:
      - id
      - name
      - rmType
      - min
      - max
      - aqlPath
      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:
          $ref: '#/components/schemas/LocalizedNames1'
        localizedDescriptions:
          $ref: '#/components/schemas/LocalizedDescriptions'
        aqlPath:
          type: string
        children:
          type: array
          items:
            $ref: '#/components/schemas/Child2'
          description: ''
        inputs:
          type: array
          items:
            $ref: '#/components/schemas/Input2'
          description: ''
        inContext:
          type: boolean
        dependsOn:
          type: array
          items:
            type: string
          description: ''
        annotations:
          $ref: '#/components/schemas/Annotations1'
        termBindings:
          $ref: '#/components/schemas/TermBindings'
        proportionTypes:
          type: array
          items:
            type: string
          description: ''
      examples:
      - id: context_detail
        name: Context detail
        localizedName: Context detail
        rmType: CLUSTER
        nodeId: openEHR-EHR-CLUSTER.context_detail.v1
        min: 0
        max: -1
        localizedNames:
          sl: Podrobnosti
        localizedDescriptions:
          sl: Dodatni podatki o kontekstu
        aqlPath: /context/other_context[at0001]/items[openEHR-EHR-CLUSTER.context_detail.v1]
        children:
        - id: tags
          name: Tags
          localizedName: Tags
          rmType: DV_TEXT
          nodeId: at0008
          min: 1
          max: -1
          localizedNames:
            sl: Tagi
          localizedDescriptions:
            sl: '*'
          annotations:
            comment: Tags applied to the composition. They can contain various ids, such as episode id, central case id or other types of information forming composition meta-data.
          aqlPath: /context/other_context[at0001]/items[openEHR-EHR-CLUSTER.context_detail.v1]/items[at0008]/value
          inputs:
          - type: TEXT
    Child3:
      title: Child3
      required:
      - id
      - localizedName
      - rmType
      - nodeId
      - min
      - max
      - localizedNames
      - localizedDescriptions
      - aqlPath
      - inputs
      type: object
      properties:
        id:
          type: string
        localizedName:
          type: string
        rmType:
          type: string
        nodeId:
          type: string
        min:
          type: integer
          format: int32
        max:
          type: integer
          format: int32
        localizedNames:
          $ref: '#/components/schemas/LocalizedNames1'
        localizedDescriptions:
          $ref: '#/components/schemas/LocalizedDescriptions'
        aqlPath:
          type: string
        inputs:
          type: array
          items:
            $ref: '#/components/schemas/Input1'
          description: ''
        name:
          type: string
      examples:
      - id: count_value
        localizedName: Size
        rmType: DV_COUNT
        nodeId: ''
        min: 0
        max: 1
        localizedNames:
          sl: Velikost
        localizedDescriptions:
          sl: Velikost naprave
        aqlPath: /content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0016]/value
        inputs:
        - type: INTEGER
    LocalizedDescriptions:
      title: LocalizedDescriptions
      required:
      - sl
      type: object
      properties:
        sl:
          type: string
      examples:
      - sl: Generic encounter or progress note composition
    Input2:
      title: Input2
      required:
      - type
      type: object
      properties:
        type:
          type: string
        suffix:
          type: string
        list:
          type: array
          items:
            $ref: '#/components/schemas/List1'
          description: ''
      examples:
      - type: DATETIME
    Range:
      title: Range
      required:
      - minOp
      - min
      type: object
      properties:
        minOp:
          type: string
        min:
          type: integer
          format: int32
        maxOp:
          type: string
        max:
          type: integer
          format: int32
      examples:
      - minOp: '>='
        min: 0
        maxOp: <
        max: 1000
    TemplateMetadata:
      title: TemplateMetadata
      required:
      - template_id
      - concept
      - archetype_id
      - created_timestamp
      type: object
      properties:
        template_id:
          type: string
        version:
          type: string
        concept:
          type: string
        archetype_id:
          type: string
        created_timestamp:
          type: string
      description: Uploaded TEMPLATE meta information.
      examples:
      - template_id: openEHR-EHR-COMPOSITION.t_vital_signs.v1.0.0
        version: 1.0.1
        concept: Vital Signs
        archetype_id: openEHR-EHR-COMPOSITION.encounter.v1
        created_timestamp: '2017-08-14T19:24:56.639Z'
    Validation1:
      title: Validation1
      required:
      - range
      type: object
      properties:
        range:
          $ref: '#/components/schemas/Range'
        precision:
          $ref: '#/components/schemas/Precision'
      examples:
      - range:
          minOp: '>='
          min: 0
          maxOp: <
          max: 1000
        precision:
          minOp: '>='
          min: 0
          maxOp: <=
          max: 0
    LocalizedNames2:
      title: LocalizedNames2
      required:
      - sl
      type: object
      properties:
        sl:
          type: string
        en:
          type: string
      examples:
      - sl: Tagi
    WebTemplate:
      title: WebTemplate
      required:
      - templateId
      - version
      - defaultLanguage
      - languages
      - tree
      type: object
      properties:
        templateId:
          type: string
        version:
          type: string
        defaultLanguage:
          type: string
        languages:
          type: array
          items:
            type: string
        tree:
          $ref: '#/components/schemas/Tree'
    Input1:
      title: Input1
      required:
      - type
      type: object
      properties:
        type:
          type: string
        suffix:
          type: string
      examples:
      - type: INTEGER
    LocalizedNames1:
      title: LocalizedNames1
      required:
      - sl
      type: object
      properties:
        sl:
          type: string
      examples:
      - sl: Podrobnosti
    LocalizedNames:
      title: LocalizedNames
      required:
      - en
      type: object
      properties:
        en:
          type: string
      examples:
      - en: Vital Signs
    OperationalTemplate:
      title: OPERATIONAL_TEMPLATE
      type: object
      xml:
        name: response200
    TemplateList:
      title: TemplateList
      type: array
      items:
        $ref: '#/components/schemas/TemplateMetadata'
      description: 'List of uploaded TEMPLATE resources.

        '
    Annotations:
      title: Annotations
      type: object
      properties:
        comment:
          type: string
        default:
          type: string
      examples:
      - comment: Tags applied to the composition. They can contain various ids, such as episode id, central case id or other types of information forming composition meta-data.
    SNOMEDCT:
      title: SNOMEDCT
      required:
      - value
      - terminologyId
      type: object
      properties:
        value:
          type: string
        terminologyId:
          type: string
      examples:
      - value: '163030003'
        terminologyId: SNOMED-CT(2003)
    Child2:
      title: Child2
      required:
      - id
      - name
      - localizedName
      - rmType
      - nodeId
      - min
      - max
      - localizedNames
      - localizedDescriptions
      - aqlPath
      - inputs
      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:
          $ref: '#/components/schemas/LocalizedNames2'
        localizedDescriptions:
          $ref: '#/components/schemas/LocalizedDescriptions'
        annotations:
          $ref: '#/components/schemas/Annotations'
        aqlPath:
          type: string
        inputs:
          type: array
          items:
            $ref: '#/components/schemas/Input'
          description: ''
        dependsOn:
          type: array
          items:
            type: string
          description: ''
        inContext:
          type: boolean
        termBindings:
          $ref: '#/components/schemas/TermBindings'
        children:
          type: array
          items:
            $ref: '#/components/schemas/Child3'
          description: ''
      examples:
      - id: tags
        name: Tags
        localizedName: Tags
        rmType: DV_TEXT
        nodeId: at0008
        min: 1
        max: -1
        localizedNames:
          sl: Tagi
        localizedDescriptions:
          sl: '*'
        annotations:
          comment: Tags applied to the composition. They can contain various ids, such as episode id, central case id or other types of information forming composition meta-data.
        aqlPath: /context/other_context[at0001]/items[openEHR-EHR-CLUSTER.context_detail.v1]/items[at0008]/value
        inputs:
        - type: TEXT
    Input3:
      title: Input3
      required:
      - suffix
      - type
      type: object
      properties:
        suffix:
          type: string
        type:
          type: string
        list:
          type: array
          items:
            $ref: '#/components/schemas/List2'
          description: ''
        terminology:
          type: string
      examples:
      - suffix: code
        type: CODED_TEXT
        list:
        - value: '433'
          label: event
          localizedLabels:
            sl: ''
        terminology: openehr
    List2:
      title: List2
      required:
      - value
      - label
      - localizedLabels
      type: object
      properties:
        value:
          type: string
        label:
          type: string
        localizedLabels:
          $ref: '#/components/schemas/LocalizedLabels'
      examples:
      - value: '433'
        label: event
        localizedLabels:
          sl: ''
    Validation:
      title: Validation
      type: object
      properties:
        precision:
          $ref: '#/components/schemas/Precision'
        range:
          $ref: '#/components/schemas/Range'
      examples:
      - precision:
          minOp: '>='
          min: 1
          maxOp: <=
          max: 1
    List:
      title: List
      required:
      - value
      - label
      type: object
      properties:
        value:
          type: string
        label:
          type: string
        validation:
          $ref: '#/components/schemas/Validation'
        localizedLabels:
          $ref: '#/components/schemas/LocalizedLabels'
        localizedDescriptions:
          $ref: '#/components/schemas/LocalizedDescriptions'
      examples:
      - value: °C
        label: °C
        validation:
          precision:
            minOp: '>='
            min: 1
            maxOp: <=
            max: 1
    LocalizedLabels:
      title: LocalizedLabels
      required:
      - sl
      type: object
      properties:
        sl:
          type: string
      examples:
      - sl: Gol
    List1:
      title: List1
      required:
      - value
      - label
      - localizedLabels
      - localizedDescriptions
      type: object
      properties:
        value:
          type: string
        label:
          type: string
        localizedLabels:
          $ref: '#/components/schemas/LocalizedLabels'
        localizedDescriptions:
          $ref: '#/components/schemas/LocalizedDescriptions'
      examples:
      - value: at0022
        label: Mouth
        localizedLabels:
          sl: Usta
        localizedDescriptions:
          sl: '*Temperature is measured within the mouth(en)'
    Child:
      title: Child
      required:
      - id
      - rmType
      - min
      - max
      - aqlPath
      type: object
      properties:
        id:
          type: string
        rmType:
          type: string
        nodeId:
          type: string
        min:
          type: integer
          format: int32
        max:
          type: integer
          format: int32
        aqlPath:
          type: string
        children:
          type: array
          items:
            $ref: '#/components/schemas/Child1'
          description: ''
        name:
          type: string
        localizedName:
          type: string
        localizedNames:
          $ref: '#/components/schemas/LocalizedNames1'
        localizedDescriptions:
          $ref: '#/components/schemas/LocalizedDescriptions'
        termBindings:
          $ref: '#/components/schemas/TermBindings'
        inputs:
          type: array
          items:
            $ref: '#/components/schemas/Input3'
          description: ''
        inContext:
          type: boolean
      examples:
      - id: context
        rmType: EVENT_CONTEXT
        nodeId: ''
        min: 1
        max: 1
        aqlPath: /context
        children:
        - id: context_detail
          name: Context detail
          localizedName: Context detail
          rmType: CLUSTER
          nodeId: openEHR-EHR-CLUSTER.context_detail.v1
          min: 0
          max: -1
          localizedNames:
            sl: Podrobnosti
          localizedDescriptions:
            sl: Dodatni podatki o kontekstu
          aqlPath: /context/other_context[at0001]/items[openEHR-EHR-CLUSTER.context_detail.v1]
          children:
          - id: tags
            name: Tags
            localizedName: Tags
            rmType: DV_TEXT
            nodeId: at0008
            min: 1
            max: -1
            localizedNames:
              sl: Tagi
            localizedDescriptions:
              sl: '*'
            annotations:
              comment: Tags applied to the composition. They can contain various ids, such as episode id, central case id or other types of information forming composition meta-data.
            aqlPath: /context/other_context[at0001]/items[openEHR-EHR-CLUSTER.context_detail.v1]/items[at0008]/value
            inputs:
            - type: TEXT
        - id: start_time
          name: Start_time
          rmType: DV_DATE_TIME
          min: 0
          max: 1
          aqlPath: /context/start_time
          inputs:
          - type: DATETIME
          inContext: true
        - id: setting
          name: Setting
          rmType: DV_CODED_TEXT
          min: 0
          max: 1
          aqlPath: /context/setting
          inputs:
          - suffix: code
            type: TEXT
          - suffix: value
            type: TEXT
          inContext: true
  responses:
    201_Template_adl1_4_upload:
      description: '`201 Created` is returned when the template has been successfully uploaded.


        Server assigned `template_id` SHOULD be returned as part of the `Location` response header.


        Depending on the header `Prefer` either an empty body or a full representation body is returned.


        An `ETag` response header MAY be present and contain the unique identifier of the template instance.

        '
      headers:
        Location:
          $ref: '#/components/headers/Location_Template_adl1_4'
        ETag:
          $ref: '#/components/headers/ETag_Template_adl1_4'
      content:
        application/xml:
          schema:
            $ref: '#/components/schemas/OperationalTemplate'
    400_invalid_template_id:
      description: '`400 Bad Request` is returned when the request has invalid `template_id` (i.e. an incorrectly formatted `template_id`).

        '
    200_ExampleComposition_generated:
      description: '`200 OK` is returned when the example composition is successfully retrieved.

        '
      content:
        application/xml:
          schema:
            type: string
          examples:
            default:
              value: "<composition xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.openehr.org/v1\">\n    <name>\n        <value>Vital Signs</value>\n    </name>\n    <archetype_node_id>openEHR-EHR-COMPOSITION.encounter.v1</archetype_node_id>\n    <language>\n        <terminology_id>\n            <value>ISO_639-1</value>\n        </terminology_id>\n        <code_string>en</code_string>\n    </language>\n    ..."
    404_unknown_template_id:
      description: '`404 Not Found` is returned when a template with the specified `template_id` does not exist.

        '
    200_Template_adl1_4_retrieved:
      description: '`200 OK` is returned when the template is successfully retrieved.

        '
      content:
        application/xml:
          schema:
            oneOf:
            - $ref: '#/components/schemas/OperationalTemplate'
            - type: string
          examples:
            default:
              value: "<template xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.openehr.org/v1\">\n    <language>\n        <terminology_id>\n            <value>ISO_639-1</value>\n        </terminology_id>\n        <code_string>en</code_string>\n    </language>\n    <description>\n        <original_author id=\"Original Author\">Not Specified</original_author>\n        <lifecycle_state>Initial</lifecycle_state>\n        <other_details id=\"MetaDataSet:Sample Set \">Template metadata sample set</other_details>\n        <other_details id=\"Acknowledgements\"></other_details>\n        <other_details id=\"Business Process Level\"></other_details>\n        <other_details id=\"Care setting\"></other_details>\n        <other_details id=\"Client group\"></other_details>\n        <other_details id=\"Clinical Record Element\"></other_details>\n        <other_details id=\"Copyright\"></other_details>\n        <other_details id=\"Issues\"></other_details>\n        <other_details id=\"Owner\"></other_details>\n        <other_details id=\"Sign off\"></other_details>\n        <other_details id=\"Speciality\"></other_details>\n        <other_details id=\"User roles\"></other_details>\n        <details>\n            <language>\n                <terminology_id>\n                    <value>ISO_639-1</value>\n                </terminology_id>\n                <code_string>en</code_string>\n            </language>\n            <purpose>Not Specified</purpose>\n        </details>\n    </description>\n    <uid>\n        <value>b4d7f203-b329-4e89-a58a-c605b19e94de</value>\n    </uid>\n    <template_id>\n        <value>Vital Signs</value>\n    </template_id>\n    <concept>Vital Signs</concept>\n    <definition>\n        <rm_type_name>COMPOSITION</rm_type_name>\n        <occurrences>\n            <lower_included>true</lower_included>\n            <upper_included>true</upper_included>\n            <lower_unbounded>false</lower_unbounded>\n            <upper_unbounded>false</upper_unbounded>\n            <lower>1</lower>\n            <upper>1</upper>\n        </occurrences>\n        <node_id>at0000</node_id>\n        ...\n"
        application/openehr.wt+json:
          schema:
            $ref: '#/components/schemas/WebTemplate'
    404_unknown_template_id_or_version:
      description: '`404 Not Found` is returned when a template with the specified `template_id` at given `version` does not exist.

        '
    200_TemplateList_adl1_4:
      description: '`200 OK` is returned when the template list is successfully retrieved.

        '
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TemplateList'
          examples:
            default:
              value:
              - template_id: Vital Signs
                concept: Vital Signs
                archetype_id: openEHR-EHR-COMPOSITION.encounter.v1
                created_timestamp: '2017-08-14T19:24:56.639Z'
    '406':
      description: '`406 Not Acceptable` is returned when the service cannot produce a response matching `Accept` request header, i.e. content type or format is not supported.

        '
    400_invalid_template_content:
      description: '`400 Bad Request` is returned when unable to upload a template, because of invalid content.

        '
    409_template_already_exists:
      description: '`409 Conflict` is returned when a template with same `template_id` (at given version, if supplied) already exists.

        '
  parameters:
    Prefer:
      name: Prefer
      in: header
      description: 'Request header to indicate the preference over response details.

        The response will contain the entire resource when the `Prefer` header has a value of `return=representation`.

        '
      required: false
      style: simple
      schema:
        type: string
        enum:
        - return=representation
        - return=minimal
        default: return=minimal
    template_id:
      name: template_id
      in: path
      description: 'Template identifier.

        '
      required: true
      style: simple
      schema:
        type: string
        examples:
        - Vital Signs
    Accept_template:
      name: Accept
      in: header
      description: 'Header to indicate the expected response format.

        '
      required: true
      style: simple
      schema:
        enum:
        - application/json
        - application/xml
        - text/plain
        - application/openehr.wt+json
        type: string
        examples:
        - application/xml
  headers:
    Location_Template_adl1_4:
      description: 'The `Location` response header indicates the URL of the Template resource.

        '
      schema:
        type: string
        format: url
        examples:
        - https://cataniamc.prod.cadasto.com/v1/definition/template/adl1.4/Vital%20Signs
    ETag_Template_adl1_4:
      description: 'The `ETag` (i.e. entity tag) response header is an identifier of Template.

        '
      schema:
        type: string
        examples:
        - '"b4d7f203-b329-4e89-a58a-c605b19e94de"'
x-tagGroups:
- name: Resource endpoints
  tags:
  - ADL1.4
  - ADL2
  - Query
- name: Resource schema
  tags:
  - TemplateList_schema
  - Template_schema
  - StoredQuery_schema
x-ext-urls: {}