Workflow-run
Task
Document
- GETDocument metadata
- GETFull document details
- GETDocument CSV content
- POSTUnzip file and return PDFs
- POSTGenerate CSV document
- POSTPresigned URL for upload
- POSTClassify document (async)
- POSTSplit document (async)
- POSTCreate documents from splits
- POSTLegacy extract document (async)
- POSTDocument extraction (async)
- POSTRender document body
- POSTGenerate document from template (async)
- POSTTransform JSON to HTML
- POSTDocument reasoning (async)
- POSTSearch across documents
Async-result
Communication
Clearinghouse
Ledger
Integration - Snowflake
Clearinghouse
Retrieve coordination of benefits (COB)
Fetches coordination of benefits (COB) information for a patient from a specified payer, detailing other insurance coverages.
POST
/
api
/
v2
/
clearinghouse
/
coordination-of-benefits
Copy
import os
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key=os.environ.get("SAMPLEHC_API_KEY"), # This is the default and can be omitted
)
response = client.v2.clearinghouse.coordination_of_benefits(
dependent_date_of_birth="dependentDateOfBirth",
dependent_first_name="dependentFirstName",
dependent_last_name="dependentLastName",
encounter_date_of_service="encounterDateOfService",
encounter_service_type_code="encounterServiceTypeCode",
provider_name="providerName",
provider_npi="providerNpi",
subscriber_date_of_birth="subscriberDateOfBirth",
subscriber_first_name="subscriberFirstName",
subscriber_last_name="subscriberLastName",
subscriber_member_id="subscriberMemberId",
trading_partner_service_id="tradingPartnerServiceId",
)
print(response)
Copy
"<any>"
Body
application/json
Response
200
application/json
Successfully retrieved Coordination of Benefits information. The structure of the response depends on the payer.
Copy
import os
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key=os.environ.get("SAMPLEHC_API_KEY"), # This is the default and can be omitted
)
response = client.v2.clearinghouse.coordination_of_benefits(
dependent_date_of_birth="dependentDateOfBirth",
dependent_first_name="dependentFirstName",
dependent_last_name="dependentLastName",
encounter_date_of_service="encounterDateOfService",
encounter_service_type_code="encounterServiceTypeCode",
provider_name="providerName",
provider_npi="providerNpi",
subscriber_date_of_birth="subscriberDateOfBirth",
subscriber_first_name="subscriberFirstName",
subscriber_last_name="subscriberLastName",
subscriber_member_id="subscriberMemberId",
trading_partner_service_id="tradingPartnerServiceId",
)
print(response)
Copy
"<any>"
Assistant
Responses are generated using AI and may contain mistakes.