Sync Patient Documents for Duplicate Check
Perform Sync Patient Documents for Duplicate Check through Brightree.
brightree_sync_patient_documentswritebrightree
Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Patient Key
patient_keyexpressionrequiredRequired literal value or workflow expression.
- Document Types
document_typestextrequiredRequired text value.
Outputs
successSuccessis_duplicateIs Duplicatealready_in_dbAlready In Dbfound_in_brightreeFound In Brightreesynced_countSynced CounterrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"document_id",
"patient_key",
"document_types"
],
"properties": {
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_key": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"document_types": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"is_duplicate": {},
"synced_count": {},
"already_in_db": {},
"found_in_brightree": {}
},
"additionalProperties": true
}