Find Patient Documents By Category
Perform Find Patient Documents By Category through GenHealth.
genhealth_find_patient_documents_by_categoryread
Inputs
- Patient Id
patient_idexpressionrequiredRequired literal value or workflow expression.
- Required Categories
required_categoriesexpressionrequiredRequired literal value or workflow expression.
- Lookback Days
lookback_daysnumberOptional numeric value.
Default:
30
Outputs
successSuccessdocumentsDocumentsdocument_idsDocument Idsmatched_categoriesMatched Categoriesmissing_categoriesMissing CategorieserrorError
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": [
"patient_id",
"required_categories"
],
"properties": {
"patient_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"lookback_days": {
"type": "number",
"default": 30,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"required_categories": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"documents": {},
"document_ids": {},
"matched_categories": {},
"missing_categories": {}
},
"additionalProperties": true
}