> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rcintell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a facility-specific prior-auth override

> Create a facility-specific prior-auth rule that overrides the shared payer rules.

Use this for delegated arrangements, carve-outs, or benefit exclusions that
apply only to this facility's contract. The PA resolver consults these as
Tier 0 (highest precedence) when a ``ccn`` is supplied to
``/v1/prior-auth/check``. Omit ``payer_slug`` to apply to every payer on the
facility's roster.



## OpenAPI

````yaml /docs/openapi.client.json post /v1/facilities/{ccn}/pa-overrides
openapi: 3.1.0
info:
  description: >-
    Client API for RCIntel. Admin ingest, catalog sync, and internal audit
    routes are omitted. See Guides → Which API to use.
  summary: Multi-tenant knowledge API for healthcare revenue cycle management.
  title: Healthcare Knowledge Layer
  version: 0.1.0
servers: []
security: []
tags:
  - description: >-
      Geographic payer policy lookup (national NCD vs MAC LCD vs state). Query
      payer, code, state, plan_type. Each row includes geo_scope and
      document_version.
    name: policies
  - description: >-
      Payer network directory — search payers, check prior auth requirements,
      view filing rules, denial patterns, and appeal levels.
    name: payers
  - description: >-
      Resolve healthcare billing knowledge across the L1-L6 layer stack.
      Includes payment calculation, billing guidance, and per-layer queries.
    name: knowledge
  - description: >-
      CMS Fee Schedule lookups — OPPS (Addendum B / APC), DMEPOS (state-level
      pricing), and Clinical Lab Fee Schedule (CLFS).
    name: fee-schedules
  - description: >-
      NCCI (National Correct Coding Initiative) — dedicated MUE limits, PTP
      bundling edits, add-on code edits, and code pair validation.
    name: ncci
  - description: >-
      Service code intelligence — CPT/HCPCS lookup, RVU data, NCCI edits,
      payment calculation, implant/GUDID search, and service group
      classification.
    name: codes
  - description: >-
      Submit asynchronous AI agent jobs for code research, medical necessity,
      and denial resolution. Poll for results and retrieve reasoning traces.
    name: agents
  - description: >-
      Register and manage healthcare facilities by CCN (Medicare Provider
      Number). Each facility is the root entity for knowledge resolution.
    name: facilities
  - description: >-
      NPI Registry — live search against CMS NPPES API for provider and
      organization National Provider Identifiers.
    name: npi
  - description: >-
      OpenFDA drug product lookup by NDC. Includes product-level fields with
      normalized ingredient and package detail.
    name: drugs
  - description: Health checks, service metadata, and Prometheus metrics.
    name: system
paths:
  /v1/facilities/{ccn}/pa-overrides:
    post:
      tags:
        - facilities
      summary: Add a facility-specific prior-auth override
      description: >-
        Create a facility-specific prior-auth rule that overrides the shared
        payer rules.


        Use this for delegated arrangements, carve-outs, or benefit exclusions
        that

        apply only to this facility's contract. The PA resolver consults these
        as

        Tier 0 (highest precedence) when a ``ccn`` is supplied to

        ``/v1/prior-auth/check``. Omit ``payer_slug`` to apply to every payer on
        the

        facility's roster.
      operationId: add_facility_pa_override_v1_facilities__ccn__pa_overrides_post
      parameters:
        - description: >-
            6-digit CMS Certification Number (facility CCN / Medicare provider
            number).
          in: path
          name: ccn
          required: true
          schema:
            title: Ccn
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacilityPaOverrideCreate'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacilityPaOverrideResponse'
          description: The created override
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - APIKeyHeader: []
components:
  schemas:
    FacilityPaOverrideCreate:
      description: A facility-specific prior-auth rule that overrides shared payer rules.
      properties:
        auth_type:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            prior_auth, precert, notification_only, retrospective, exempt, or
            excluded_service.
          examples:
            - prior_auth
          title: Auth Type
        code:
          anyOf:
            - type: string
            - type: 'null'
          description: CPT/HCPCS code the override targets
          examples:
            - '72148'
          title: Code
        code_type:
          anyOf:
            - maxLength: 10
              type: string
            - type: 'null'
          description: CPT, HCPCS, or CDT
          title: Code Type
        delegation_vendor:
          anyOf:
            - maxLength: 100
              type: string
            - type: 'null'
          description: Delegated UM vendor, if any.
          title: Delegation Vendor
        effective_date:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Effective Date
        expiration_date:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Expiration Date
        pa_required:
          description: Whether PA is required under this facility's contract
          title: Pa Required
          type: boolean
        payer_slug:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Payer this override applies to. Omit to apply to all payers on the
            roster.
          examples:
            - fidelis-care
          title: Payer Slug
        reason:
          anyOf:
            - maxLength: 2000
              type: string
            - type: 'null'
          description: Why this override exists (carve-out, delegation, exclusion).
          title: Reason
        service_category:
          anyOf:
            - type: string
            - type: 'null'
          description: Service category the override targets (used when no specific code).
          examples:
            - advanced_imaging
          title: Service Category
        source_document:
          anyOf:
            - maxLength: 255
              type: string
            - type: 'null'
          description: Source grid/contract reference.
          title: Source Document
      required:
        - pa_required
      title: FacilityPaOverrideCreate
      type: object
    FacilityPaOverrideResponse:
      description: A facility-scoped PA override.
      properties:
        auth_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Auth Type
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
        code_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Code Type
        delegation_vendor:
          anyOf:
            - type: string
            - type: 'null'
          title: Delegation Vendor
        effective_date:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Effective Date
        expiration_date:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Expiration Date
        id:
          format: uuid
          title: Id
          type: string
        is_active:
          default: true
          title: Is Active
          type: boolean
        pa_required:
          title: Pa Required
          type: boolean
        payer_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Payer Name
        payer_slug:
          anyOf:
            - type: string
            - type: 'null'
          title: Payer Slug
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        service_category:
          anyOf:
            - type: string
            - type: 'null'
          title: Service Category
        source_document:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Document
      required:
        - id
        - pa_required
      title: FacilityPaOverrideResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    APIKeyHeader:
      in: header
      name: X-API-Key
      type: apiKey

````