Search Documents by Entity
Perform Search Documents by Entity through DocuTrack.
docutrack_search_documentsreaddocutrack
Inputs
- Entity Type
entity_typeselectOptional selected identifier or value.
Default:
"Patient"Options: Facility ("Facility"), Physician ("Physician"), Patient ("Patient"), Prescription ("Prescription"), Ancillary ("Ancillary"), Manifest ("Manifest"), Unknown ("Unknown")
- Search Value
search_valueexpressionrequiredRequired literal value or workflow expression.
- After Document Id
after_document_idnumberOptional numeric value.
Default:
0 - Limit
limitnumberOptional numeric value.
Default:
100
Outputs
successSuccessdocumentsDocumentscountCounttotal_countTotal CounttruncatedTruncatednext_after_idNext After IderrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- read
- Confirmation recommended
- No
- Retry safe
- Yes
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"search_value"
],
"properties": {
"limit": {
"type": "number",
"default": 100,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"entity_type": {
"enum": [
"Facility",
"Physician",
"Patient",
"Prescription",
"Ancillary",
"Manifest",
"Unknown"
],
"type": "string",
"default": "Patient",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"search_value": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"after_document_id": {
"type": "number",
"default": 0,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"count": {},
"error": {},
"success": {},
"documents": {},
"truncated": {},
"total_count": {},
"next_after_id": {}
},
"additionalProperties": true
}