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 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
copay_centsintegerOptional
coinsurance_centsintegerOptional
deductible_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

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_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.

Errors