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
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
Integration - Snowflake
Dashboard
HIE
Upsert patient and get all data
Upserts a patient and triggers jobs to get patient FHIR data and documents from HIE.
POST
/
api
/
v2
/
hie
/
patient
/
documents
Copy
import SampleHealthcare from 'samplehc';
const client = new SampleHealthcare({
apiKey: process.env['SAMPLEHC_API_KEY'], // This is the default and can be omitted
});
const response = await client.v2.hie.patient.retrieveDocuments({
address: [{ addressLine1: 'addressLine1', city: 'city', state: 'state', zip: 'zip' }],
dob: 'dob',
externalId: 'externalId',
firstName: 'firstName',
genderAtBirth: 'M',
lastName: 'lastName',
});
console.log(response.asyncResultId);
Copy
{
"asyncResultId": "<string>"
}
Body
application/json
Response
202 - application/json
Default Response
The response is of type object
.
Copy
import SampleHealthcare from 'samplehc';
const client = new SampleHealthcare({
apiKey: process.env['SAMPLEHC_API_KEY'], // This is the default and can be omitted
});
const response = await client.v2.hie.patient.retrieveDocuments({
address: [{ addressLine1: 'addressLine1', city: 'city', state: 'state', zip: 'zip' }],
dob: 'dob',
externalId: 'externalId',
firstName: 'firstName',
genderAtBirth: 'M',
lastName: 'lastName',
});
console.log(response.asyncResultId);
Copy
{
"asyncResultId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.