إنتقل إلى المحتوى الرئيسي

Supporting Info

Attach supporting information (vital signs, attachments, lab results, clinical notes, etc.) to pre-authorization requests and claims. Supporting info records carry structured clinical data that the Najeeb AI Engine uses during adjudication.

Inline Submission

Supporting info can also be submitted inline as part of the prior authorization creation body using the supporting_info field. Use the endpoints below when you need to attach supporting information to an existing pre-auth or claim after it has been created.

For more information, see the Supporting Info Object.

Base URL

https://api.{client_namespace}.najeeb.ai/v4.0/health

Authentication

All API requests are authenticated using an API key passed in a dedicated header:

access-key: YOUR_API_KEY

For access key provisioning, please contact Najeeb support.

API Endpoints

Create Supporting Info for Prior Authorization

POST /supporting-info/create-for-preauth

Creates a new supporting information record linked to a pre-authorization request. The prior authorization is identified by its transaction_id (the same identifier used when creating the pre-auth).

Request Headers

HeaderTypeRequiredDescription
access-keystringYesAPI key for authentication
Content-TypestringYesMust be application/json

Request Body Parameters

ParameterTypeRequiredDescriptionAccepted Values
transaction_id *stringYesTransaction ID of the prior authorization to attach this record to (same value used when creating the pre-auth)Alphanumeric string, 1-255 characters
sequence_numbernumberNoSequence number for ordering multiple supporting info entriesInteger, minimum 1
typestringNoType of supporting information (e.g. "MEDICAL_RECORD")String, max 255 characters
codestringNoNPHIES supporting-info codeSee Supported Codes table
valuestringNoValue of the supporting information. When code is attachment, pass base64-encoded file contentString, max 1000 characters
file_namestringNoOriginal file name when code is attachment (used to infer extension, e.g. "lab-result.pdf")String, max 255 characters
unitstringNoUnit of measurement (e.g. "mmHg", "kg", "cm")String, max 50 characters
start_date *stringYesStart date for the informationISO 8601 format: YYYY-MM-DDTHH:mm:ss.sssZ
end_date *stringYesEnd date for the informationISO 8601 format: YYYY-MM-DDTHH:mm:ss.sssZ
value_urlstringNoURL to additional information or an external documentValid HTTP/HTTPS URL, max 500 characters

Supported Codes

The code field accepts any of the following NPHIES supporting-information codes:

CodeDescription
INFOInformation
ONSETOnset
ATTACHMENTAttachment
MISSING_TOOTHMissing Tooth
EMPLOYMENT_IMPACTEDEmployment Impacted
LAB_TESTLab Test
REASON_FOR_VISITReason for Visit
DAYS_SUPPLYDays Supply
VITAL_SIGN_WEIGHTWeight
VITAL_SIGN_SYSTOLICSystolic
VITAL_SIGN_DIASTOLICDiastolic
VITAL_SIGN_HEIGHTHeight
ICU_HOURSICU Hours
VENTILATION_HOURSVentilation Hours
CHIEF_COMPLAINTChief Complaint
BIRTH_WEIGHTBirth Weight
TEMPERATURETemperature
PULSEPulse
OXYGEN_SATURATIONOxygen Saturation
RESPIRATORY_RATERespiratory Rate
MORPHOLOGYMorphology
LAST_MENSTRUAL_PERIODLast Menstrual Period
TREATMENT_PLANTreatment Plan
PATIENT_HISTORYPatient History
PHYSICAL_EXAMINATIONPhysical Examination
HISTORY_OF_PRESENT_ILLNESSHistory of Present Illness
ADMISSION_WEIGHTAdmission Weight
ESTIMATED_LENGTH_OF_STAYEstimated Length of Stay
INVESTIGATION_RESULTInvestigation Result
SIGNIFICANT_SIGNSSignificant Signs
GENERAL_EXAMINATIONGeneral Examination
VITAL_INFORMATIONVital Information
OTHEROther

Example Request

curl -X POST \
"https://api.{client_namespace}.najeeb.ai/v4.0/health/supporting-info/create-for-preauth" \
-H "access-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"transaction_id": "550e8400-e29b-41d4-a716-446655440000",
"sequence_number": 1,
"type": "MEDICAL_RECORD",
"code": "VITAL_SIGN_SYSTOLIC",
"value": "120",
"unit": "mmHg",
"start_date": "2024-01-15T10:30:00.000Z",
"end_date": "2024-01-15T10:30:00.000Z"
}'

