Skip to documentation
MaskFit integration

Assign Mask to Patient

Perform Assign Mask to Patient through MaskFit.

View as Markdown
maskfit_assign_mask
writemaskfit

Use in a workflow

Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.

{
  "_group": "MaskFit",
  "params": {},
  "handler": "maskfit_assign_mask"
}

Action contracts and connections · Run recovery

Inputs

  • mask_id
    expressionrequired
    Mask Id

    Required literal value or workflow expression.

  • patient_id
    expression
    Patient Id

    Optional literal value or workflow expression.

  • external_id
    expression
    External Id

    Optional literal value or workflow expression.

  • institution_id
    expression
    Institution Id

    Optional literal value or workflow expression.

  • authorized_user_email
    expression
    Authorized User Email

    Optional literal value or workflow expression.

Outputs

  • assignedAssigned
  • mask_idMask Id
  • messageMessage
  • successSuccess
  • errorError
  • failure_categoryFailure Category
  • error_codeError Code
  • status_codeStatus Code
  • maskfit_messageMaskfit Message
  • retryableRetryable

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": [
    "mask_id"
  ],
  "properties": {
    "mask_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_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"
    },
    "institution_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "authorized_user_email": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "mask_id": {},
    "message": {},
    "success": {},
    "assigned": {},
    "retryable": {},
    "error_code": {},
    "status_code": {},
    "maskfit_message": {},
    "failure_category": {}
  },
  "additionalProperties": true
}
View all MaskFit actions