Real-Time Claim Status Raw X12
Submit a 276/277 real-time claim status check in raw X12 EDI format
/change/medicalnetwork/claimstatus/v2/raw-x12
You may need to submit a 276 real-time claim status request when you don’t receive a 277CA or 835 ERA response from the payer within your expected timeframe. This endpoint is ideal if you have an existing system that generates X12 EDI files and you want to send them through Stedi.
- Call this endpoint with a payload in 276 X12 EDI format.
- Stedi validates the EDI and sends the transaction to the payer.
- The endpoint returns a synchronous 277 claim status response from the payer in JSON format. The response contains information about the claims matching the criteria you provided in the request and their current status.
The response may contain information about more than one claim, if the payer has multiple claims on file that match the information you provided.
Visit Check claim status for a complete how-to guide.
A Stedi API Key for authentication.
Body
Response
ClaimStatusRawX12 200 response
The status information for the claim referenced in the original claim status request.
The payer may return multiple claims in the response if they have more than one claim on file that matches the information you provided.
The control number the payer provided in the claim status response. This is used to identify the transaction.
Information about the dependent listed in the referenced claim.
The syntax error code in the 999 Implementation Acknowledgment. It indicates the type of error (if present) in the EDI request syntax. Visit IK502
in the Implementation Acknowledgment specification for a complete list.
Metadata about the response.
Information about the payer listed in the referenced claim.
Information about the billing and/or service providers related to the referenced claim.
The control number for the transaction.
The status of the entire claim.
Information about the subscriber listed in the referenced claim.
An ID for the payer you identified in the original claim status request. This value may differ from the tradingPartnerServiceId
you submitted in the original request because it reflects the payer's internal concept of their ID, not necessarily the ID Stedi uses to route requests to this payer.
The acknowledgment code in the 999 Implementation Acknowledgment, an EDI file generated by the payer to acknowledge receipt of the claim status request. It indicates whether the claim status request was accepted or rejected due to errors in the EDI request syntax.
The raw X12 response from the payer.
curl --request POST \
--url "https://healthcare.us.stedi.com/2024-04-01/change/medicalnetwork/claimstatus/v2/raw-x12" \
--header "Authorization: <api_key>" \
--header "Content-Type: application/json" \
--data '{
"x12": "ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240710*2300*^*00501*000000001*0*T*>~GS*HR*SENDERGS*RECEIVERGS*20240710*230011*000000001*X*005010X212~ST*276*0001*005010X212~BHT*0010*13*ABC276XXX*20050915*1425~HL*1**20*1~NM1*PR*2*UNITEDHEALTHCARE*****PI*3429~HL*2*1*21*1~NM1*41*2*XYZ SERVICE*****46*X67E~HL*3*2*19*1~NM1*1P*2*BEHAVIORAL SERVICES P.C.*****XX*123456789~HL*4*3*22*0~DMG*D8*19301210*M~NM1*IL*1*JANE*DOE****MI*111222333~TRN*1*222222222~REF*BLT*111~REF*EJ*SM123456~AMT*T3*238.44~DTP*472*RD8*20050831-20050906~HL*5*2*19*1~NM1*1P*2*BEHAVIORAL SERVICES P.C.*****XX*1999999984~HL*6*5*22*1~NM1*IL*1*DOE*JANE****MI*345678901~HL*7*6*23~DMG*D8*19951101*M~NM1*QC*1*DOE*JOHN~TRN*1*222222222~REF*EJ*MA345678~SVC*HC>99203*238.44*****1~DTP*472*D8*20050501~SE*28*0001~GE*1*000000001~IEA*1*000000001~"
}'
const body = JSON.stringify({
"x12": "ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240710*2300*^*00501*000000001*0*T*>~GS*HR*SENDERGS*RECEIVERGS*20240710*230011*000000001*X*005010X212~ST*276*0001*005010X212~BHT*0010*13*ABC276XXX*20050915*1425~HL*1**20*1~NM1*PR*2*UNITEDHEALTHCARE*****PI*3429~HL*2*1*21*1~NM1*41*2*XYZ SERVICE*****46*X67E~HL*3*2*19*1~NM1*1P*2*BEHAVIORAL SERVICES P.C.*****XX*123456789~HL*4*3*22*0~DMG*D8*19301210*M~NM1*IL*1*JANE*DOE****MI*111222333~TRN*1*222222222~REF*BLT*111~REF*EJ*SM123456~AMT*T3*238.44~DTP*472*RD8*20050831-20050906~HL*5*2*19*1~NM1*1P*2*BEHAVIORAL SERVICES P.C.*****XX*1999999984~HL*6*5*22*1~NM1*IL*1*DOE*JANE****MI*345678901~HL*7*6*23~DMG*D8*19951101*M~NM1*QC*1*DOE*JOHN~TRN*1*222222222~REF*EJ*MA345678~SVC*HC>99203*238.44*****1~DTP*472*D8*20050501~SE*28*0001~GE*1*000000001~IEA*1*000000001~"
})
fetch("https://healthcare.us.stedi.com/2024-04-01/change/medicalnetwork/claimstatus/v2/raw-x12", {
headers: {
"Authorization": "<api_key>"
},
body
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://healthcare.us.stedi.com/2024-04-01/change/medicalnetwork/claimstatus/v2/raw-x12"
body := strings.NewReader(`{
"x12": "ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240710*2300*^*00501*000000001*0*T*>~GS*HR*SENDERGS*RECEIVERGS*20240710*230011*000000001*X*005010X212~ST*276*0001*005010X212~BHT*0010*13*ABC276XXX*20050915*1425~HL*1**20*1~NM1*PR*2*UNITEDHEALTHCARE*****PI*3429~HL*2*1*21*1~NM1*41*2*XYZ SERVICE*****46*X67E~HL*3*2*19*1~NM1*1P*2*BEHAVIORAL SERVICES P.C.*****XX*123456789~HL*4*3*22*0~DMG*D8*19301210*M~NM1*IL*1*JANE*DOE****MI*111222333~TRN*1*222222222~REF*BLT*111~REF*EJ*SM123456~AMT*T3*238.44~DTP*472*RD8*20050831-20050906~HL*5*2*19*1~NM1*1P*2*BEHAVIORAL SERVICES P.C.*****XX*1999999984~HL*6*5*22*1~NM1*IL*1*DOE*JANE****MI*345678901~HL*7*6*23~DMG*D8*19951101*M~NM1*QC*1*DOE*JOHN~TRN*1*222222222~REF*EJ*MA345678~SVC*HC>99203*238.44*****1~DTP*472*D8*20050501~SE*28*0001~GE*1*000000001~IEA*1*000000001~"
}`)
req, _ := http.NewRequest("POST", url, body)
req.Header.Add("Authorization", "<api_key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://healthcare.us.stedi.com/2024-04-01/change/medicalnetwork/claimstatus/v2/raw-x12"
body = {
"x12": "ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240710*2300*^*00501*000000001*0*T*>~GS*HR*SENDERGS*RECEIVERGS*20240710*230011*000000001*X*005010X212~ST*276*0001*005010X212~BHT*0010*13*ABC276XXX*20050915*1425~HL*1**20*1~NM1*PR*2*UNITEDHEALTHCARE*****PI*3429~HL*2*1*21*1~NM1*41*2*XYZ SERVICE*****46*X67E~HL*3*2*19*1~NM1*1P*2*BEHAVIORAL SERVICES P.C.*****XX*123456789~HL*4*3*22*0~DMG*D8*19301210*M~NM1*IL*1*JANE*DOE****MI*111222333~TRN*1*222222222~REF*BLT*111~REF*EJ*SM123456~AMT*T3*238.44~DTP*472*RD8*20050831-20050906~HL*5*2*19*1~NM1*1P*2*BEHAVIORAL SERVICES P.C.*****XX*1999999984~HL*6*5*22*1~NM1*IL*1*DOE*JANE****MI*345678901~HL*7*6*23~DMG*D8*19951101*M~NM1*QC*1*DOE*JOHN~TRN*1*222222222~REF*EJ*MA345678~SVC*HC>99203*238.44*****1~DTP*472*D8*20050501~SE*28*0001~GE*1*000000001~IEA*1*000000001~"
}
response = requests.request("POST", url, json = body, headers = {
"Authorization": "<api_key>",
"Content-Type": "application/json"
})
print(response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.http.HttpResponse.BodyHandlers;
import java.time.Duration;
import java.net.http.HttpRequest.BodyPublishers;
var body = BodyPublishers.ofString("""{
"x12": "ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240710*2300*^*00501*000000001*0*T*>~GS*HR*SENDERGS*RECEIVERGS*20240710*230011*000000001*X*005010X212~ST*276*0001*005010X212~BHT*0010*13*ABC276XXX*20050915*1425~HL*1**20*1~NM1*PR*2*UNITEDHEALTHCARE*****PI*3429~HL*2*1*21*1~NM1*41*2*XYZ SERVICE*****46*X67E~HL*3*2*19*1~NM1*1P*2*BEHAVIORAL SERVICES P.C.*****XX*123456789~HL*4*3*22*0~DMG*D8*19301210*M~NM1*IL*1*JANE*DOE****MI*111222333~TRN*1*222222222~REF*BLT*111~REF*EJ*SM123456~AMT*T3*238.44~DTP*472*RD8*20050831-20050906~HL*5*2*19*1~NM1*1P*2*BEHAVIORAL SERVICES P.C.*****XX*1999999984~HL*6*5*22*1~NM1*IL*1*DOE*JANE****MI*345678901~HL*7*6*23~DMG*D8*19951101*M~NM1*QC*1*DOE*JOHN~TRN*1*222222222~REF*EJ*MA345678~SVC*HC>99203*238.44*****1~DTP*472*D8*20050501~SE*28*0001~GE*1*000000001~IEA*1*000000001~"
}""");
HttpClient client = HttpClient.newBuilder()
.connectTimeout(Duration.ofSeconds(10))
.build();
HttpRequest.Builder requestBuilder = HttpRequest.newBuilder()
.uri(URI.create("https://healthcare.us.stedi.com/2024-04-01/change/medicalnetwork/claimstatus/v2/raw-x12"))
.header("Content-Type", "application/json")
.header("Authorization", "<api_key>")
.POST(body)
.build();
try {
HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString());
System.out.println("Status code: " + response.statusCode());
System.out.println("Response body: " + response.body());
} catch (Exception e) {
e.printStackTrace();
}
{
"code": "string",
"message": "string"
}
{
"code": "string",
"message": "string"
}
{
"code": "string",
"message": "string"
}
{
"code": "string",
"message": "string"
}
{
"code": "string",
"message": "string"
}
{
"code": "string",
"message": "string"
}
{
"code": "string",
"message": "string"
}