Publish Referral Document Version
Perform Publish Referral Document Version through GenHealth.
genhealth_publish_referral_document_versionwrite
Inputs
- Referral Id
referral_idexpressionrequiredRequired literal value or workflow expression.
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Document Version Id
document_version_idexpressionOptional literal value or workflow expression.
- Category
categoryselectrequiredRequired selected identifier or value.
Options: Sleep Study ("sleep_study"), Clinical Note ("clinical_note"), Supporting Document ("supporting_document")
- Source System
source_systemtextrequiredRequired text value.
- Idempotency Key
idempotency_keyexpressionOptional literal value or workflow expression.
Outputs
successSuccessstatusStatusreferral_idReferral Idstate_versionState Versiondocument_idDocument Iddocument_version_idDocument Version IdcategoryCategorysource_systemSource SystemerrorError
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": [
"referral_id",
"document_id",
"category",
"source_system"
],
"properties": {
"category": {
"enum": [
"sleep_study",
"clinical_note",
"supporting_document"
],
"type": "string",
"description": "Required selected identifier or value.",
"x-workflow-field-type": "select"
},
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"referral_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"source_system": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"idempotency_key": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"document_version_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"status": {},
"success": {},
"category": {},
"document_id": {},
"referral_id": {},
"source_system": {},
"state_version": {},
"document_version_id": {}
},
"additionalProperties": true
}