Skip to content

ICD-10 and OPCS4 clinical coding data quality checker

License

Notifications You must be signed in to change notification settings

KeironO/coding-errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UK Clinical Coding Quality Check

GitHub commits GitHub issues GitHub repo size made-with-python PRs Welcome

This is a simple tool to evaluate a list of clinically coded codes (ICD-10 and OPCS4) against evaluate them against a number of coding standards.

Coding standards currently implemented are:

  • National Clinical Coding Standards ICD-10 5th Edition (2022)
  • National Clinical Coding Standards OPCS-4 (2022)

Installation

You can install the development version directly from GitHub with:

pip install git+https://github.com/KeironO/coding-errors --no-cache-dir

Usage

ICD-10

>>> from codingerrors import run
>>> run(["J440", "J22"])
{'J440': {'DCS.X.5:0:E': {'!': {'pass': False, 'relevant': ['J22'], 'note': 'You cannot code J22 with J440'}}}}

OPCS-4

>>> from codingerrors import run
>>> run(["J440", "J22"], type="opcs4")

Contributors

  • Lisa Cartwright
  • Claire Connell
  • Joanne Gapper
  • Ewelina Tetlak
  • Keiron O'Shea

Bug reporting and feature suggestions

Please report all bugs or feature suggestions to the issues tracker.

License

Code is proudly released under the terms of the MIT License.

cwm taf logo