Skip to the page

Search the titles, headings and text of every guide and API reference page.

    Chapters

    Claims

    Convert a predetermination into a claim

    POST/api/v1/claims/{id}/convert

    For a predetermination whose estimate came back (state returned): makes a new claim (kind claim, a draft) with the same patient, subscriber, payer, office, provider and lines, awaiting its service dates, linked both ways (converted_from, converted_to). The predetermination's attachments move to the new claim (an attachment is on one claim at a time). Add the service dates with an update, then submit the claim. Converting again answers with the claim made the first time (created false), unless that claim was voided before it was sent: then a new claim is made, and the attachments the void released go on it. Anything else (a claim, a predetermination still waiting for its estimate, one with a void open) is a conflict. A predetermination (kind predetermination) is made, validated, sent, voided and read with the same endpoints: it has no service dates, goes out with the predetermination indicator, and comes back returned with its estimate instead of a payment. Send an empty JSON object as the body. Needs an Idempotency-Key header and a key with the submit permission.

    Needs a key with submit permission.

    Request

    Headers

    Headers
    NameTypeRequiredDescription
    Idempotency-KeystringrequiredMakes the request safe to repeat: a request with the same key and body returns the first answer (the reply has an idempotent-replayed header), and the same key with a different request is refused. 1 to 255 printable characters; a UUID is a good choice.At least 1 character.At most 255 characters.Matches `^[\x21-\x7e]{1,255}$`.

    Path parameters

    Path parameters
    NameTypeRequiredDescription
    idstringrequiredA claim ID (clm_...).

    Response

    The predetermination and the claim made from it. Status 200.

    Response fields
    NameTypeDescription
    objectstringAlways `claim_conversion`.
    predeterminationobjectThe predetermination, as it is now (converted_to names the claim).
    predetermination.idstringAn ID that starts with clm_.
    predetermination.objectstringAlways `claim`.
    predetermination.kindstringclaim, or predetermination (sent before treatment; its answer is an estimate). Set when it was made.One of: `claim`, `predetermination`.
    predetermination.statestringOne of: `draft`, `validated`, `needs_attention`, `queued`, `submitted`, `accepted_clearinghouse`, `accepted_payer`, `rejected`, `voided`, `paid`, `denied`, `reconciled`, `returned`.
    predetermination.next_stepstringOne sentence saying what happens next, or what you must do.
    predetermination.frequencystringoriginal; replacement for a resubmission of a claim the payer has; void for a void transaction.One of: `original`, `replacement`, `void`.
    predetermination.parent_idstring or nullThe claim a void transaction voids.
    predetermination.patient_control_numberstringYour identifier for the claim, or the one we made: unique in your organization, sent on the claim and returned on its status.
    predetermination.officeobject
    predetermination.office.idstringAn ID that starts with off_.
    predetermination.office.namestring
    predetermination.payerobject
    predetermination.payer.idstringAn ID that starts with pyr_.
    predetermination.payer.payer_idstringThe payer's own payer ID.
    predetermination.payer.namestring
    predetermination.rendering_providerobject
    predetermination.rendering_provider.idstringAn ID that starts with prv_.
    predetermination.rendering_provider.first_namestring
    predetermination.rendering_provider.last_namestring
    predetermination.rendering_provider.npistring
    predetermination.patient_nameobjectThe patient: the dependent when there is one, else the subscriber.
    predetermination.patient_name.first_namestring
    predetermination.patient_name.last_namestring
    predetermination.patient_idstring or nullThe patient this is about (pat_...) in the patient directory: the dependent when there is one, else the subscriber. Set by Claim House when a check completes or a claim's patient is written; null while a check is pending, and when the patient has no date of birth or a name with no letters or digits to compare.
    predetermination.service_datesobject
    predetermination.service_dates.firststring (date) or null
    predetermination.service_dates.laststring (date) or null
    predetermination.totalsobject
    predetermination.totals.chargestringThe sum of the line fees, in dollars, as a decimal string.Matches `^-?\d+\.\d{2}$`.
    predetermination.totals.linesintegerAt least -9007199254740991.
    predetermination.paymentobject or nullWhat the payer paid (states paid, denied and reconciled), from its remittances; null before one arrives, when every payment was reversed, and always on a predetermination.
    predetermination.payment.outcomestringpaid or denied: the outcome of the claim's current payment (the latest one no reversal cancelled). A reconciled claim keeps it.One of: `paid`, `denied`.
    predetermination.payment.era_idstringThe ERA of the claim's current payment (era_...): the latest one, when that is not certain.
    predetermination.payment.paidstringWhat the payer paid in all: the sum of every payment applied, reversals subtracted.Matches `^-?\d+\.\d{2}$`.
    predetermination.payment.allowedstring or nullThe amount the current payment allowed, when it said.Matches `^-?\d+\.\d{2}$`.
    predetermination.payment.patient_responsibilitystringWhat the patient owes, as the payer says (deductible, coinsurance and the like).Matches `^-?\d+\.\d{2}$`.
    predetermination.payment.payment_datestring (date) or nullThe payment date of the ERA.
    predetermination.payment.reconciled_atstring (date-time) or nullWhen you confirmed you posted the payment (state reconciled); null until then.
    predetermination.estimateobject or nullA predetermination's estimate (state returned); null before it arrives, and always on a claim.
    predetermination.estimate.era_idstringThe ERA that carried the estimate (era_...).
    predetermination.estimate.allowedstring or nullWhat the payer would allow, when it said.Matches `^-?\d+\.\d{2}$`.
    predetermination.estimate.paystringWhat the payer would pay once the treatment is done.Matches `^-?\d+\.\d{2}$`.
    predetermination.estimate.patientstringThe patient's estimated share.Matches `^-?\d+\.\d{2}$`.
    predetermination.estimate.returned_atstring (date-time)When the estimate arrived.
    predetermination.estimate.linesarray of objectThe estimate per line, where the payer said (line_number is the predetermination's).
    predetermination.estimate.lines[].line_numberintegerAt least 1.
    predetermination.estimate.lines[].allowedstring or nullAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    predetermination.estimate.lines[].paystringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    predetermination.estimate.lines[].patientstringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    predetermination.converted_fromstring or nullOn a claim made from a predetermination: the predetermination.
    predetermination.converted_tostring or nullOn a converted predetermination: the claim made from it.
    predetermination.source_claim_idstring or nullOn a claim made for the next payer (POST /claims/{id}/next_claim): the claim it was made from, whose payer paid or denied it. Null otherwise.
    predetermination.insurance_typestringThe claim filing indicator (SBR09). commercial unless the claim says otherwise.One of: `commercial`, `medicaid`, `medicare_b`, `champus`, `dental_maintenance`, `ppo`, `pos`, `epo`, `indemnity`, `hmo`, `self_pay`, `other`.
    predetermination.sequencestringprimary, secondary or tertiary: this claim's place among the payers (coordination.sequence).One of: `primary`, `secondary`, `tertiary`.
    predetermination.encounterbooleanTrue for a capitation encounter: reported to the payer, not billed for payment (sent as reporting only, BHT06 RP). Always false on a predetermination.
    predetermination.request_idstring or nullThe API request that made the claim (the x-request-id of its response); null for a claim made in the dashboard.
    predetermination.created_atstring (date-time)
    predetermination.updated_atstring (date-time)
    predetermination.subscriberobject
    predetermination.subscriber.first_namestring
    predetermination.subscriber.last_namestring
    predetermination.subscriber.date_of_birthstring (date) or null
    predetermination.subscriber.genderstring or nullOne of: `F`, `M`, `U`.
    predetermination.subscriber.member_idstring
    predetermination.subscriber.group_numbervalue
    predetermination.subscriber.addressobject or null
    predetermination.subscriber.address.line1string
    predetermination.subscriber.address.line2value
    predetermination.subscriber.address.citystring
    predetermination.subscriber.address.statestring
    predetermination.subscriber.address.postal_codestring
    predetermination.patientobject or nullThe patient, when not the subscriber.
    predetermination.patient.first_namestring
    predetermination.patient.last_namestring
    predetermination.patient.date_of_birthstring (date) or null
    predetermination.patient.genderstring or nullOne of: `F`, `M`, `U`.
    predetermination.patient.relationshipstringOne of: `spouse`, `child`, `other`.
    predetermination.patient.addressobject or null
    predetermination.patient.address.line1string
    predetermination.patient.address.line2value
    predetermination.patient.address.citystring
    predetermination.patient.address.statestring
    predetermination.patient.address.postal_codestring
    predetermination.place_of_servicestring
    predetermination.linesarray of object
    predetermination.lines[].line_numberintegerAt least 1.
    predetermination.lines[].cdtstring
    predetermination.lines[].descriptionvalueThe description you sent, or our short description of the code when you sent none and it is a common one.
    predetermination.lines[].service_datestring (date) or nullThe date of service. Null on a predetermination (it has none), and on a claim made from one until you add it.
    predetermination.lines[].feestringThe charge for the whole line, in dollars, as a decimal string (never multiplied by the quantity).Matches `^-?\d+\.\d{2}$`.
    predetermination.lines[].quantityintegerHow many units the line is for: a count sent with the line (SV306).At least -9007199254740991.
    predetermination.lines[].toothvalue
    predetermination.lines[].surfacesvalue
    predetermination.lines[].areavalueThe oral cavity code: a quadrant (10, 20, 30, 40), an arch (01, 02) or 00.
    predetermination.lines[].teetharray of objectThe teeth of a line sent with several (each its own TOO segment); empty when the line gives tooth and surfaces instead.
    predetermination.lines[].teeth[].toothstring
    predetermination.lines[].teeth[].surfacesvalue
    predetermination.lines[].areasarray of stringThe oral cavity codes of a line sent with several; empty when the line gives area instead.
    predetermination.lines[].prosthesisstring or nullinitial or replacement, for a crown, bridge or denture.One of: `initial`, `replacement`.
    predetermination.lines[].prior_placement_datestring (date) or nullWhen the prosthesis being replaced was first placed.
    predetermination.lines[].diagnosis_pointersarray of integerPositions (from 1) in the claim's diagnosis_codes that this line points at.
    predetermination.remarksvalue
    predetermination.metadataobject
    predetermination.coordinationobjectCoordination of benefits: this claim's sequence and the other payers responsible before or alongside it. A primary claim with no other payer has an empty list.
    predetermination.coordination.sequencestringprimary, secondary or tertiary: this claim's place among the payers.One of: `primary`, `secondary`, `tertiary`.
    predetermination.coordination.other_payersarray of object
    predetermination.coordination.other_payers[].payer_idstring or nullThe directory payer (pyr_...), when the other payer is one; null for a payer named by payer_name and payer_identifier.
    predetermination.coordination.other_payers[].payer_namevalueThe payer's name: the directory's for a directory payer.
    predetermination.coordination.other_payers[].payer_identifiervalueThe payer ID the claim file carries for it (NM109): the directory's for a directory payer.
    predetermination.coordination.other_payers[].responsibilitystringOne of: `primary`, `secondary`.
    predetermination.coordination.other_payers[].insurance_typestringOne of: `commercial`, `medicaid`, `medicare_b`, `champus`, `dental_maintenance`, `ppo`, `pos`, `epo`, `indemnity`, `hmo`, `self_pay`, `other`.
    predetermination.coordination.other_payers[].relationshipstringThe patient's relationship to this payer's subscriber.One of: `self`, `spouse`, `child`, `other`.
    predetermination.coordination.other_payers[].subscriberobject
    predetermination.coordination.other_payers[].subscriber.first_namestring
    predetermination.coordination.other_payers[].subscriber.last_namestring
    predetermination.coordination.other_payers[].subscriber.member_idstring
    predetermination.coordination.other_payers[].subscriber.group_numbervalue
    predetermination.coordination.other_payers[].paidstring or nullWhat this payer paid; null when it did not adjudicate the claim.Matches `^-?\d+\.\d{2}$`.
    predetermination.coordination.other_payers[].paid_datestring (date) or null
    predetermination.coordination.other_payers[].patient_responsibilitystring or nullAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    predetermination.coordination.other_payers[].adjustmentsarray of objectIts adjustments: claim level only when it has lines.
    predetermination.coordination.other_payers[].adjustments[].groupstringOne of: `CO`, `OA`, `PI`, `PR`.
    predetermination.coordination.other_payers[].adjustments[].reasonstring
    predetermination.coordination.other_payers[].adjustments[].amountstringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    predetermination.coordination.other_payers[].linesarray of object or nullWhat it paid and adjusted line by line (loop 2430); null when it gave claim-level figures only.
    predetermination.coordination.other_payers[].lines[].lineintegerThe claim line, from 1.At least -9007199254740991.
    predetermination.coordination.other_payers[].lines[].paidstringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    predetermination.coordination.other_payers[].lines[].adjustmentsarray of object
    predetermination.coordination.other_payers[].lines[].adjustments[].groupstringOne of: `CO`, `OA`, `PI`, `PR`.
    predetermination.coordination.other_payers[].lines[].adjustments[].reasonstring
    predetermination.coordination.other_payers[].lines[].adjustments[].amountstringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    predetermination.accidentobject or null
    predetermination.accident.causestringOne of: `auto`, `employment`, `other`.
    predetermination.accident.datestring (date) or null
    predetermination.accident.statevalue
    predetermination.referral_numbervalue
    predetermination.prior_authorizationvalue
    predetermination.diagnosis_codesarray of stringThe ICD-10-CM codes of the claim, the first the principal diagnosis, as sent.
    predetermination.orthodonticsobject or null
    predetermination.orthodontics.appliance_placed_datestring (date)
    predetermination.orthodontics.total_monthsintegerAt least -9007199254740991.
    predetermination.orthodontics.months_remainingintegerAt least -9007199254740991.
    predetermination.missing_teetharray of object
    predetermination.missing_teeth[].toothstring
    predetermination.missing_teeth[].statusstringOne of: `missing`, `to_be_extracted`.
    predetermination.service_locationobject or nullWhere the treatment happened, when that is not the billing office's address.
    predetermination.service_location.namestring
    predetermination.service_location.npivalue
    predetermination.service_location.addressobject
    predetermination.service_location.address.line1string
    predetermination.service_location.address.line2value
    predetermination.service_location.address.citystring
    predetermination.service_location.address.statestring
    predetermination.service_location.address.postal_codestring
    predetermination.payer_provider_idsobjectThe payer's own IDs for the billing office and the rendering provider the claim sends itself (REF*G2); null where it leaves them to the office's and the provider's (see snapshot).
    predetermination.payer_provider_ids.billingvalue
    predetermination.payer_provider_ids.renderingvalue
    predetermination.attachmentsarray of stringThe attachments the claim carries, in the order the claim file writes them (a PWK and a note for each).Each item matches `^att_[0-9A-HJKMNP-TV-Z]{26}$`.
    predetermination.foreign_attachmentsarray of objectThe references of attachments a partner already holds a number for, carried by the claim file unchanged after the claim's own attachments.
    predetermination.foreign_attachments[].pwkarray of stringThe elements of the PWK segment after its id.
    predetermination.foreign_attachments[].ntevalueThe text of the NTE that followed it, or null.
    predetermination.validationobject or nullThe result of the last validation; null while the claim has not been validated.
    predetermination.validation.validated_atstring (date-time)
    predetermination.validation.errorsintegerAt least -9007199254740991.
    predetermination.validation.warningsintegerAt least -9007199254740991.
    predetermination.validation.findingsarray of object
    predetermination.validation.findings[].fieldvalueThe request field the finding is about, as a dotted path (lines[0].tooth), or null for the claim as a whole.
    predetermination.validation.findings[].codestringA stable code for the finding.
    predetermination.validation.findings[].messagestring
    predetermination.validation.findings[].severitystringAn error keeps the claim from being sent; a warning does not.One of: `error`, `warning`.
    predetermination.networkobject
    predetermination.network.submitted_atstring (date-time) or null
    predetermination.network.clearinghouse_claim_idvalue
    predetermination.network.payer_claim_numbervalueThe payer's own number for the claim, once it has accepted it.
    predetermination.network.rejectionobject or null
    predetermination.network.rejection.sourcestringOne of: `clearinghouse`, `payer`.
    predetermination.network.rejection.categoryvalueThe status category code from the 277 (such as A7).
    predetermination.network.rejection.codevalueThe status code from the 277 (such as 33).
    predetermination.network.rejection.messagestringWhy, in plain words.
    predetermination.network.rejection.fixvalueWhat to change, when it is known.
    predetermination.idempotency_keyvalueThe Idempotency-Key the claim was sent with.
    predetermination.allow_duplicatebooleanTrue when the claim was marked as a separate service identical to another claim: a duplicate is then a warning, not a DUPLICATE_CLAIM error.
    predetermination.delivery_uncertainobject or nullSet when the claim came back with DELIVERY_UNCERTAIN: its file was handed to the network and no acknowledgement came, so the claim may already be with the payer. Check its status; sending it again needs confirm_resend true. Null otherwise, and once it is queued again.
    predetermination.delivery_uncertain.file_idstringThe file the claim was last sent in, which may already be with the payer.
    predetermination.no_payer_answerobject or nullSet when the claim came back with NO_PAYER_ANSWER: the payer has not answered it since it was sent. Check its status with the payer, then send it again (confirm_resend true) or void it. A late answer from the payer still applies and clears it. Null otherwise.
    predetermination.no_payer_answer.file_idstringThe file the claim was last sent in, which the payer never answered.
    predetermination.no_payer_answer.sincestring (date-time)When that file was handed to the network.
    predetermination.snapshotobject or nullWhat the claim's file says of its billing office, service location and rendering provider, fixed when the claim was queued: an office or provider edited afterwards changes no queued or sent claim. Null while the claim follows the current records (draft, validated, needs_attention; a correction takes a new one when it is queued again), and on a claim queued before snapshots were kept. A claim flagged NO_PAYER_ANSWER keeps the one it was sent with.
    predetermination.snapshot.billing_officeobjectThe billing provider (2010AA): the claim's office as it was when the claim was queued.
    predetermination.snapshot.billing_office.namestring
    predetermination.snapshot.billing_office.npistring
    predetermination.snapshot.billing_office.tax_idstring
    predetermination.snapshot.billing_office.addressobject
    predetermination.snapshot.billing_office.address.line1string
    predetermination.snapshot.billing_office.address.line2value
    predetermination.snapshot.billing_office.address.citystring
    predetermination.snapshot.billing_office.address.statestring
    predetermination.snapshot.billing_office.address.postal_codestring
    predetermination.snapshot.billing_office.phonestring
    predetermination.snapshot.billing_office.pay_to_addressobject or nullThe pay-to address the file names (2010AB); null when it names none (the office has none, or it is the billing address).
    predetermination.snapshot.billing_office.pay_to_address.line1string
    predetermination.snapshot.billing_office.pay_to_address.line2value
    predetermination.snapshot.billing_office.pay_to_address.citystring
    predetermination.snapshot.billing_office.pay_to_address.statestring
    predetermination.snapshot.billing_office.pay_to_address.postal_codestring
    predetermination.snapshot.service_locationobject or nullThe service facility the file names (2310C): the claim's own service_location, else its office's default one; null when the treatment happened at the billing address.
    predetermination.snapshot.service_location.namestring
    predetermination.snapshot.service_location.npivalue
    predetermination.snapshot.service_location.addressobject
    predetermination.snapshot.service_location.address.line1string
    predetermination.snapshot.service_location.address.line2value
    predetermination.snapshot.service_location.address.citystring
    predetermination.snapshot.service_location.address.statestring
    predetermination.snapshot.service_location.address.postal_codestring
    predetermination.snapshot.payer_provider_idsobjectThe payer's own IDs the file sends (REF*G2 in 2010BB and 2310B): the claim's own payer_provider_ids, else the office's and the rendering provider's for the claim's payer; null where none.
    predetermination.snapshot.payer_provider_ids.billingvalue
    predetermination.snapshot.payer_provider_ids.renderingvalue
    predetermination.snapshot.rendering_providerobjectThe rendering provider (2310B) as it was when the claim was queued.
    predetermination.snapshot.rendering_provider.first_namestring
    predetermination.snapshot.rendering_provider.last_namestring
    predetermination.snapshot.rendering_provider.npistring
    predetermination.snapshot.rendering_provider.taxonomy_codestring
    predetermination.snapshot.rendering_provider.licenseobject or nullThe one license the file sends (2310B REF*0B): the provider's license for the state of the service location, else of the billing office; null when the provider has none for that state.
    predetermination.snapshot.rendering_provider.license.statestring
    predetermination.snapshot.rendering_provider.license.numberstring
    claimobjectThe claim made from it: a draft with the same patient, subscriber, payer, office, provider, lines and attachments, and no service dates yet.
    claim.idstringAn ID that starts with clm_.
    claim.objectstringAlways `claim`.
    claim.kindstringclaim, or predetermination (sent before treatment; its answer is an estimate). Set when it was made.One of: `claim`, `predetermination`.
    claim.statestringOne of: `draft`, `validated`, `needs_attention`, `queued`, `submitted`, `accepted_clearinghouse`, `accepted_payer`, `rejected`, `voided`, `paid`, `denied`, `reconciled`, `returned`.
    claim.next_stepstringOne sentence saying what happens next, or what you must do.
    claim.frequencystringoriginal; replacement for a resubmission of a claim the payer has; void for a void transaction.One of: `original`, `replacement`, `void`.
    claim.parent_idstring or nullThe claim a void transaction voids.
    claim.patient_control_numberstringYour identifier for the claim, or the one we made: unique in your organization, sent on the claim and returned on its status.
    claim.officeobject
    claim.office.idstringAn ID that starts with off_.
    claim.office.namestring
    claim.payerobject
    claim.payer.idstringAn ID that starts with pyr_.
    claim.payer.payer_idstringThe payer's own payer ID.
    claim.payer.namestring
    claim.rendering_providerobject
    claim.rendering_provider.idstringAn ID that starts with prv_.
    claim.rendering_provider.first_namestring
    claim.rendering_provider.last_namestring
    claim.rendering_provider.npistring
    claim.patient_nameobjectThe patient: the dependent when there is one, else the subscriber.
    claim.patient_name.first_namestring
    claim.patient_name.last_namestring
    claim.patient_idstring or nullThe patient this is about (pat_...) in the patient directory: the dependent when there is one, else the subscriber. Set by Claim House when a check completes or a claim's patient is written; null while a check is pending, and when the patient has no date of birth or a name with no letters or digits to compare.
    claim.service_datesobject
    claim.service_dates.firststring (date) or null
    claim.service_dates.laststring (date) or null
    claim.totalsobject
    claim.totals.chargestringThe sum of the line fees, in dollars, as a decimal string.Matches `^-?\d+\.\d{2}$`.
    claim.totals.linesintegerAt least -9007199254740991.
    claim.paymentobject or nullWhat the payer paid (states paid, denied and reconciled), from its remittances; null before one arrives, when every payment was reversed, and always on a predetermination.
    claim.payment.outcomestringpaid or denied: the outcome of the claim's current payment (the latest one no reversal cancelled). A reconciled claim keeps it.One of: `paid`, `denied`.
    claim.payment.era_idstringThe ERA of the claim's current payment (era_...): the latest one, when that is not certain.
    claim.payment.paidstringWhat the payer paid in all: the sum of every payment applied, reversals subtracted.Matches `^-?\d+\.\d{2}$`.
    claim.payment.allowedstring or nullThe amount the current payment allowed, when it said.Matches `^-?\d+\.\d{2}$`.
    claim.payment.patient_responsibilitystringWhat the patient owes, as the payer says (deductible, coinsurance and the like).Matches `^-?\d+\.\d{2}$`.
    claim.payment.payment_datestring (date) or nullThe payment date of the ERA.
    claim.payment.reconciled_atstring (date-time) or nullWhen you confirmed you posted the payment (state reconciled); null until then.
    claim.estimateobject or nullA predetermination's estimate (state returned); null before it arrives, and always on a claim.
    claim.estimate.era_idstringThe ERA that carried the estimate (era_...).
    claim.estimate.allowedstring or nullWhat the payer would allow, when it said.Matches `^-?\d+\.\d{2}$`.
    claim.estimate.paystringWhat the payer would pay once the treatment is done.Matches `^-?\d+\.\d{2}$`.
    claim.estimate.patientstringThe patient's estimated share.Matches `^-?\d+\.\d{2}$`.
    claim.estimate.returned_atstring (date-time)When the estimate arrived.
    claim.estimate.linesarray of objectThe estimate per line, where the payer said (line_number is the predetermination's).
    claim.estimate.lines[].line_numberintegerAt least 1.
    claim.estimate.lines[].allowedstring or nullAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    claim.estimate.lines[].paystringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    claim.estimate.lines[].patientstringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    claim.converted_fromstring or nullOn a claim made from a predetermination: the predetermination.
    claim.converted_tostring or nullOn a converted predetermination: the claim made from it.
    claim.source_claim_idstring or nullOn a claim made for the next payer (POST /claims/{id}/next_claim): the claim it was made from, whose payer paid or denied it. Null otherwise.
    claim.insurance_typestringThe claim filing indicator (SBR09). commercial unless the claim says otherwise.One of: `commercial`, `medicaid`, `medicare_b`, `champus`, `dental_maintenance`, `ppo`, `pos`, `epo`, `indemnity`, `hmo`, `self_pay`, `other`.
    claim.sequencestringprimary, secondary or tertiary: this claim's place among the payers (coordination.sequence).One of: `primary`, `secondary`, `tertiary`.
    claim.encounterbooleanTrue for a capitation encounter: reported to the payer, not billed for payment (sent as reporting only, BHT06 RP). Always false on a predetermination.
    claim.request_idstring or nullThe API request that made the claim (the x-request-id of its response); null for a claim made in the dashboard.
    claim.created_atstring (date-time)
    claim.updated_atstring (date-time)
    claim.subscriberobject
    claim.subscriber.first_namestring
    claim.subscriber.last_namestring
    claim.subscriber.date_of_birthstring (date) or null
    claim.subscriber.genderstring or nullOne of: `F`, `M`, `U`.
    claim.subscriber.member_idstring
    claim.subscriber.group_numbervalue
    claim.subscriber.addressobject or null
    claim.subscriber.address.line1string
    claim.subscriber.address.line2value
    claim.subscriber.address.citystring
    claim.subscriber.address.statestring
    claim.subscriber.address.postal_codestring
    claim.patientobject or nullThe patient, when not the subscriber.
    claim.patient.first_namestring
    claim.patient.last_namestring
    claim.patient.date_of_birthstring (date) or null
    claim.patient.genderstring or nullOne of: `F`, `M`, `U`.
    claim.patient.relationshipstringOne of: `spouse`, `child`, `other`.
    claim.patient.addressobject or null
    claim.patient.address.line1string
    claim.patient.address.line2value
    claim.patient.address.citystring
    claim.patient.address.statestring
    claim.patient.address.postal_codestring
    claim.place_of_servicestring
    claim.linesarray of object
    claim.lines[].line_numberintegerAt least 1.
    claim.lines[].cdtstring
    claim.lines[].descriptionvalueThe description you sent, or our short description of the code when you sent none and it is a common one.
    claim.lines[].service_datestring (date) or nullThe date of service. Null on a predetermination (it has none), and on a claim made from one until you add it.
    claim.lines[].feestringThe charge for the whole line, in dollars, as a decimal string (never multiplied by the quantity).Matches `^-?\d+\.\d{2}$`.
    claim.lines[].quantityintegerHow many units the line is for: a count sent with the line (SV306).At least -9007199254740991.
    claim.lines[].toothvalue
    claim.lines[].surfacesvalue
    claim.lines[].areavalueThe oral cavity code: a quadrant (10, 20, 30, 40), an arch (01, 02) or 00.
    claim.lines[].teetharray of objectThe teeth of a line sent with several (each its own TOO segment); empty when the line gives tooth and surfaces instead.
    claim.lines[].teeth[].toothstring
    claim.lines[].teeth[].surfacesvalue
    claim.lines[].areasarray of stringThe oral cavity codes of a line sent with several; empty when the line gives area instead.
    claim.lines[].prosthesisstring or nullinitial or replacement, for a crown, bridge or denture.One of: `initial`, `replacement`.
    claim.lines[].prior_placement_datestring (date) or nullWhen the prosthesis being replaced was first placed.
    claim.lines[].diagnosis_pointersarray of integerPositions (from 1) in the claim's diagnosis_codes that this line points at.
    claim.remarksvalue
    claim.metadataobject
    claim.coordinationobjectCoordination of benefits: this claim's sequence and the other payers responsible before or alongside it. A primary claim with no other payer has an empty list.
    claim.coordination.sequencestringprimary, secondary or tertiary: this claim's place among the payers.One of: `primary`, `secondary`, `tertiary`.
    claim.coordination.other_payersarray of object
    claim.coordination.other_payers[].payer_idstring or nullThe directory payer (pyr_...), when the other payer is one; null for a payer named by payer_name and payer_identifier.
    claim.coordination.other_payers[].payer_namevalueThe payer's name: the directory's for a directory payer.
    claim.coordination.other_payers[].payer_identifiervalueThe payer ID the claim file carries for it (NM109): the directory's for a directory payer.
    claim.coordination.other_payers[].responsibilitystringOne of: `primary`, `secondary`.
    claim.coordination.other_payers[].insurance_typestringOne of: `commercial`, `medicaid`, `medicare_b`, `champus`, `dental_maintenance`, `ppo`, `pos`, `epo`, `indemnity`, `hmo`, `self_pay`, `other`.
    claim.coordination.other_payers[].relationshipstringThe patient's relationship to this payer's subscriber.One of: `self`, `spouse`, `child`, `other`.
    claim.coordination.other_payers[].subscriberobject
    claim.coordination.other_payers[].subscriber.first_namestring
    claim.coordination.other_payers[].subscriber.last_namestring
    claim.coordination.other_payers[].subscriber.member_idstring
    claim.coordination.other_payers[].subscriber.group_numbervalue
    claim.coordination.other_payers[].paidstring or nullWhat this payer paid; null when it did not adjudicate the claim.Matches `^-?\d+\.\d{2}$`.
    claim.coordination.other_payers[].paid_datestring (date) or null
    claim.coordination.other_payers[].patient_responsibilitystring or nullAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    claim.coordination.other_payers[].adjustmentsarray of objectIts adjustments: claim level only when it has lines.
    claim.coordination.other_payers[].adjustments[].groupstringOne of: `CO`, `OA`, `PI`, `PR`.
    claim.coordination.other_payers[].adjustments[].reasonstring
    claim.coordination.other_payers[].adjustments[].amountstringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    claim.coordination.other_payers[].linesarray of object or nullWhat it paid and adjusted line by line (loop 2430); null when it gave claim-level figures only.
    claim.coordination.other_payers[].lines[].lineintegerThe claim line, from 1.At least -9007199254740991.
    claim.coordination.other_payers[].lines[].paidstringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    claim.coordination.other_payers[].lines[].adjustmentsarray of object
    claim.coordination.other_payers[].lines[].adjustments[].groupstringOne of: `CO`, `OA`, `PI`, `PR`.
    claim.coordination.other_payers[].lines[].adjustments[].reasonstring
    claim.coordination.other_payers[].lines[].adjustments[].amountstringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    claim.accidentobject or null
    claim.accident.causestringOne of: `auto`, `employment`, `other`.
    claim.accident.datestring (date) or null
    claim.accident.statevalue
    claim.referral_numbervalue
    claim.prior_authorizationvalue
    claim.diagnosis_codesarray of stringThe ICD-10-CM codes of the claim, the first the principal diagnosis, as sent.
    claim.orthodonticsobject or null
    claim.orthodontics.appliance_placed_datestring (date)
    claim.orthodontics.total_monthsintegerAt least -9007199254740991.
    claim.orthodontics.months_remainingintegerAt least -9007199254740991.
    claim.missing_teetharray of object
    claim.missing_teeth[].toothstring
    claim.missing_teeth[].statusstringOne of: `missing`, `to_be_extracted`.
    claim.service_locationobject or nullWhere the treatment happened, when that is not the billing office's address.
    claim.service_location.namestring
    claim.service_location.npivalue
    claim.service_location.addressobject
    claim.service_location.address.line1string
    claim.service_location.address.line2value
    claim.service_location.address.citystring
    claim.service_location.address.statestring
    claim.service_location.address.postal_codestring
    claim.payer_provider_idsobjectThe payer's own IDs for the billing office and the rendering provider the claim sends itself (REF*G2); null where it leaves them to the office's and the provider's (see snapshot).
    claim.payer_provider_ids.billingvalue
    claim.payer_provider_ids.renderingvalue
    claim.attachmentsarray of stringThe attachments the claim carries, in the order the claim file writes them (a PWK and a note for each).Each item matches `^att_[0-9A-HJKMNP-TV-Z]{26}$`.
    claim.foreign_attachmentsarray of objectThe references of attachments a partner already holds a number for, carried by the claim file unchanged after the claim's own attachments.
    claim.foreign_attachments[].pwkarray of stringThe elements of the PWK segment after its id.
    claim.foreign_attachments[].ntevalueThe text of the NTE that followed it, or null.
    claim.validationobject or nullThe result of the last validation; null while the claim has not been validated.
    claim.validation.validated_atstring (date-time)
    claim.validation.errorsintegerAt least -9007199254740991.
    claim.validation.warningsintegerAt least -9007199254740991.
    claim.validation.findingsarray of object
    claim.validation.findings[].fieldvalueThe request field the finding is about, as a dotted path (lines[0].tooth), or null for the claim as a whole.
    claim.validation.findings[].codestringA stable code for the finding.
    claim.validation.findings[].messagestring
    claim.validation.findings[].severitystringAn error keeps the claim from being sent; a warning does not.One of: `error`, `warning`.
    claim.networkobject
    claim.network.submitted_atstring (date-time) or null
    claim.network.clearinghouse_claim_idvalue
    claim.network.payer_claim_numbervalueThe payer's own number for the claim, once it has accepted it.
    claim.network.rejectionobject or null
    claim.network.rejection.sourcestringOne of: `clearinghouse`, `payer`.
    claim.network.rejection.categoryvalueThe status category code from the 277 (such as A7).
    claim.network.rejection.codevalueThe status code from the 277 (such as 33).
    claim.network.rejection.messagestringWhy, in plain words.
    claim.network.rejection.fixvalueWhat to change, when it is known.
    claim.idempotency_keyvalueThe Idempotency-Key the claim was sent with.
    claim.allow_duplicatebooleanTrue when the claim was marked as a separate service identical to another claim: a duplicate is then a warning, not a DUPLICATE_CLAIM error.
    claim.delivery_uncertainobject or nullSet when the claim came back with DELIVERY_UNCERTAIN: its file was handed to the network and no acknowledgement came, so the claim may already be with the payer. Check its status; sending it again needs confirm_resend true. Null otherwise, and once it is queued again.
    claim.delivery_uncertain.file_idstringThe file the claim was last sent in, which may already be with the payer.
    claim.no_payer_answerobject or nullSet when the claim came back with NO_PAYER_ANSWER: the payer has not answered it since it was sent. Check its status with the payer, then send it again (confirm_resend true) or void it. A late answer from the payer still applies and clears it. Null otherwise.
    claim.no_payer_answer.file_idstringThe file the claim was last sent in, which the payer never answered.
    claim.no_payer_answer.sincestring (date-time)When that file was handed to the network.
    claim.snapshotobject or nullWhat the claim's file says of its billing office, service location and rendering provider, fixed when the claim was queued: an office or provider edited afterwards changes no queued or sent claim. Null while the claim follows the current records (draft, validated, needs_attention; a correction takes a new one when it is queued again), and on a claim queued before snapshots were kept. A claim flagged NO_PAYER_ANSWER keeps the one it was sent with.
    claim.snapshot.billing_officeobjectThe billing provider (2010AA): the claim's office as it was when the claim was queued.
    claim.snapshot.billing_office.namestring
    claim.snapshot.billing_office.npistring
    claim.snapshot.billing_office.tax_idstring
    claim.snapshot.billing_office.addressobject
    claim.snapshot.billing_office.address.line1string
    claim.snapshot.billing_office.address.line2value
    claim.snapshot.billing_office.address.citystring
    claim.snapshot.billing_office.address.statestring
    claim.snapshot.billing_office.address.postal_codestring
    claim.snapshot.billing_office.phonestring
    claim.snapshot.billing_office.pay_to_addressobject or nullThe pay-to address the file names (2010AB); null when it names none (the office has none, or it is the billing address).
    claim.snapshot.billing_office.pay_to_address.line1string
    claim.snapshot.billing_office.pay_to_address.line2value
    claim.snapshot.billing_office.pay_to_address.citystring
    claim.snapshot.billing_office.pay_to_address.statestring
    claim.snapshot.billing_office.pay_to_address.postal_codestring
    claim.snapshot.service_locationobject or nullThe service facility the file names (2310C): the claim's own service_location, else its office's default one; null when the treatment happened at the billing address.
    claim.snapshot.service_location.namestring
    claim.snapshot.service_location.npivalue
    claim.snapshot.service_location.addressobject
    claim.snapshot.service_location.address.line1string
    claim.snapshot.service_location.address.line2value
    claim.snapshot.service_location.address.citystring
    claim.snapshot.service_location.address.statestring
    claim.snapshot.service_location.address.postal_codestring
    claim.snapshot.payer_provider_idsobjectThe payer's own IDs the file sends (REF*G2 in 2010BB and 2310B): the claim's own payer_provider_ids, else the office's and the rendering provider's for the claim's payer; null where none.
    claim.snapshot.payer_provider_ids.billingvalue
    claim.snapshot.payer_provider_ids.renderingvalue
    claim.snapshot.rendering_providerobjectThe rendering provider (2310B) as it was when the claim was queued.
    claim.snapshot.rendering_provider.first_namestring
    claim.snapshot.rendering_provider.last_namestring
    claim.snapshot.rendering_provider.npistring
    claim.snapshot.rendering_provider.taxonomy_codestring
    claim.snapshot.rendering_provider.licenseobject or nullThe one license the file sends (2310B REF*0B): the provider's license for the state of the service location, else of the billing office; null when the provider has none for that state.
    claim.snapshot.rendering_provider.license.statestring
    claim.snapshot.rendering_provider.license.numberstring
    createdbooleanFalse when the predetermination was converted already: the claim made then.

    Errors

    Errors
    HTTP statusCodeWhat it means
    401UNAUTHORIZEDA valid API key is required. Send it as "Authorization: Bearer <key>".
    403PERMISSION_DENIEDThis API key is not allowed to do that.
    404NOT_FOUNDNot found.
    422INVALID_REQUESTThe request is not valid.
    400IDEMPOTENCY_KEY_REQUIREDThis request needs an Idempotency-Key header: a value you make up (a UUID is good), new for each new request.
    400IDEMPOTENCY_KEY_INVALIDThe Idempotency-Key header must be 1 to 255 printable characters.
    422IDEMPOTENCY_KEY_REUSEDThat Idempotency-Key was already used with a different request.
    409IDEMPOTENCY_KEY_IN_USEA request with that Idempotency-Key is still running. Send it again with the same key after Retry-After seconds.
    429TOO_MANY_REQUESTSToo many requests of this kind lately. Wait, then try again.
    413PAYLOAD_TOO_LARGEThe request body is larger than 1 MB.
    504TIMEOUTThe request took too long. Send it again with the same Idempotency-Key and body after Retry-After seconds: a 409 means it is still finishing (wait and send again), and any other answer is final. If this 504 comes back, find what the request made by listing with ?idempotency_key=<the key>.
    503CLAIMS_UNAVAILABLEClaims are not available in live mode yet. Use a test key.
    409CONFLICTThe resource is not in a state that allows this, or it changed while the request was handled. Read it, then decide whether to send the request again.
    500INTERNALSomething went wrong on our side. Quote the request ID if you contact us.

    Example

    Example request

    Shell
    curl -X POST "https://sandbox.myclaimhouse.com/api/v1/claims/clm_01JM000000E00800000000004G/convert" \
      -H "Authorization: Bearer $CLAIMHOUSE_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{}'

    Example response: 200

    JSON
    {
      "object": "claim_conversion",
      "predetermination": {
        "id": "clm_01JM000000E00800000000004G",
        "object": "claim",
        "kind": "predetermination",
        "state": "returned",
        "next_step": "The payer returned its estimate (what it would pay, not a payment). Once the treatment is done, convert it into a claim and add the service dates.",
        "frequency": "original",
        "parent_id": null,
        "patient_control_number": "CH7PD3K8M2QA",
        "office": {
          "id": "off_01JM000000E008000000000003",
          "name": "Example Family Dental"
        },
        "payer": {
          "id": "pyr_01JM000000E008000000000004",
          "payer_id": "00000",
          "name": "Example Dental Plan"
        },
        "rendering_provider": {
          "id": "prv_01JM000000E008000000000005",
          "first_name": "Riley",
          "last_name": "Example",
          "npi": "1999990017"
        },
        "patient_name": {
          "first_name": "Alex",
          "last_name": "Example"
        },
        "service_dates": {
          "first": null,
          "last": null
        },
        "totals": {
          "charge": "1140.00",
          "lines": 1
        },
        "payment": null,
        "estimate": {
          "era_id": "era_01JM000000E00800000000003G",
          "allowed": "1026.00",
          "pay": "820.80",
          "patient": "205.20",
          "returned_at": "2026-09-24T21:03:30.000000+00:00",
          "lines": [
            {
              "line_number": 1,
              "allowed": "1026.00",
              "pay": "820.80",
              "patient": "205.20"
            }
          ]
        },
        "converted_from": null,
        "converted_to": "clm_01JM000000E00800000000004H",
        "source_claim_id": null,
        "patient_id": "pat_01JM000000E00800000000004K",
        "insurance_type": "commercial",
        "sequence": "primary",
        "encounter": false,
        "request_id": "req_01JM000000E00800000000002J",
        "created_at": "2026-09-24T21:00:00.120000+00:00",
        "updated_at": "2026-09-24T21:00:00.310000+00:00",
        "subscriber": {
          "first_name": "Alex",
          "last_name": "Example",
          "date_of_birth": "1985-04-12",
          "gender": "F",
          "member_id": "CH-ACTIVE-FULL",
          "group_number": null,
          "address": {
            "line1": "1 Example Street",
            "line2": null,
            "city": "Exampleville",
            "state": "GA",
            "postal_code": "30000"
          }
        },
        "patient": null,
        "place_of_service": "11",
        "lines": [
          {
            "line_number": 1,
            "cdt": "D2740",
            "description": "Porcelain or ceramic crown",
            "service_date": null,
            "fee": "1140.00",
            "quantity": 1,
            "tooth": "3",
            "surfaces": null,
            "area": null,
            "teeth": [],
            "areas": [],
            "prosthesis": null,
            "prior_placement_date": null,
            "diagnosis_pointers": []
          }
        ],
        "remarks": null,
        "metadata": {
          "pms_claim_number": "PMS-1042"
        },
        "coordination": {
          "sequence": "primary",
          "other_payers": []
        },
        "accident": null,
        "referral_number": null,
        "prior_authorization": null,
        "diagnosis_codes": [],
        "orthodontics": null,
        "missing_teeth": [],
        "service_location": null,
        "payer_provider_ids": {
          "billing": null,
          "rendering": null
        },
        "attachments": [
          "att_01JM000000E00800000000003G"
        ],
        "foreign_attachments": [],
        "validation": {
          "validated_at": "2026-09-24T21:00:00.300000+00:00",
          "errors": 0,
          "warnings": 0,
          "findings": []
        },
        "network": {
          "submitted_at": "2026-09-24T21:00:30.000000+00:00",
          "clearinghouse_claim_id": "SBX7PD3K8M2Q",
          "payer_claim_number": "990000001090",
          "rejection": null
        },
        "idempotency_key": "pms-1042",
        "allow_duplicate": false,
        "delivery_uncertain": null,
        "no_payer_answer": null,
        "snapshot": {
          "billing_office": {
            "name": "Example Family Dental",
            "npi": "1999999000",
            "tax_id": "009999999",
            "address": {
              "line1": "100 Example Street",
              "line2": null,
              "city": "Exampleville",
              "state": "GA",
              "postal_code": "303010000"
            },
            "phone": "4045550100",
            "pay_to_address": null
          },
          "service_location": null,
          "rendering_provider": {
            "first_name": "Riley",
            "last_name": "Example",
            "npi": "1999990017",
            "taxonomy_code": "1223G0001X",
            "license": {
              "state": "GA",
              "number": "GA-000000"
            }
          },
          "payer_provider_ids": {
            "billing": null,
            "rendering": null
          }
        }
      },
      "claim": {
        "id": "clm_01JM000000E00800000000004H",
        "object": "claim",
        "kind": "claim",
        "state": "draft",
        "next_step": "This claim is a draft: it has not been checked or sent. Validate it, then queue it to send it.",
        "frequency": "original",
        "parent_id": null,
        "patient_control_number": "CH9CV4T7N1RB",
        "office": {
          "id": "off_01JM000000E008000000000003",
          "name": "Example Family Dental"
        },
        "payer": {
          "id": "pyr_01JM000000E008000000000004",
          "payer_id": "00000",
          "name": "Example Dental Plan"
        },
        "rendering_provider": {
          "id": "prv_01JM000000E008000000000005",
          "first_name": "Riley",
          "last_name": "Example",
          "npi": "1999990017"
        },
        "patient_name": {
          "first_name": "Alex",
          "last_name": "Example"
        },
        "service_dates": {
          "first": null,
          "last": null
        },
        "totals": {
          "charge": "1140.00",
          "lines": 1
        },
        "payment": null,
        "estimate": null,
        "converted_from": "clm_01JM000000E00800000000004G",
        "converted_to": null,
        "source_claim_id": null,
        "patient_id": "pat_01JM000000E00800000000004K",
        "insurance_type": "commercial",
        "sequence": "primary",
        "encounter": false,
        "request_id": "req_01JM000000E00800000000004J",
        "created_at": "2026-09-24T21:00:00.120000+00:00",
        "updated_at": "2026-09-24T21:00:00.310000+00:00",
        "subscriber": {
          "first_name": "Alex",
          "last_name": "Example",
          "date_of_birth": "1985-04-12",
          "gender": "F",
          "member_id": "CH-ACTIVE-FULL",
          "group_number": null,
          "address": {
            "line1": "1 Example Street",
            "line2": null,
            "city": "Exampleville",
            "state": "GA",
            "postal_code": "30000"
          }
        },
        "patient": null,
        "place_of_service": "11",
        "lines": [
          {
            "line_number": 1,
            "cdt": "D2740",
            "description": "Porcelain or ceramic crown",
            "service_date": null,
            "fee": "1140.00",
            "quantity": 1,
            "tooth": "3",
            "surfaces": null,
            "area": null,
            "teeth": [],
            "areas": [],
            "prosthesis": null,
            "prior_placement_date": null,
            "diagnosis_pointers": []
          }
        ],
        "remarks": null,
        "metadata": {
          "pms_claim_number": "PMS-1042"
        },
        "coordination": {
          "sequence": "primary",
          "other_payers": []
        },
        "accident": null,
        "referral_number": null,
        "prior_authorization": null,
        "diagnosis_codes": [],
        "orthodontics": null,
        "missing_teeth": [],
        "service_location": null,
        "payer_provider_ids": {
          "billing": null,
          "rendering": null
        },
        "attachments": [
          "att_01JM000000E00800000000003G"
        ],
        "foreign_attachments": [],
        "validation": null,
        "network": {
          "submitted_at": null,
          "clearinghouse_claim_id": null,
          "payer_claim_number": null,
          "rejection": null
        },
        "idempotency_key": "convert-1090",
        "allow_duplicate": false,
        "delivery_uncertain": null,
        "no_payer_answer": null,
        "snapshot": null
      },
      "created": true
    }

    A predetermination still waiting for its estimate: 409

    JSON
    {
      "error": "CONFLICT",
      "message": "Only a predetermination whose estimate has come back (state returned), and with no void transaction in flight, can be converted into a claim.",
      "errors": [],
      "request_id": "req_01JM000000E008000000000010"
    }