# Search Referred-Provider Authorization

> Perform Search Referred-Provider Authorization through Regal.

Source: [https://genhealth.ai/docs/workflows/integrations/regal/regal_search_pcp_authored_authorization](https://genhealth.ai/docs/workflows/integrations/regal/regal_search_pcp_authored_authorization)

Integration: [Regal](https://genhealth.ai/docs/workflows/integrations/regal.md)

- Handler: `regal_search_pcp_authored_authorization`

- Connection type: `regal_lakeside`

## Inputs

- `mbrno` — Mbrno (text, required)
  Required text value.
- `dos` — Dos (date, required)
  Required date in YYYY-MM-DD format.
- `visit_types` — Visit Types (json)
  Optional JSON value.
- `submit_delta_auth` — Submit Delta Auth (boolean)
  Optional true-or-false value.
  Default: `false`
- `reason` — Reason (text)
  Optional text value.
- `diagnosis_codes` — Diagnosis Codes (json, required)
  Required JSON value.
- `supervising_provider_name` — Supervising Provider Name (text)
  Optional text value.
- `appointment_provider_name` — Appointment Provider Name (text)
  Optional text value.
- `fallback_provider_name` — Fallback Provider Name (text)
  Optional text value.
- `comments` — Comments (text)
  Optional text value.
- `from_zipcode` — From Zipcode (text)
  Optional text value.
  Default: `"91406"`
- `grpid` — Grpid (text)
  Optional text value.
  Default: `"RHNC"`
- `ipacd` — Ipacd (text)
  Optional text value.
  Default: `"RMG"`
- `patient_site` — Patient Site (text)
  Optional text value.
  Default: `"RMG401"`
- `plntp` — Plntp (text)
  Optional text value.
  Default: `"1"`

## Outputs

- `found` — Found
- `auth_ukey` — Auth Ukey
- `auth_number` — Auth Number
- `referred_from` — Referred From
- `referred_to` — Referred To
- `referred_to_last_name` — Referred To Last Name
- `diagnosis_codes` — Diagnosis Codes
- `auth_pdf_document_id` — Auth Pdf Document Id
- `auth_start_date` — Auth Start Date
- `auth_end_date` — Auth End Date
- `coverage_state` — Coverage State
- `supplemental_auth_pdf_document_id` — Supplemental Auth Pdf Document Id
- `supplemental_procedure_codes` — Supplemental Procedure Codes
- `supplemental_submission_error` — Supplemental Submission Error
- `supplemental_auth_ukey` — Supplemental Auth Ukey
- `supplemental_auth_end_date` — Supplemental Auth End Date
- `referred_from_verified_external` — Referred From Verified External

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `read`
- Confirmation recommended: no
- Retry safe: yes
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "mbrno",
    "dos",
    "diagnosis_codes"
  ],
  "properties": {
    "dos": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "grpid": {
      "type": "string",
      "default": "RHNC",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "ipacd": {
      "type": "string",
      "default": "RMG",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "mbrno": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "plntp": {
      "type": "string",
      "default": "1",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "reason": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "comments": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "visit_types": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "from_zipcode": {
      "type": "string",
      "default": "91406",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "patient_site": {
      "type": "string",
      "default": "RMG401",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "diagnosis_codes": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "submit_delta_auth": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "fallback_provider_name": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "appointment_provider_name": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "supervising_provider_name": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "found": {},
    "auth_ukey": {},
    "auth_number": {},
    "referred_to": {},
    "auth_end_date": {},
    "referred_from": {},
    "coverage_state": {},
    "auth_start_date": {},
    "diagnosis_codes": {},
    "auth_pdf_document_id": {},
    "referred_to_last_name": {},
    "supplemental_auth_ukey": {},
    "supplemental_auth_end_date": {},
    "supplemental_procedure_codes": {},
    "supplemental_submission_error": {},
    "referred_from_verified_external": {},
    "supplemental_auth_pdf_document_id": {}
  },
  "additionalProperties": true
}
```
