---
title: PrvSegment
summary: API reference for PrvSegment.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-15
library: SAIF.Framework.Common.Files
reference_type: package
---

# PrvSegment

`PrvSegment` models the X12 PRV provider-information segment, used in 837 claim transactions to identify a provider's role and specialty (taxonomy) code within a claim.

## Purpose
- Represents the PRV segment identity via `SegmentId` returning the literal `"PRV"` ([BR-020](../../business-rules.md#br-020-first-element-is-the-segment-identifier)).
- Carries `Type` classifying the provider's role in the claim, `Qualifier` identifying the code list for `Taxonomy`, and `Taxonomy`, the provider's specialty code.

## Context
- Namespace: `SAIF.Common.Files.Edi.Segments`
- Assembly/package: `SAIF.Framework.Common.Files`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| SegmentId | `string SegmentId { get; }` | Returns the literal X12 segment identifier `"PRV"`. |
| Type | `string Type { get; set; }` | Code classifying the provider's role in the claim (PRV01), element 1. |
| Qualifier | `string Qualifier { get; set; }` | The reference identification qualifier for `Taxonomy` (PRV02), element 2. |
| Taxonomy | `string Taxonomy { get; set; }` | The provider's specialty/taxonomy code (PRV03), element 3. |
| Build | `IEdiSegment Build()` | Creates a `SegmentBuilder("PRV")` and adds `Type`, `Qualifier`, and `Taxonomy` at elements 1-3, returning the built segment. |
| Fill | `void Fill(IEdiSegment segment)` | Reads elements 1-3 via `GetChildValue` into `Type`, `Qualifier`, and `Taxonomy`. |
| Parse | `static PrvSegment Parse(IEdiSegment segment)` | Instantiates a new `PrvSegment`, calls `Fill(segment)` on it, and returns it. |

## Sources
- Common\SAIF.Common.Files\Edi\Segments\PrvSegment.cs
