Adding an Enrollment

This guide outlines the steps required to programmatically add a subscriber enrollment in the VBAPI platform, including plan assignment. The process covers both setup prerequisites and the core enrollment workflow.


Pre-requisites

Before adding an enrollment, ensure that the following foundational entities are created:

  1. Billing Cycle
    Create BillingCycle
  2. Group
    Create Group
  3. Group Division
    Create GroupDivision
  4. Group Contract
    Create GroupContract

These entities form the structural and contractual context for the enrollment.


Enrollment Process

Once the prerequisites are met, follow these steps to enroll a subscriber and member:

  1. Create a Subscriber
    Create Subscriber
  2. Create a Member
    Create Member
  3. Add the Enrollment
    Subscriber Add Enrollment

This completes the initial setup of the subscriber's coverage in the system.


Adding a Plan

If assigning a benefit plan to the enrollment, continue with the following:

  1. Create a Plan Type
    Create PlanType
  2. Create a Plan
    Create Plan
  3. Attach the Plan to Enrollment
    Create SubEnrollmentPlan

This assigns the plan to the subscriber’s active enrollment record, finalizing their coverage and benefit details.


This workflow ensures that every enrollment is tied to the correct group, contract, and plan setup — maintaining eligibility integrity throughout the system.