> ## 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.

# Create Drug Intolerance

> Returns a list of drug intolerances



## OpenAPI

````yaml post /api/2.0/drug_intolerances/
openapi: 3.1.0
info:
  contact:
    name: Elation Health
    url: https://www.elationhealth.com/
  description: Elation Health API v2.0
  title: Patient Profile 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/drug_intolerances/:
    post:
      tags:
        - Drug Intolerances
      summary: Create Drug Intolerance
      description: Returns a list of drug intolerances
      operationId: drug_intolerances_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatientDrugIntolerance'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatientDrugIntolerance'
          description: ''
      security:
        - oauth2: []
components:
  schemas:
    PatientDrugIntolerance:
      properties:
        created_date:
          description: When the record was created in Elation's systems.
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        deleted_date:
          description: When the record was recorded deleted in Elation's systems.
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        id:
          readOnly: true
          type: integer
        name:
          description: >-
            The Drug Intolerance's name; e.g. what drug the patient cannot
            tolerate.
          type: string
        patient:
          description: The id of the patient.
          format: int64
          type: integer
        reaction:
          description: The type of reaction the patient experiences when taking the drug
          maxLength: 200
          type:
            - string
            - 'null'
        severity:
          description: |-
            The severity of the patient's reaction.

            * `` - unknown
            * `255604002` - mild
            * `6736007` - moderate
            * `24484000` - severe
          oneOf:
            - $ref: '#/components/schemas/PatientDrugIntoleranceSeverityEnum'
            - $ref: '#/components/schemas/BlankEnum'
        start_date:
          description: The date of onset for the drug intolerance.
          format: date
          type:
            - string
            - 'null'
        status:
          allOf:
            - $ref: '#/components/schemas/PatientDrugIntoleranceStatusEnum'
          description: |-
            Whether the drug intolerance is active or not.

            * `1` - Active
            * `2` - Inactive
          maximum: 65535
          minimum: 0
      required:
        - name
        - patient
      type: object
    PatientDrugIntoleranceSeverityEnum:
      description: |-
        * `` - unknown
        * `255604002` - mild
        * `6736007` - moderate
        * `24484000` - severe
      enum:
        - '255604002'
        - '6736007'
        - '24484000'
      type: string
    BlankEnum:
      enum:
        - ''
    PatientDrugIntoleranceStatusEnum:
      description: |-
        * `1` - Active
        * `2` - Inactive
      enum:
        - 1
        - 2
      type: integer
  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

````