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
- GETPDF template document metadata
- POSTCombine PDF documents
Async-result
Communication
Clearinghouse
Ledger
- POSTCreate new ledger order
- POSTPost patient adjustment
- POSTPost institution adjustment
- POSTPost claim adjustment
- POSTPost claim payment
- POSTPost patient payment
- POSTPost institution payment
- POSTPost order write-off
- POSTPost invoice assignment
- POSTReverse a ledger entry
- GETGet outstanding institutional orders
- GETGet all outstanding institutional accounts
- GETGet all outstanding insurance accounts
- GETGet all outstanding patient accounts
- GETGet institutional order balance
- GETGet outstanding balances for a single order
- POSTGet outstanding balances for multiple orders
Integration - Snowflake
Dashboard
Events
Browser Automation
Database
HIE
Query patient documents
Queries patient documents from the HIE network. Will reuse previously fetched data if a patient with the same external ID already exists in our records.
POST
/
api
/
v2
/
hie
/
documents
/
query
Python
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.hie.documents.query(
address=[{
"address_line1": "addressLine1",
"city": "city",
"state": "state",
"zip": "zip",
}],
dob="dob",
external_id="externalId",
first_name="firstName",
gender_at_birth="M",
last_name="lastName",
)
print(response.async_result_id)
Copy
{
"asyncResultId": "<string>"
}
Body
application/json
Response
202 - application/json
Default Response
The response is of type object
.
Python
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.hie.documents.query(
address=[{
"address_line1": "addressLine1",
"city": "city",
"state": "state",
"zip": "zip",
}],
dob="dob",
external_id="externalId",
first_name="firstName",
gender_at_birth="M",
last_name="lastName",
)
print(response.async_result_id)
Copy
{
"asyncResultId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.