Group Benefits Import PHRAPI Import Mapping
The Group Benefits Import API uses an import map header file named PHRAPI_special_groupBenefits*.csv which is preconfigured for you. The import map header points to a custom import class named ClientSpace.PEO.Import.PrismGroupBenefitPlan which contains the pre-processing logic used to build the import file. One row per Benefit Plan ID is added to the import file which is then used to either update or add PrismHR benefit plans to ClientSpace.
The import map header contains 16 mapped fields:
-
CarrierPlanCode
-
CoverageLevel1 through CoverageLevel5
Note: These fields set the coverage level codes on medical, dental, and vision plans. See Coverage Level Translation.
-
EffectiveDate
-
OfferTypeCode
Note: This field is used by the custom import class to map the Associated Offer Type(s) metadata on the Benefit Plan Category lookup to that Benefit Plan category.
-
PayeeID
Note: This field is used by the custom import class to map the Carrier Organization from PrismHR to the Payee ID on the ClientSpace organization record.
-
PlanTitle
-
Status
-
UniquePlanCode
-
YNCoverageLevel2 through YNCoverageLevel5
Note: These fields set the Yes/No display setting for coverage levels 2 through 5. See Coverage Level Translation.
To view the import mapping for the Group Benefits Import API:
| 1. | Go to System Admin |
The Import Map Header Search dashboard opens.
| 2. | Locate PHRAPI_special_groupBenefits*.csv. |
| 3. | Click |
The Import Map Header Detail record opens for PHRAPI_special_groupBenefits*.csv:
| 4. | To view the fields, click Fields. |
The Import Map Search list displays the mapped Special PrismHR Processes fields contained in the import file.
Coverage Level Translation
For benefit plans with a PrismHR insurance class of M, N, or V (medical, dental, and vision plans), the import sets the coverage levels in the Prism Coverage Levels fieldset of the Benefits Plan record from the plan types returned by PrismHR. Plan types are not translated for plans with any other insurance class.
The Group Benefits Import API imports all plans into the Admin workspace, so the coverage levels are set on Master Benefits Plans only. Client-sponsored benefits plans in client workspaces are not updated by the import. To set coverage levels on a client-sponsored plan, update its Prism Coverage Levels fieldset manually. See Configuring the Benefits Plan Prism Coverage Levels Fieldset.
The import uses the ImportPlanTypeTranslation parameter on the PrismHR API configuration (System Admin
> Advanced > API Configuration) to decide which coverage level each PrismHR plan type represents. Each entry uses the format {PrismHRPlanType}:{CoverageLevel}, where the coverage level is a number from 1 to 5. Entries are separated by commas. The default value is EE:1,ES:2,EC:3,FAM:4,DP:5. The coverage level numbers match the Prism Coverage Levels fieldset as follows:
| Coverage Level | Default Name Displayed in BPM | Default Translation Entry |
|---|---|---|
| 1 | Employee Only | EE:1 |
| 2 | Employee + Spouse | ES:2 |
| 3 | Employee + Child(ren) | EC:3 |
| 4 | Employee + Family | FAM:4 |
| 5 | Domestic Partner | DP:5 |
The PrismHR plan type codes in the default value are examples only. The codes are not fixed in the system: the import translates any plan type that has an entry in the parameter. PrismHR codes vary by plan. For example, some plans use EO instead of EE for Employee Only, or EF instead of FAM for Employee + Family. Add an entry for each code your PrismHR plans use. More than one code can map to the same coverage level, but there are only five coverage levels. For example, EE:1,EO:1 maps both EE and EO to coverage level 1 (Employee Only). The import sets only the code and display fields. The names displayed in BPM are set in the Coverage Level Display (1 - 5) fields. See Configuring the Benefits Plan Prism Coverage Levels Fieldset.
For each PrismHR plan type on a plan:
-
If the plan type has a matching entry, the PrismHR plan type code is written to that level's Coverage Level Code field. For example, with the default value, a plan type of "FAM" is written to the Coverage Level 4 Code field as "FAM". The PrismHR code is kept as is so that the plan matches PrismHR when it is exported back.
-
Each coverage level holds one code. If a plan has more than one plan type that maps to the same coverage level, only one of them is imported.
-
For coverage levels 2 through 5, the Coverage Level (2 - 5) field is set to "Yes" when a matching plan type is found and to "No" when none is found. There is no Coverage Level 1 field as every plan is expected to have at least an Employee Only coverage level, so coverage level 1 is always displayed.
-
Plan types with a PrismHR obsolete date in the past are ignored.
-
If a plan type has no matching entry, it is skipped and the rest of the plan is still imported. The following message is added to the Process Log of the Special PrismHR Processes record: "Prism Plan Type {planType} on plan {planId} has no ImportPlanTypeTranslation entry and was not imported as a Coverage Level."
To translate additional PrismHR plan types:
-
Go to System Admin
> Advanced > API Configuration. -
Open the PrismHR API configuration for the tenant.
-
In the Additional Parameters section, locate the ImportPlanTypeTranslation parameter and add entries to the end of its value. For example, to import the PrismHR plan type "EO" as coverage level 1 (Employee Only), add
,EO:1.Note: Plan type codes must match the PrismHR codes exactly, including letter case. Do not add spaces, and do not list the same plan type twice.
-
Click Save.
Note:
-
The ImportPlanTypeTranslation parameter is required to run the Group Benefits Import. If it is missing from the PrismHR API configuration, or its value is not in the format described above, the import fails and the following error is added to the Process Log of the Special PrismHR Processes record: "Error building the Group Benefit Plan import file: Index was outside the bounds of the array."
-
The ClientSpace Release 169 upgrade adds the default ImportPlanTypeTranslation value to every active PrismHR API configuration. If you activate or add a PrismHR API configuration later, add the parameter to it before you run the Group Benefits Import.
