Skip to contents

Datasets with total counts

get_gp_snomed()
Get yearly SNOMED CT code usage in GP electronic health records in England
get_hesapc_icd10()
Get yearly ICD-10 diagnosis code usage from Hospital Episode Statistics Admitted Patient Care in England
get_hesapc_opcs4()
Get yearly OPCS-4 procedure code usage from Hospital Episode Statistics Admitted Patient Care in England

Datasets with breakdowns

get_hesapc_icd10_breakdowns()
Get yearly ICD-10 diagnosis code usage breakdowns from Hospital Episode Statistics Admitted Patient Care in England
get_hesapc_opcs4_breakdowns()
Get yearly OPCS-4 procedure code usage breakdowns from Hospital Episode Statistics Admitted Patient Care in England

Codelists

get_codelist()
Get codelist from OpenCodelists

Shiny App

run_app()
Run opencodecounts Shiny App locally

Helper functions

extract_semantic_tag()
Extract semantic tag from SNOMED CT description
strip_semantic_tag()
Strip semantic tag from SNOMED CT description

Cache management

cache_info()
Display cache information
cache_clear()
Clear the cache
available_versions()
List available versions for a dataset

Deprecated

Renamed; still work, but use the versions above instead.

get_snomed_usage() deprecated
Get yearly SNOMED CT code usage in primary care in England
get_icd10_usage() deprecated
Get yearly ICD-10 code usage from Hospital Admitted Patient Care Activity in England
get_icd10_usage_breakdowns() deprecated
Get yearly ICD-10 code usage breakdowns from Hospital Admitted Patient Care Activity in England
get_opcs4_usage() deprecated
Get yearly OPCS-4 code usage from Hospital Admitted Patient Care Activity in England
get_opcs4_usage_breakdowns() deprecated
Get yearly OPCS-4 code usage breakdowns from Hospital Admitted Patient Care Activity in England