# Replace Dx Needed On The Packet's Own Order

> Perform Replace Dx Needed On The Packet's Own Order through Consignment Intake.

Source: [https://genhealth.ai/docs/workflows/integrations/consignment-intake/replace_consignment_order_diagnosis_placeholder](https://genhealth.ai/docs/workflows/integrations/consignment-intake/replace_consignment_order_diagnosis_placeholder)

Integration: [Consignment Intake](https://genhealth.ai/docs/workflows/integrations/consignment-intake.md)

- Handler: `replace_consignment_order_diagnosis_placeholder`

- Connection type: `claimsoft`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "Consignment Intake",
  "params": {},
  "handler": "replace_consignment_order_diagnosis_placeholder"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `settings` — Settings (json)
  Optional JSON value.
- `order_create` — Order Create (json)
  Optional JSON value.
- `order_id` — Order Id (expression)
  Optional literal value or workflow expression.
- `diagnosis_codes` — Diagnosis Codes (json)
  Optional JSON value.
- `items` — Items (json)
  Optional JSON value.
- `patient_id` — Patient Id (expression)
  Optional literal value or workflow expression.
- `document_id` — Document Id (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `state` — State
- `header_replaced` — Header Replaced
- `lines_replaced` — Lines Replaced
- `lines_skipped_device` — Lines Skipped Device
- `lines_skipped_changed` — Lines Skipped Changed
- `error_kind` — Error Kind
- `error` — Error

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

```json
{
  "type": "object",
  "properties": {
    "items": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "order_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "settings": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "patient_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "order_create": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "diagnosis_codes": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "state": {},
    "success": {},
    "error_kind": {},
    "lines_replaced": {},
    "header_replaced": {},
    "lines_skipped_device": {},
    "lines_skipped_changed": {}
  },
  "additionalProperties": true
}
```
