-
-
Notifications
You must be signed in to change notification settings - Fork 0
Implement AI-driven EDI 277 error resolution with HIPAA-compliant PHI redaction #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 5 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
31f87df
Initial plan
Copilot 310276c
Add AI-driven EDI 277 error resolution with comprehensive PHI redacti…
Copilot 6b76e20
Add comprehensive documentation for AI-driven EDI error resolution
Copilot 2ce1c22
Address code review feedback - add clarifying comment for ZIP pattern
Copilot 502c8a9
Merge main branch and resolve jest.config.js conflicts
Copilot 98d70c3
Merge branch 'main' into copilot/add-ai-driven-error-resolver
aurelianware 37f6e8a
Fix jest.config.js to include src/ai directory
Copilot 8540dad
Fix code coverage thresholds by excluding example and CLI files
Copilot cd4558a
Remove coverage files from repository and add to .gitignore
Copilot 79e0638
Apply code review feedback: fix field matching, rate limiting, and docs
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,127 @@ | ||
| { | ||
| "$schema": "./ai-resolution-config.schema.json", | ||
| "aiErrorResolution": { | ||
| "enabled": true, | ||
| "provider": "azure-openai", | ||
| "azure": { | ||
| "endpoint": "${AZURE_OPENAI_ENDPOINT}", | ||
| "apiKey": "${AZURE_OPENAI_API_KEY}", | ||
| "deploymentName": "gpt-4", | ||
| "apiVersion": "2024-08-01-preview" | ||
| }, | ||
| "model": { | ||
| "maxTokens": 500, | ||
| "temperature": 0.3, | ||
| "topP": 0.95, | ||
| "frequencyPenalty": 0, | ||
| "presencePenalty": 0 | ||
| }, | ||
| "rateLimit": { | ||
| "enabled": true, | ||
| "minIntervalMs": 4000, | ||
| "maxRequestsPerMinute": 15, | ||
| "burstAllowance": 3 | ||
| }, | ||
| "phi": { | ||
| "redactionEnabled": true, | ||
| "validationRequired": true, | ||
| "allowedFields": [ | ||
| "transactionId", | ||
| "errorCode", | ||
| "statusCategory", | ||
| "payer", | ||
| "payerId" | ||
| ], | ||
| "customPatterns": [] | ||
| }, | ||
| "scenarios": { | ||
| "memberIdInvalid": { | ||
| "enabled": true, | ||
| "priority": "high", | ||
| "customPrompt": null | ||
| }, | ||
| "eligibilityIssue": { | ||
| "enabled": true, | ||
| "priority": "high", | ||
| "customPrompt": null | ||
| }, | ||
| "providerCredential": { | ||
| "enabled": true, | ||
| "priority": "medium", | ||
| "customPrompt": null | ||
| }, | ||
| "serviceNotCovered": { | ||
| "enabled": true, | ||
| "priority": "medium", | ||
| "customPrompt": null | ||
| }, | ||
| "priorAuthRequired": { | ||
| "enabled": true, | ||
| "priority": "high", | ||
| "customPrompt": null | ||
| }, | ||
| "duplicateClaim": { | ||
| "enabled": true, | ||
| "priority": "low", | ||
| "customPrompt": null | ||
| }, | ||
| "timelyFiling": { | ||
| "enabled": true, | ||
| "priority": "low", | ||
| "customPrompt": null | ||
| }, | ||
| "codingError": { | ||
| "enabled": true, | ||
| "priority": "medium", | ||
| "customPrompt": null | ||
| }, | ||
| "missingInformation": { | ||
| "enabled": true, | ||
| "priority": "high", | ||
| "customPrompt": null | ||
| }, | ||
| "general": { | ||
| "enabled": true, | ||
| "priority": "low", | ||
| "customPrompt": null | ||
| } | ||
| }, | ||
| "monitoring": { | ||
| "metricsEnabled": true, | ||
| "applicationInsightsEnabled": true, | ||
| "logLevel": "info", | ||
| "trackTokenUsage": true, | ||
| "trackConfidence": true, | ||
| "trackProcessingTime": true | ||
| }, | ||
| "caching": { | ||
| "enabled": true, | ||
| "ttlSeconds": 3600, | ||
| "maxEntries": 1000, | ||
| "keyStrategy": "errorCode-errorDesc" | ||
| }, | ||
| "fallback": { | ||
| "useMockMode": false, | ||
| "mockModeOnError": true, | ||
| "retryAttempts": 3, | ||
| "retryDelayMs": 5000 | ||
| }, | ||
| "integration": { | ||
| "logicApps": { | ||
| "enabled": true, | ||
| "workflowName": "rfai277", | ||
| "autoResolveEnabled": false | ||
| }, | ||
| "serviceBus": { | ||
| "enabled": true, | ||
| "topic": "ai-resolutions", | ||
| "publishResults": true | ||
| }, | ||
| "applicationInsights": { | ||
| "enabled": true, | ||
| "connectionString": "${APPLICATIONINSIGHTS_CONNECTION_STRING}", | ||
| "trackDependencies": true | ||
| } | ||
| } | ||
| } | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
$schemafield references./ai-resolution-config.schema.json, but this file does not exist in the repository. This will cause schema validation to fail if users attempt to validate their configuration files using JSON schema validation tools.Recommendation: Either:
config/ai-resolution-config.schema.jsonfile with the appropriate JSON schema, or$schemafield if schema validation is not yet supported for this configuration format.