CareBenefitVerifySettings configures a benefit verification service for benefit verification requests. It brings together the service implementation, credential reference, payer endpoint, and request defaults. It is configuration metadata, not a verification request or a verification result.
The service's Apex implementation and named credential are separate components. Selecting this configuration as the default service does not establish that authentication or connectivity is working.
Key Elements
| Element | What the Element Controls |
|---|---|
masterLabel |
Required name of the benefit verification service. This label has a different role from the component's metadata identity. |
fullName |
Metadata identity inherited from Metadata; distinct from masterLabel. |
isDefault |
Boolean designation: true marks this component as the default verification service; false marks it as not the default. |
serviceApexClass |
References the ApexClass used to access the verification service. |
serviceNamedCredential |
References the NamedCredential used to access the verification service. |
uriPath |
Identifies the payer endpoint. |
codeSetType |
Identifies the code set used for benefit verification service type codes. |
generalPlanServiceTypeCode |
Specifies the service type code for the plan's benefits as a whole. |
serviceTypeSourceSystem |
Has conflicting descriptions: the source system for the plan benefits service type code, or the plan-wide service type code itself. Do not treat it as interchangeable with generalPlanServiceTypeCode. |
defaultNpi |
Supplies the default National Provider Identifier (NPI) for benefit verification requests. |
organizationName |
Identifies the organization for the benefit verification request service. |
Behavior and Constraints
Default selection is separate from service access. Setting isDefault to true designates the default verification service. It does not confirm that the referenced class, credential configuration, or payer endpoint can complete a request.
The three integration settings serve different purposes. serviceApexClass selects the Apex implementation, serviceNamedCredential selects the credential component, and uriPath identifies the payer endpoint. The class and credential are referenced components, not definitions embedded in CareBenefitVerifySettings.
The request-context settings are separate from authentication configuration. codeSetType identifies the code set, while generalPlanServiceTypeCode supplies the code representing the plan's overall benefits. defaultNpi and organizationName provide provider and organization context for requests.
masterLabel is required. The type also inherits fullName from the Metadata base type. Keep the service label and metadata identity distinct when identifying a component for deployment or retrieval.
Deployment and Retrieval
CareBenefitVerifySettings components use the .careBenefitVerifySettings file suffix and reside in the careBenefitVerifySettings folder.
In package.xml, use CareBenefitVerifySettings as the metadata type name. The type supports * as a wildcard member. See Deploying and Retrieving Metadata with the Zip File for manifest usage.
Plan deployment around the actual values of serviceApexClass and serviceNamedCredential. Account for the referenced ApexClass and NamedCredential components and whether they are present in the destination org. These relationships do not establish a mandatory deployment sequence.
Deploying the service configuration and designating it as the default are not evidence that authentication or connectivity is operational. Those depend on the separate implementation, credential configuration, and endpoint settings.
Relationships
The direct component references connect the service configuration to its Apex implementation and named credential. The payer endpoint is configured through uriPath, rather than through either of these component references.
References
-
ApexClass:serviceApexClass. -
NamedCredential:serviceNamedCredential.
Documentation Inconsistencies
The Metadata API documentation gives serviceTypeSourceSystem the same plan-wide service-code description as generalPlanServiceTypeCode. A separate field description identifies serviceTypeSourceSystem as the source system for that code. This leaves its precise meaning ambiguous; the descriptions do not establish that the two fields are interchangeable.
Common Questions
How do I retrieve CareBenefitVerifySettings?
Use CareBenefitVerifySettings as the type name in package.xml. The type supports the wildcard member *, and its files use the .careBenefitVerifySettings suffix in the careBenefitVerifySettings folder.
Which dependencies matter when deploying CareBenefitVerifySettings?
Check the ApexClass referenced by serviceApexClass and the NamedCredential referenced by serviceNamedCredential. They are separate components whose presence in the destination org matters to deployment planning. The references do not prescribe a mandatory deployment order.
Why does setting isDefault to true not prove the service works?
isDefault only designates the default verification service. Authentication and connectivity remain separate concerns involving the Apex implementation, named credential, and payer endpoint.
Are serviceTypeSourceSystem and generalPlanServiceTypeCode the same setting?
Do not assume they are interchangeable. generalPlanServiceTypeCode represents the plan's overall benefits, while serviceTypeSourceSystem has conflicting descriptions that leave its precise meaning ambiguous.