Get Documents from Patient
Perform Get Documents from Patient through Brightree.
brightree_fetch_patient_documentswritebrightree
Inputs
- Patient Key
patient_keyexpressionrequiredRequired literal value or workflow expression.
- Document Types
document_typesmulti_selectdynamic optionsOptional list of selected values. Retrieve allowed values from the dynamic options endpoint.
- Document Types Expression
document_types_expressionexpressionOptional literal value or workflow expression.
- Max Documents
max_documentsnumberOptional numeric value.
Default:
50 - Patient Id
patient_idexpressionOptional literal value or workflow expression.
Outputs
successSuccessdocument_idsDocument IdsdocumentsDocumentsmissing_typesMissing Typesavailable_typesAvailable TypeserrorsErrorserrorError
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": [
"patient_key"
],
"properties": {
"patient_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_key": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"max_documents": {
"type": "number",
"default": 50,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"document_types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional list of selected values. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "multi_select"
},
"document_types_expression": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"errors": {},
"success": {},
"documents": {},
"document_ids": {},
"missing_types": {},
"available_types": {}
},
"additionalProperties": true
}