What’s new with Sample
sample.audit_logs
for organization audit trail data, and sample.tasks
tables for individual workflow task outputs and metadata. This enables SQL-based analysis of workflow performance, audit compliance, and data extraction from completed workflow runs.POST /api/v2/communication/letters
endpoint allows you to send PDF documents as physical letters. You can specify recipient and sender addresses, include optional metadata, and receive a tracking ID to monitor delivery status. This feature enables automated physical mail delivery for documents and communications.x-formFieldType: "multi-file"
in your start data schema:POST /api/v2/async-result/sleep
endpoint./api/v2/changelog/feed.xml
automatically generates an RSS feed from the
changelog, allowing you to stay updated on the latest Sample Healthcare
features and improvements through your favorite RSS reader. The feed includes
detailed descriptions of each update with proper formatting and links back to
the changelog for easy reference.POST /api/v2/clearinghouse/patient-cost
endpoint accepts
eligibility responses and line items to calculate what patients will owe after
insurance coverage. The calculator supports complex scenarios including
multiple payers with coordination of benefits (COB), deductibles, copays, and
coinsurance. It returns detailed breakdowns showing total patient cost, total
payer cost, and step-by-step calculations for each insurance plan. This
feature helps healthcare organizations provide accurate cost estimates to
patients before services are rendered.before_complete
hook. This hook runs before a screen step completes and
allows you to validate user input or perform preprocessing tasks. If
validation fails, you can throw ApiError
s that will be returned as proper
HTTP error responses to the client.POST /api/v2/hie/patient/:patientId/fhir
endpoint allows you to get FHIR data for
a patient, while POST /api/v2/hie/patient/:patientId/documents
lets you
retrieve patient documents filtered by MIME type. Both endpoints return an
async result ID that you can use to track the progress and retrieve the
results when ready. This integration enables healthcare organizations to
access comprehensive patient data from external HIE networks for improved care
coordination and decision-making.POST /api/v2/document/json-to-html
endpoint accepts a JSON
object and returns it as formatted HTML, preserving all formatting including
bold text, headings, lists, tables, citations, and other rich content. This
feature is useful for rendering Sample documents in external applications or
generating HTML reports from structured document data.GET /api/v2/task/:taskId
endpoint allows you to programmatically fetch
specific task information including ID, status, output, and state. This
enhancement provides developers and integrations with granular access to task
data, complementing the existing task management APIs for more comprehensive
workflow automation.POST /api/v2/task/:taskId/cancel
endpoint allows you to programmatically cancel
specific tasks by their ID, preventing them from being executed and halting
any subsequent tasks in the workflow. This complements the existing
workflow-level cancellation feature and provides more granular control for API
integrations and automated workflows.output.text
, alongside the
document. This is helpful when you want to use a templated editor for text
that is consumed in follow up steps, such as writing an email body.std
functions.columnOrder
property of a CSV node. ### Manual forms We’ve added some new controls to
manual forms, including the ability to specify a default value for select
fields and to add Markdown details at the top of the form. ### Improvements -
We added the total amount of pages shown on the top right of any PDF viewer. -
You can now cancel manual tasks. - You can now sort workflows by their name
and creation date.