ClaimProviderLocationsNodeBuilder¶
Builds a ProviderLocationsNode listing the provider locations that were paid on a given claim, by delegating to IProviderInformationService.GetPaidProviderLocations(claim.Identifier.Id). A source code comment ("TIMTODO: Finish this using ContactsNodeBuidler as an example") indicates this builder is an incomplete/minimal implementation relative to other node builders in this namespace.*
Purpose¶
- Populates the claim identifier on the output node when claim data is available.
- Retrieves and attaches the list of provider locations that received payment on the claim.
Context¶
- Namespace:
SAIF.Services.Claims.Information.Api - Assembly/package:
SAIF.Services(packaged inside theSAIF.SAIFCode.CoreNuGet package)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Node | public ProviderLocationsNode Node { get; } |
Exposes the node instance being populated by this builder. |
| ClaimProviderLocationsNodeBuilder(claim, providerService, node) | public ClaimProviderLocationsNodeBuilder(Claim claim, IProviderInformationService providerService, ProviderLocationsNode node) |
Stores the claim, provider service, and node, and sets the node's Claim identifier when the claim has data. |
| AddProviderLocations() | public ClaimProviderLocationsNodeBuilder AddProviderLocations() |
Fetches paid provider locations for the claim via IProviderInformationService.GetPaidProviderLocations and appends each to Node.ProviderLocations. |
Behavioral notes¶
AddProviderLocations()returnsthisfor fluent chaining, consistent with the other node builders in this namespace.- Unlike several sibling builders (e.g.
ContactsNodeBuilder), this type does not build individual contact items — it passes through location objects returned directly by the provider service.*
Constraints and usage notes¶
- Requires
claim.Identifier.Idto resolve provider locations; behavior when the claim has no data beyond skippingClaimassignment is not otherwise guarded.
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources¶
- Services/SAIF.Services/Claims/Information/Api/ClaimProviderLocationsNodeBuilder.cs