# Replace integrated diagnostic

Fully replaces an existing Integrated Diagnostic. All fields must be provided.

Endpoint: PUT /site/{siteId}/ahds/v1/integrated-diagnostic/{integratedDiagnosticId}
Version: 1.0
Security: bearer

## Security:

  - `bearer` (unknown)
    http bearer JWT

## Path parameters:

  - `siteId` (number, required)
    Site identifier

  - `integratedDiagnosticId` (string, required)
    Integrated Diagnostic unique identifier (UUID)

## Request fields (application/json):

  - `code` (string, required)
    Practice- or vendor-specific code for the integrated diagnostic.
    Example: CODE-001

  - `description` (string, required)
    Free-text description of the integrated diagnostic.
    Example: Example description

  - `extensions` (object, required)
    Vendor- or practice-specific extensions.

  - `isActive` (boolean, required)
    Whether this integrated diagnostic is active and available for use.
    Example: true

  - `name` (string, required)
    Human-readable name of the integrated diagnostic.
    Example: Example Name

  - `supplierPrice` (object, required)
    Supplier price for this diagnostic.

## Response 200:

  - `200` (unknown)
    Integrated Diagnostic replaced successfully

## Response 200 fields (application/json):

  - `code` (string, required)
    Practice- or vendor-specific code for the integrated diagnostic.
    Example: CODE-001

  - `createdAt` (string, required)
    Timestamp when this integrated diagnostic record was created.
    Example: 2025-01-01T00:00:00.000Z

  - `description` (string, required)
    Free-text description of the integrated diagnostic.
    Example: Example description

  - `extensions` (object, required)
    Vendor- or practice-specific extensions.

  - `integratedDiagnosticId` (string, required)
    Canonical identifier for the integrated diagnostic.
    Example: 123e4567-e89b-12d3-a456-426614174000

  - `isActive` (boolean, required)
    Whether this integrated diagnostic is active and available for use.
    Example: true

  - `name` (string, required)
    Human-readable name of the integrated diagnostic.
    Example: Example Name

  - `supplierPrice` (object, required)
    Supplier price for this diagnostic.

  - `updatedAt` (string, required)
    Timestamp when this integrated diagnostic record was last updated.
    Example: 2025-01-01T00:00:00.000Z

## Response 400:

  - `400` (unknown)
    Invalid request body

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 404:

  - `404` (unknown)
    Integrated Diagnostic not found

