> ## 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.

# MUE limits — Hospital Outpatient Services

> Get MUE limits for a code in the Facility OP Hospital Services table.



## OpenAPI

````yaml /docs/openapi.client.json get /v1/ncci/mue/hosp-op/{code}
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/ncci/mue/hosp-op/{code}:
    get:
      tags:
        - ncci
      summary: MUE limits — Hospital Outpatient Services
      description: Get MUE limits for a code in the Facility OP Hospital Services table.
      operationId: get_mue_hosp_op_v1_ncci_mue_hosp_op__code__get
      parameters:
        - description: >-
            Billing or terminology code value (CPT/HCPCS/NDC/etc depending on
            endpoint context).
          in: path
          name: code
          required: true
          schema:
            title: Code
            type: string
        - description: Date of service (YYYY-MM-DD)
          in: query
          name: date_of_service
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: 'null'
            description: Date of service (YYYY-MM-DD)
            title: Date Of Service
        - description: Include AI-generated clinical summary
          in: query
          name: include_summary
          required: false
          schema:
            default: false
            description: Include AI-generated clinical summary
            title: Include Summary
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MUEResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - APIKeyHeader: []
components:
  schemas:
    MUEResponse:
      description: MUE (Medically Unlikely Edit) for a single code + setting.
      properties:
        ai_summary:
          anyOf:
            - type: string
            - type: 'null'
          description: AI-generated plain-English summary
          title: Ai Summary
        date_of_service:
          anyOf:
            - type: string
            - type: 'null'
          description: Service date used for lookup
          title: Date Of Service
        mue_adj_ind:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            MAI label: '1 Line Edit', '2 Date of Service Edit: Policy', '3 Date
            of Service Edit: Clinical'
          title: Mue Adj Ind
        mue_rationale:
          anyOf:
            - type: string
            - type: 'null'
          description: 'CMS rationale (e.g. Clinical: Data)'
          title: Mue Rationale
        mue_type:
          anyOf:
            - type: string
            - type: 'null'
          description: 'MUE table: practitioner, hosp-op, or dme'
          title: Mue Type
        mue_value:
          anyOf:
            - type: integer
            - type: 'null'
          description: Maximum units of service per encounter
          title: Mue Value
        proc_cd:
          description: HCPCS/CPT procedure code
          title: Proc Cd
          type: string
        sentinel:
          anyOf:
            - $ref: '#/components/schemas/SentinelBlock'
            - type: 'null'
          description: >-
            SENTINEL trust verdict for the AI summary. Present whenever
            include_summary=true. Use sentinel.escalation_required to decide
            whether to show the summary unattended or route it to a human
            reviewer.
        version_effective_dt:
          anyOf:
            - type: string
            - type: 'null'
          description: Effective date of the CMS NCCI version
          title: Version Effective Dt
        version_posted_dt:
          anyOf:
            - type: string
            - type: 'null'
          description: Date the CMS version was posted
          title: Version Posted Dt
      required:
        - proc_cd
      title: MUEResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    SentinelBlock:
      additionalProperties: true
      description: |-
        SENTINEL output attached to a healthcare-impacting response.

        ``verdict`` is the deterministic ``SentinelObservatory`` output (always
        populated when the agent ran). ``audit`` is the optional LLM-powered
        ``SentinelAuditor`` result (populated when SENTINEL was running in
        SHADOW or ACTIVE mode for this agent).
      properties:
        audit:
          anyOf:
            - $ref: '#/components/schemas/SentinelAuditBlock'
            - type: 'null'
          description: >-
            LLM-powered audit result (present when SENTINEL ran in shadow/active
            mode).
        authority_level:
          anyOf:
            - type: string
            - type: 'null'
          description: full_auto | act_and_notify | human_required | quarantine
          title: Authority Level
        escalation_required:
          default: false
          description: >-
            True if the verdict requires human review before acting on the
            output.
          title: Escalation Required
          type: boolean
        patterns_detected:
          description: Failure patterns the SENTINEL fingerprinter found in the trace.
          items:
            additionalProperties: true
            type: object
          title: Patterns Detected
          type: array
        trust_score:
          anyOf:
            - type: number
            - type: 'null'
          description: Overall SENTINEL trust score (0.0–1.0).
          title: Trust Score
      title: SentinelBlock
      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
    SentinelAuditBlock:
      additionalProperties: true
      description: Subset of ``SentinelAuditResult`` that downstream callers care about.
      properties:
        composite_score:
          anyOf:
            - type: number
            - type: 'null'
          description: Weighted average of all audit dimensions (0.0–1.0).
          title: Composite Score
        findings:
          description: Per-dimension findings with severity + remediation.
          items:
            additionalProperties: true
            type: object
          title: Findings
          type: array
        flags:
          description: Failed dimensions that pushed the result towards yellow/red.
          items:
            type: string
          title: Flags
          type: array
        security_findings:
          description: Security-only findings (PHI, treatment safety, failover).
          items:
            additionalProperties: true
            type: object
          title: Security Findings
          type: array
        security_score:
          anyOf:
            - type: number
            - type: 'null'
          description: >-
            Average of PHI exposure, security compliance, failover safety,
            treatment safety.
          title: Security Score
        tier:
          anyOf:
            - type: string
            - type: 'null'
          description: 'LLM-audit tier: ''green'', ''yellow'', or ''red''.'
          title: Tier
      title: SentinelAuditBlock
      type: object
  securitySchemes:
    APIKeyHeader:
      in: header
      name: X-API-Key
      type: apiKey

````