Create Service Line

Beta
POST
/api/service-lines/v2

Request

This endpoint expects an object.
procedure_codestringRequired
quantitystringRequired

String representation of a Decimal that can be parsed by most libraries. A ServiceLine quantity cannot contain more than one digit of precision. Example: 1.1 is valid, 1.11 is not.

units"MJ" or "UN"Required
Allowed values: MJUN
claim_idUUIDRequired
modifierslist of enumsOptional
charge_amount_centsintegerOptional
diagnosis_id_zeroUUIDOptional
diagnosis_id_oneUUIDOptional
diagnosis_id_twoUUIDOptional
diagnosis_id_threeUUIDOptional
denial_reasonobjectOptional

The reason a given service line was denied within a given time range. A service line may be denied for different reasons over time, but only one reason at a time.

place_of_service_codeenumOptional

837p Loop2300, SV105. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list here.

descriptionstringOptional

A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P.

date_of_servicedateOptional
end_date_of_servicedateOptional
drug_identificationobjectOptional
ordering_providerobjectOptional

Required when the service or supply was ordered by a provider who is different than the rendering provider for this service line. If not required by this implementation guide, do not send.

test_resultslist of objectsOptional

Maps to MEA-02 on the 837-P. No more than 5 test results may be submitted per service line.

Response

This endpoint returns an object.
service_line_idUUID
procedure_codestring
quantitystring

String representation of a Decimal that can be parsed by most libraries. A ServiceLine quantity cannot contain more than one digit of precision. Example: 1.1 is valid, 1.11 is not.

units"MJ" or "UN"
Allowed values: MJUN
claim_idUUID
date_of_service_rangeobject

A range of dates of service for this service line. If the service line is for a single date, the end date will be empty.

date_of_servicedate
modifierslist of enumsOptional
charge_amount_centsintegerOptional
allowed_amount_centsintegerOptional
insurance_balance_centsintegerOptional
patient_balance_centsintegerOptional
paid_amount_centsintegerOptional
primary_paid_amount_centsintegerOptional
secondary_paid_amount_centsintegerOptional
tertiary_paid_amount_centsintegerOptional
patient_responsibility_centsintegerOptional
diagnosis_id_zeroUUIDOptional
diagnosis_id_oneUUIDOptional
diagnosis_id_twoUUIDOptional
diagnosis_id_threeUUIDOptional
drug_identificationobjectOptional
service_line_era_dataobjectOptional
service_line_manual_adjustmentslist of objectsOptional
related_invoiceslist of objectsOptional
related_invoice_infolist of objectsOptional
denial_reasonobjectOptional

The reason a given service line was denied within a given time range. A service line may be denied for different reasons over time, but only one reason at a time.

place_of_service_codeenumOptional

837p Loop2300, SV105. 02 for telemedicine, 11 for in-person. Full list here.

place_of_service_code_as_submittedenumOptional

837p Loop2300, SV105. 02 for telemedicine, 11 for in-person. Full list here.

ordering_providerobjectOptional
descriptionstringOptional

A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P.

end_date_of_servicedateOptional
test_resultslist of objectsOptional

Maps to MEA-02 on the 837-P. No more than 5 test results may be submitted per service line.

Errors