> ## Documentation Index
> Fetch the complete documentation index at: https://help.elationhealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Document Tag



## OpenAPI

````yaml put /api/2.0/document_tags/{id}/
openapi: 3.1.0
info:
  contact:
    name: Elation Health
    url: https://www.elationhealth.com/
  description: Elation Health API v2.0
  title: Patient Document API
  version: 2.0.0
servers:
  - description: Sandbox Server
    url: https://sandbox.elationemr.com
  - description: Production Server
    url: https://api.app.elationemr.com
security: []
paths:
  /api/2.0/document_tags/{id}/:
    put:
      tags:
        - Document Tags
      summary: Update 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: []
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
    CodeTypeEnum:
      enum:
        - CPT
        - CPTII
        - CVX
        - EL8
        - HCPCS
        - HL7
        - ICD10
        - ICD9
        - LOINC
        - RXNORM
        - SNOMED
      type: string
    NullEnum:
      type: 'null'
    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
  securitySchemes:
    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

````