hccpy | Python implementation of Hierarchical Condition Categories

 by   yubin-park Python Version: 0.1.9 License: Apache-2.0

kandi X-RAY | hccpy Summary

kandi X-RAY | hccpy Summary

hccpy is a Python library. hccpy has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. However hccpy has 1 bugs. You can install using 'pip install hccpy' or download it from GitHub, PyPI.

Hierachical Condition Categories Python Package. This module implements the Hierachical Condition Categories that are used for adjusting risks for the Medicare population. The original SAS implementation can be found here. Currently, hccpy supports CMS-HCC V22, V23, and V24 and HHS-HCC Year 2019. NOTE: This package does not support for ICD-9. NOTE: The latest version is 0.1.1 - updated on 2021/10/17.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              hccpy has a low active ecosystem.
              It has 64 star(s) with 40 fork(s). There are 20 watchers for this library.
              There were 4 major release(s) in the last 12 months.
              There are 6 open issues and 29 have been closed. On average issues are closed in 57 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of hccpy is 0.1.9

            kandi-Quality Quality

              hccpy has 1 bugs (0 blocker, 0 critical, 1 major, 0 minor) and 19 code smells.

            kandi-Security Security

              hccpy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              hccpy code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              hccpy is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              hccpy releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              hccpy saves you 484 person hours of effort in developing the same functionality from scratch.
              It has 1183 lines of code, 52 functions and 20 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed hccpy and discovered the below as its top functions. This is intended to give you an instant insight into hccpy implemented functionality, and help decide if they suit your requirements.
            • Creates the interaction counts for each CCC
            • Calculate infant variables
            • Calculate the age of a cc_lstructure
            • Generate the children of the CCV
            • Read dx to csv
            • Convert a cc name to a padded string
            • Read HHS_HCC header
            Get all kandi verified functions for this library.

            hccpy Key Features

            No Key Features are available at this moment for hccpy.

            hccpy Examples and Code Snippets

            hccpy,Code Examples,Importing
            Pythondot img1Lines of Code : 35dot img1License : Permissive (Apache-2.0)
            copy iconCopy
            >>> import json
            >>> from hccpy.hcc import HCCEngine
            >>> he = HCCEngine()
            >>> print(he.profile.__doc__)
            Returns the HCC risk profile of a given patient information.
            
                    Parameters
                    ----------
                    dx_  
            hccpy,Code Examples,HCC-Profiling a Member with Diagnosis Codes
            Pythondot img2Lines of Code : 33dot img2License : Permissive (Apache-2.0)
            copy iconCopy
            >>> rp = he.profile(["E1169", "I5030", "I509", "I211", "I209", "R05"])
            >>> print(json.dumps(rp, indent=2))
            {
              "risk_score": 1.3139999999999998,
              "details": {
                "CNA_M70_74": 0.379,
                "CNA_HCC85": 0.323,
                "CNA_HCC88": 0.14,
              
            hccpy,Code Examples,HCC-Profiling a Intitutionalized Member
            Pythondot img3Lines of Code : 32dot img3License : Permissive (Apache-2.0)
            copy iconCopy
            >>> rp = he.profile(["E1169", "I5030", "I509", "I209"], elig="INS")
            >>> print(json.dumps(rp, indent=2))
            {
              "risk_score": 2.6059999999999994,
              "details": {
                "INS_M70_74": 1.323,
                "INS_HCC88": 0.497,
                "INS_HCC18": 0.441,
                

            Community Discussions

            No Community Discussions are available at this moment for hccpy.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install hccpy

            You can install using 'pip install hccpy' or download it from GitHub, PyPI.
            You can use hccpy like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install hccpy

          • CLONE
          • HTTPS

            https://github.com/yubin-park/hccpy.git

          • CLI

            gh repo clone yubin-park/hccpy

          • sshUrl

            git@github.com:yubin-park/hccpy.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link