Skip to documentation
GenHealth integration

Log Activity

Perform Log Activity through GenHealth.

View as Markdown
log_activity
write

Inputs

  • document_id
    expression
    Document Id

    Optional literal value or workflow expression.

  • resource_type
    selectrequired
    Resource Type

    Required 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
    selectrequired
    Action Type

    Required 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
    text
    Step Label

    Optional text value.

  • status
    select
    Status

    Optional selected identifier or value.

    Options: Completed ("completed"), Skipped ("skipped"), Needs Review ("review"), Failed ("failed")

  • message
    textarea
    Message

    Optional text value.

  • external_id
    expression
    External Id

    Optional literal value or workflow expression.

  • url
    expression
    Url

    Optional literal value or workflow expression.

  • system
    text
    System

    Optional text value.

  • patient_id
    expression
    Patient Id

    Optional literal value or workflow expression.

  • job_id
    expression
    Job Id

    Optional literal value or workflow expression.

  • meta_json
    textarea
    Meta Json

    Optional text value.

Outputs

  • successSuccess
  • activity_loggedActivity Logged
  • errorError

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
}
View all GenHealth actions