Skip to content

clsMedicalRefund

clsMedicalRefund represents a medical refund adjustment and manages medical payments, remarks, and claim context, including validation and save behavior for the adjustment.*

Purpose

  • Tracks medical payments, remarks, and claim context for the refund workflow.*
  • Loads or reshapes the eligible refund candidates for the current adjustment.*
  • Validates the refund state before persisting it.*

Context

  • Namespace: Adjustment.Refund
  • Assembly/package: SAIF.Business.Claim.Payment

Public members

Member Signature Purpose
MedicalPayments Public ReadOnly Property MedicalPayments() As clsReadOnlyBusinessCollection(Of clsMedicalPayment) Returns medical payments.
Remark Public Property Remark() As String Gets or sets remark.
IsValid Public Overrides ReadOnly Property IsValid() As Boolean Returns is valid.
New Public Sub New(ByVal inDPI As IDataPortalInfo, ByVal inClaimData As clsClaimData) Executes the New operation.
SetMedicalPayments Public Sub SetMedicalPayments(Optional ByVal inIssueFromDate As Date = Nothing, _ Executes the SetMedicalPayments operation.
Save Public Overrides Function Save() As Boolean Executes the Save operation.

Inherited public members

Member Signature Purpose Origin
TotalRefundAmount Public Property TotalRefundAmount() As Decimal Gets or sets total refund amount. Adjustment.Refund — clsRefundAdjustment
IssueDate Public Property IssueDate() As Date Gets or sets issue date. Adjustment — clsAdjustmentBase
MaxIssueDate Public ReadOnly Property MaxIssueDate() As Date Returns max issue date. Adjustment — clsAdjustmentBase
GetTransactionCount Public Shared Function GetTransactionCount(ByVal inDPI As IDataPortalInfo, ByVal inClaimID As Decimal) As Integer Retrieves the GetTransactionCount operation. Adjustment — clsAdjustmentBase
ClaimData Public Property ClaimData() As clsClaimData Gets or sets claim data. Adjustment — clsAdjustmentBase
CostCode Public Property CostCode() As String Gets or sets cost code. Adjustment — clsAdjustmentBase
Amount Public Property Amount() As Decimal Gets or sets amount. Adjustment — clsAdjustmentBase
MyGuid Public ReadOnly Property MyGuid() As String Returns the object's generated GUID identifier.† Legacy\BusinessObjectFramework — clsBusinessBase
IsNew Public ReadOnly Property IsNew() As Boolean Indicates whether the object represents unsaved data.† Legacy\BusinessObjectFramework — clsBusinessBase
IsDeleted Public ReadOnly Property IsDeleted() As Boolean Indicates whether the object has been marked for deletion.† Legacy\BusinessObjectFramework — clsBusinessBase
SetValueOnChange Public Function SetValueOnChange(Of T)(ByRef inFieldValue As T, ByVal inSetValue As T, Optional ByVal inMarkDirty As Boolean = True) As Boolean Assigns a new field value only when it differs and optionally marks the object dirty.† Legacy\BusinessObjectFramework — clsBusinessBase
Rules Public ReadOnly Property Rules() As clsRulesManager Exposes the BOF rules manager for validation and messages.† Legacy\BusinessObjectFramework — clsBusinessBase
SaveChild Public Overridable Function SaveChild() As Boolean Persists the object as a BOF child object.† Legacy\BusinessObjectFramework — clsBusinessBase
ToXml Public Function ToXml() As String Returns the object's XML representation using the configured default tag name.† Legacy\BusinessObjectFramework — clsBusinessBase

Behavioral notes

  • This type is documented from its source declaration.
  • The type participates in the clsRefundAdjustment inheritance path used by SAIF.Business.Claim.Payment.

Constraints and usage notes

  • Consumers should rely on the public members and BOF lifecycle patterns visible in the source file.

Note: Statements marked with † are derived from dependency library documentation via the Legends CLI.

Sources

  • Business\SAIF.Business.Claim.Payment\Adjustments\Refunds\clsMedicalRefund.vb
  • Legacy\BusinessObjectFramework\clsBusinessBase.vb