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.
- Alphabetic
 - By Inheritance
 
- RiskAdjustmentUtil
 - CheckLicense
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        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.
 - 
      
      
      
        
      
    
      
        
        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.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        checkValidEnvironment(spark: Option[SparkSession], scopes: Seq[String]): Unit
      
      
      
- Definition Classes
 - CheckLicense
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        checkValidScope(scope: String): Unit
      
      
      
- Definition Classes
 - CheckLicense
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        checkValidScopeAndEnvironment(scope: String, spark: Option[SparkSession], checkLp: Boolean): Unit
      
      
      
- Definition Classes
 - CheckLicense
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        checkValidScopesAndEnvironment(scopes: Seq[String], spark: Option[SparkSession], checkLp: Boolean): Unit
      
      
      
- Definition Classes
 - CheckLicense
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native()
 
 - 
      
      
      
        
      
    
      
        
        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.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native()