Flag Document Issue
Perform Flag Document Issue through GenHealth.
genhealth_flag_document_issueUse in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "GenHealth",
"params": {
"resolve": "false",
"severity": "warning"
},
"handler": "genhealth_flag_document_issue"
}Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Code
codeselectrequiredRequired selected identifier or value.
Options: Insurance Not Written ("INSURANCE_NOT_WRITTEN")
- Field Path
field_pathtextOptional text value.
- Severity
severityselectOptional selected identifier or value.
Default:
"warning"Options: Warning ("warning"), Info ("info")
- Resolve
resolvebooleanOptional true-or-false value.
Default:
"false"
Outputs
successSuccessdocument_idDocument IdactionActionissue_countIssue 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",
"code"
],
"properties": {
"code": {
"enum": [
"INSURANCE_NOT_WRITTEN"
],
"type": "string",
"description": "Required selected identifier or value.",
"x-workflow-field-type": "select"
},
"resolve": {
"type": "boolean",
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"severity": {
"enum": [
"warning",
"info"
],
"type": "string",
"default": "warning",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"field_path": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"action": {},
"success": {},
"document_id": {},
"issue_count": {}
},
"additionalProperties": true
}