Set Insurance Plan
Perform Set Insurance Plan through GenHealth.
genhealth_set_insurance_planwrite
Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Plan
planexpressionrequiredRequired literal value or workflow expression.
- Insurance Rank
insurance_rankselectOptional selected identifier or value.
Default:
"primary"Options: Primary ("primary"), Secondary ("secondary"), Tertiary ("tertiary")
- Skip If Empty
skip_if_emptybooleanOptional true-or-false value.
Default:
"true" - Overwrite Existing
overwrite_existingbooleanOptional true-or-false value.
Default:
"false"
Outputs
successSuccessskippedSkippeddocument_idDocument Idinsurance_rankInsurance Rankinsurance_policy_idInsurance Policy IdplanPlanerrorError
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",
"plan"
],
"properties": {
"plan": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"skip_if_empty": {
"type": "boolean",
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"insurance_rank": {
"enum": [
"primary",
"secondary",
"tertiary"
],
"type": "string",
"default": "primary",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"overwrite_existing": {
"type": "boolean",
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"plan": {},
"error": {},
"skipped": {},
"success": {},
"document_id": {},
"insurance_rank": {},
"insurance_policy_id": {}
},
"additionalProperties": true
}