Log Activity
Perform Log Activity through GenHealth.
log_activityInputs
- Document Id
document_idexpressionOptional literal value or workflow expression.
- Resource Type
resource_typeselectrequiredRequired selected identifier or value.
Options: Patient ("PATIENT"), Insurance ("INSURANCE"), Order ("ORDER"), Document ("DOCUMENT"), Ordering Provider ("ORDERING_PROVIDER"), Facility ("FACILITY"), Prescription ("PRESCRIPTION"), ICD Codes ("ICD CODES"), Eligibility ("ELIGIBILITY"), Pre-Authorization ("PRE_AUTHORIZATION"), Patient Tag ("PATIENT_TAG"), Task ("TASK"), Note ("NOTE"), Comment ("COMMENT")
- Action Type
action_typeselectrequiredRequired selected identifier or value.
Options: Create ("CREATE"), Update ("UPDATE"), Delete ("DELETE"), Execute ("EXECUTE"), Extract ("EXTRACT"), Validate ("VALIDATE"), Verify Eligibility ("VERIFY_ELIGIBILITY"), Upload ("UPLOAD"), Skip ("SKIP"), Read ("READ")
- Step Label
step_labeltextOptional text value.
- Status
statusselectOptional selected identifier or value.
Options: Completed ("completed"), Skipped ("skipped"), Needs Review ("review"), Failed ("failed")
- Message
messagetextareaOptional text value.
- External Id
external_idexpressionOptional literal value or workflow expression.
- Url
urlexpressionOptional literal value or workflow expression.
- System
systemtextOptional text value.
- Patient Id
patient_idexpressionOptional literal value or workflow expression.
- Job Id
job_idexpressionOptional literal value or workflow expression.
- Meta Json
meta_jsontextareaOptional text value.
Outputs
successSuccessactivity_loggedActivity LoggederrorError
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": [
"resource_type",
"action_type"
],
"properties": {
"url": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"job_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"status": {
"enum": [
"completed",
"skipped",
"review",
"failed"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"system": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"message": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "textarea"
},
"meta_json": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "textarea"
},
"patient_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"step_label": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"action_type": {
"enum": [
"CREATE",
"UPDATE",
"DELETE",
"EXECUTE",
"EXTRACT",
"VALIDATE",
"VERIFY_ELIGIBILITY",
"UPLOAD",
"SKIP",
"READ"
],
"type": "string",
"description": "Required selected identifier or value.",
"x-workflow-field-type": "select"
},
"document_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"external_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"resource_type": {
"enum": [
"PATIENT",
"INSURANCE",
"ORDER",
"DOCUMENT",
"ORDERING_PROVIDER",
"FACILITY",
"PRESCRIPTION",
"ICD CODES",
"ELIGIBILITY",
"PRE_AUTHORIZATION",
"PATIENT_TAG",
"TASK",
"NOTE",
"COMMENT"
],
"type": "string",
"description": "Required selected identifier or value.",
"x-workflow-field-type": "select"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"activity_logged": {}
},
"additionalProperties": true
}