Skip to documentation
CareWebQI integration

Attach File to Episode

Perform Attach File to Episode through CareWebQI.

View as Markdown
carewebqi_upload_episode_attachment
writecarewebqi

Inputs

  • episode_id
    expressionrequired
    Episode Id

    Required literal value or workflow expression.

  • document_id
    expressionrequired
    Document Id

    Required literal value or workflow expression.

  • file_name
    expression
    File Name

    Optional literal value or workflow expression.

  • description
    expression
    Description

    Optional literal value or workflow expression.

Outputs

  • successSuccess
  • acceptedAccepted
  • exitedExited
  • episode_idEpisode Id
  • attachment_idAttachment Id
  • file_nameFile Name
  • descriptionDescription
  • byte_sizeByte Size
  • portal_messagePortal Message
  • 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": [
    "episode_id",
    "document_id"
  ],
  "properties": {
    "file_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "episode_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "description": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "exited": {},
    "success": {},
    "accepted": {},
    "byte_size": {},
    "file_name": {},
    "episode_id": {},
    "description": {},
    "attachment_id": {},
    "portal_message": {}
  },
  "additionalProperties": true
}
View all CareWebQI actions