clsWorkerInjuredBodyPart¶
clsWorkerInjuredBodyPart supports business object — worker injured body part in SAIF.Business.Claim.*
Purpose¶
- Business object — worker injured body part
Context¶
- Namespace:
SAIF.Business.Claim - Assembly/package:
SAIF.Business.Claim
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| COVID19 | Const COVID19 As String = "383" |
Defines the body-part code used for COVID-19 claim scenarios.* |
| ClaimID | Property ClaimID() As Decimal |
Gets or sets the claim identifier associated with the injured body-part record.* |
| IsPrimary | ReadOnly Property IsPrimary() As Boolean |
Returns whether the record is marked as the primary injured body part.* |
| PrimaryKeySubNum | ReadOnly Property PrimaryKeySubNum() As Decimal |
Returns the sub-key that distinguishes body-part rows within the claim.* |
| UpdateDate | ReadOnly Property UpdateDate() As Date |
Returns the last persisted update date for the record.* |
| UpdateNum | ReadOnly Property UpdateNum() As Decimal |
Returns the optimistic concurrency counter for the record.* |
| UpdateUser | ReadOnly Property UpdateUser() As String |
Returns the user ID that last updated the record.* |
| BodyPartCode | Property BodyPartCode() As String |
Gets or sets the injured body-part code.* |
| BodySideCode | Property BodySideCode() As String |
Gets or sets the injured body-side code.* |
| IsNatureHearingLoss | ReadOnly Property IsNatureHearingLoss() As Boolean |
Returns whether InjuryNatureCode matches the hearing-loss code.* |
| IsNatureHeartAttack | ReadOnly Property IsNatureHeartAttack() As Boolean |
Returns whether InjuryNatureCode matches the heart-attack code.* |
| IsNatureMentalDisorder | ReadOnly Property IsNatureMentalDisorder() As Boolean |
Returns whether InjuryNatureCode matches the mental-disorder code.* |
| IsNatureAmputation | ReadOnly Property IsNatureAmputation() As Boolean |
Returns whether InjuryNatureCode matches the amputation code.* |
| InjuryNatureCode | Property InjuryNatureCode() As String |
Gets or sets the injury-nature code for the record.* |
| PrimaryFlag | Property PrimaryFlag() As String |
Gets or sets the persisted primary-body-part flag.* |
| BodySide | Structure BodySide |
Groups the code and description returned by GetBodySideCodes().* |
| BodySide.m_Code | Field m_Code As String |
Stores the body-side code value in the nested structure.* |
| BodySide.m_Description | Field m_Description As String |
Stores the body-side description in the nested structure.* |
| BodySide.Code | ReadOnly Property Code() As String |
Returns the body-side code stored in the nested structure.* |
| BodySide.Description | ReadOnly Property Description() As String |
Returns the body-side description stored in the nested structure.* |
| BodySide.New | Sub New(ByVal incode As String, ByVal indesc As String) |
Initializes a BodySide value with a code and description.* |
| PrimaryBodyPartCode | Property PrimaryBodyPartCode() As String |
Gets or sets the primary body-part code mirrored to CL_INJURY_CLAIM during updates.* |
| PrimaryBodySideCode | Property PrimaryBodySideCode() As String |
Gets or sets the primary body-side code mirrored to CL_INJURY_CLAIM during updates.* |
| PrimaryInjuryNatureCode | Property PrimaryInjuryNatureCode() As String |
Gets or sets the primary injury-nature code mirrored to CL_INJURY_CLAIM during updates.* |
| IsValid | Overrides ReadOnly Property IsValid() As Boolean |
Returns the BOF validation state for the object.* |
| IsSavable | Overrides ReadOnly Property IsSavable() As Boolean |
Returns whether the object is in a state that the BOF base class considers savable.* |
| GetBodySideCodes | Shared Function GetBodySideCodes() As ArrayList |
Returns the supported body-side code list used by the claim UI and business logic.* |
| UpdateClaimBodyPart | Sub UpdateClaimBodyPart(Optional ByVal inClearFields As Boolean = False) |
Updates the related CL_INJURY_CLAIM primary body-part fields from the current record.* |
| Equals | Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean |
Compares two objects as clsWorkerInjuredBodyPart instances.* |
| Equals | Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean |
Compares the current instance with another object.* |
| Equals | Overloads Function Equals(ByVal inObject As clsWorkerInjuredBodyPart) As Boolean |
Compares two injured body-part objects by ClaimID and PrimaryKeySubNum.* |
| GetHashCode | Overrides Function GetHashCode() As Integer |
Returns a hash code based on ClaimID.* |
| ToString | Overrides Function ToString() As String |
Returns a string composed from ClaimID and PrimaryKeySubNum.* |
| NewWorkerInjuredBodyPart | Shared Function NewWorkerInjuredBodyPart(ByVal inDataportal As IDataPortalInfo, ByVal inClaimID As Decimal) As clsWorkerInjuredBodyPart |
Creates a new injured body-part object for the specified claim through the BOF data portal.* |
Inherited public members¶
Members in this section are inherited from clsBusinessBase.
| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| Rules | Property Rules As clsRulesManager | Exposes the BOF rules manager used to evaluate object validation rules.* | saif-framework-core — clsBusinessBase |
| BeginEdit | Sub BeginEdit() | Starts an edit session for n-level undo support.* | saif-framework-core — clsBusinessBase |
| CancelEdit | Sub CancelEdit() | Cancels the active edit session and reverts pending changes.* | saif-framework-core — clsBusinessBase |
| ApplyEdit | Sub ApplyEdit() | Commits the active edit session and accepts pending changes.* | saif-framework-core — clsBusinessBase |
Behavioral notes¶
clsWorkerInjuredBodyPartis part of the documentedSAIF.Business.Claimpublic contract.- Public members are declared in
Business\SAIF.Business.Claim\clsWorkerInjuredBodyPart.vb.
Constraints and usage notes¶
- Consumers should account for inherited BOF or dependency behavior shown above.
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources¶
Business\SAIF.Business.Claim\clsWorkerInjuredBodyPart.vb