Response

Success Response (201 Created)
{
"id": 1,
"code": 201,
"message": "Supporting info created successfully"
}
Response Fields
FieldTypeDescription
idnumberInternal identifier assigned to the supporting info record
codenumberHTTP status code (201)
messagestringSuccess message

Error Responses

Error Response Structure
{
"ErrorCode": "string",
"message": "string",
"details": ["string"]
}
Error Codes
Error CodeHTTP StatusDescription
E_BAD_REQUEST_400400Request validation failed — see the details array for field-level errors
E_EPA_064404Prior authorization not found for the given transaction_id
401 Unauthorized401Missing or invalid access-key
Example Error Responses

Bad Request:

{
"ErrorCode": "E_BAD_REQUEST_400",
"message": "Bad request - Invalid input data or validation errors",
"details": ["transaction_id should not be empty"]
}

Prior Authorization Not Found:

{
"ErrorCode": "E_EPA_064",
"message": "Prior authorization not found, The id of the prior authorization is: 550e8400-e29b-41d4-a716-446655440000",
"details": []
}

Unauthorized:

{
"ErrorCode": "API key is required",
"message": "Unauthorized",
"details": []
}

Create Supporting Info for Claim

POST /supporting-info/create-for-claim

Creates a new supporting information record linked to a claim. The claim is identified by its claim_number.

Request Headers

HeaderTypeRequiredDescription
access-keystringYesAPI key for authentication
Content-TypestringYesMust be application/json

Request Body Parameters

ParameterTypeRequiredDescriptionAccepted Values
claim_number *stringYesClaim number of the claim to attach this record toAlphanumeric string, 1-255 characters
sequence_numbernumberNoSequence number for ordering multiple supporting info entriesInteger, minimum 1
typestringNoType of supporting information (e.g. "MEDICAL_RECORD")String, max 255 characters
codestringNoNPHIES supporting-info codeSee Supported Codes table
valuestringNoValue of the supporting informationString, max 1000 characters
unitstringNoUnit of measurement (e.g. "mmHg", "kg", "cm")String, max 50 characters
start_datestringNoStart date for the informationISO 8601 format: YYYY-MM-DDTHH:mm:ss.sssZ
end_datestringNoEnd date for the informationISO 8601 format: YYYY-MM-DDTHH:mm:ss.sssZ
value_urlstringNoURL to additional information or an external documentValid HTTP/HTTPS URL, max 500 characters
important

The code field accepts the same values listed in the Supported Codes table above.

Example Request

curl -X POST \
"https://api.{client_namespace}.najeeb.ai/v4.0/health/supporting-info/create-for-claim" \
-H "access-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"claim_number": "AU-12345",
"sequence_number": 1,
"type": "MEDICAL_RECORD",
"code": "CHIEF_COMPLAINT",
"value": "Patient presents with persistent headache",
"start_date": "2024-01-15T10:30:00.000Z",
"end_date": "2024-01-15T10:30:00.000Z"
}'

Response

Success Response (201 Created)
{
"id": 1,
"code": 201,
"message": "Supporting info created successfully"
}
Response Fields
FieldTypeDescription
idnumberInternal identifier assigned to the supporting info record
codenumberHTTP status code (201)
messagestringSuccess message

Error Responses

Error Response Structure
{
"ErrorCode": "string",
"message": "string",
"details": ["string"]
}
Error Codes
Error CodeHTTP StatusDescription
E_BAD_REQUEST_400400Request validation failed — see the details array for field-level errors
E_CLAIM_001404Claim not found for the given claim_number
401 Unauthorized401Missing or invalid access-key
Example Error Responses

Bad Request:

{
"ErrorCode": "E_BAD_REQUEST_400",
"message": "Bad request - Invalid input data or validation errors",
"details": ["claim_number should not be empty"]
}

Claim Not Found:

{
"ErrorCode": "E_CLAIM_001",
"message": "Claim not found",
"details": []
}

Unauthorized:

{
"ErrorCode": "API key is required",
"message": "Unauthorized",
"details": []
}