Common data

Enablement Status

Description:

The EnablementStatus class is responsible for consolidating and representing the operational and compliance status of a license owner. It tracks critical aspects such as payment issues, legal standing, license revocation status, and data integrity. Each field in this class is mapped to a specific enum that provides detailed descriptions of the current status.

The status information is vital for ensuring that the license owner is compliant with financial, legal, and data integrity requirements, and that their license remains active and in good standing. This embedded class can be used within other entities, such as LicenseOwner, to provide a comprehensive view of a license owner's overall enablement status.

Fields:

  • paymentIssue (boolean): Determines if there is a payment-related issue. true indicates unresolved payment issues, which may prevent further processing of the license.

  • paymentStatus (PaymentStatus): Represents the current state of payments for the license owner. The available statuses are:

    • PENDING: The payment is currently pending.

    • DEBT_FREE: The payment has been completed successfully.

    • WITH_DEBTS: The payment failed or there are outstanding debts.

    • REFUNDED: The payment was refunded to the payer.

  • legalIssue (boolean): Indicates if there is a legal issue that might impact the license owner. If true, the license owner is currently facing legal concerns.

  • legalStatus (LegalStatus): Represents the legal standing of the license owner. The available statuses are:

    • CLEAR: The legal status is clear with no issues.

    • UNDER_INVESTIGATION: The license owner is under legal investigation.

    • SUSPENDED: The legal status has been suspended due to compliance or regulatory issues.

    • DISMISSED: The legal issue has been dismissed.

    • IN_DISPUTE: The legal issue is still in dispute and has not been resolved.

  • revocationIssue (boolean): Determines if there is an issue that could lead to the revocation of the license. true indicates the license is at risk or has been revoked.

  • revocationStatus (RevocationStatus): Represents the status of the license revocation. The available statuses are:

    • NOT_REVOKED: The license has not been revoked and is in good standing.

    • PENDING_REVOCATION: The license is under review and pending revocation.

    • REVOKED: The license has been officially revoked.

  • dataIntegrityIssue (boolean): Indicates if there are any data integrity concerns, such as discrepancies or inconsistencies in the license owner's information. If true, data integrity issues exist.

  • dataIntegrityStatus (DataIntegrityStatus): Represents the validity and consistency of the data provided by the license owner. The available statuses are:

    • VALID: The data provided is accurate and trustworthy.

    • INVALID: The data contains errors or inaccuracies.

    • CORRUPTED: The data has been corrupted or tampered with.

    • PENDING_VERIFICATION: The data is currently under review for potential discrepancies.


Enums Used:

PaymentStatus:

Represents the payment status of the license owner:

  • PENDING: The payment is currently pending.

  • DEBT_FREE: The payment has been completed.

  • WITH_DEBTS: There are outstanding debts or the payment failed.

  • REFUNDED: The payment has been refunded to the payer.

Each value in this enum provides a description explaining the current payment situation.

LegalStatus:

Represents the legal standing of the license owner:

  • CLEAR: The legal status is clear.

  • UNDER_INVESTIGATION: The legal status is under investigation.

  • SUSPENDED: The legal status is suspended.

  • DISMISSED: The legal issue has been dismissed.

  • IN_DISPUTE: The legal status is in dispute.

Each value in this enum includes a description outlining the legal situation.

RevocationStatus:

Represents the status of license revocation:

  • NOT_REVOKED: The license has not been revoked.

  • PENDING_REVOCATION: Revocation is pending or under consideration.

  • REVOKED: The license has been revoked.

Each status includes a description clarifying the revocation status.

DataIntegrityStatus:

Represents the integrity of the data provided by the license owner:

  • VALID: The data is valid and consistent.

  • INVALID: The data is invalid or inaccurate.

  • CORRUPTED: The data has been corrupted or tampered with.

  • PENDING_VERIFICATION: The data is pending verification or review.

Each value in this enum includes a description explaining the data integrity issue.


The EnablementStatus class provides a comprehensive and detailed view of key issues that impact a license owner's eligibility. It supports organizations in making informed decisions about a professional’s license status based on the combination of payment, legal, revocation, and data integrity factors. This is crucial for maintaining operational efficiency and ensuring compliance with regulations.

Last updated