Packages

o

com.johnsnowlabs.nlp.jsl

RiskAdjustmentUtil

object RiskAdjustmentUtil extends CheckLicense

A class that provides util methods for working with Risk Adjustment Hierarchical Condition Categories (HCCs).

HCCs are used to assess the health status of patients for various medical applications. This class offers functionality to retrieve HCC information based on International Classification of Diseases, 10th Revision (ICD-10) codes, obtain medical descriptions for HCCs, and calculate the difference between two sets of HCCs for a specific measurement year.

Linear Supertypes
CheckLicense, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RiskAdjustmentUtil
  2. CheckLicense
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def HCCFromICD(module: String, version: String, year: Int, icd10codes: Seq[String]): Map[String, Seq[String]]

    Returns a mapping of Risk Adjustment Hierarchical Condition Categories (RXHCC) or Hierarchical Condition Categories (HCC) based on a list of International Classification of Diseases, 10th Revision (ICD-10) codes for a specific measurement year.

    Returns a mapping of Risk Adjustment Hierarchical Condition Categories (RXHCC) or Hierarchical Condition Categories (HCC) based on a list of International Classification of Diseases, 10th Revision (ICD-10) codes for a specific measurement year.

    This method allows for the retrieval of RXHCC or HCC associated with the provided ICD-10 codes for a particular year.

    module

    The module identifier or name for the specific risk adjustment module. [HCC, RXHCC]

    version

    The version identifier for the risk adjustment module.

    year

    The measurement year for which the risk adjustment is being calculated.

    icd10codes

    A sequence of ICD-10 codes for which RXHCC or HCC information is to be retrieved.

    returns

    A mapping of ICD-10 codes to their corresponding RXHCC or HCC codes.

  5. def HCCLabels(module: String, version: String, year: Int, hccList: Seq[String]): Map[String, String]

    Retrieves the medical descriptions associated with a given list of Risk Adjustment Hierarchical Condition Categories (RXHCCs) or Hierarchical Condition Categories (HCCs) for a specified measurement year.

    Retrieves the medical descriptions associated with a given list of Risk Adjustment Hierarchical Condition Categories (RXHCCs) or Hierarchical Condition Categories (HCCs) for a specified measurement year.

    This method allows for the retrieval of medical descriptions corresponding to the provided RXHCCs and HCCs for a particular year.

    module

    The module identifier or name for the specific risk adjustment module. [HCC, RXHCC]

    version

    The version identifier for the risk adjustment module.

    year

    The measurement year for which the risk adjustment is being calculated.

    hccList

    A sequence of RXHCCs and HCCs for which medical descriptions are to be retrieved.

    returns

    A mapping of RXHCCs and HCCs to their respective medical descriptions.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def checkValidEnvironment(spark: Option[SparkSession], scopes: Seq[String]): Unit
    Definition Classes
    CheckLicense
  8. def checkValidScope(scope: String): Unit
    Definition Classes
    CheckLicense
  9. def checkValidScopeAndEnvironment(scope: String, spark: Option[SparkSession], checkLp: Boolean): Unit
    Definition Classes
    CheckLicense
  10. def checkValidScopesAndEnvironment(scopes: Seq[String], spark: Option[SparkSession], checkLp: Boolean): Unit
    Definition Classes
    CheckLicense
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def diffBetweenHCCs(module: String, version: String, year: Int, beforeHCClist: Seq[String], afterHCClist: Seq[String]): Map[String, List[String]]

    Calculates the difference between two lists of Hierarchical Condition Categories (HCCs) or Risk Adjustment Hierarchical Condition Categories (RXHCCs) for a specific measurement year.

    Calculates the difference between two lists of Hierarchical Condition Categories (HCCs) or Risk Adjustment Hierarchical Condition Categories (RXHCCs) for a specific measurement year. This method identifies and categorizes the added and deleted HCCs, as well as the upgraded HCCs (those moved to higher levels) between the "before" and "after" states.

    HCCs and RXHCCs evolve over time. New conditions emerge with age, causing additions and removals of CCs. Some CCs might escalate to higher levels of severity, representing an upgrade.

    module

    The module identifier or name for the specific risk adjustment module. [HCC, RXHCC]

    version

    The version identifier for the risk adjustment module.

    year

    The measurement year for which the risk adjustment is being calculated.

    beforeHCClist

    A list of HCCs that were present before the change.

    afterHCClist

    A list of HCCs that are present currently, representing the updated state.

    returns

    A mapping highlighting the added, deleted, and upgraded HCCs between the "beforeHCClist" and "afterHCClist" lists.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from CheckLicense

Inherited from AnyRef

Inherited from Any

Ungrouped