clsMedicalBillCollection¶
clsMedicalBillCollection is the collection container for medical bills, including aggregate fields such as total paid amount and audit descriptions.*
Purpose¶
- Groups multiple
clsMedicalBillrecords returned by medical-bill searches.* - Provides collection-level summary context such as paid totals and audit descriptions.
Context¶
- Namespace:
SAIF.Business.Claim.MedicalBill - Assembly/package:
SAIF.Business.Claim.MedicalBill
Public members¶
| Member | Signature | Purpose |
|---|---|---|
Item |
Default Public ReadOnly Property Item(ByVal Index As Integer) As clsMedicalBill |
Returns item. |
Item |
Default Public ReadOnly Property Item(ByVal inBillID As Decimal) As clsMedicalBill |
Returns item. |
CurrentItem |
Public Shadows ReadOnly Property CurrentItem() As clsMedicalBill |
Returns current item. |
SuppresAuditDetail |
Public Property SuppresAuditDetail() As Boolean |
Gets or sets suppres audit detail. |
TotalPaidAmount |
Public ReadOnly Property TotalPaidAmount() As Decimal |
Returns total paid amount. |
AuditDescriptions |
Public ReadOnly Property AuditDescriptions() As clsAdjustmentCodeCollection |
Returns audit descriptions. |
Add |
Public Shadows Function Add(ByVal inclsMedicalBill As clsMedicalBill) As Integer |
Executes the Add operation. |
Contains |
Public Overloads Function Contains(ByVal inclsMedicalBill As clsMedicalBill) As Boolean |
Exposes the public member. |
Contains |
Public Overloads Function Contains(ByVal inBillID As Decimal) As Boolean |
Exposes the public member. |
ContainsDeleted |
Public Overloads Function ContainsDeleted(ByVal inclsMedicalBill As clsMedicalBill) As Boolean |
Exposes the public member. |
ContainsDeleted |
Public Overloads Function ContainsDeleted(ByVal inBillID As Decimal) As Boolean |
Exposes the public member. |
Remove |
Public Sub Remove(ByVal inclsMedicalBill As clsMedicalBill) |
Executes the Remove operation. |
Remove |
Public Sub Remove(ByVal inBillID As Decimal) |
Executes the Remove operation. |
GetMedicalBills |
Public Shared Function GetMedicalBills(ByVal inDataportal As IDataPortalInfo, ByRef inSearchCriteria As MedicalBillSearchRequest, ByRef inSecurity As clsSecurityPrincipal) As clsMedicalBillCollection |
Retrieves the GetMedicalBills operation. |
GetMedicalBills |
Public Shared Function GetMedicalBills(ByVal inDataportal As IDataPortalInfo, ByRef searchCriteria As MedicalBillSearchRequest) As clsMedicalBillCollection |
Retrieves the GetMedicalBills operation. |
Behavioral notes¶
- This type is documented from its source declaration.
- The type participates in the
clsBusinessCollectionApiBaseinheritance path used bySAIF.Business.Claim.MedicalBill.
Constraints and usage notes¶
- Consumers should rely on the public members and BOF lifecycle patterns visible in the source file.
Inherited members (from clsBusinessCollectionApiBase)¶
This collection type inherits the following public surface from clsBusinessCollectionApiBase (SAIF.Framework.Core), in addition to the members listed above:
| Member | Signature | Purpose |
|---|---|---|
MyGuid |
Public ReadOnly Property MyGuid() As String |
Returns the internal GUID that uniquely identifies this in-memory collection instance. |
ItemByGuid |
Public ReadOnly Property ItemByGuid(inGuid As String) As clsBusinessApiBase |
Returns the collection member matching the given internal GUID. |
Contains |
Public Function Contains(Item As clsBusinessApiBase) As Boolean |
Indicates whether the collection contains the given item. |
ContainsDeleted |
Public Function ContainsDeleted(Item As clsBusinessApiBase) As Boolean |
Indicates whether the given item exists in the collection's deleted-items list. |
Rules |
Public ReadOnly Property Rules() As clsRulesManager |
Returns the rules manager that tracks broken rules for the collection. |
ErrorCount / ErrorMessages |
Public ReadOnly Property ErrorCount() As Integer / Public ReadOnly Property ErrorMessages() As String() |
Returns the count and text of broken error-severity rules across the collection. |
WarningCount / WarningMessages |
Public ReadOnly Property WarningCount() As Integer / Public ReadOnly Property WarningMessages() As String() |
Returns the count and text of broken warning-severity rules across the collection. |
InformationalCount / InformationalMessages |
Public ReadOnly Property InformationalCount() As Integer / Public ReadOnly Property InformationalMessages() As String() |
Returns the count and text of broken informational-severity rules across the collection. |
Save |
Overridable Function Save() As Boolean |
Persists the collection to the API, including added, changed, and deleted members, when the collection is valid. |
SaveChild |
Overridable Function SaveChild() As Boolean |
Persists the collection as a child of a parent object. |
IsManaged |
Public ReadOnly Property IsManaged() As Boolean |
Indicates whether the collection is managed by a parent object's lifecycle. |
First / FirstItem |
Function First() As clsBusinessApiBase / ReadOnly Property FirstItem() As clsBusinessApiBase |
Moves to and/or returns the first item in traversal order. |
Next / NextItem |
Function [Next]() As clsBusinessApiBase / ReadOnly Property NextItem() As clsBusinessApiBase |
Moves to and/or returns the next item in traversal order. |
Previous / PreviousItem |
Function Previous() As clsBusinessApiBase / ReadOnly Property PreviousItem() As clsBusinessApiBase |
Moves to and/or returns the previous item in traversal order. |
Last / LastItem |
Function Last() As clsBusinessApiBase / ReadOnly Property LastItem() As clsBusinessApiBase |
Moves to and/or returns the last item in traversal order. |
CurrentItem / CurrentIndex |
ReadOnly Property CurrentItem() As clsBusinessApiBase / ReadOnly Property CurrentIndex() As Integer |
Returns the current traversal item and its index. |
SetCurrent |
Sub SetCurrent(ByRef inObject As clsBusinessApiBase) / Sub SetCurrent(ByVal inIndex As Integer) |
Sets the current traversal position by item or index. |
IndexOf |
ReadOnly Property IndexOf(ByVal inObject As clsBusinessApiBase) As Integer |
Returns the index of the given item within the collection. |
IsFirst / IsNext / IsLast / IsPrevious / IsCurrent |
ReadOnly Property IsFirst(ByVal inItem As clsBusinessApiBase) As Boolean (and analogous overloads) |
Indicate an item's position relative to the current traversal state. |
XMLElementName / XMLItemName |
Property XMLElementName() As String / Property XMLItemName() As String |
Get or set the XML element and item names used when serializing the collection. |
GetReportXML |
Function GetReportXML(ByVal inElementName As String) As String / Function GetReportXML(Optional ByVal inFileStream As StreamWriter = Nothing) As String |
Returns an XML fragment representing the collection and its members. |
ToXML / ToXml |
Function ToXML() As String / Function ToXml(ByVal inTagName As String) As String |
Serializes the collection using the default or a supplied tag name. |
CurrentItem (generic) |
Public Shadows ReadOnly Property CurrentItem() As ItemType |
Returns the current item with the collection's concrete generic type. |
Contains (generic) |
Public Overloads Function Contains(Item As ItemType) As Boolean / Public Overloads Function Contains(Guid As String) As Boolean |
Checks for a member by typed instance or internal GUID. |
GetEnumerator |
Public Overloads Function GetEnumerator() As IEnumerator(Of ItemType) |
Iterates over the collection using the concrete item type. |
Sources¶
Business\SAIF.Business.Claim.MedicalBill\clsMedicalBillCollection.vb