openapi: 3.2.0 info: title: Definition ADL1.4 API version: latest x-status: STABLE x-spec: definition contact: name: Specifications Editorial Committee openEHR url: https://specifications.openehr.org/ email: info@openehr.org license: name: Creative Commons Attribution-NoDerivs 3.0 Unported url: https://creativecommons.org/licenses/by-nd/3.0/ description: '## Description ### Purpose This specification describes service endpoints, resources and operations as well as details of requests and responses that interact with the openEHR Definition API in a RESTful manner.' servers: - url: https://{baseUrl}/v1 description: An example openEHR server URL. variables: baseUrl: default: openEHRSys.example.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' - $ref: '#/components/parameters/Accept_Template' - name: Content-Type in: header style: simple schema: type: string enum: - application/xml requestBody: description: '' content: application/xml: schema: oneOf: - $ref: '#/components/schemas/OperationalTemplate' example: "