Update Service Line

Beta

Path parameters

service_line_idUUIDRequired

Headers

AuthorizationstringRequired

OAuth authentication of the form <token>.

Request

This endpoint expects an object.
edit_reasonstringOptional
modifierslist of enumsOptional
charge_amount_centsintegerOptional

The total amount charged for this service line, factoring in quantity. If procedure_code is updated and this is not, the system will attempt to set it based on chargemasters entries and the service line’s quantity. For example, if a single unit has an entry of 100 cents and 2 units were rendered, the charge_amount_cents will be set to 200, if this field is unfilled.

diagnosis_id_zeroUUIDOptional
diagnosis_id_oneUUIDOptional
diagnosis_id_twoUUIDOptional
diagnosis_id_threeUUIDOptional
drug_identificationobjectOptional
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.

unitsenumOptional
Allowed values:
procedure_codestringOptional

If procedure_code is updated, and charge_amount_cents is not, then charge_amount_cents will be set by the system.

quantitystringOptional

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.

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

date_of_service must be defined on either the encounter or the service lines but not both.

end_date_of_servicedateOptional
test_resultslist of objectsOptional

Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit). No more than 5 MEA-02 test results may be submitted per service line. Updating test results utilizes PUT semantics, so the test results on the service line will be set to whatever inputs are provided.

has_epsdt_indicatorbooleanOptional

Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500. If the value is true, the box will be populated with “Y”. Otherwise, the box will not be populated.

has_family_planning_indicatorbooleanOptional

Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500. If the value is true, the box will be populated with “Y”. Otherwise, the box will not be populated.

Response

This endpoint returns an object.
created_atdatetime
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.

unitsenum
Allowed values:
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 enums or null
charge_amount_centsinteger or null
allowed_amount_centsinteger or null
insurance_balance_centsinteger or null
patient_balance_centsinteger or null
paid_amount_centsinteger or null
primary_paid_amount_centsinteger or null
secondary_paid_amount_centsinteger or null
tertiary_paid_amount_centsinteger or null
patient_responsibility_centsinteger or null
copay_centsinteger or null
coinsurance_centsinteger or null
deductible_centsinteger or null
diagnosis_id_zeroUUID or null
diagnosis_id_oneUUID or null
diagnosis_id_twoUUID or null
diagnosis_id_threeUUID or null
drug_identificationobject or null
service_line_era_dataobject or null
service_line_manual_adjustmentslist of objects or null
related_invoiceslist of objects or null
related_invoice_infolist of objects or null
denial_reasonobject or null
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_codeenum or null

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

place_of_service_code_as_submittedenum or null

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

ordering_providerobject or null
descriptionstring or null

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_servicedate or null
test_resultslist of objects or null

Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit). No more than 5 MEA-02 test results may be submitted per service line.

has_epsdt_indicatorboolean or null

Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500. If the value is true, the box will be populated with “Y”. Otherwise, the box will not be populated.

has_family_planning_indicatorboolean or null

Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500. If the value is true, the box will be populated with “Y”. Otherwise, the box will not be populated.

Errors