openapi: 3.2.0 info: title: Elation Health Visit Note Templates API version: '1.0' description: 'Operations tagged Visit Note Templates across 3 of this provider''s published API definitions: elation-api-settings.json, elation-health-api-full-openapi.yaml, elation-patient-document-api.json. Each path carries the servers of the definition it was published in.' servers: - url: https://sandbox.elationemr.com/api/2.0 - description: Sandbox Server url: https://sandbox.elationemr.com - description: Production Server url: https://api.app.elationemr.com tags: - name: Visit Note Templates paths: /visit_note_templates/: get: summary: Find Visit Note Templates description: '' operationId: find-visit-note-templates parameters: - name: Authorization in: header schema: type: string responses: '200': description: '200' content: application/json: examples: Result: value: "{\n \"count\": 10,\n \"next\": null,\n \"previous\": null,\n \"results\": [\n {\n \"content\": ...,\n \t// See Object Definition\n }\n}" '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false x-readme: code-samples: - language: python code: "import requests\nimport json\n\naccess_token = \"VFroUHsmrErlVI6nJ08Alwhri5RGCW\"\nauth_header = \"Bearer %s\" % (access_token)\n\nresp = requests.get(\"https://sandbox.elationemr.com/api/2.0/visit_note_templates/\",\n headers={'Authorization': auth_header})\n\nprint resp.status_code\nprint json.dumps(json.loads(resp.content), indent=2)" samples-languages: - python tags: - Visit Note Templates security: - sec0: [] servers: - url: https://sandbox.elationemr.com/api/2.0 /visit_note_templates/{id}: get: summary: Get Visit Note Template description: '' operationId: get-visit-note-template parameters: - name: Authorization in: header schema: type: string responses: '200': description: '200' content: application/json: examples: Result: value: "{\n \t\"content\": ...,\n // See Object Definition\n}" '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false x-readme: code-samples: - language: python code: "import requests\nimport json\n\naccess_token = \"VFroUHsmrErlVI6nJ08Alwhri5RGCW\"\nauth_header = \"Bearer %s\" % (access_token)\n\nresp = requests.get(\"https://sandbox.elationemr.com/api/2.0/visit_note_templates/12345678910\",\n headers={'Authorization': auth_header})\n\nprint resp.status_code\nprint json.dumps(json.loads(resp.content), indent=2)" samples-languages: - python tags: - Visit Note Templates security: - sec0: [] patch: summary: Update Visit Note Template description: '' operationId: update-visit-note-template parameters: - name: Authorization in: header schema: type: string requestBody: content: application/json: schema: type: object properties: content: type: string description: Content of the visit note template name: type: string description: Name of the visit note template responses: '200': description: '200' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false x-readme: code-samples: - language: python code: "import requests\nimport json\n\naccess_token = \"TyEPKw8fVGRKpCBa81ygwjCLXDNIAm\"\nauth_header = \"Bearer %s\" % (access_token)\n\ndata = {\n \"content\": \"test\",\n \"name\": \"test\"\n}\n\nresp = requests.patch(\"https://sandbox.elationemr.com/api/2.0/visit_note_templates/\",\n json=data,\n headers={'Authorization': auth_header,\n 'Content-type': 'application/json'})\n\nprint(resp.status_code)\nprint(resp.text)" samples-languages: - python tags: - Visit Note Templates security: - sec0: [] delete: summary: Delete Visit Note Template description: '' operationId: delete-visit-note-template parameters: - name: Authorization in: header schema: type: string responses: '204': description: '204' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false x-readme: code-samples: - language: python code: "import requests\nimport json\n\naccess_token = \"TyEPKw8fVGRKpCBa81ygwjCLXDNIAm\"\nauth_header = \"Bearer %s\" % (access_token)\n\ndata = {\n \"content\": \"test\",\n \"name\": \"test\"\n}\n\nresp = requests.delete(\"https://sandbox.elationemr.com/api/2.0/visit_note_templates/123456789\",\n json=data,\n headers={'Authorization': auth_header,\n 'Content-type': 'application/json'})\n\nprint(resp.status_code)\nprint(resp.text)" samples-languages: - python tags: - Visit Note Templates security: - sec0: [] servers: - url: https://sandbox.elationemr.com/api/2.0 /api/2.0/visit_note_templates/: get: operationId: visit_note_templates_list parameters: - description: Number of results to return per page. in: query name: limit required: false schema: type: integer - description: Multiple values may be separated by commas. explode: false in: query name: name schema: items: type: string type: array style: form - description: The initial index from which to return the results. in: query name: offset required: false schema: type: integer - description: Which field to use when ordering the results. in: query name: order_by required: false schema: type: string - description: Multiple values may be separated by commas. explode: false in: query name: practice_created schema: items: format: int64 type: integer type: array style: form responses: '200': content: application/json: schema: $ref: '#/components/schemas/PaginatedVisitNoteTemplateList' description: '' security: - oauth2: [] summary: List Visit Note Templates tags: - Visit Note Templates x-el8-docs-category: Patient Document API x-el8-docs-versions: - '2.1' - '2.0' post: description: Create a new visit note template. operationId: visit_note_templates_create requestBody: content: application/json: schema: $ref: '#/components/schemas/VisitNoteTemplate' required: true responses: '201': content: application/json: schema: $ref: '#/components/schemas/VisitNoteTemplate' description: '' security: - oauth2: [] summary: Create Visit Note Template tags: - Visit Note Templates x-el8-docs-category: Patient Document API x-el8-docs-versions: - '2.1' - '2.0' servers: - description: Sandbox Server url: https://sandbox.elationemr.com - description: Production Server url: https://api.app.elationemr.com /api/2.0/visit_note_templates/{id}/: delete: description: Delete an existing visit note template. operationId: visit_note_templates_destroy parameters: - in: path name: id required: true schema: format: int64 type: integer responses: '204': description: No response body security: - oauth2: [] summary: Delete Visit Note Template tags: - Visit Note Templates x-el8-docs-category: Patient Document API x-el8-docs-versions: - '2.1' - '2.0' get: operationId: visit_note_templates_retrieve parameters: - in: path name: id required: true schema: format: int64 type: integer responses: '200': content: application/json: schema: $ref: '#/components/schemas/VisitNoteTemplate' description: '' security: - oauth2: [] summary: Retrieve Visit Note Template tags: - Visit Note Templates x-el8-docs-category: Patient Document API x-el8-docs-versions: - '2.1' - '2.0' patch: description: Update an existing visit note template. operationId: visit_note_templates_partial_update parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedVisitNoteTemplate' responses: '200': content: application/json: schema: $ref: '#/components/schemas/VisitNoteTemplate' description: '' security: - oauth2: [] summary: Partially Update Visit Note Template tags: - Visit Note Templates x-el8-docs-category: Patient Document API x-el8-docs-versions: - '2.1' - '2.0' put: description: Replace an existing visit note template. operationId: visit_note_templates_update parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/VisitNoteTemplate' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/VisitNoteTemplate' description: '' security: - oauth2: [] summary: Update Visit Note Template tags: - Visit Note Templates x-el8-docs-category: Patient Document API x-el8-docs-versions: - '2.1' - '2.0' servers: - description: Sandbox Server url: https://sandbox.elationemr.com - description: Production Server url: https://api.app.elationemr.com components: schemas: VisitNoteTemplate: properties: content: type: string created_date: format: date-time readOnly: true type: - string - 'null' deleted_date: format: date-time readOnly: true type: - string - 'null' id: readOnly: true type: integer name: maxLength: 50 type: string practice_created: format: int64 type: - integer - 'null' required: - content - name type: object PaginatedVisitNoteTemplateList: properties: count: example: 123 type: integer next: example: http://api.example.org/accounts/?offset=400&limit=100 format: uri nullable: true type: string previous: example: http://api.example.org/accounts/?offset=200&limit=100 format: uri nullable: true type: string results: items: $ref: '#/components/schemas/VisitNoteTemplate' type: array required: - results type: object PatchedVisitNoteTemplate: properties: content: type: string created_date: format: date-time readOnly: true type: - string - 'null' deleted_date: format: date-time readOnly: true type: - string - 'null' id: readOnly: true type: integer name: maxLength: 50 type: string practice_created: format: int64 type: - integer - 'null' type: object securitySchemes: sec0: type: oauth2 flows: clientCredentials: tokenUrl: https://example.com/oauth2/token scopes: {} oauth2: flows: clientCredentials: scopes: act_as_user: Impersonate a provider via X-On-Behalf-Of (combinable with apiv2 or system scopes) apiv2: Full access to the API system/{resource_name}.read: Read access to a specific resource system/{resource_name}.write: Write access to a specific resource tokenUrl: /api/2.0/oauth2/token/ type: oauth2 x-refined-from: - elation-api-settings.json - elation-health-api-full-openapi.yaml - elation-patient-document-api.json x-readme: headers: [] x-readme-fauxas: true