Elation Health Document Tags API

The Document Tags API from Elation Health — 4 operation(s) for document tags.

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /document_tags/ List document tags (legacy endpoint) · Find Document Tags #
Ask an LLM
“What document tags exist in my practice, per the legacy endpoint?”
“Can I see all tags used to label chart documents on the original path?”
Tell an agent
List document tags from the legacy endpoint.
Show every chart document tag on the old path.
POST /document_tags/ Create a document tag (legacy endpoint) · Create Document Tag #
Ask an LLM
“How do I add a new tag for labeling documents through the legacy endpoint?”
“Can I attach a code and code type to a document tag the old way?”
Tell an agent
Create legacy document tag {value} described as {description}.
Add an old-endpoint document tag {value} with code {code} of type {code_type}.
GET /document_tags/{id}/ Get a document tag (legacy endpoint) · Get Document Tag #
Ask an LLM
“How do I look up one document tag by id on the legacy path?”
“What code and concept name does a tag carry on the original endpoint?”
Tell an agent
Get legacy document tag {id}.
Show document tag {id} from the older endpoint.
PATCH /document_tags/{id}/ Change a document tag's code (legacy PATCH) · Update Document Tag #
Ask an LLM
“Can I update just a document tag's code with the legacy PATCH?”
“How do I change a tag's description on the unversioned path without resending it?”
Tell an agent
Patch legacy document tag {tag} to code {code}.
Change the description of tag {tag} to {description} on the old endpoint.
PUT /document_tags/{id}/ Replace a document tag (legacy PUT) · Update Document Tag #
Ask an LLM
“Can I overwrite a whole document tag with the legacy PUT?”
“Which legacy call resends every field of a document tag?”
Tell an agent
Replace legacy document tag {tag} with value {value}.
Overwrite old-endpoint tag {tag} in full with concept name {concept}.
GET /api/2.0/document_tags/ List document tags (v2.0) · List Document Tags #
Ask an LLM
“How do I search document tags by value in the 2.0 API?”
“Can I list only practice-created document tags in version 2.0?”
Tell an agent
List v2.0 document tags with value {value}.
List 2.0 document tags with code {code}.
POST /api/2.0/document_tags/ Create a document tag (v2.0) · Create Document Tag #
Ask an LLM
“How do I create a document tag with a SNOMED result code in version 2.0?”
“What is required to add a document tag in the 2.0 API?”
Tell an agent
Create v2.0 document tag {value}.
Add 2.0 document tag {value} with SNOMED result code {snomed}.
GET /api/2.0/document_tags/{id}/ Get a document tag (v2.0) · Retrieve Document Tag #
Ask an LLM
“How do I fetch a single document tag in the 2.0 API?”
“Does the v2.0 document tag show its SNOMED result code?”
Tell an agent
Get v2.0 document tag {id}.
Retrieve document tag {id} from the 2.0 API.
PATCH /api/2.0/document_tags/{id}/ Update some document tag fields (v2.0) · Partially Update Document Tag #
Ask an LLM
“Can I change only a document tag's context in the 2.0 API?”
“Which v2.0 call renames a tag without resending the rest?”
Tell an agent
Patch v2.0 document tag {id} value to {value}.
Set the concept name of 2.0 tag {id} to {concept}.
PUT /api/2.0/document_tags/{id}/ Replace a document tag (v2.0 PUT) · Update Document Tag #
Ask an LLM
“Can I fully replace a document tag in version 2.0?”
“Which 2.0 call overwrites every document tag field?”
Tell an agent
Replace v2.0 document tag {id} with value {value}.
Overwrite 2.0 tag {id} with context {context}.

Documentation

Specifications

Schemas & Data

Other Resources

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/elation-health:elation-health-document-tags-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

elation-health-document-tags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elation Health Document Tags API
  version: '1.0'
  description: 'Operations tagged Document Tags across 2 of this provider''s published API definitions: elation-api-settings.json, elation-health-api-full-openapi.yaml. 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: Document Tags
