# Resolve Consignment Order References

> Perform Resolve Consignment Order References through Consignment Intake.

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

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

- Handler: `resolve_consignment_order_references`

## Inputs

- `provider_name` — Provider Name (expression)
  Optional literal value or workflow expression.
- `physician_npi` — Physician Npi (expression)
  Optional literal value or workflow expression.
- `provider_evidence_source` — Provider Evidence Source (expression)
  Optional literal value or workflow expression.
- `referral_source_name` — Referral Source Name (expression)
  Optional literal value or workflow expression.
- `diagnosis_codes` — Diagnosis Codes (json, required)
  Required JSON value.
- `billing_location_ids` — Billing Location Ids (json, required)
  Required JSON value.
- `psr_name` — Psr Name (expression)
  Optional literal value or workflow expression.
- `salesperson_name` — Salesperson Name (expression)
  Optional literal value or workflow expression.
- `email_body_salesperson_name` — Email Body Salesperson Name (expression)
  Optional literal value or workflow expression.
- `warehouse_id` — Warehouse Id (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `resolved` — Resolved
- `order_defaults` — Order Defaults
- `review_required` — Review Required
- `review_reason` — Review Reason
- `review_reasons` — Review Reasons
- `diagnosis_rejections` — Diagnosis Rejections
- `provider_evidence_source` — Provider Evidence Source
- `error` — Error
- `error_kind` — Error Kind

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",
  "required": [
    "diagnosis_codes",
    "billing_location_ids"
  ],
  "properties": {
    "psr_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "warehouse_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "physician_npi": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "provider_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "diagnosis_codes": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "salesperson_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "billing_location_ids": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "referral_source_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "provider_evidence_source": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "email_body_salesperson_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "resolved": {},
    "error_kind": {},
    "review_reason": {},
    "order_defaults": {},
    "review_reasons": {},
    "review_required": {},
    "diagnosis_rejections": {},
    "provider_evidence_source": {}
  },
  "additionalProperties": true
}
```
