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

# Lookup Icd Ten Codes

> Resolve an explicit set of ICD-10 codes to their descriptions.

Backs the printed Super Bill, whose service blocks name each diagnosis
("M79.10 - Myalgia, unspecified site") the way Practice Fusion's does.
Service lines persist diagnoses as bare codes, so the descriptions are
reference data resolved at print time rather than per-bill data.

An exact batch lookup rather than a reuse of ``/icd-10/search``: the print
path already knows exactly which codes are on the document, and ``icd_ten``
is far too large to page through that endpoint's capped result set to build
a code -> description map.

Matched upper-cased against the primary key, so a free-typed lower-case
diagnosis still resolves. Unknown codes are simply absent from the response
and the bill prints the bare code, which is what it did before this existed.



## OpenAPI

````yaml get /medical-codes/icd-10/lookup
openapi: 3.1.0
info:
  title: Decoda API
  description: External API documentation for the Decoda Health platform.
  version: '1.0'
servers: []
security: []
paths:
  /medical-codes/icd-10/lookup:
    get:
      tags:
        - Medical Codes
      summary: Lookup Icd Ten Codes
      description: >-
        Resolve an explicit set of ICD-10 codes to their descriptions.


        Backs the printed Super Bill, whose service blocks name each diagnosis

        ("M79.10 - Myalgia, unspecified site") the way Practice Fusion's does.

        Service lines persist diagnoses as bare codes, so the descriptions are

        reference data resolved at print time rather than per-bill data.


        An exact batch lookup rather than a reuse of ``/icd-10/search``: the
        print

        path already knows exactly which codes are on the document, and
        ``icd_ten``

        is far too large to page through that endpoint's capped result set to
        build

        a code -> description map.


        Matched upper-cased against the primary key, so a free-typed lower-case

        diagnosis still resolves. Unknown codes are simply absent from the
        response

        and the bill prints the bare code, which is what it did before this
        existed.
      operationId: lookup_icd_ten_codes_medical_codes_icd_10_lookup_get
      parameters:
        - name: TENANT
          in: header
          required: true
          schema:
            type: string
            title: Tenant
          description: The tenant you are making this request on behalf of
        - name: API-KEY
          in: header
          required: true
          schema:
            type: string
            title: Api-Key
          description: Your api key
        - name: codes
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
            description: ICD-10 codes to resolve; repeat the param once per code
            title: Codes
          description: ICD-10 codes to resolve; repeat the param once per code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ICDTenCode'
                title: Response Lookup Icd Ten Codes Medical Codes Icd 10 Lookup Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ICDTenCode:
      properties:
        code:
          type: string
          title: Code
        shortDesc:
          type: string
          title: Shortdesc
        longDesc:
          anyOf:
            - type: string
            - type: 'null'
          title: Longdesc
        categorical:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Categorical
      type: object
      required:
        - code
        - shortDesc
        - longDesc
        - categorical
      title: ICDTenCode
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````