Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Update an existing billing code.
cURL
curl --request PATCH \ --url https://sandbox.elationemr.com/api/2.0/billing_codes/{id}/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "charge": "<string>", "code": "<string>", "description": "<string>", "modifier": "<string>", "practice": 123, "sequence": -1 } '
import requests url = "https://sandbox.elationemr.com/api/2.0/billing_codes/{id}/" payload = { "charge": "<string>", "code": "<string>", "description": "<string>", "modifier": "<string>", "practice": 123, "sequence": -1 } headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json" } response = requests.patch(url, json=payload, headers=headers) print(response.text)
const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: JSON.stringify({ charge: '<string>', code: '<string>', description: '<string>', modifier: '<string>', practice: 123, sequence: -1 }) }; fetch('https://sandbox.elationemr.com/api/2.0/billing_codes/{id}/', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://sandbox.elationemr.com/api/2.0/billing_codes/{id}/", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "PATCH", CURLOPT_POSTFIELDS => json_encode([ 'charge' => '<string>', 'code' => '<string>', 'description' => '<string>', 'modifier' => '<string>', 'practice' => 123, 'sequence' => -1 ]), CURLOPT_HTTPHEADER => [ "Authorization: Bearer <token>", "Content-Type: application/json" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://sandbox.elationemr.com/api/2.0/billing_codes/{id}/" payload := strings.NewReader("{\n \"charge\": \"<string>\",\n \"code\": \"<string>\",\n \"description\": \"<string>\",\n \"modifier\": \"<string>\",\n \"practice\": 123,\n \"sequence\": -1\n}") req, _ := http.NewRequest("PATCH", url, payload) req.Header.Add("Authorization", "Bearer <token>") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
HttpResponse<String> response = Unirest.patch("https://sandbox.elationemr.com/api/2.0/billing_codes/{id}/") .header("Authorization", "Bearer <token>") .header("Content-Type", "application/json") .body("{\n \"charge\": \"<string>\",\n \"code\": \"<string>\",\n \"description\": \"<string>\",\n \"modifier\": \"<string>\",\n \"practice\": 123,\n \"sequence\": -1\n}") .asString();
require 'uri' require 'net/http' url = URI("https://sandbox.elationemr.com/api/2.0/billing_codes/{id}/") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Patch.new(url) request["Authorization"] = 'Bearer <token>' request["Content-Type"] = 'application/json' request.body = "{\n \"charge\": \"<string>\",\n \"code\": \"<string>\",\n \"description\": \"<string>\",\n \"modifier\": \"<string>\",\n \"practice\": 123,\n \"sequence\": -1\n}" response = http.request(request) puts response.read_body
{ "code": "<string>", "description": "<string>", "practice": 123, "charge": "<string>", "id": 123, "modifier": "", "sequence": -1 }
The access token received from the authorization server in the OAuth 2.0 flow.
The amount of money that will be charged for the code.
^-?\d{0,8}(?:\.\d{0,2})?$
The code that a user and integrators will see.
10
The description of the code that users will see.
200
A single 2-character CPT modifier for a variant this practice prices differently. Blank for the plain code.
2
The practice who created the billing code.
The position in the list of billing codes.
-2147483648 <= x <= 2147483647
The internal elation id of the billing code.
Was this page helpful?