abridge-sdk-patterns

Featured

Apply production-ready patterns for Abridge clinical AI integration. Use when building reusable Abridge client wrappers, implementing HIPAA-compliant error handling, or establishing team coding standards for healthcare AI. Trigger: "abridge SDK patterns", "abridge best practices", "abridge code patterns".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Abridge SDK Patterns ## Overview Production-ready patterns for Abridge clinical AI integration. Since Abridge operates via partner APIs (not a public SDK), these patterns wrap the REST API with type-safe clients, HIPAA-compliant logging, and healthcare-specific error handling. ## Prerequisites - Completed `abridge-install-auth` setup - TypeScript project with strict mode enabled - Understanding of HIPAA audit logging requirements ## Instructions ### Step 1: Type-Safe API Client Singleton ```typescript // src/abridge/client.ts import axios, { AxiosInstance, AxiosError } from 'axios'; interface AbridgeConfig { baseUrl: string; clientSecret: string; orgId: string; timeoutMs?: number; maxRetries?: number; } class AbridgeApiClient { private static instance: AbridgeApiClient | null = null; private api: AxiosInstance; private config: AbridgeConfig; private constructor(config: AbridgeConfig) { this.config = config; this.api = axios.create({ baseURL: config.baseUrl, timeout: config.timeoutMs || 30000, headers: { 'Authorization': `Bearer ${config.clientSecret}`, 'X-Org-Id': config.orgId, 'Content-Type': 'application/json', 'X-Request-Source': 'partner-integration', }, }); // Request/response interceptors for audit logging this.api.interceptors.request.use((req) => { req.headers['X-Correlation-Id'] = crypto.randomUUID(); this.auditLog('request', req.method!, req.url!, r...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category