paths:
  /document_tags/:
    get:
      summary: Find Document Tags
      description: ''
      operationId: find-document-tags
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"count\": 123,\n  \"next\": \"https://sandbox.elationemr.com/api/2.0/document_tags/?limit=10&offset=10\",\n  \"previous\": \"https://sandbox.elationemr.com/api/2.0/document_tags/?limit=10\",\n  \"results\": [  // list of objects\n    { // See Object Definition },\n    // ...\n    { // 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/document_tags/\",\n                    headers={'Authorization': auth_header})\n\nprint resp.status_code\nprint json.dumps(json.loads(resp.content), indent=2)"
        samples-languages:
        - python
      tags:
      - Document Tags
      security:
      - sec0: []
    post:
      summary: Create Document Tag
      description: ''
      operationId: create-document-tag
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                value:
                  type: string
                  description: The value of the tag
                description:
                  type: object
                  description: The description of the tag
                  properties: {}
                code_type:
                  type: string
                  description: The type of the tag's cod. Choices = CPT, SNOMED, HL7, ICD9, LOINC, CVX, RXNORM, ICD10, CPTII, HCPCS or EL8
                code:
                  type: integer
                  description: The code of the tag
                  format: int32
                practice_created:
                  type: integer
                  description: The id of the tag's practice
                  format: int32
                concept_name:
                  type: string
                  description: The name of the tag's concept
                  format: date
                context:
                  type: string
                  description: The context of the tag. Choices = rejected, ordered or reviewed
                  format: date
      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\n# sending only required data\ndata = {\n  \"value\": \"My Tag\",\n  \"description\": \"Test document tag\",\n  \"code_type\": \"CPT\", # CPT, SNOMED, HL7, ICD9, LOINC, CVX, RXNORM, ICD10, CPTII, HCPCS or EL8\n  \"code\": \"1\",\n  \"practice_created\": 131074,\n  \"concept_name\": \"diet-counsel\",\n  \"context\": \"ordered\", # rejected, ordered or reviewed\n}\n\nresp = requests.post(\"https://sandbox.elationemr.com/api/2.0/document_tags/\",\n                     data=json.dumps(data),\n                     headers={'Authorization': auth_header,\n                              'Content-type': 'application/json'})\n\nprint resp.status_code\nprint json.dumps(json.loads(resp.content), indent=2)"
        samples-languages:
        - python
      tags:
      - Document Tags
      security:
      - sec0: []
    servers:
    - url: https://sandbox.elationemr.com/api/2.0
  /document_tags/{id}/:
    get:
      summary: Get Document Tag
      description: ''
      operationId: get-document-tag
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"id\": 83792571234,\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 = \"TyEPKw8fVGRKpCBa81ygwjCLXDNIAm\"\nauth_header = \"Bearer %s\" % (access_token)\n\nresp = requests.get(\"https://sandbox.elationemr.com/api/2.0/document_tags/64184451073/\",\n                    headers={'Authorization': auth_header})\n\nprint resp.status_code\nprint json.dumps(json.loads(resp.content), indent=2)"
        samples-languages:
        - python
      tags:
      - Document Tags
      security:
      - sec0: []
    patch:
      summary: Update Document Tag
      description: ''
      operationId: update-document-tag
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  description: The id of the document tag
                  format: int32
                value:
                  type: string
                  description: The value of the tag
                description:
                  type: object
                  description: The description of the tag
                  properties: {}
                code_type:
                  type: string
                  description: The type of the tag's cod. Choices = CPT, SNOMED, HL7, ICD9, LOINC, CVX, RXNORM, ICD10, CPTII, HCPCS or EL8
                code:
                  type: integer
                  description: The code of the tag
                  format: int32
                practice_created:
                  type: integer
                  description: The id of the tag's practice
                  format: int32
                concept_name:
                  type: string
                  description: The name of the tag's concept
                  format: date
                context:
                  type: string
                  description: The context of the tag. Choices = rejected, ordered or reviewed
                  format: date
      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  \"id\": 127362,\n  \"value\": \"My Tag\",\n  \"description\": \"Test document tag\",\n  \"code_type\": \"CPT\", # CPT, SNOMED, HL7, ICD9, LOINC, CVX, RXNORM, ICD10, CPTII, HCPCS or EL8\n  \"code\": \"1\",\n  \"practice_created\": 131074,\n  \"concept_name\": \"diet-counsel\",\n  \"context\": \"ordered\", # rejected, ordered or reviewed\n}\n\nresp = requests.post(\"https://sandbox.elationemr.com/api/2.0/document_tags/\",\n                     data=json.dumps(data),\n                     headers={'Authorization': auth_header,\n                              'Content-type': 'application/json'})\n\nprint resp.status_code\nprint json.dumps(json.loads(resp.content), indent=2)"
        samples-languages:
        - python
      tags:
      - Document Tags
      security:
      - sec0: []
    put:
      summary: Update Document Tag
      description: ''
      operationId: update-document-tag-1
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  description: The id of the document tag
                  format: int32
                value:
                  type: string
                  description: The value of the tag
                description:
                  type: object
                  description: The description of the tag
                  properties: {}
                code_type:
                  type: string
                  description: The type of the tag's cod. Choices = CPT, SNOMED, HL7, ICD9, LOINC, CVX, RXNORM, ICD10, CPTII, HCPCS or EL8
                code:
                  type: integer
                  description: The code of the tag
                  format: int32
                practice_created:
                  type: integer
                  description: The id of the tag's practice
                  format: int32
                concept_name:
                  type: string
                  description: The name of the tag's concept
                  format: date
                context:
                  type: string
                  description: The context of the tag. Choices = rejected, ordered or reviewed
                  format: date
      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  \"id\": 127362,\n  \"value\": \"My Tag\",\n  \"description\": \"Test document tag\",\n  \"code_type\": \"CPT\", # CPT, SNOMED, HL7, ICD9, LOINC, CVX, RXNORM, ICD10, CPTII, HCPCS or EL8\n  \"code\": \"1\",\n  \"practice_created\": 131074,\n  \"concept_name\": \"diet-counsel\",\n  \"context\": \"ordered\", # rejected, ordered or reviewed\n}\n\nresp = requests.put(\"https://sandbox.elationemr.com/api/2.0/document_tags/\",\n                     data=json.dumps(data),\n                     headers={'Authorization': auth_header,\n                              'Content-type': 'application/json'})\n\nprint resp.status_code\nprint json.dumps(json.loads(resp.content), indent=2)"
        samples-languages:
        - python
      tags:
      - Document Tags
      security:
      - sec0: []
    servers:
    - url: https://sandbox.elationemr.com/api/2.0
  /api/2.0/document_tags/:
    get:
      operationId: document_tags_list
      parameters:
      - in: query
        name: code
        schema:
          type: string
      - description: Number of results to return per page.
        in: query
        name: limit
        required: false
        schema:
          type: integer
      - 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
      - in: query
        name: practice_created
        schema:
          type: integer
      - in: query
        name: value
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedCodedDocumentTagList'
          description: ''
      security:
      - oauth2: []
      summary: List Document Tags
      tags:
      - Document Tags
      x-el8-docs-category: Patient Document API
      x-el8-docs-versions:
      - '2.1'
      - '2.0'
    post:
      description: Create a new document tag.
      operationId: document_tags_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CodedDocumentTag'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CodedDocumentTag'
          description: ''
      security:
      - oauth2: []
      summary: Create Document Tag
      tags:
      - Document Tags
      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/document_tags/{id}/:
    get:
      operationId: document_tags_retrieve
      parameters:
      - in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CodedDocumentTag'
          description: ''
      security:
      - oauth2: []
      summary: Retrieve Document Tag
      tags:
      - Document Tags
      x-el8-docs-category: Patient Document API
      x-el8-docs-versions:
      - '2.1'
      - '2.0'
    patch:
      description: Update an existing document tag.
      operationId: document_tags_partial_update
      parameters:
      - in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedCodedDocumentTag'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CodedDocumentTag'
          description: ''
      security:
      - oauth2: []
      summary: Partially Update Document Tag
      tags:
      - Document Tags
      x-el8-docs-category: Patient Document API
      x-el8-docs-versions:
      - '2.1'
      - '2.0'
    put:
      description: Replace an existing document tag.
      operationId: document_tags_update
      parameters:
      - in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CodedDocumentTag'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CodedDocumentTag'
          description: ''
      security:
      - oauth2: []
      summary: Update Document Tag
      tags:
      - Document Tags
      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:
    CodedDocumentTag:
      properties:
        code:
          description: The code of the tag.
          maxLength: 50
          type:
          - string
          - 'null'
        code_type:
          description: The type of the tag's code.
          oneOf:
          - $ref: '#/components/schemas/CodeTypeEnum'
          - $ref: '#/components/schemas/NullEnum'
        concept_name:
          description: The name of the tag's concept.
          oneOf:
          - $ref: '#/components/schemas/ConceptNameEnum'
          - $ref: '#/components/schemas/NullEnum'
        context:
          description: The context of the tag. Choices = rejected, ordered or reviewed.
          maxLength: 15
          type:
          - string
          - 'null'
        created_date:
          format: date-time
          readOnly: true
          type:
          - string
          - 'null'
        deleted_date:
          format: date-time
          readOnly: true
          type:
          - string
          - 'null'
        description:
          maxLength: 500
          type:
          - string
          - 'null'
        id:
          readOnly: true
          type: integer
        practice_created:
          description: The id of the tag's practice.
          format: int64
          type:
          - integer
          - 'null'
        snomed_result_code:
          readOnly: true
          type:
          - string
          - 'null'
        value:
          maxLength: 100
          type: string
      required:
      - value
      type: object
    ConceptNameEnum:
      enum:
      - cognitive-assessment
      - depression-screening-adolescent-declined
      - depression-screening-adult-declined
      - diet-counsel
      - dietic-service-referral
      - dietician-referral
      - exercise-counsel
      - falls-assessment
      - flu-vaccine-contraindicated
      - flu-vaccine-declined
      - flu-vaccine-elsewhere
      - flu-vaccine-referred
      - hospice-care
      - hpv-test
      - nutrition-counsel
      - pap-smear
      - phys-activity-counsel
      - procedure-contraindicated
      - tobacco-counsel-long
      - tobacco-counsel-short
      - unable-to-walk
      - wt-mgmt-referral
      type: string
    NullEnum:
      type: 'null'
    PaginatedCodedDocumentTagList:
      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/CodedDocumentTag'
          type: array
      required:
      - results
      type: object
    PatchedCodedDocumentTag:
      properties:
        code:
          description: The code of the tag.
          maxLength: 50
          type:
          - string
          - 'null'
        code_type:
          description: The type of the tag's code.
          oneOf:
          - $ref: '#/components/schemas/CodeTypeEnum'
          - $ref: '#/components/schemas/NullEnum'
        concept_name:
          description: The name of the tag's concept.
          oneOf:
          - $ref: '#/components/schemas/ConceptNameEnum'
          - $ref: '#/components/schemas/NullEnum'
        context:
          description: The context of the tag. Choices = rejected, ordered or reviewed.
          maxLength: 15
          type:
          - string
          - 'null'
        created_date:
          format: date-time
          readOnly: true
          type:
          - string
          - 'null'
        deleted_date:
          format: date-time
          readOnly: true
          type:
          - string
          - 'null'
        description:
          maxLength: 500
          type:
          - string
          - 'null'
        id:
          readOnly: true
          type: integer
        practice_created:
          description: The id of the tag's practice.
          format: int64
          type:
          - integer
          - 'null'
        snomed_result_code:
          readOnly: true
          type:
          - string
          - 'null'
        value:
          maxLength: 100
          type: string
      type: object
    CodeTypeEnum:
      enum:
      - CPT
      - CPTII
      - CVX
      - EL8
      - HCPCS
      - HL7
      - ICD10
      - ICD9
      - LOINC
      - RXNORM
      - SNOMED
      type: string
  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
x-readme:
  headers: []
x-readme-fauxas: true