MCOInfo¶
MCOInfo is a serializable public class in SAIF.Business that loads managed care organization plan and location data and exposes keyed access to the resulting in-memory collections.
Purpose¶
- Loads MCO plan records from
MCO_PLANinto a keyed collection ofMCOPlanInfoobjects. - Loads MCO location records from
MCO_GSA_LOCATION, links each location to its plan, and stores them by MCO ID. - Exposes enumerations of plans and locations plus keyed lookups for individual plan and MCO entries.
Context¶
- Namespace:
SAIF.Business - Assembly/package:
SAIF.Business
Public members¶
| Member | Signature | Purpose |
|---|---|---|
Plans |
Public ReadOnly Property Plans() As IEnumerable(Of MCOPlanInfo) |
Returns all loaded MCO plans. |
MCOLocations |
Public ReadOnly Property MCOLocations() As IEnumerable(Of MCOLocationInfo) |
Returns all loaded MCO locations. |
Plan |
Public ReadOnly Property Plan(ByVal inPlanID As String) As MCOPlanInfo |
Returns the plan associated with the supplied plan ID. |
MCO |
Public ReadOnly Property MCO(ByVal inMCOID As String) As MCOLocationInfo |
Returns the location associated with the supplied MCO ID, or Nothing when it is not present. |
New |
Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo) |
Loads the MCO plan and location collections from the database and wires locations back to their plans. |
Behavioral notes¶
- Construction is eager: the constructor immediately queries both
MCO_PLANandMCO_GSA_LOCATION. - Each loaded location is connected to its plan by calling
SetPlanand thenLoc.Plan.AddLocation(Loc). MCO(inMCOID)checksContainsKeyand returnsNothingfor unknown IDs, whilePlan(inPlanID)indexes the plan collection directly.
Constraints and usage notes¶
- A valid
IDataPortalInfois required to construct the object because all data is loaded during initialization. - There is no parameterless public constructor; callers must supply a portal context.
- The class documents and exposes only top-level
MCOInfomembers here;MCOPlanInfoandMCOLocationInfoare separate public types declared later in the same source file.
Sources¶
Business\SAIF.Business\MCOInfo.vb