{"id":50141971,"url":"https://github.com/backworkai/verity-dotnet","last_synced_at":"2026-05-24T02:00:43.655Z","repository":{"id":335151843,"uuid":"1142095284","full_name":"backworkai/verity-dotnet","owner":"backworkai","description":"C# .NET SDK for the Verity API - Medicare coverage policies and prior authorization","archived":false,"fork":false,"pushed_at":"2026-05-23T16:24:24.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-23T18:16:09.806Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/backworkai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-25T23:56:50.000Z","updated_at":"2026-05-23T16:24:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/backworkai/verity-dotnet","commit_stats":null,"previous_names":["tylergibbs1/verity-dotnet","backworkai/verity-dotnet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/backworkai/verity-dotnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backworkai%2Fverity-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backworkai%2Fverity-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backworkai%2Fverity-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backworkai%2Fverity-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backworkai","download_url":"https://codeload.github.com/backworkai/verity-dotnet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backworkai%2Fverity-dotnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33418550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-24T02:00:42.103Z","updated_at":"2026-05-24T02:00:43.639Z","avatar_url":"https://github.com/backworkai.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Verity .NET SDK\n\nOfficial .NET client for the [Verity API](https://verity.backworkai.com): Medicare coverage policies, medical code intelligence, prior authorization checks, claim validation, compliance review, and drug formulary evidence.\n\nThe SDK targets .NET Standard 2.0 and is compatible with .NET Framework 4.6.1+, .NET Core 2.0+, and modern .NET releases.\n\n## Installation\n\nNuGet.org is not currently serving the public `Verity.SDK` package. Until NuGet indexing is resolved, install from the GitHub release asset:\n\n```bash\nmkdir -p ~/.nuget/verity\ncurl -L -o ~/.nuget/verity/Verity.SDK.1.0.2.nupkg \\\n  https://github.com/backworkai/verity-dotnet/releases/download/v1.0.2/Verity.SDK.1.0.2.nupkg\ncurl -L -o ~/.nuget/verity/Verity.SDK.1.0.2.nupkg.sha256 \\\n  https://github.com/backworkai/verity-dotnet/releases/download/v1.0.2/Verity.SDK.1.0.2.nupkg.sha256\n\n(cd ~/.nuget/verity \u0026\u0026 shasum -a 256 -c Verity.SDK.1.0.2.nupkg.sha256)\n\ndotnet add package Verity.SDK --version 1.0.2 --source ~/.nuget/verity\n```\n\n## Quick Start\n\n```csharp\nusing Verity.SDK;\n\nusing var client = new VerityClient(\"vrt_live_YOUR_API_KEY\");\n\nvar code = await client.LookupCodeAsync(\n    code: \"76942\",\n    include: new[] { \"rvu\", \"policies\" }\n);\n\nConsole.WriteLine(code.Data?.Description);\n\nvar priorAuth = await client.CheckPriorAuthAsync(\n    procedureCodes: new[] { \"76942\" },\n    diagnosisCodes: new[] { \"M54.5\" },\n    state: \"TX\",\n    payer: \"medicare\"\n);\n\nConsole.WriteLine(priorAuth.Data?.PaRequired);\n```\n\nGet an API key from the [Verity dashboard](https://verity.backworkai.com/dashboard).\n\n## Core Workflows\n\n### Code Lookup\n\n```csharp\nvar result = await client.LookupCodeAsync(\n    code: \"76942\",\n    codeSystem: \"CPT\",\n    jurisdiction: \"JM\",\n    include: new[] { \"rvu\", \"policies\", \"rates\" },\n    fuzzy: true\n);\n```\n\n### Policy Search and Retrieval\n\n```csharp\nvar policies = await client.ListPoliciesAsync(\n    query: \"ultrasound guidance\",\n    mode: \"keyword\",\n    policyType: \"LCD\",\n    status: \"active\",\n    limit: 25\n);\n\nvar policy = await client.GetPolicyAsync(\n    \"L33831\",\n    include: new[] { \"criteria\", \"codes\" }\n);\n```\n\n### Prior Authorization and Claim Validation\n\n```csharp\nvar priorAuth = await client.CheckPriorAuthAsync(\n    procedureCodes: new[] { \"76942\" },\n    diagnosisCodes: new[] { \"M54.5\" },\n    state: \"TX\",\n    payer: \"medicare\"\n);\n\nvar claim = await client.ValidateClaimWithDateOfServiceAsync(\n    procedureCodes: new[] { \"99213\" },\n    diagnosisCodes: new[] { \"E11.9\" },\n    payer: \"Medicare\",\n    state: \"TX\",\n    dateOfService: \"2026-05-23\"\n);\n\nConsole.WriteLine($\"{claim.Data?.CoverageStatus} {claim.Data?.DenialRisk}\");\nConsole.WriteLine(string.Join(\", \", claim.Data?.Issues ?? new()));\n```\n\n### Coverage, Spending, and Compliance\n\n```csharp\nvar criteria = await client.SearchCriteriaAsync(\n    query: \"diabetes\",\n    section: \"indications\",\n    limit: 10\n);\nConsole.WriteLine($\"{criteria.Data?.FirstOrDefault()?.PolicyId}: {criteria.Data?.FirstOrDefault()?.PolicyTitle}\");\n\nvar spending = await client.GetSpendingByCodeAsync(\n    codes: new[] { \"T1019\", \"T1020\" },\n    year: 2023\n);\n\nvar changes = await client.ListUnreviewedChangesAsync(limit: 10);\nvar stats = await client.GetComplianceStatsAsync();\n```\n\n### Drug Formulary Evidence\n\n```csharp\nvar formulary = await client.SearchDrugFormularyEvidenceAsync(\n    query: \"ozempic\",\n    payer: \"all\",\n    limit: 5\n);\n```\n\n## Error Handling\n\n```csharp\nusing Verity.SDK;\n\ntry\n{\n    var result = await client.LookupCodeAsync(\"76942\");\n}\ncatch (VerityException ex) when (ex.StatusCode == 401)\n{\n    Console.WriteLine($\"Invalid API key: {ex.Message}\");\n}\ncatch (VerityException ex) when (ex.StatusCode == 404)\n{\n    Console.WriteLine($\"Resource not found: {ex.Message}\");\n}\ncatch (VerityException ex) when (ex.StatusCode == 429)\n{\n    Console.WriteLine($\"Rate limit exceeded: {ex.Message}\");\n}\ncatch (VerityException ex)\n{\n    Console.WriteLine($\"Verity API error ({ex.Code}): {ex.Message}\");\n}\n```\n\n## Dependency Injection\n\n```csharp\nservices.AddSingleton\u003cVerityClient\u003e(_ =\u003e\n    new VerityClient(configuration[\"Verity:ApiKey\"]));\n```\n\n## Configuration and Disposal\n\n```csharp\nusing var client = new VerityClient(\n    \"vrt_live_YOUR_API_KEY\",\n    \"https://verity.backworkai.com/api/v1\"\n);\n```\n\n`VerityClient` implements `IDisposable`. Use a `using` statement or register it with your dependency injection container.\n\n## Development\n\n```bash\ndotnet restore\ndotnet build src/Verity.SDK/Verity.SDK.csproj\ndotnet pack src/Verity.SDK/Verity.SDK.csproj --configuration Release --output artifacts\n```\n\n## Release\n\nThe SDK publishes to NuGet.org as `Verity.SDK` using NuGet Trusted Publishing.\n\n1. Configure a NuGet trusted publishing policy for `backworkai/verity-dotnet`, workflow `release.yml`, environment `nuget`.\n2. Save the NuGet profile username as the repository secret `NUGET_USER`.\n3. Update `src/Verity.SDK/Verity.SDK.csproj` to the new package version.\n4. Push a matching tag, for example `v1.0.0`.\n5. The release workflow restores, builds, packs, exchanges GitHub OIDC for a short-lived NuGet API key, and pushes the `.nupkg` to NuGet.\n\n## Support\n\n- Documentation: https://verity.backworkai.com/docs\n- Issues: https://github.com/backworkai/verity-dotnet/issues\n- Email: support@verity.backworkai.com\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackworkai%2Fverity-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackworkai%2Fverity-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackworkai%2Fverity-dotnet/lists"}