Elation Health Referral Orders API

The Referral Orders API from Elation Health — 2 operation(s) for referral orders.

Operations 4

GET /referral_orders/{id} Get Referral Order #
POST /referral_orders/ Post Referral Order #
PUT /referral_orders/ Update Referral Order #
PATCH /referral_orders/ Update Referral Order #

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-referral-orders-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 email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elation-health-referral-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Settings Referral Orders API
  version: unknown
servers:
- url: https://sandbox.elationemr.com/api/2.0
security:
- sec0: []
tags:
- name: Referral Orders
paths:
  /referral_orders/{id}:
    get:
      summary: Get Referral Order
      description: ''
      operationId: get-referral-order
      parameters:
      - name: id
        in: path
        description: Letter ID
        schema:
          type: integer
          format: int32
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"id\": 140756377075740,\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/referral_orders/140756377075740/\",\n                    headers={'Authorization': auth_header})\n\nprint(resp.status_code)\nprint(json.dumps(json.loads(resp.content), indent=2))"
        samples-languages:
        - python
      tags:
      - Referral Orders
  /referral_orders/:
    post:
      summary: Post Referral Order
      description: ''
      operationId: premium-post-referral-order
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - patient
              - practice
              - authorization_for
              - consultant_name
              - short_consultant_name
              properties:
                patient:
                  type: integer
                  description: The id of the patient
                  format: int64
                practice:
                  type: integer
                  description: The id of the practice
                  format: int64
                authorization_for:
                  type: string
                  enum:
                  - '"Referral For Treatment'
                  - includes Consult Visit"
                  - '"Procedure / Testing Only"'
                  - '"Consult (One Visit Only)"'
                consultant_name:
                  type: string
                  description: Name of the consultant
                short_consultant_name:
                  type: string
                  description: Short name of the consultant
                auth_number:
                  type: string
                  description: Auth number of the referral order
                specialty:
                  type: object
                  description: Object with name of the specialty
                  properties: {}
                icd10_codes:
                  type: array
                  description: List of Icd10 Codes
                date_for_reEval:
                  type: string
                  format: date
                resolution:
                  type: object
                  description: Object with resolution for the referral order
                  properties: {}
      responses:
        '201':
          description: '201'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"id\": 65097302057,\n\t// 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\n# sending only required data\ndata = {\n  \"practice\" : 64901939456,\n  \"patient\": 64901939201\n  \"authorization_for\": \"Referral For Treatment, includes Consult Visit\",\n\t\"consultant_name\": \"Michael Miers\",\n  \"short_consultant_name\": \"Miers\",\n  \"auth_number\": \"25675\",\n  \"specialty\": {\"name\": \"Cardiology\"},\n  \"icd10_codes\": [{\"code\": \"F40.232\"}],\n  \"date_for_reEval\": \"2010-10-02\",\n  \"resolution\": {\"state\": \"fulfilled\"},\n\n}\n\nresp = requests.post(\"https://sandbox.elationemr.com/api/2.0/referral_orders/\",\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:
      - Referral Orders
    put:
      summary: Update Referral Order
      description: ''
      operationId: premium-update-referral-order
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - patient
              - practice
              - authorization_for
              - consultant_name
              - short_consultant_name
              properties:
                patient:
                  type: integer
                  description: The id of the patient
                  format: int64
                practice:
                  type: integer
                  description: The id of the practice
                  format: int64
                authorization_for:
                  type: string
                  enum:
                  - '"Referral For Treatment'
                  - includes Consult Visit"
                  - '"Procedure / Testing Only"'
                  - '"Consult (One Visit Only)"'
                consultant_name:
                  type: string
                  description: Name of the consultant
                short_consultant_name:
                  type: string
                  description: Short name of the consultant
                auth_number:
                  type: string
                  description: Auth number of the referral order
                specialty:
                  type: object
                  description: Object with name of the specialty
                  properties: {}
                icd10_codes:
                  type: array
                  description: List of Icd10 Codes
                date_for_reEval:
                  type: string
                  format: date
                resolution:
                  type: object
                  description: Object with resolution for the referral order
                  properties: {}
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"id\": 67176497153,\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\n# sending only required data\ndata = {\n  \"practice\" : 64901939456,\n  \"patient\": 64901939201\n  \"authorization_for\": \"Referral For Treatment, includes Consult Visit\",\n\t\"consultant_name\": \"Michael Miers\",\n  \"short_consultant_name\": \"Miers\",\n  \"auth_number\": \"25675\",\n  \"specialty\": {\"name\": \"Cardiology\"},\n  \"icd10_codes\": [{\"code\": \"F40.232\"}],\n  \"date_for_reEval\": \"2010-10-02\",\n  \"resolution\": {\"state\": \"fulfilled\"},\n\n}\n\nresp = requests.put(\"https://sandbox.elationemr.com/api/2.0/referral_orders/\",\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:
      - Referral Orders
    patch:
      summary: Update Referral Order
      description: ''
      operationId: premium-update-referral-order-1
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - patient
              - practice
              - authorization_for
              - consultant_name
              - short_consultant_name
              properties:
                patient:
                  type: integer
                  description: The id of the patient
                  format: int64
                practice:
                  type: integer
                  description: The id of the practice
                  format: int64
                authorization_for:
                  type: string
                  enum:
                  - '"Referral For Treatment'
                  - includes Consult Visit"
                  - '"Procedure / Testing Only"'
                  - '"Consult (One Visit Only)"'
                consultant_name:
                  type: string
                  description: Name of the consultant
                short_consultant_name:
                  type: string
                  description: Short name of the consultant
                auth_number:
                  type: string
                  description: Auth number of the referral order
                specialty:
                  type: object
                  description: Object with name of the specialty
                  properties: {}
                icd10_codes:
                  type: array
                  description: List of Icd10 Codes
                date_for_reEval:
                  type: string
                  format: date
                resolution:
                  type: object
                  description: Object with resolution for the referral order
                  properties: {}
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"id\": 65097302057,\n\t// 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\n# sending only required data\ndata = {\n  \"practice\" : 64901939456,\n  \"patient\": 64901939201\n  \"authorization_for\": \"Referral For Treatment, includes Consult Visit\",\n\t\"consultant_name\": \"Michael Miers\",\n  \"short_consultant_name\": \"Miers\",\n  \"auth_number\": \"25675\",\n  \"specialty\": {\"name\": \"Cardiology\"},\n  \"icd10_codes\": [{\"code\": \"F40.232\"}],\n  \"date_for_reEval\": \"2010-10-02\",\n  \"resolution\": {\"state\": \"fulfilled\"},\n\n}\n\nresp = requests.patch(\"https://sandbox.elationemr.com/api/2.0/referral_orders/\",\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:
      - Referral Orders
components:
  securitySchemes:
    sec0:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://example.com/oauth2/token
          scopes: {}
x-readme:
  headers: []
x-readme-fauxas: true