const { data } = await clinik.claimResponses.create({
status: 'active',
type: 'professional',
use: 'claim',
patientId: 'pt_abc123',
insurerId: 'org_ins789',
requestId: 'claim_xyz456',
outcome: 'complete',
disposition: 'Claim processed successfully',
item: [
{
itemSequence: 1,
adjudication: [
{ category: 'submitted', amount: { value: 150.00, currency: 'USD' } },
{ category: 'eligible', amount: { value: 135.00, currency: 'USD' } },
{ category: 'benefit', amount: { value: 108.00, currency: 'USD' } },
{ category: 'copay', amount: { value: 27.00, currency: 'USD' } },
],
},
],
total: [
{ category: 'submitted', amount: { value: 195.00, currency: 'USD' } },
{ category: 'benefit', amount: { value: 156.00, currency: 'USD' } },
],
payment: {
type: 'complete',
amount: { value: 156.00, currency: 'USD' },
date: '2024-04-01',
},
});