{
  "opencollection": "1.0.0",
  "info": {
    "name": "Reference Data API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Languages",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Languages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/languages/",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve the available preferred languages"
        }
      ]
    },
    {
      "info": {
        "name": "Packaged Medication Labeler (Beta)",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Packaged Medication Labelers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/packaged_medication_labelers/",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "The name of the packaged medication labeler."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Requests to this endpoint must specify at least one query parameter."
        },
        {
          "info": {
            "name": "Retrieve Packaged Medication Labeler",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/packaged_medication_labelers/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a single packaged medication labeler"
        }
      ]
    },
    {
      "info": {
        "name": "Packaged Medication (Beta)",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Packaged Medications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/packaged_medications/",
            "params": [
              {
                "name": "is_active",
                "value": "",
                "type": "query"
              },
              {
                "name": "is_deleted",
                "value": "",
                "type": "query",
                "description": "If `true`, return only soft-deleted packaged medications. If `false`, exclude soft-deleted packaged medications. If omitted, both are returned."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "The name of the packaged medication."
              },
              {
                "name": "ndc",
                "value": "",
                "type": "query",
                "description": "The National Drug Code associated with the packaged medication."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "reference_medication_id",
                "value": "",
                "type": "query",
                "description": "The id of the reference medication associated with the packaged medication."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Requests to this endpoint must specify at least one query parameter."
        },
        {
          "info": {
            "name": "Retrieve Packaged Medication",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/packaged_medications/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a single packaged medication"
        }
      ]
    },
    {
      "info": {
        "name": "Pharmacies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Pharmacies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/pharmacies/",
            "params": [
              {
                "name": "active_end_time",
                "value": "",
                "type": "query"
              },
              {
                "name": "active_start_time",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns a list of physicians"
        },
        {
          "info": {
            "name": "Retrieve Pharmacy",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/pharmacies/:ncpdpid/",
            "params": [
              {
                "name": "ncpdpid",
                "value": "",
                "type": "path",
                "description": "The NCPDP ID of the pharmacy to retrieve"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a single pharmacy"
        }
      ]
    },
    {
      "info": {
        "name": "Reference Medication (Beta)",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Reference Medications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/reference_medications/",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "The name of the reference medication."
              },
              {
                "name": "ndc",
                "value": "",
                "type": "query",
                "description": "Any of the National Drug Codes of packaged medications associated with the reference medication."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "practice",
                "value": "",
                "type": "query",
                "description": "The id of the practice that created the reference medication (if applicable)."
              },
              {
                "name": "rxnorm_cui",
                "value": "",
                "type": "query",
                "description": "Any of the RxNorm Concept Identifiers associated with the reference medication."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Requests to this endpoint must specify at least one query parameter."
        },
        {
          "info": {
            "name": "Retrieve Reference Medication",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/reference_medications/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a single reference medication"
        }
      ]
    }
  ],
  "bundled": true
}