diff --git a/databricks_workflows/nhp_data-extract_nhp_for_containers.yaml b/databricks_workflows/nhp_data-extract_nhp_for_containers.yaml index 3e0ce49..8de8457 100644 --- a/databricks_workflows/nhp_data-extract_nhp_for_containers.yaml +++ b/databricks_workflows/nhp_data-extract_nhp_for_containers.yaml @@ -17,7 +17,7 @@ resources: package_name: nhp_data entry_point: model_data-ip parameters: - - "{{job.parameters.save_path}}/{{job.parameters.data_version}}" + - "{{job.parameters.data_version}}" - "{{input}}" job_cluster_key: run_nhp_extracts_cluster libraries: @@ -33,7 +33,7 @@ resources: package_name: nhp_data entry_point: model_data-op parameters: - - "{{job.parameters.save_path}}/{{job.parameters.data_version}}" + - "{{job.parameters.data_version}}" - "{{input}}" job_cluster_key: run_nhp_extracts_cluster libraries: @@ -49,7 +49,7 @@ resources: package_name: nhp_data entry_point: model_data-aae parameters: - - "{{job.parameters.save_path}}/{{job.parameters.data_version}}" + - "{{job.parameters.data_version}}" - "{{input}}" job_cluster_key: run_nhp_extracts_cluster libraries: @@ -65,7 +65,7 @@ resources: package_name: nhp_data entry_point: model_data-demographic_factors parameters: - - "{{job.parameters.save_path}}/{{job.parameters.data_version}}" + - "{{job.parameters.data_version}}" - "{{input}}" - "{{job.parameters.projection_year}}" job_cluster_key: run_nhp_extracts_cluster @@ -82,7 +82,7 @@ resources: package_name: nhp_data entry_point: model_data-birth_factors parameters: - - "{{job.parameters.save_path}}/{{job.parameters.data_version}}" + - "{{job.parameters.data_version}}" - "{{input}}" - "{{job.parameters.projection_year}}" job_cluster_key: run_nhp_extracts_cluster @@ -99,7 +99,7 @@ resources: package_name: nhp_data entry_point: model_data-inequalities parameters: - - "{{job.parameters.save_path}}/{{job.parameters.data_version}}" + - "{{job.parameters.data_version}}" - "{{input}}" job_cluster_key: run_nhp_extracts_cluster libraries: @@ -111,7 +111,7 @@ resources: package_name: nhp_data entry_point: model_data-health_status_adjustment-generate_provider_gams parameters: - - "{{job.parameters.save_path}}/{{job.parameters.data_version}}" + - "{{job.parameters.data_version}}" job_cluster_key: run_nhp_extracts_cluster libraries: - pypi: @@ -124,7 +124,7 @@ resources: package_name: nhp_data entry_point: model_data-health_status_adjustment-generate_icb_gams parameters: - - "{{job.parameters.save_path}}/{{job.parameters.data_version}}" + - "{{job.parameters.data_version}}" job_cluster_key: run_nhp_extracts_cluster libraries: - pypi: @@ -137,7 +137,7 @@ resources: package_name: nhp_data entry_point: model_data-health_status_adjustment-generate_national_gams parameters: - - "{{job.parameters.save_path}}/{{job.parameters.data_version}}" + - "{{job.parameters.data_version}}" job_cluster_key: run_nhp_extracts_cluster libraries: - pypi: @@ -154,7 +154,6 @@ resources: package_name: nhp_data entry_point: model_data-generate_synthetic_data parameters: - - "{{job.parameters.save_path}}" - "{{input}}" - "20251001" job_cluster_key: run_nhp_extracts_cluster @@ -167,7 +166,7 @@ resources: package_name: nhp_data entry_point: model_data-clean_up parameters: - - "{{job.parameters.save_path}}/{{job.parameters.data_version}}" + - "{{job.parameters.data_version}}" job_cluster_key: run_nhp_extracts_cluster libraries: - whl: ../dist/*.whl @@ -202,8 +201,6 @@ resources: parameters: - name: data_version default: dev - - name: save_path - default: /Volumes/nhp/model_data/files - name: years default: "[202324]" - name: projection_year diff --git a/databricks_workflows/nhp_data-inputs.yaml b/databricks_workflows/nhp_data-inputs.yaml index 56da93a..4fb277c 100644 --- a/databricks_workflows/nhp_data-inputs.yaml +++ b/databricks_workflows/nhp_data-inputs.yaml @@ -20,8 +20,6 @@ resources: python_wheel_task: package_name: nhp_data entry_point: inputs_data-catchments - parameters: - - "{{job.parameters.save_path}}" job_cluster_key: nhp_inputs_data_extract libraries: - whl: ../dist/*.whl @@ -31,8 +29,6 @@ resources: python_wheel_task: package_name: nhp_data entry_point: inputs_data-age_sex - parameters: - - "{{job.parameters.save_path}}" job_cluster_key: nhp_inputs_data_extract libraries: - whl: ../dist/*.whl @@ -42,8 +38,6 @@ resources: python_wheel_task: package_name: nhp_data entry_point: inputs_data-baseline - parameters: - - "{{job.parameters.save_path}}" job_cluster_key: nhp_inputs_data_extract libraries: - whl: ../dist/*.whl @@ -53,8 +47,6 @@ resources: python_wheel_task: package_name: nhp_data entry_point: inputs_data-diagnoses - parameters: - - "{{job.parameters.save_path}}" job_cluster_key: nhp_inputs_data_extract libraries: - whl: ../dist/*.whl @@ -64,8 +56,6 @@ resources: python_wheel_task: package_name: nhp_data entry_point: inputs_data-expat_repat - parameters: - - "{{job.parameters.save_path}}" job_cluster_key: nhp_inputs_data_extract libraries: - whl: ../dist/*.whl @@ -75,8 +65,6 @@ resources: python_wheel_task: package_name: nhp_data entry_point: inputs_data-procedures - parameters: - - "{{job.parameters.save_path}}" job_cluster_key: nhp_inputs_data_extract libraries: - whl: ../dist/*.whl @@ -86,8 +74,6 @@ resources: python_wheel_task: package_name: nhp_data entry_point: inputs_data-rates - parameters: - - "{{job.parameters.save_path}}" job_cluster_key: nhp_inputs_data_extract libraries: - whl: ../dist/*.whl @@ -97,8 +83,6 @@ resources: python_wheel_task: package_name: nhp_data entry_point: inputs_data-inequalities - parameters: - - "{{job.parameters.save_path}}" job_cluster_key: nhp_inputs_data_extract libraries: - whl: ../dist/*.whl @@ -123,5 +107,3 @@ resources: parameters: - name: run_inputs_data default: "True" - - name: save_path - default: /Volumes/nhp/inputs_data/files/dev diff --git a/databricks_workflows/nhp_data-population_projections.yaml b/databricks_workflows/nhp_data-population_projections.yaml index 5b19b58..38f1736 100644 --- a/databricks_workflows/nhp_data-population_projections.yaml +++ b/databricks_workflows/nhp_data-population_projections.yaml @@ -24,7 +24,6 @@ resources: package_name: nhp_data entry_point: population_projections-get_ons_files_2022 parameters: - - "{{job.parameters.path}}" - "{{job.parameters.projection_year}}" job_cluster_key: generate_nhp_population libraries: @@ -44,7 +43,6 @@ resources: package_name: nhp_data entry_point: population_projections-snpp parameters: - - "{{job.parameters.path}}" - "{{job.parameters.projection_year}}" - "{{input}}" job_cluster_key: generate_nhp_population @@ -61,7 +59,6 @@ resources: package_name: nhp_data entry_point: population_projections-npp parameters: - - "{{job.parameters.path}}" - "{{job.parameters.projection_year}}" - "{{input}}" job_cluster_key: generate_nhp_population @@ -92,8 +89,6 @@ resources: queue: enabled: true parameters: - - name: path - default: /Volumes/nhp/population_projections/files - name: projection_year default: "2022" - name: run_population_data diff --git a/databricks_workflows/nhp_data-reference_data.yaml b/databricks_workflows/nhp_data-reference_data.yaml index 11a5857..f4972aa 100644 --- a/databricks_workflows/nhp_data-reference_data.yaml +++ b/databricks_workflows/nhp_data-reference_data.yaml @@ -62,7 +62,6 @@ resources: package_name: nhp_data entry_point: reference-day_procedures parameters: - - "{{job.parameters.day_procedures_save_path}}" - "{{job.parameters.day_procedures_base_year}}" job_cluster_key: generate_nhp_reference job_clusters: @@ -88,8 +87,6 @@ resources: parameters: - name: run_reference_data default: "True" - - name: day_procedures_save_path - default: /Volumes/nhp/reference/files/day_procedures.json - name: day_procedures_base_year default: "202324" - name: population_by_imd_decile_base_year diff --git a/src/nhp/data/aggregated_data/ecds.py b/src/nhp/data/aggregated_data/ecds.py index 3cfd0dc..38a4975 100644 --- a/src/nhp/data/aggregated_data/ecds.py +++ b/src/nhp/data/aggregated_data/ecds.py @@ -1,15 +1,17 @@ """Generate ECDS Data""" -from databricks.connect import DatabricksSession from pyspark.sql import DataFrame, SparkSession from pyspark.sql import functions as F from pyspark.sql.types import * # noqa: F403 +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names + def get_ecds_data(spark: SparkSession) -> DataFrame: """Get ECDS Data""" return ( - spark.read.table("nhp.raw_data.ecds") + spark.read.table(table_names.raw_data_ecds) .groupBy( F.col("fyear"), F.col("provider"), @@ -49,12 +51,12 @@ def generate_ecds_data(spark: SparkSession, ecds: DataFrame) -> None: .write.partitionBy("fyear", "provider") .mode("overwrite") .option("mergeSchema", "true") - .saveAsTable("nhp.aggregated_data.ecds") + .saveAsTable(table_names.aggregated_data_ecds) ) def main() -> None: """main method""" - spark = DatabricksSession.builder.getOrCreate() + spark = get_spark() ecds = get_ecds_data(spark) generate_ecds_data(spark, ecds) diff --git a/src/nhp/data/aggregated_data/outpatients.py b/src/nhp/data/aggregated_data/outpatients.py index c588dbd..34ec3bd 100644 --- a/src/nhp/data/aggregated_data/outpatients.py +++ b/src/nhp/data/aggregated_data/outpatients.py @@ -1,15 +1,17 @@ """Generate Outpatients Data""" -from databricks.connect import DatabricksSession from pyspark.sql import DataFrame, SparkSession from pyspark.sql import functions as F from pyspark.sql.types import * # noqa: F403 +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names + def get_outpatients_data(spark: SparkSession) -> DataFrame: """Get Outpatients Data""" return ( - spark.read.table("nhp.raw_data.opa") + spark.read.table(table_names.raw_data_opa) .groupBy( F.col("fyear"), F.col("provider"), @@ -51,12 +53,12 @@ def generate_outpatients_data(spark: SparkSession, opa: DataFrame) -> None: opa.write.partitionBy("fyear", "provider") .mode("overwrite") .option("mergeSchema", "true") - .saveAsTable("nhp.aggregated_data.opa") + .saveAsTable(table_names.aggregated_data_opa) ) def main() -> None: """main method""" - spark = DatabricksSession.builder.getOrCreate() + spark = get_spark() opa = get_outpatients_data(spark) generate_outpatients_data(spark, opa) diff --git a/src/nhp/data/get_spark.py b/src/nhp/data/get_spark.py index bf74cbc..cf67b45 100644 --- a/src/nhp/data/get_spark.py +++ b/src/nhp/data/get_spark.py @@ -1,25 +1,15 @@ """Helper method to get the spark session.""" -import os - from databricks.connect import DatabricksSession from pyspark.sql import SparkSession -def get_spark(schema: str, catalog: str | None = None) -> SparkSession: +def get_spark() -> SparkSession: """Get spark session - :param schema: which schema to use - :type schema: str - :param catalog: catalog to use, defaults to the environment variable "nhp_catalog" (or, "nhp" if - that environment variable is not set) - :type catalog: str | None, optional - :return: get the spark session to use :rtype: SparkSession """ - - spark: SparkSession = DatabricksSession.builder.getOrCreate() - spark.catalog.setCurrentCatalog(catalog or os.environ.get("nhp_catalog", "nhp")) - spark.catalog.setCurrentDatabase(schema) + spark = DatabricksSession.builder.getOrCreate() + spark.conf.set("spark.sql.sources.partitionOverwriteMode", "dynamic") return spark diff --git a/src/nhp/data/inputs_data/acute_providers.py b/src/nhp/data/inputs_data/acute_providers.py index b65fc10..d280926 100644 --- a/src/nhp/data/inputs_data/acute_providers.py +++ b/src/nhp/data/inputs_data/acute_providers.py @@ -5,6 +5,8 @@ import pyspark.sql.functions as F from pyspark.sql import DataFrame, SparkSession +from nhp.data.table_names import table_names + @cache def get_acute_providers(spark: SparkSession) -> DataFrame: @@ -18,7 +20,7 @@ def get_acute_providers(spark: SparkSession) -> DataFrame: :rtype: DataFrame """ acute_df = ( - spark.read.table("nhp.reference.ods_trusts") + spark.read.table(table_names.reference_ods_trusts) .filter(F.col("org_type").startswith("ACUTE")) .persist() ) diff --git a/src/nhp/data/inputs_data/ae/__init__.py b/src/nhp/data/inputs_data/ae/__init__.py index 01f6957..a90fb93 100644 --- a/src/nhp/data/inputs_data/ae/__init__.py +++ b/src/nhp/data/inputs_data/ae/__init__.py @@ -7,6 +7,7 @@ from nhp.data.inputs_data.acute_providers import filter_acute_providers from nhp.data.inputs_data.helpers import inputs_age_group +from nhp.data.table_names import table_names def get_ae_df(spark: SparkSession) -> DataFrame: @@ -18,7 +19,7 @@ def get_ae_df(spark: SparkSession) -> DataFrame: :rtype: DataFrame """ return ( - filter_acute_providers(spark, "ecds") + filter_acute_providers(spark, table_names.raw_data_ecds) .filter(F.isnotnull("age")) .drop("age_group") .join(inputs_age_group(spark), "age") diff --git a/src/nhp/data/inputs_data/age_sex.py b/src/nhp/data/inputs_data/age_sex.py index a51e7a7..4a1f292 100644 --- a/src/nhp/data/inputs_data/age_sex.py +++ b/src/nhp/data/inputs_data/age_sex.py @@ -1,21 +1,21 @@ """Generate Age/Sex Dataframe""" -import sys from functools import reduce from pyspark.sql import DataFrame, SparkSession from pyspark.sql import functions as F +from nhp.data.get_spark import get_spark from nhp.data.inputs_data.ae import get_ae_age_sex_data -from nhp.data.inputs_data.helpers import get_spark from nhp.data.inputs_data.ip import get_ip_age_sex_data from nhp.data.inputs_data.op import get_op_age_sex_data +from nhp.data.table_names import table_names -def get_age_sex(spark: SparkSession = get_spark()) -> DataFrame: +def get_age_sex(spark: SparkSession) -> DataFrame: """Get age/sex (combined) - :param spark: The spark context to use + :param spark: The spark session to use :type spark: SparkSession :return: The age/sex data :rtype: DataFrame @@ -29,9 +29,19 @@ def get_age_sex(spark: SparkSession = get_spark()) -> DataFrame: return reduce(DataFrame.unionByName, [f(spark) for f in fns]) -def main(): - path = sys.argv[1] +def save_age_sex(path: str, spark: SparkSession) -> None: + """Save age/sex (combined) data. + + :param path: The path to save the data to + :type path: str + :param spark: The spark session to use + :type spark: SparkSession + """ + df = get_age_sex(spark).filter(F.col("n") > 5).toPandas() + df.to_parquet(f"{path}/age_sex.parquet") + - get_age_sex().filter(F.col("n") > 5).toPandas().to_parquet( - f"{path}/age_sex.parquet" - ) +def main(): + path = table_names.inputs_save_path + spark = get_spark() + save_age_sex(path, spark) diff --git a/src/nhp/data/inputs_data/baseline.py b/src/nhp/data/inputs_data/baseline.py index 98c9a64..c0ec008 100644 --- a/src/nhp/data/inputs_data/baseline.py +++ b/src/nhp/data/inputs_data/baseline.py @@ -1,17 +1,17 @@ """Baseline Data""" -import sys from functools import reduce from pyspark.sql import DataFrame, SparkSession +from nhp.data.get_spark import get_spark from nhp.data.inputs_data.ae.baseline import get_ae_baseline -from nhp.data.inputs_data.helpers import get_spark from nhp.data.inputs_data.ip.baseline import get_ip_baseline from nhp.data.inputs_data.op.baseline import get_op_baseline +from nhp.data.table_names import table_names -def get_baseline(spark: SparkSession = get_spark()) -> DataFrame: +def get_baseline(spark: SparkSession) -> DataFrame: """Get Baseline Data :param spark: The spark context to use @@ -24,7 +24,19 @@ def get_baseline(spark: SparkSession = get_spark()) -> DataFrame: return reduce(DataFrame.unionByName, [f(spark) for f in fns]) -def main(): - path = sys.argv[1] +def save_baseline(path: str, spark: SparkSession) -> None: + """Save baseline data. + + :param path: The path to save the data to + :type path: str + :param spark: The spark session to use + :type spark: SparkSession + """ + df = get_baseline(spark).toPandas() + df.to_parquet(f"{path}/baseline.parquet") + - get_baseline().toPandas().to_parquet(f"{path}/baseline.parquet") +def main(): + path = table_names.inputs_save_path + spark = get_spark() + save_baseline(path, spark) diff --git a/src/nhp/data/inputs_data/catchments.py b/src/nhp/data/inputs_data/catchments.py index 7ab3bac..6e4fddc 100644 --- a/src/nhp/data/inputs_data/catchments.py +++ b/src/nhp/data/inputs_data/catchments.py @@ -3,11 +3,12 @@ from pyspark.sql import DataFrame, SparkSession, Window from pyspark.sql import functions as F -from nhp.data.inputs_data.helpers import get_spark +from nhp.data.get_spark import get_spark from nhp.data.inputs_data.ip import get_ip_df +from nhp.data.table_names import table_names -def get_pop(spark: SparkSession = get_spark()) -> DataFrame: +def get_pop(spark: SparkSession) -> DataFrame: """Get the population by year table :param spark: The spark context to use @@ -15,7 +16,7 @@ def get_pop(spark: SparkSession = get_spark()) -> DataFrame: :return: The population by year/lsoa11/age/sex :rtype: DataFrame """ - pop = spark.read.parquet("/Volumes/nhp/reference/files/population_by_year.parquet") + pop = spark.read.parquet(table_names.reference_population_by_year) # TODO: replace when 2023/24 is published, use 2022/23 for now pop = DataFrame.unionByName( @@ -34,7 +35,7 @@ def get_pop(spark: SparkSession = get_spark()) -> DataFrame: ) -def create_catchments(spark: SparkSession = get_spark()) -> None: +def create_catchments(spark: SparkSession) -> None: """Create the catchments table :param spark: The spark context to use @@ -57,10 +58,10 @@ def create_catchments(spark: SparkSession = get_spark()) -> None: .agg(F.sum("pop_catch").alias("pop_catch")) ) - catchments.write.mode("overwrite").saveAsTable("nhp.reference.inputs_catchments") + catchments.write.mode("overwrite").saveAsTable(table_names.inputs_catchments) -def get_catchments(spark: SparkSession = get_spark()) -> DataFrame: +def get_catchments(spark: SparkSession) -> DataFrame: """Get the catchments table :param spark: The spark context to use @@ -68,10 +69,10 @@ def get_catchments(spark: SparkSession = get_spark()) -> DataFrame: :return: The catchments data :rtype: DataFrame """ - return spark.read.table("nhp.reference.inputs_catchments").persist() + return spark.read.table(table_names.inputs_catchments).persist() -def get_total_pop(spark: SparkSession = get_spark()) -> DataFrame: +def get_total_pop(spark: SparkSession) -> DataFrame: """_summary_ :param spark: _description_ @@ -90,5 +91,5 @@ def get_total_pop(spark: SparkSession = get_spark()) -> DataFrame: def main(): spark = get_spark() - if not spark.catalog.tableExists("nhp.reference.inputs_catchments"): + if not spark.catalog.tableExists(table_names.inputs_catchments): create_catchments(spark) diff --git a/src/nhp/data/inputs_data/diagnoses.py b/src/nhp/data/inputs_data/diagnoses.py index 75badaa..1887ad7 100644 --- a/src/nhp/data/inputs_data/diagnoses.py +++ b/src/nhp/data/inputs_data/diagnoses.py @@ -1,17 +1,17 @@ """Generate Diagnoses Dataframe""" -import sys from functools import reduce from pyspark.sql import DataFrame, SparkSession +from nhp.data.get_spark import get_spark from nhp.data.inputs_data.ae.diagnoses import get_ae_diagnoses -from nhp.data.inputs_data.helpers import get_spark from nhp.data.inputs_data.ip.diagnoses import get_ip_diagnoses from nhp.data.inputs_data.op.diagnoses import get_op_diagnoses +from nhp.data.table_names import table_names -def get_diagnoses(spark: SparkSession = get_spark()) -> DataFrame: +def get_diagnoses(spark: SparkSession) -> DataFrame: """Get Diagnoses (combined) :param spark: The spark context to use @@ -24,7 +24,19 @@ def get_diagnoses(spark: SparkSession = get_spark()) -> DataFrame: return reduce(DataFrame.unionByName, [f(spark) for f in fns]) -def main(): - path = sys.argv[1] +def save_diagnoses(path: str, spark: SparkSession) -> None: + """Save baseline data. + + :param path: The path to save the data to + :type path: str + :param spark: The spark session to use + :type spark: SparkSession + """ + df = get_diagnoses(spark).toPandas() + df.to_parquet(f"{path}/diagnoses.parquet") + - get_diagnoses().toPandas().to_parquet(f"{path}/diagnoses.parquet") +def main(): + path = table_names.inputs_save_path + spark = get_spark() + save_diagnoses(path, spark) diff --git a/src/nhp/data/inputs_data/expat_repat.py b/src/nhp/data/inputs_data/expat_repat.py index 0158a52..be412bf 100644 --- a/src/nhp/data/inputs_data/expat_repat.py +++ b/src/nhp/data/inputs_data/expat_repat.py @@ -1,16 +1,15 @@ """Generate Rates Dataframe""" -import sys from functools import reduce from pyspark.sql import DataFrame, SparkSession +from nhp.data.get_spark import get_spark from nhp.data.inputs_data.ae.expat_repat import ( get_ae_expat_data, get_ae_repat_local_data, get_ae_repat_nonlocal_data, ) -from nhp.data.inputs_data.helpers import get_spark from nhp.data.inputs_data.ip.expat_repat import ( get_ip_expat_data, get_ip_repat_local_data, @@ -21,9 +20,10 @@ get_op_repat_local_data, get_op_repat_nonlocal_data, ) +from nhp.data.table_names import table_names -def get_expat_data(spark: SparkSession = get_spark()) -> DataFrame: +def get_expat_data(spark: SparkSession) -> DataFrame: """Get expat data (combined) :param spark: The spark context to use @@ -36,7 +36,7 @@ def get_expat_data(spark: SparkSession = get_spark()) -> DataFrame: return reduce(DataFrame.unionByName, [f(spark) for f in fns]) -def get_repat_local_data(spark: SparkSession = get_spark()) -> DataFrame: +def get_repat_local_data(spark: SparkSession) -> DataFrame: """Get repat (local) data (combined) :param spark: The spark context to use @@ -49,7 +49,7 @@ def get_repat_local_data(spark: SparkSession = get_spark()) -> DataFrame: return reduce(DataFrame.unionByName, [f(spark) for f in fns]) -def get_repat_nonlocal_data(spark: SparkSession = get_spark()) -> DataFrame: +def get_repat_nonlocal_data(spark: SparkSession) -> DataFrame: """Get repat (non-local) data (combined) :param spark: The spark context to use @@ -66,9 +66,27 @@ def get_repat_nonlocal_data(spark: SparkSession = get_spark()) -> DataFrame: return reduce(DataFrame.unionByName, [f(spark) for f in fns]) -def main(): - path = sys.argv[1] +def save_expat_repat_data(path: str, spark: SparkSession) -> None: + """Save expat and repat data. + + :param path: The path to save the data to + :type path: str + :param spark: The spark session to use + :type spark: SparkSession + """ - get_expat_data().toPandas().to_parquet(f"{path}/expat.parquet") - get_repat_local_data().toPandas().to_parquet(f"{path}/repat_local.parquet") - get_repat_nonlocal_data().toPandas().to_parquet(f"{path}/repat_nonlocal.parquet") + fns = { + "expat": get_expat_data, + "repat_local": get_repat_local_data, + "repat_nonlocal": get_repat_nonlocal_data, + } + + for name, fn in fns.items(): + df = fn(spark).toPandas() + df.to_parquet(f"{path}/{name}.parquet") + + +def main(): + path = table_names.inputs_save_path + spark = get_spark() + save_expat_repat_data(path, spark) diff --git a/src/nhp/data/inputs_data/helpers.py b/src/nhp/data/inputs_data/helpers.py index 3b4a6d1..cb4bab5 100644 --- a/src/nhp/data/inputs_data/helpers.py +++ b/src/nhp/data/inputs_data/helpers.py @@ -1,20 +1,9 @@ """Helper methods/tables""" import pyspark.sql.functions as F -from databricks.connect import DatabricksSession from pyspark.sql import DataFrame, SparkSession - -def get_spark() -> SparkSession: - """_summary_ - - :return: get the spark context to use - :rtype: SparkSession - """ - spark: SparkSession = DatabricksSession.builder.getOrCreate() - spark.catalog.setCurrentCatalog("nhp") - spark.catalog.setCurrentDatabase("raw_data") - return spark +from nhp.data.table_names import table_names def inputs_age_group(spark: SparkSession) -> DataFrame: @@ -44,7 +33,7 @@ def treatment_function_grouping(spark: SparkSession) -> DataFrame: :return: Treatment Function Grouping Table :rtype: DataFrame """ - return spark.read.table("nhp.reference.tretspef_grouping") + return spark.read.table(table_names.reference_tretspef_grouping) def complete_age_sex_data( diff --git a/src/nhp/data/inputs_data/inequalities.py b/src/nhp/data/inputs_data/inequalities.py index 75af0d6..4977b98 100644 --- a/src/nhp/data/inputs_data/inequalities.py +++ b/src/nhp/data/inputs_data/inequalities.py @@ -1,7 +1,5 @@ """Generate Inequalities Dataframe""" -import sys - import mlflow import pandas as pd import statsmodels.api as sm @@ -15,7 +13,8 @@ StructType, ) -from nhp.data.inputs_data.helpers import get_spark +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names def load_inequalities_data(spark: SparkSession) -> DataFrame: @@ -29,7 +28,7 @@ def load_inequalities_data(spark: SparkSession) -> DataFrame: """ imd_df = ( - spark.read.table("nhp.reference.population_by_imd_decile") + spark.read.table(table_names.reference_population_by_imd_decile) .withColumn("imd_quintile", F.floor((F.col("imd19") - 1) / 2) + 1) .drop("imd19") .groupby("icb", "provider", "imd_quintile") @@ -45,7 +44,7 @@ def load_inequalities_data(spark: SparkSession) -> DataFrame: ) apc = ( - spark.read.table("nhp.default.apc") + spark.read.table(table_names.default_apc) .withColumn("sushrg_trimmed", F.expr("substring(sushrg, 1, 4)")) .filter(F.col("admimeth").startswith("1")) .groupby("icb", "provider", "imd_quintile", "sushrg_trimmed", "fyear") @@ -53,7 +52,7 @@ def load_inequalities_data(spark: SparkSession) -> DataFrame: ) opa = ( - spark.read.table("nhp.default.opa") + spark.read.table(table_names.default_opa) .filter(F.col("has_procedures")) .groupby("icb", "provider", "imd_quintile", "sushrg_trimmed", "fyear") .agg(F.sum("attendances").alias("count")) @@ -202,15 +201,15 @@ def process_calculated_inequalities( ) -def main(): - """ - Loads data, calculates inequalities and saves the results to parquet - """ - path = sys.argv[1] - - spark = get_spark() +def save_inequalities(path: str, spark: SparkSession) -> None: + """Save inequalities data. - mlflow.autolog( # ty: ignore[possibly-unbound-attribute] + :param path: The path to save the data to + :type path: str + :param spark: The spark session to use + :type spark: SparkSession + """ + mlflow.autolog( # ty: ignore[possibly-missing-attribute] log_input_examples=False, log_model_signatures=False, log_models=False, @@ -228,6 +227,12 @@ def main(): ( inequalities.write.option("mergeSchema", "true") .mode("overwrite") - .saveAsTable("nhp.default.inequalities") + .saveAsTable(table_names.default_inequalities) ) inequalities.toPandas().to_parquet(f"{path}/inequalities.parquet") + + +def main(): + path = table_names.inputs_save_path + spark = get_spark() + save_inequalities(path, spark) diff --git a/src/nhp/data/inputs_data/ip/__init__.py b/src/nhp/data/inputs_data/ip/__init__.py index 55ed887..c4eb8a0 100644 --- a/src/nhp/data/inputs_data/ip/__init__.py +++ b/src/nhp/data/inputs_data/ip/__init__.py @@ -5,6 +5,7 @@ from nhp.data.inputs_data.acute_providers import filter_acute_providers from nhp.data.inputs_data.helpers import inputs_age_group +from nhp.data.table_names import table_names def get_ip_df(spark: SparkSession) -> DataFrame: @@ -16,7 +17,7 @@ def get_ip_df(spark: SparkSession) -> DataFrame: :rtype: DataFrame """ return ( - filter_acute_providers(spark, "apc") + filter_acute_providers(spark, table_names.raw_data_apc) .filter(F.isnotnull("age")) .drop("age_group") .join(inputs_age_group(spark), "age") @@ -56,7 +57,7 @@ def get_ip_mitigators(spark: SparkSession) -> DataFrame: ) ) - mitigators_df = spark.read.table("nhp.raw_data.apc_mitigators") + mitigators_df = spark.read.table(table_names.raw_data_apc_mitigators) return DataFrame.unionByName(mitigators_df, general_los_df) diff --git a/src/nhp/data/inputs_data/ip/diagnoses.py b/src/nhp/data/inputs_data/ip/diagnoses.py index f8bbb74..75339ec 100644 --- a/src/nhp/data/inputs_data/ip/diagnoses.py +++ b/src/nhp/data/inputs_data/ip/diagnoses.py @@ -4,6 +4,7 @@ from pyspark.sql import functions as F from nhp.data.inputs_data.ip import get_ip_df, get_ip_mitigators +from nhp.data.table_names import table_names def get_ip_diagnoses(spark: SparkSession) -> DataFrame: @@ -15,7 +16,7 @@ def get_ip_diagnoses(spark: SparkSession) -> DataFrame: :rtype: DataFrame """ diags = ( - spark.read.table("hes.silver.apc_diagnoses") + spark.read.table(table_names.hes_apc_diagnoses) .filter(F.col("diag_order") == 1) .withColumn("diagnosis", F.col("diagnosis").substr(1, 3)) ) diff --git a/src/nhp/data/inputs_data/ip/procedures.py b/src/nhp/data/inputs_data/ip/procedures.py index c4a03d5..7205e92 100644 --- a/src/nhp/data/inputs_data/ip/procedures.py +++ b/src/nhp/data/inputs_data/ip/procedures.py @@ -4,6 +4,7 @@ from pyspark.sql import functions as F from nhp.data.inputs_data.ip import get_ip_df, get_ip_mitigators +from nhp.data.table_names import table_names def get_ip_procedures(spark: SparkSession) -> DataFrame: @@ -15,7 +16,7 @@ def get_ip_procedures(spark: SparkSession) -> DataFrame: :rtype: DataFrame """ procs = ( - spark.read.table("hes.silver.apc_procedures") + spark.read.table(table_names.hes_apc_procedures) .filter(F.col("procedure_order") == 1) .withColumn("procedure_code", F.col("procedure_code").substr(1, 3)) ) diff --git a/src/nhp/data/inputs_data/ip/rates.py b/src/nhp/data/inputs_data/ip/rates.py index 066daa3..070bfad 100644 --- a/src/nhp/data/inputs_data/ip/rates.py +++ b/src/nhp/data/inputs_data/ip/rates.py @@ -10,6 +10,7 @@ from nhp.data.inputs_data.catchments import get_catchments, get_total_pop from nhp.data.inputs_data.helpers import complete_age_sex_data from nhp.data.inputs_data.ip import get_ip_age_sex_data, get_ip_df, get_ip_mitigators +from nhp.data.table_names import table_names def get_ip_activity_avoidance_rates(spark: SparkSession) -> DataFrame: @@ -130,7 +131,7 @@ def get_ip_preop_rates(spark: SparkSession) -> DataFrame: df_mitigators = get_ip_mitigators(spark) opertn_counts = ( - spark.read.table("nhp.raw_data.apc") + spark.read.table(table_names.raw_data_apc) .filter(F.col("admimeth").startswith("1")) .groupBy("fyear", "provider") .agg(F.count("has_procedure").alias("denominator")) @@ -154,7 +155,7 @@ def get_ip_preop_rates(spark: SparkSession) -> DataFrame: @cache def _get_ip_day_procedures_code_list(spark: SparkSession) -> DataFrame: with open( - "/Volumes/nhp/reference/files/day_procedures.json", "r", encoding="UTF-8" + table_names.reference_day_procedures_code_list, "r", encoding="UTF-8" ) as f: data = [ {"strategy": f"day_procedures_{k}", "procedure_code": v} @@ -178,13 +179,13 @@ def _get_ip_day_procedures_op_denominator(spark: SparkSession) -> DataFrame: ) op_procedures = ( - spark.read.table("hes.silver.opa_procedures") + spark.read.table(table_names.hes_opa_procedures) .filter(F.col("procedure_order") == 1) .join(day_procedures, ["procedure_code"], "inner") ) return ( - filter_acute_providers(spark, "opa") + filter_acute_providers(spark, table_names.raw_data_opa) .join(op_procedures, ["fyear", "attendkey"], "inner") .groupBy("fyear", "provider", "strategy") .agg(F.count("strategy").alias("denominator")) @@ -205,13 +206,13 @@ def _get_ip_day_procedures_dc_denominator(spark: SparkSession) -> DataFrame: ) dc_procedures = ( - spark.read.table("hes.silver.apc_procedures") + spark.read.table(table_names.hes_apc_procedures) .filter(F.col("procedure_order") == 1) .join(day_procedures, ["procedure_code"], "inner") ) return ( - filter_acute_providers(spark, "apc") + filter_acute_providers(spark, table_names.raw_data_apc) .join(dc_procedures, ["fyear", "epikey"], "inner") .groupBy("fyear", "provider", "strategy") .agg(F.count("strategy").alias("denominator")) diff --git a/src/nhp/data/inputs_data/op/__init__.py b/src/nhp/data/inputs_data/op/__init__.py index c9e87d0..3864075 100644 --- a/src/nhp/data/inputs_data/op/__init__.py +++ b/src/nhp/data/inputs_data/op/__init__.py @@ -7,6 +7,7 @@ from nhp.data.inputs_data.acute_providers import filter_acute_providers from nhp.data.inputs_data.helpers import inputs_age_group +from nhp.data.table_names import table_names def get_op_df(spark: SparkSession) -> DataFrame: @@ -18,7 +19,7 @@ def get_op_df(spark: SparkSession) -> DataFrame: :rtype: DataFrame """ return ( - filter_acute_providers(spark, "opa") + filter_acute_providers(spark, table_names.raw_data_opa) .filter(F.isnotnull("age")) .drop("age_group") .join(inputs_age_group(spark), "age") diff --git a/src/nhp/data/inputs_data/op/diagnoses.py b/src/nhp/data/inputs_data/op/diagnoses.py index 4223539..d7ca4a9 100644 --- a/src/nhp/data/inputs_data/op/diagnoses.py +++ b/src/nhp/data/inputs_data/op/diagnoses.py @@ -4,6 +4,7 @@ from pyspark.sql import functions as F from nhp.data.inputs_data.op import get_op_df, get_op_mitigators +from nhp.data.table_names import table_names def get_op_diagnoses(spark: SparkSession) -> DataFrame: @@ -15,7 +16,7 @@ def get_op_diagnoses(spark: SparkSession) -> DataFrame: :rtype: DataFrame """ diags = ( - spark.read.table("hes.silver.opa_diagnoses") + spark.read.table(table_names.hes_opa_diagnoses) .filter(F.col("diag_order") == 1) .withColumn("diagnosis", F.col("diagnosis").substr(1, 3)) ) diff --git a/src/nhp/data/inputs_data/op/procedures.py b/src/nhp/data/inputs_data/op/procedures.py index 2a7e460..6cbe41e 100644 --- a/src/nhp/data/inputs_data/op/procedures.py +++ b/src/nhp/data/inputs_data/op/procedures.py @@ -4,6 +4,7 @@ from pyspark.sql import functions as F from nhp.data.inputs_data.op import get_op_df, get_op_mitigators +from nhp.data.table_names import table_names def get_op_procedures(spark: SparkSession) -> DataFrame: @@ -15,7 +16,7 @@ def get_op_procedures(spark: SparkSession) -> DataFrame: :rtype: DataFrame """ procs = ( - spark.read.table("hes.silver.opa_procedures") + spark.read.table(table_names.hes_opa_procedures) .filter(F.col("procedure_order") == 1) .withColumn("procedure_code", F.col("procedure_code").substr(1, 3)) ) diff --git a/src/nhp/data/inputs_data/procedures.py b/src/nhp/data/inputs_data/procedures.py index 43846e3..50eb2b4 100644 --- a/src/nhp/data/inputs_data/procedures.py +++ b/src/nhp/data/inputs_data/procedures.py @@ -1,17 +1,17 @@ """Generate Procedures Dataframe""" -import sys from functools import reduce from pyspark.sql import DataFrame, SparkSession +from nhp.data.get_spark import get_spark from nhp.data.inputs_data.ae.procedures import get_ae_procedures -from nhp.data.inputs_data.helpers import get_spark from nhp.data.inputs_data.ip.procedures import get_ip_procedures from nhp.data.inputs_data.op.procedures import get_op_procedures +from nhp.data.table_names import table_names -def get_procedures(spark: SparkSession = get_spark()) -> DataFrame: +def get_procedures(spark: SparkSession) -> DataFrame: """Get procedures (combined) :param spark: The spark context to use @@ -24,7 +24,19 @@ def get_procedures(spark: SparkSession = get_spark()) -> DataFrame: return reduce(DataFrame.unionByName, [f(spark) for f in fns]) -def main(): - path = sys.argv[1] +def save_procedures(path: str, spark: SparkSession) -> None: + """Save procedures data. + + :param path: The path to save the data to + :type path: str + :param spark: The spark session to use + :type spark: SparkSession + """ + df = get_procedures(spark).toPandas() + df.to_parquet(f"{path}/procedures.parquet") + - get_procedures().toPandas().to_parquet(f"{path}/procedures.parquet") +def main(): + path = table_names.inputs_save_path + spark = get_spark() + save_procedures(path, spark) diff --git a/src/nhp/data/inputs_data/rates.py b/src/nhp/data/inputs_data/rates.py index 32a260a..c86d1b8 100644 --- a/src/nhp/data/inputs_data/rates.py +++ b/src/nhp/data/inputs_data/rates.py @@ -1,12 +1,11 @@ """Generate Rates Dataframe""" -import sys from functools import reduce from pyspark.sql import DataFrame, SparkSession +from nhp.data.get_spark import get_spark from nhp.data.inputs_data.ae.rates import get_ae_rates -from nhp.data.inputs_data.helpers import get_spark from nhp.data.inputs_data.ip.rates import ( get_ip_activity_avoidance_rates, get_ip_day_procedures, @@ -14,9 +13,10 @@ get_ip_preop_rates, ) from nhp.data.inputs_data.op.rates import get_op_rates +from nhp.data.table_names import table_names -def get_rates(spark: SparkSession = get_spark()) -> DataFrame: +def get_rates(spark: SparkSession) -> DataFrame: """Get rates (combined) :param spark: The spark context to use @@ -36,7 +36,19 @@ def get_rates(spark: SparkSession = get_spark()) -> DataFrame: return reduce(DataFrame.unionByName, [f(spark) for f in fns]) -def main(): - path = sys.argv[1] +def save_rates(path: str, spark: SparkSession) -> None: + """Save rates data. + + :param path: The path to save the data to + :type path: str + :param spark: The spark session to use + :type spark: SparkSession + """ + df = get_rates(spark).toPandas() + df.to_parquet(f"{path}/rates.parquet") + - get_rates().toPandas().to_parquet(f"{path}/rates.parquet") +def main(): + path = table_names.inputs_save_path + spark = get_spark() + save_rates(path, spark) diff --git a/src/nhp/data/model_data/aae.py b/src/nhp/data/model_data/aae.py index f60f049..d1bdaa1 100644 --- a/src/nhp/data/model_data/aae.py +++ b/src/nhp/data/model_data/aae.py @@ -5,10 +5,11 @@ import pyspark.sql.functions as F from pyspark.sql import SparkSession -from nhp.data.model_data.helpers import get_spark +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names -def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> None: +def extract(save_path: str, fyear: int, spark: SparkSession) -> None: """Extract A&E data :param spark: the spark context to use @@ -20,7 +21,7 @@ def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> No """ ecds = ( - spark.read.table("ecds") + spark.read.table(table_names.default_ecds) .filter(F.col("fyear") == fyear) .withColumnRenamed("provider", "dataset") .withColumn("fyear", F.floor(F.col("fyear") / 100)) @@ -35,6 +36,10 @@ def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> No def main(): - path = sys.argv[1] + data_version = sys.argv[1] + save_path = f"{table_names.model_data_path}/{data_version}" fyear = int(sys.argv[2]) - extract(path, fyear) + + spark = get_spark() + + extract(save_path, fyear, spark) diff --git a/src/nhp/data/model_data/birth_factors.py b/src/nhp/data/model_data/birth_factors.py index 2c71580..5da8e88 100644 --- a/src/nhp/data/model_data/birth_factors.py +++ b/src/nhp/data/model_data/birth_factors.py @@ -5,12 +5,13 @@ import pyspark.sql.functions as F from pyspark.sql import DataFrame, SparkSession +from nhp.data.get_spark import get_spark from nhp.data.model_data.helpers import ( DEMOGRAPHICS_MAX_YEAR, DEMOGRAPHICS_MIN_YEAR, create_provider_population_projections, - get_spark, ) +from nhp.data.table_names import table_names def create_custom_birth_factors( @@ -104,7 +105,7 @@ def extract_custom_birth_factors( def extract( - save_path: str, fyear: int, projection_year: int, spark: SparkSession = get_spark() + save_path: str, fyear: int, projection_year: int, spark: SparkSession ) -> None: """Extract Birth Factors data @@ -116,7 +117,7 @@ def extract( :type fyear: int """ births = ( - spark.read.table("nhp.population_projections.births") + spark.read.table(table_names.population_projections_births) .withColumn("sex", F.lit(2)) .filter(F.col("year").between(DEMOGRAPHICS_MIN_YEAR, DEMOGRAPHICS_MAX_YEAR)) ) @@ -139,7 +140,12 @@ def extract( def main(): - path = sys.argv[1] + data_version = sys.argv[1] + save_path = f"{table_names.model_data_path}/{data_version}" + fyear = int(sys.argv[2]) projection_year = int(sys.argv[3]) - extract(path, fyear, projection_year) + + spark = get_spark() + + extract(save_path, fyear, projection_year, spark) diff --git a/src/nhp/data/model_data/clean_up.py b/src/nhp/data/model_data/clean_up.py index 29c1a6b..9dd1780 100644 --- a/src/nhp/data/model_data/clean_up.py +++ b/src/nhp/data/model_data/clean_up.py @@ -5,6 +5,8 @@ import os import sys +from nhp.data.table_names import table_names + def clean_up(path: str) -> None: """Clean up spark files from a given path. @@ -24,5 +26,7 @@ def clean_up(path: str) -> None: def main() -> None: - path = sys.argv[1] - clean_up(path) + data_version = sys.argv[1] + save_path = f"{table_names.model_data_path}/{data_version}" + + clean_up(save_path) diff --git a/src/nhp/data/model_data/demographic_factors.py b/src/nhp/data/model_data/demographic_factors.py index 23259b8..bbbe344 100644 --- a/src/nhp/data/model_data/demographic_factors.py +++ b/src/nhp/data/model_data/demographic_factors.py @@ -5,18 +5,17 @@ import pyspark.sql.functions as F from pyspark.sql import DataFrame, SparkSession, Window +from nhp.data.get_spark import get_spark from nhp.data.model_data.helpers import ( DEMOGRAPHICS_MAX_YEAR, DEMOGRAPHICS_MIN_YEAR, create_provider_population_projections, - get_spark, ) +from nhp.data.table_names import table_names # pylint: disable=invalid-name -def _create_custom_demographic_factors_RD8( - spark: SparkSession = get_spark(), -) -> DataFrame: +def _create_custom_demographic_factors_RD8(spark: SparkSession) -> DataFrame: """Create custom demographic factors file for RD8 using agreed methodology :param spark: the spark context to use @@ -25,7 +24,7 @@ def _create_custom_demographic_factors_RD8( # Load demographics - principal projection only custom_file = ( spark.read.csv( - "/Volumes/nhp/population_projections/files/RD8_population_projection V2.csv", + f"{table_names.population_projections_save_path}/RD8_population_projection V2.csv", header=True, inferSchema=True, ) @@ -44,9 +43,7 @@ def _create_custom_demographic_factors_RD8( # pylint: disable=invalid-name -def _create_custom_demographic_factors_R0A66( - spark: SparkSession = get_spark(), -) -> DataFrame: +def _create_custom_demographic_factors_R0A66(spark: SparkSession) -> DataFrame: """Create custom demographic factors file for R0A66 using agreed methodology :param spark: the spark context to use @@ -54,7 +51,7 @@ def _create_custom_demographic_factors_R0A66( """ # Load demographics - principal projection only demographics = ( - spark.read.table("nhp.population_projections.demographics") + spark.read.table(table_names.population_projections_demographics) .filter(F.col("projection") == "principal_proj") .filter(F.col("projection_year") == 2018) .filter(F.col("area_code") != "E08000003") @@ -67,7 +64,7 @@ def _create_custom_demographic_factors_R0A66( stack_str = ", ".join(f"'{y}', `{y}`" for y in years) custom_file = ( spark.read.csv( - "/Volumes/nhp/population_projections/files/ManchesterCityCouncil_custom_E08000003.csv", + f"{table_names.population_projections_save_path}/ManchesterCityCouncil_custom_E08000003.csv", header=True, inferSchema=True, ) @@ -89,7 +86,7 @@ def _create_custom_demographic_factors_R0A66( # Work out catchment with patched demographics total_window = Window.partitionBy("provider") df = ( - spark.read.table("nhp.raw_data.apc") + spark.read.table(table_names.raw_data_apc) .filter(F.col("sitetret") == "R0A66") .filter(F.col("fyear") == 202324) .filter(F.col("resladst_ons").rlike("^E0[6-9]")) @@ -112,7 +109,7 @@ def _create_custom_demographic_factors_R0A66( def extract( - save_path: str, fyear: int, projection_year: int, spark: SparkSession = get_spark() + save_path: str, fyear: int, projection_year: int, spark: SparkSession ) -> None: """Extract Demographic Factors data @@ -124,9 +121,9 @@ def extract( :type fyear: int """ - demographics = spark.read.table("nhp.population_projections.demographics").filter( - F.col("year").between(DEMOGRAPHICS_MIN_YEAR, DEMOGRAPHICS_MAX_YEAR) - ) + demographics = spark.read.table( + table_names.population_projections_demographics + ).filter(F.col("year").between(DEMOGRAPHICS_MIN_YEAR, DEMOGRAPHICS_MAX_YEAR)) custom_R0A = _create_custom_demographic_factors_R0A66(spark) custom_RD8 = _create_custom_demographic_factors_RD8(spark) @@ -145,7 +142,11 @@ def extract( def main(): - path = sys.argv[1] + data_version = sys.argv[1] + save_path = f"{table_names.model_data_path}/{data_version}" fyear = int(sys.argv[2]) projection_year = int(sys.argv[3]) - extract(path, fyear, projection_year) + + spark = get_spark() + + extract(save_path, fyear, projection_year, spark) diff --git a/src/nhp/data/model_data/generate_synthetic_data.py b/src/nhp/data/model_data/generate_synthetic_data.py index a895ba5..5921e57 100644 --- a/src/nhp/data/model_data/generate_synthetic_data.py +++ b/src/nhp/data/model_data/generate_synthetic_data.py @@ -10,6 +10,7 @@ from pyspark.sql import DataFrame, SparkSession from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names logger = logging.getLogger(__name__) @@ -42,13 +43,13 @@ def __init__(self, fyear: int, path: str, seed: int, spark: SparkSession): # helper methods - def read_dev_file(self, file: str) -> pd.DataFrame: + def read_dev_file(self, file: str) -> DataFrame: return self.read_file(file, self._dev_path) - def read_synth_file(self, file: str) -> pd.DataFrame: + def read_synth_file(self, file: str) -> DataFrame: return self.read_file(file, self._synth_path) - def read_file(self, file: str, path: str) -> pd.DataFrame: + def read_file(self, file: str, path: str) -> DataFrame: return ( self._spark.read.parquet(f"{path}/{file}") .filter(F.col("fyear") == self._fyear) @@ -130,7 +131,11 @@ def _aae(self, df: DataFrame) -> pd.DataFrame: rng = np.random.default_rng(self._seed) n_aae_datasets = df.select("dataset").distinct().count() - df = df.drop("index", "dataset").withColumn("sitetret", F.lit("a")) + df = ( + df.drop("index", "dataset") + .withColumn("sitetret", F.lit("a")) + .withColumn("icb", F.when(F.col("is_main_icb"), "A").otherwise("B")) + ) aae = ( df.groupBy(df.drop("arrivals").columns) @@ -149,7 +154,11 @@ def _op(self, df: DataFrame) -> pd.DataFrame: rng = np.random.default_rng(self._seed) n_op_datasets = df.select("dataset").distinct().count() - df = df.drop("index", "dataset").withColumn("sitetret", F.lit("a")) + df = ( + df.drop("index", "dataset") + .withColumn("sitetret", F.lit("a")) + .withColumn("icb", F.when(F.col("is_main_icb"), "A").otherwise("B")) + ) op = ( df.groupBy(df.drop("attendances", "tele_attendances").columns) @@ -211,11 +220,12 @@ def main(): logging.getLogger("py4j").setLevel(logging.ERROR) - path = sys.argv[1] - fyear = int(sys.argv[2][:4]) - seed = int(sys.argv[3]) + path = table_names.model_data_path + + fyear = int(sys.argv[1][:4]) + seed = int(sys.argv[2]) - spark = get_spark("model_data") + spark = get_spark() d = SynthData(fyear, path, seed, spark) d.generate() diff --git a/src/nhp/data/model_data/health_status_adjustment/generate_icb_gams.py b/src/nhp/data/model_data/health_status_adjustment/generate_icb_gams.py index a27a3f6..83d1a87 100644 --- a/src/nhp/data/model_data/health_status_adjustment/generate_icb_gams.py +++ b/src/nhp/data/model_data/health_status_adjustment/generate_icb_gams.py @@ -12,6 +12,7 @@ from nhp.data.get_spark import get_spark from nhp.data.model_data.helpers import create_icb_population_projections +from nhp.data.table_names import table_names def _get_data(spark: SparkSession, save_path: str) -> DataFrame: @@ -35,7 +36,7 @@ def _get_data(spark: SparkSession, save_path: str) -> DataFrame: # load the demographics data demog = ( create_icb_population_projections( - spark, spark.read.table("nhp.population_projections.demographics") + spark, spark.read.table(table_names.population_projections_demographics) ) .filter(F.col("variant") == "migration_category") .filter(F.col("age") >= 18) @@ -121,14 +122,17 @@ def to_fyear(year): for i in ["fyear", "sex", "age"]: hsa_activity_tables = hsa_activity_tables.withColumn(i, F.col(i).cast("int")) - hsa_activity_tables.write.mode("overwrite").saveAsTable("hsa_activity_tables_ICB") + hsa_activity_tables.write.mode("overwrite").saveAsTable( + table_names.default_hsa_activity_tables_icb + ) def main() -> None: """Generate GAMs and HSA activity tables""" - save_path = sys.argv[1] + data_version = sys.argv[1] + save_path = f"{table_names.model_data_path}/{data_version}" - spark = get_spark("default") + spark = get_spark() dfr = _get_data(spark, save_path) all_gams = _generate_gams(dfr) diff --git a/src/nhp/data/model_data/health_status_adjustment/generate_national_gams.py b/src/nhp/data/model_data/health_status_adjustment/generate_national_gams.py index 875bc46..b649e77 100644 --- a/src/nhp/data/model_data/health_status_adjustment/generate_national_gams.py +++ b/src/nhp/data/model_data/health_status_adjustment/generate_national_gams.py @@ -6,10 +6,12 @@ import numpy as np import pandas as pd import pyspark.sql.functions as F -from databricks.connect import DatabricksSession from pygam import GAM from pyspark.sql import DataFrame, SparkSession +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names + def _get_data(spark: SparkSession, save_path: str) -> pd.DataFrame: dfr = ( @@ -31,7 +33,7 @@ def _get_data(spark: SparkSession, save_path: str) -> pd.DataFrame: # load the demographics data, then cross join to the distinct HSA groups demog = ( - spark.read.table("nhp.population_projections.demographics") + spark.read.table(table_names.population_projections_demographics) .filter(F.col("area_code").rlike("^E0[6-9]")) .filter(F.col("projection") == "migration_category") .filter(F.col("age") >= 18) @@ -110,16 +112,16 @@ def to_fyear(year): hsa_activity_tables = hsa_activity_tables.withColumn(i, F.col(i).cast("int")) hsa_activity_tables.write.mode("overwrite").saveAsTable( - "hsa_activity_tables_NATIONAL" + table_names.default_hsa_activity_tables_national ) def main() -> None: """Generate GAMs and HSA activity tables""" - save_path = sys.argv[1] - spark: SparkSession = DatabricksSession.builder.getOrCreate() - spark.catalog.setCurrentCatalog("nhp") - spark.catalog.setCurrentDatabase("default") + data_version = sys.argv[1] + save_path = f"{table_names.model_data_path}/{data_version}" + + spark = get_spark() all_gams = _generate_gams(spark, save_path) _generate_activity_tables(spark, all_gams) diff --git a/src/nhp/data/model_data/health_status_adjustment/generate_provider_gams.py b/src/nhp/data/model_data/health_status_adjustment/generate_provider_gams.py index e204a8c..76ac97d 100644 --- a/src/nhp/data/model_data/health_status_adjustment/generate_provider_gams.py +++ b/src/nhp/data/model_data/health_status_adjustment/generate_provider_gams.py @@ -9,11 +9,12 @@ import numpy as np import pandas as pd import pyspark.sql.functions as F -from databricks.connect import DatabricksSession from pygam import GAM - from pyspark.sql import DataFrame, SparkSession +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names + def _get_data(spark: SparkSession, save_path: str) -> DataFrame: dfr = ( @@ -132,12 +133,14 @@ def from_fyear(fyear): for i in ["fyear", "sex", "age"]: hsa_activity_tables = hsa_activity_tables.withColumn(i, F.col(i).cast("int")) - hsa_activity_tables.write.mode("overwrite").saveAsTable("hsa_activity_tables") + hsa_activity_tables.write.mode("overwrite").saveAsTable( + table_names.default_hsa_activity_tables_provider + ) # Save out to the storage location used by the docker containers ( - spark.read.table("hsa_activity_tables") + spark.read.table(table_names.default_hsa_activity_tables_provider) .filter(F.col("fyear").isin([202324])) .withColumn("fyear", F.udf(from_fyear)("fyear")) .withColumnRenamed("provider", "dataset") @@ -150,13 +153,11 @@ def from_fyear(fyear): def main() -> None: """Generate GAMs and HSA activity tables""" - save_path = sys.argv[1] + data_version = sys.argv[1] + save_path = f"{table_names.model_data_path}/{data_version}" - spark: SparkSession = DatabricksSession.builder.getOrCreate() - spark.catalog.setCurrentCatalog("nhp") - spark.catalog.setCurrentDatabase("default") + spark = get_spark() dfr = _get_data(spark, save_path) all_gams = _generate_gams(save_path, dfr) _generate_activity_tables(spark, save_path, all_gams) - _generate_activity_tables(spark, save_path, all_gams) diff --git a/src/nhp/data/model_data/helpers.py b/src/nhp/data/model_data/helpers.py index 871f8c7..d822357 100644 --- a/src/nhp/data/model_data/helpers.py +++ b/src/nhp/data/model_data/helpers.py @@ -1,38 +1,26 @@ """Helper methods/tables""" import pyspark.sql.functions as F -from databricks.connect import DatabricksSession from pyspark.sql import DataFrame, SparkSession +from nhp.data.table_names import table_names + # what years should we support in the extract? DEMOGRAPHICS_MIN_YEAR, DEMOGRAPHICS_MAX_YEAR = 2023, 2043 -def get_spark() -> SparkSession: - """Get Spark session to use for model data extract - - :return: get the spark context to use - :rtype: SparkSession - """ - spark: SparkSession = DatabricksSession.builder.getOrCreate() - spark.catalog.setCurrentCatalog("nhp") - spark.catalog.setCurrentDatabase("default") - spark.conf.set("spark.sql.sources.partitionOverwriteMode", "dynamic") - return spark - - def create_provider_population_projections( spark: SparkSession, df: DataFrame, fyear: int, projection_year: int = 2022 ) -> DataFrame: providers = ( - spark.read.table("nhp.reference.ods_trusts") + spark.read.table(table_names.reference_ods_trusts) .filter(F.col("org_type").startswith("ACUTE")) .select(F.col("org_to").alias("provider")) .distinct() ) catchments = ( - spark.read.table("nhp.reference.provider_catchments") + spark.read.table(table_names.reference_provider_catchments) .filter(F.col("fyear") == fyear) .drop("fyear") .join(providers, "provider", how="semi") @@ -63,7 +51,7 @@ def create_provider_population_projections( def create_icb_population_projections( spark: SparkSession, df: DataFrame, projection_year: int = 2022 ) -> DataFrame: - catchments = spark.read.table("nhp.reference.icb_catchments") + catchments = spark.read.table(table_names.reference_icb_catchments) projections_to_include = [ "migration_category", diff --git a/src/nhp/data/model_data/inequalities.py b/src/nhp/data/model_data/inequalities.py index 68ac3d7..b4c7795 100644 --- a/src/nhp/data/model_data/inequalities.py +++ b/src/nhp/data/model_data/inequalities.py @@ -5,10 +5,11 @@ import pyspark.sql.functions as F from pyspark.sql import SparkSession -from nhp.data.model_data.helpers import get_spark +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names -def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> None: +def extract(save_path: str, fyear: int, spark: SparkSession) -> None: """Extract inequalities data for model :param spark: the spark context to use @@ -21,13 +22,13 @@ def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> No fyear_converted = fyear // 100 - inequalities = spark.read.table("nhp.default.inequalities").filter( + inequalities = spark.read.table(table_names.default_inequalities).filter( F.col("fyear") == fyear ) # handle providers with no inequalities data providers = ( - spark.read.table("nhp.default.apc") + spark.read.table(table_names.default_apc) .filter(F.col("fyear") == fyear) .select("provider") .distinct() @@ -48,6 +49,10 @@ def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> No def main(): - path = sys.argv[1] + data_version = sys.argv[1] + save_path = f"{table_names.model_data_path}/{data_version}" fyear = int(sys.argv[2]) - extract(path, fyear) + + spark = get_spark() + + extract(save_path, fyear, spark) diff --git a/src/nhp/data/model_data/ip.py b/src/nhp/data/model_data/ip.py index 51ca8bb..63794d3 100644 --- a/src/nhp/data/model_data/ip.py +++ b/src/nhp/data/model_data/ip.py @@ -5,10 +5,11 @@ import pyspark.sql.functions as F from pyspark.sql import SparkSession -from nhp.data.model_data.helpers import get_spark +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names -def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> None: +def extract(save_path: str, fyear: int, spark: SparkSession) -> None: """Extract IP (+mitigators) data :param spark: the spark context to use @@ -19,7 +20,7 @@ def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> No :type fyear: int """ apc = ( - spark.read.table("apc") + spark.read.table(table_names.default_apc) .filter(F.col("fyear") == fyear) .withColumnRenamed("epikey", "rn") .withColumnRenamed("provider", "dataset") @@ -40,7 +41,7 @@ def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> No ("efficiencies", "efficiency"), ]: ( - spark.read.table("apc_mitigators") + spark.read.table(table_names.default_apc_mitigators) .filter(F.col("type") == v) .filter(F.col("fyear") == fyear) .drop("type", "fyear") @@ -56,6 +57,10 @@ def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> No def main(): - path = sys.argv[1] + data_version = sys.argv[1] + save_path = f"{table_names.model_data_path}/{data_version}" fyear = int(sys.argv[2]) - extract(path, fyear) + + spark = get_spark() + + extract(save_path, fyear, spark) diff --git a/src/nhp/data/model_data/op.py b/src/nhp/data/model_data/op.py index 3885c69..37ce871 100644 --- a/src/nhp/data/model_data/op.py +++ b/src/nhp/data/model_data/op.py @@ -5,10 +5,11 @@ import pyspark.sql.functions as F from pyspark.sql import DataFrame, SparkSession -from nhp.data.model_data.helpers import get_spark +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names -def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> None: +def extract(save_path: str, fyear: int, spark: SparkSession) -> None: """Extract OP data :param spark: the spark context to use @@ -20,7 +21,7 @@ def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> No """ opa = ( - spark.read.table("opa") + spark.read.table(table_names.default_opa) .filter(F.col("fyear") == fyear) .withColumnRenamed("provider", "dataset") .withColumn("fyear", F.floor(F.col("fyear") / 100)) @@ -28,7 +29,7 @@ def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> No ) inequalities = ( - spark.read.table("inequalities") + spark.read.table(table_names.default_inequalities) .filter(F.col("fyear") == fyear) .select("icb", "provider", "sushrg_trimmed") .withColumnRenamed("provider", "dataset") @@ -63,6 +64,10 @@ def extract(save_path: str, fyear: int, spark: SparkSession = get_spark()) -> No def main(): - path = sys.argv[1] + data_version = sys.argv[1] + save_path = f"{table_names.model_data_path}/{data_version}" fyear = int(sys.argv[2]) - extract(path, fyear) + + spark = get_spark() + + extract(save_path, fyear, spark) diff --git a/src/nhp/data/nhp_datasets/apc.py b/src/nhp/data/nhp_datasets/apc.py index 5913ab5..ee56821 100644 --- a/src/nhp/data/nhp_datasets/apc.py +++ b/src/nhp/data/nhp_datasets/apc.py @@ -1,16 +1,17 @@ -from databricks.connect import DatabricksSession from pyspark.sql import functions as F from pyspark.sql.types import * # noqa: F403 +from nhp.data.get_spark import get_spark from nhp.data.nhp_datasets.icbs import icb_mapping from nhp.data.nhp_datasets.local_authorities import local_authority_successors from nhp.data.nhp_datasets.providers import read_data_with_provider +from nhp.data.table_names import table_names -spark = DatabricksSession.builder.getOrCreate() +spark = get_spark() hes_apc = ( local_authority_successors( - spark, read_data_with_provider(spark, "hes.silver.apc"), "resladst_ons" + spark, read_data_with_provider(spark, table_names.hes_apc), "resladst_ons" ) .filter(F.col("last_episode_in_spell")) .withColumn( @@ -40,7 +41,7 @@ ) apc_primary_procedures = ( - spark.read.table("hes.silver.apc_procedures") + spark.read.table(table_names.hes_apc_procedures) .filter(F.col("procedure_order") == 1) .filter(~F.col("procedure_code").rlike("^O(1[1-46]|28|3[01346]|4[2-8]|5[23])")) .filter(~F.col("procedure_code").rlike("^X[6-9]")) diff --git a/src/nhp/data/nhp_datasets/icbs.py b/src/nhp/data/nhp_datasets/icbs.py index c2a1d3e..46f0b7a 100644 --- a/src/nhp/data/nhp_datasets/icbs.py +++ b/src/nhp/data/nhp_datasets/icbs.py @@ -1,13 +1,15 @@ from itertools import chain -from databricks.connect import DatabricksSession from pyspark.sql import DataFrame, SparkSession from pyspark.sql import functions as F from pyspark.sql.types import * # noqa: F403 -spark = DatabricksSession.builder.getOrCreate() +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names -ccg_to_icb = spark.read.table("strategyunit.reference.ccg_to_icb").collect() +spark = get_spark() + +ccg_to_icb = spark.read.table(table_names.reference_ccg_to_icb).collect() ccg_to_icb = {row["ccg"]: row["icb22cdh"] for row in ccg_to_icb} icb_mapping = F.create_map([F.lit(x) for x in chain(*ccg_to_icb.items())]) @@ -23,6 +25,6 @@ def add_main_icb(spark: SparkSession, df: DataFrame) -> DataFrame: :return: the modified dataframe :rtype: DataFrame """ - main_icbs = spark.read.table("nhp.reference.provider_main_icb") + main_icbs = spark.read.table(table_names.reference_provider_main_icb) return df.join(main_icbs, "provider", "left") diff --git a/src/nhp/data/nhp_datasets/local_authorities.py b/src/nhp/data/nhp_datasets/local_authorities.py index 2bf8d32..91c8708 100644 --- a/src/nhp/data/nhp_datasets/local_authorities.py +++ b/src/nhp/data/nhp_datasets/local_authorities.py @@ -4,6 +4,8 @@ from pyspark.sql import functions as F from pyspark.sql.types import * # noqa: F403 +from nhp.data.table_names import table_names + def local_authority_successors( spark: SparkSession, df: DataFrame, col_name: str @@ -23,7 +25,8 @@ def local_authority_successors( """ lad11_to_lad23_lookup = spark.read.csv( - "/Volumes/nhp/reference/files/lad11_to_lad23_lookup.csv", header=True + table_names.reference_lad11_to_lad23_lookup, + header=True, ) lookup = { diff --git a/src/nhp/data/nhp_datasets/providers.py b/src/nhp/data/nhp_datasets/providers.py index ca57427..1144813 100644 --- a/src/nhp/data/nhp_datasets/providers.py +++ b/src/nhp/data/nhp_datasets/providers.py @@ -4,9 +4,11 @@ from pyspark.sql import DataFrame, SparkSession from pyspark.sql.types import * # noqa: F403 +from nhp.data.table_names import table_names + def get_provider_successors_mapping(spark: SparkSession): - provider_successors = spark.read.table("nhp.reference.ods_trusts").collect() + provider_successors = spark.read.table(table_names.reference_ods_trusts).collect() provider_successors = { row["org_from"]: row["org_to"] for row in provider_successors diff --git a/src/nhp/data/population_projections/get_ons_files_2022.py b/src/nhp/data/population_projections/get_ons_files_2022.py index 01ca95c..fdc5a87 100644 --- a/src/nhp/data/population_projections/get_ons_files_2022.py +++ b/src/nhp/data/population_projections/get_ons_files_2022.py @@ -17,6 +17,8 @@ import requests from bs4 import BeautifulSoup +from nhp.data.table_names import table_names + ONS_URL = "https://www.ons.gov.uk" BASE_URL = urljoin( ONS_URL, @@ -232,8 +234,8 @@ def get_2022_population_files(output_dir: str) -> None: def main(): """main method""" - path = sys.argv[1] - projection_year = sys.argv[2] + path = table_names.population_projections_save_path + projection_year = sys.argv[1] output_dir = os.path.join(path, f"{projection_year}-projections") diff --git a/src/nhp/data/population_projections/npp.py b/src/nhp/data/population_projections/npp.py index cd2073f..c9c712b 100644 --- a/src/nhp/data/population_projections/npp.py +++ b/src/nhp/data/population_projections/npp.py @@ -4,10 +4,12 @@ import sys import pandas as pd -from databricks.connect import DatabricksSession from pyspark.sql import DataFrame, SparkSession, Window from pyspark.sql import functions as F +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names + def _process_npp_demographics( spark: SparkSession, df: DataFrame, projection_name: str, projection_year: int @@ -23,7 +25,7 @@ def _process_npp_demographics( raise ValueError(f"Invalid f{projection_year=}") ( - spark.read.table("nhp.population_projections.demographics") + spark.read.table(table_names.population_projections_demographics) .filter(F.col("projection") == projection) .filter(F.col("projection_year") == projection_year) .join(df, ["year", "sex", "age"]) @@ -34,7 +36,7 @@ def _process_npp_demographics( .repartition(1) .write.mode("overwrite") .partitionBy("projection_year", "projection", "sex", "area_code") - .saveAsTable("nhp.population_projections.demographics") + .saveAsTable(table_names.population_projections_demographics) ) @@ -52,7 +54,7 @@ def _process_npp_births( raise ValueError(f"Invalid f{projection_year=}") ( - spark.read.table("nhp.population_projections.births") + spark.read.table(table_names.population_projections_births) .filter(F.col("projection") == projection) .filter(F.col("projection_year") == projection_year) .join(df.filter(F.col("sex") == 2), ["year", "age"]) @@ -63,7 +65,7 @@ def _process_npp_births( .repartition(1) .write.mode("overwrite") .partitionBy("projection_year", "projection", "area_code") - .saveAsTable("nhp.population_projections.births") + .saveAsTable(table_names.population_projections_births) ) @@ -133,11 +135,10 @@ def process_npp_variant( def main(): - path = sys.argv[1] - projection_year = int(sys.argv[2]) - file = sys.argv[3] + path = table_names.population_projections_save_path + projection_year = int(sys.argv[1]) + file = sys.argv[2] - spark: SparkSession = DatabricksSession.builder.getOrCreate() - spark.conf.set("spark.sql.sources.partitionOverwriteMode", "dynamic") + spark = get_spark() process_npp_variant(spark, path, projection_year, file) diff --git a/src/nhp/data/population_projections/snpp.py b/src/nhp/data/population_projections/snpp.py index b83018f..973fd1b 100644 --- a/src/nhp/data/population_projections/snpp.py +++ b/src/nhp/data/population_projections/snpp.py @@ -2,10 +2,12 @@ import sys -from databricks.connect import DatabricksSession from pyspark.sql import SparkSession from pyspark.sql import functions as F +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names + def _process_demographics_file( spark: SparkSession, path: str, projection_year: int, projection_name: str @@ -45,7 +47,7 @@ def _process_demographics_file( .repartition(1) .write.mode("overwrite") .partitionBy("projection_year", "projection", "sex", "area_code") - .saveAsTable("nhp.population_projections.demographics") + .saveAsTable(table_names.population_projections_demographics) ) @@ -87,7 +89,7 @@ def _process_births_file( .repartition(1) .write.mode("overwrite") .partitionBy("projection_year", "projection", "area_code") - .saveAsTable("nhp.population_projections.births") + .saveAsTable(table_names.population_projections_births) ) @@ -110,11 +112,10 @@ def process_snpp_variant( def main(): - path = sys.argv[1] - projection_year = int(sys.argv[2]) - projection_name = sys.argv[3] + path = table_names.population_projections_save_path + projection_year = int(sys.argv[1]) + projection_name = sys.argv[2] - spark: SparkSession = DatabricksSession.builder.getOrCreate() - spark.conf.set("spark.sql.sources.partitionOverwriteMode", "dynamic") + spark = get_spark() process_snpp_variant(spark, path, projection_year, projection_name) diff --git a/src/nhp/data/raw_data/aae.py b/src/nhp/data/raw_data/aae.py index e729e6b..5800301 100644 --- a/src/nhp/data/raw_data/aae.py +++ b/src/nhp/data/raw_data/aae.py @@ -1,14 +1,15 @@ """Generate the AAE data""" -from databricks.connect import DatabricksSession - import pyspark.sql.functions as F +from pyspark.sql import DataFrame, SparkSession +from pyspark.sql.types import * # noqa: F403 + +from nhp.data.get_spark import get_spark from nhp.data.nhp_datasets.icbs import add_main_icb, icb_mapping from nhp.data.nhp_datasets.local_authorities import local_authority_successors from nhp.data.nhp_datasets.providers import read_data_with_provider from nhp.data.raw_data.helpers import add_age_group_column -from pyspark.sql import DataFrame, SparkSession -from pyspark.sql.types import * # noqa: F403 +from nhp.data.table_names import table_names def get_aae_data(spark: SparkSession) -> DataFrame: @@ -18,7 +19,7 @@ def get_aae_data(spark: SparkSession) -> DataFrame: # aae data doesn't contain sitetret - use procode3 (will have 0 effect) df = read_data_with_provider( - spark, "hes.silver.aae", sitetret_col="procode3" + spark, table_names.hes_aae, sitetret_col="procode3" ).filter(F.col("fyear") < 201920) # Frequent Attendners @@ -56,13 +57,13 @@ def get_aae_data(spark: SparkSession) -> DataFrame: # Is Discharged with No Treatment or Investigations df_treatments = ( - spark.read.table("hes.silver.aae_treatments") + spark.read.table(table_names.hes_aae_treatments) .filter(F.col("treatment") != "24") .select("aekey", "fyear", "procode3") ) df_investigations = ( - spark.read.table("hes.silver.aae_investigations") + spark.read.table(table_names.hes_aae_investigations) .filter(~F.col("investigation").isin(["22", "99"])) .select("aekey", "fyear", "procode3") ) @@ -76,7 +77,7 @@ def get_aae_data(spark: SparkSession) -> DataFrame: # Primary Diagnosis/Treatment df_pri_diag = ( - spark.read.table("hes.silver.aae_diagnoses") + spark.read.table(table_names.hes_aae_diagnoses) .filter(F.col("diag_order") == 1) .withColumn("diagnosis", F.col("diagnosis").substr(0, 2)) .filter(F.col("diagnosis").rlike("^[0-3][0-9]$")) @@ -85,7 +86,7 @@ def get_aae_data(spark: SparkSession) -> DataFrame: ) df_pri_treat = ( - spark.read.table("hes.silver.aae_treatments") + spark.read.table(table_names.hes_aae_treatments) .filter(F.col("treatment_order") == 1) .withColumn("treatment", F.col("treatment").substr(0, 2)) .filter(F.col("treatment").rlike("^([0-4][0-9]|5[0-7]|99)$")) @@ -208,11 +209,11 @@ def generate_aae_data(spark: SparkSession) -> None: hes_aae_ungrouped.write.partitionBy("fyear", "provider") .mode("overwrite") .option("mergeSchema", "true") - .saveAsTable("nhp.raw_data.ecds") + .saveAsTable(table_names.raw_data_ecds) ) def main() -> None: """main method""" - spark = DatabricksSession.builder.getOrCreate() + spark = get_spark() generate_aae_data(spark) diff --git a/src/nhp/data/raw_data/ecds.py b/src/nhp/data/raw_data/ecds.py index 4c91236..eb70b21 100644 --- a/src/nhp/data/raw_data/ecds.py +++ b/src/nhp/data/raw_data/ecds.py @@ -2,27 +2,28 @@ from itertools import chain -from databricks.connect import DatabricksSession +from pyspark.sql import DataFrame, SparkSession +from pyspark.sql import functions as F +from pyspark.sql.types import * # noqa: F403 +from nhp.data.get_spark import get_spark from nhp.data.nhp_datasets.icbs import add_main_icb, icb_mapping from nhp.data.nhp_datasets.local_authorities import local_authority_successors from nhp.data.nhp_datasets.providers import add_provider from nhp.data.raw_data.helpers import add_age_group_column -from pyspark.sql import DataFrame, SparkSession -from pyspark.sql import functions as F -from pyspark.sql.types import * # noqa: F403 +from nhp.data.table_names import table_names def get_ecds_data(spark: SparkSession) -> DataFrame: """Get ECDS data""" - df = spark.read.table("hes.silver.ecds") + df = spark.read.table(table_names.hes_ecds) df = add_provider(spark, df, "der_provider_code", "der_provider_site_code") df = df.select([F.col(c).alias(c.lower()) for c in df.columns]) # Add IMD fields imd_lookup = ( - spark.read.table("strategyunit.reference.lsoa11_to_imd19") + spark.read.table(table_names.reference_lsoa11_to_imd19) .withColumnRenamed("lsoa11", "der_postcode_lsoa_2011_code") .withColumnRenamed("imd19_decile", "imd_decile") .withColumn( @@ -57,7 +58,7 @@ def get_ecds_data(spark: SparkSession) -> DataFrame: # for 2019/20, we need to look back one year, so use A&E data aae_df = ( - spark.read.table("hes.silver.aae") + spark.read.table(table_names.hes_aae) .filter(F.col("fyear") == 201819) .filter(F.col("aeattendcat") == "1") .filter(F.isnotnull("person_id_deid")) @@ -255,11 +256,11 @@ def generate_ecds_data(spark: SparkSession) -> None: hes_ecds_ungrouped.write.partitionBy("fyear", "provider") .mode("overwrite") .option("mergeSchema", "true") - .saveAsTable("nhp.raw_data.ecds") + .saveAsTable(table_names.raw_data_ecds) ) def main() -> None: """main method""" - spark = DatabricksSession.builder.getOrCreate() + spark = get_spark() generate_ecds_data(spark) diff --git a/src/nhp/data/raw_data/inpatients.py b/src/nhp/data/raw_data/inpatients.py index f017ae9..dcd3acf 100644 --- a/src/nhp/data/raw_data/inpatients.py +++ b/src/nhp/data/raw_data/inpatients.py @@ -1,21 +1,22 @@ """Generate inpatients data""" -from databricks.connect import DatabricksSession from delta.tables import DeltaTable +from pyspark.sql import DataFrame, SparkSession +from pyspark.sql import functions as F +from pyspark.sql.types import * # noqa: F403 +from nhp.data.get_spark import get_spark from nhp.data.nhp_datasets.apc import apc_primary_procedures, hes_apc from nhp.data.nhp_datasets.icbs import add_main_icb from nhp.data.raw_data.helpers import add_age_group_column, add_tretspef_grouped_column -from pyspark.sql import DataFrame, SparkSession -from pyspark.sql import functions as F -from pyspark.sql.types import * # noqa: F403 +from nhp.data.table_names import table_names def get_inpatients_data(spark: SparkSession) -> DataFrame: """Get Inpatients Data""" # Spell has maternity delivery episode mat_delivery_spells = ( - spark.read.table("hes.silver.apc") + spark.read.table(table_names.hes_apc) .filter(F.col("fce") == 1) .filter(F.col("maternity_episode_type") == 1) .select("susspellid") @@ -27,11 +28,11 @@ def get_inpatients_data(spark: SparkSession) -> DataFrame: df = add_tretspef_grouped_column(df) df = add_age_group_column(df) - df_primary_diagnosis = spark.read.table("hes.silver.apc_diagnoses").filter( + df_primary_diagnosis = spark.read.table(table_names.hes_apc_diagnoses).filter( F.col("diag_order") == 1 ) - df_primary_procedure = spark.read.table("hes.silver.apc_procedures").filter( + df_primary_procedure = spark.read.table(table_names.hes_apc_procedures).filter( F.col("procedure_order") == 1 ) @@ -158,7 +159,7 @@ def generate_inpatients_data(spark: SparkSession) -> None: target = ( DeltaTable.createIfNotExists(spark) - .tableName("nhp.raw_data.apc") + .tableName(table_names.raw_data_apc) .addColumns(hes_apc_processed.schema) .execute() ) @@ -178,5 +179,5 @@ def generate_inpatients_data(spark: SparkSession) -> None: def main() -> None: """main method""" - spark = DatabricksSession.builder.getOrCreate() + spark = get_spark() generate_inpatients_data(spark) diff --git a/src/nhp/data/raw_data/mitigators/__init__.py b/src/nhp/data/raw_data/mitigators/__init__.py index f212326..8903541 100644 --- a/src/nhp/data/raw_data/mitigators/__init__.py +++ b/src/nhp/data/raw_data/mitigators/__init__.py @@ -2,13 +2,14 @@ from collections import defaultdict -from databricks.connect import DatabricksSession from delta.tables import DeltaTable +from pyspark.sql import DataFrame +from pyspark.sql import functions as F +from nhp.data.get_spark import get_spark from nhp.data.raw_data.mitigators.ip.activity_avoidance import * # noqa: F403 from nhp.data.raw_data.mitigators.ip.efficiency import * # noqa: F403 -from pyspark.sql import DataFrame -from pyspark.sql import functions as F +from nhp.data.table_names import table_names __registered_mitigators = defaultdict(lambda: {}) @@ -29,7 +30,7 @@ def __init__(self, mitigator_type: str, mitigator_name: str, definition: DataFra self.mitigator_type = mitigator_type self.mitigator_name = mitigator_name self._definition = definition - self.spark = DatabricksSession.builder.getOrCreate() + self.spark = get_spark() def get(self) -> DataFrame: """Get the RDD for this mitigator""" @@ -55,7 +56,7 @@ def save(self) -> None: # get the table to load the mitigators to target = ( DeltaTable.createIfNotExists(self.spark) - .tableName("nhp.raw_data.apc_mitigators") + .tableName(table_names.raw_data_apc_mitigators) .addColumns(source.schema) .partitionedBy("fyear", "provider") .execute() diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/alcohol.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/alcohol.py index a234b65..0874c17 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/alcohol.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/alcohol.py @@ -33,12 +33,17 @@ """ # pylint: enable=line-too-long -from databricks.connect import DatabricksSession from pyspark.sql import functions as F -from nhp.data.hes_datasets import any_diagnosis, diagnoses, nhp_apc +from nhp.data.get_spark import get_spark from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( + any_diagnosis, + diagnoses, + nhp_apc, +) from nhp.data.raw_data.mitigators.reference_data import load_json +from nhp.data.table_names import table_names @activity_avoidance_mitigator() @@ -70,13 +75,13 @@ def _alcohol_wholly_attributable(): def _alcohol_partially_attributable(condition_group): - spark = DatabricksSession.builder.getOrCreate() + spark = get_spark() assert hasattr(spark, "sparkContext"), ( "sparkContext is not available on the SparkSession object." ) sc = spark.sparkContext - icd = spark.read.table("strategyunit.reference.icd10_codes") + icd = spark.read.table(table_names.reference_icd10_codes) aaf_json = load_json("alcohol_fractions") diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/ambulatory_care_conditions.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/ambulatory_care_conditions.py index a987582..831ac97 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/ambulatory_care_conditions.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/ambulatory_care_conditions.py @@ -61,7 +61,8 @@ from pyspark.sql import DataFrame from pyspark.sql import functions as F -from nhp.data.hes_datasets import ( +from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( any_diagnosis, any_procedure, nhp_apc, @@ -69,7 +70,6 @@ primary_procedure, secondary_diagnosis, ) -from nhp.data.raw_data.mitigators import activity_avoidance_mitigator @activity_avoidance_mitigator() diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/cancelled_operations.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/cancelled_operations.py index 9006e10..dd119af 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/cancelled_operations.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/cancelled_operations.py @@ -24,8 +24,8 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import nhp_apc @activity_avoidance_mitigator() diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/eol_care.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/eol_care.py index e9fdfb7..d59f7c5 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/eol_care.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/eol_care.py @@ -17,8 +17,12 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import any_diagnosis, nhp_apc, procedures from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( + any_diagnosis, + nhp_apc, + procedures, +) # base function for the two mitigators diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions.py index 959beb2..2caaed8 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions.py @@ -6,7 +6,7 @@ from pyspark.sql import DataFrame from pyspark.sql import functions as F -from nhp.data.hes_datasets import any_diagnosis +from nhp.data.raw_data.mitigators.ip.hes_datasets import any_diagnosis def evidence_based_interventions(*args: Callable[[], DataFrame]) -> DataFrame: diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_ent.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_ent.py index 8520a2b..ddc48c3 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_ent.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_ent.py @@ -23,7 +23,11 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import ( +from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( + evidence_based_interventions, +) +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( any_diagnosis, any_procedure, nhp_apc, @@ -31,10 +35,6 @@ primary_procedure, secondary_diagnosis, ) -from nhp.data.raw_data.mitigators import activity_avoidance_mitigator -from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( - evidence_based_interventions, -) def _adenoids(): diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_general_surgery.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_general_surgery.py index 89ba86d..9bcd281 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_general_surgery.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_general_surgery.py @@ -23,16 +23,16 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import ( +from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( + evidence_based_interventions, +) +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( any_diagnosis, nhp_apc, primary_diagnosis, primary_procedure, ) -from nhp.data.raw_data.mitigators import activity_avoidance_mitigator -from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( - evidence_based_interventions, -) def _appendectomy(): diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_gi_surgical.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_gi_surgical.py index 2cfd949..abccf52 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_gi_surgical.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_gi_surgical.py @@ -21,16 +21,16 @@ [ebi_1]: https://ebi.aomrc.org.uk/specialty/gastrointestinal-disease/ """ -from nhp.data.hes_datasets import ( +from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( + evidence_based_interventions, +) +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( any_diagnosis, any_procedure, nhp_apc, primary_procedure, ) -from nhp.data.raw_data.mitigators import activity_avoidance_mitigator -from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( - evidence_based_interventions, -) def _colonoscopy(): diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_msk.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_msk.py index 142c444..fcf2948 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_msk.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_msk.py @@ -26,7 +26,11 @@ from pyspark.sql import DataFrame from pyspark.sql import functions as F -from nhp.data.hes_datasets import ( +from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( + evidence_based_interventions, +) +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( any_diagnosis, nhp_apc, primary_diagnosis, @@ -34,10 +38,6 @@ secondary_diagnosis, secondary_procedure, ) -from nhp.data.raw_data.mitigators import activity_avoidance_mitigator -from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( - evidence_based_interventions, -) def _arthroscopic_meniscal_tear(): diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_urology.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_urology.py index c895589..1b09325 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_urology.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_urology.py @@ -23,17 +23,17 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import ( +from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( + evidence_based_interventions, +) +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( any_diagnosis, nhp_apc, primary_diagnosis, primary_procedure, secondary_procedure, ) -from nhp.data.raw_data.mitigators import activity_avoidance_mitigator -from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( - evidence_based_interventions, -) def _cystocopy(): diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_vascular_varicose_veins.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_vascular_varicose_veins.py index 940a7d8..26bee7f 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_vascular_varicose_veins.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/evidence_based_interventions_vascular_varicose_veins.py @@ -21,11 +21,15 @@ [ebi_1]: https://ebi.aomrc.org.uk/specialty/cardiovascular-disease/ """ -from nhp.data.hes_datasets import nhp_apc, primary_diagnosis, primary_procedure from nhp.data.raw_data.mitigators import activity_avoidance_mitigator from nhp.data.raw_data.mitigators.ip.activity_avoidance.evidence_based_interventions import ( evidence_based_interventions, ) +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( + nhp_apc, + primary_diagnosis, + primary_procedure, +) def _varicose_vein(): diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/falls_related_admissions.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/falls_related_admissions.py index e3577bb..31ec220 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/falls_related_admissions.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/falls_related_admissions.py @@ -31,13 +31,13 @@ from pyspark.sql import DataFrame from pyspark.sql import functions as F -from nhp.data.hes_datasets import ( +from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( any_diagnosis, nhp_apc, primary_diagnosis, secondary_diagnosis, ) -from nhp.data.raw_data.mitigators import activity_avoidance_mitigator def _explicit_fractures(): diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/frail_elderly.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/frail_elderly.py index 9128bf2..9e58c9e 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/frail_elderly.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/frail_elderly.py @@ -35,17 +35,17 @@ from functools import cache import pyspark.sql.types as T -from databricks.connect import DatabricksSession from pyspark.sql import functions as F -from nhp.data.hes_datasets import diagnoses, nhp_apc +from nhp.data.get_spark import get_spark from nhp.data.raw_data.mitigators import activity_avoidance_mitigator - -spark = DatabricksSession.builder.getOrCreate() +from nhp.data.raw_data.mitigators.ip.hes_datasets import diagnoses, nhp_apc +from nhp.data.table_names import table_names @cache def _frail_elderly(): + spark = get_spark() frs_ref = ( spark.read.option("header", "true") .option("delimiter", ",") @@ -57,15 +57,15 @@ def _frail_elderly(): ] ) ) - .csv("/Volumes/nhp/reference/files/frailty_risk_scores.csv") + .csv(table_names.reference_frailty_risk_scores) ) - icd10_codes = spark.read.table("strategyunit.reference.icd10_codes") + icd10_codes = spark.read.table(table_names.reference_icd10_codes) # make sure to use full hes table - our nhp views filter on certain columns # (e.g. not all providers included) hes_apc = ( - spark.read.table("hes.silver.apc") + spark.read.table(table_names.hes_apc) .filter(F.col("last_episode_in_spell")) .withColumnRenamed("person_id_deid", "person_id") ) diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/intentional_self_harm.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/intentional_self_harm.py index cac6d25..3d321db 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/intentional_self_harm.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/intentional_self_harm.py @@ -14,8 +14,8 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import any_diagnosis, nhp_apc from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import any_diagnosis, nhp_apc @activity_avoidance_mitigator() diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/medically_unexplained_related_admissions.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/medically_unexplained_related_admissions.py index f4baf56..af24676 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/medically_unexplained_related_admissions.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/medically_unexplained_related_admissions.py @@ -14,8 +14,8 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc, primary_diagnosis from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import nhp_apc, primary_diagnosis @activity_avoidance_mitigator() diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/medicines_related_admissions.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/medicines_related_admissions.py index 5f7d421..69588a9 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/medicines_related_admissions.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/medicines_related_admissions.py @@ -36,13 +36,13 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import ( +from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( any_diagnosis, nhp_apc, primary_diagnosis, secondary_diagnosis, ) -from nhp.data.raw_data.mitigators import activity_avoidance_mitigator def _medicines_related_admissions_implicit(primary_diags, secondary_diags): diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/obesity_related_admissions.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/obesity_related_admissions.py index e84b980..66f4fdc 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/obesity_related_admissions.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/obesity_related_admissions.py @@ -14,18 +14,17 @@ referenced document.""" import pyspark.sql.types as T -from databricks.connect import DatabricksSession from pyspark.sql import functions as F -from nhp.data.hes_datasets import diagnoses, nhp_apc +from nhp.data.get_spark import get_spark from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import diagnoses, nhp_apc from nhp.data.raw_data.mitigators.reference_data import get_reference_file_path -spark = DatabricksSession.builder.getOrCreate() - @activity_avoidance_mitigator() def _obesity_related_admissions(): + spark = get_spark() filename = get_reference_file_path("obesity_attributable_fractions.csv") oaf = ( diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/raid_ae.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/raid_ae.py index 05bdce9..295cf45 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/raid_ae.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/raid_ae.py @@ -16,8 +16,12 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc, primary_diagnosis, procedures from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( + nhp_apc, + primary_diagnosis, + procedures, +) @activity_avoidance_mitigator() diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/readmission_within_28_days.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/readmission_within_28_days.py index 3214029..ce82633 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/readmission_within_28_days.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/readmission_within_28_days.py @@ -10,11 +10,12 @@ readmitted to. """ -from databricks.connect import DatabricksSession from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc +from nhp.data.get_spark import get_spark from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import nhp_apc +from nhp.data.table_names import table_names @activity_avoidance_mitigator("readmission_within_28_days") @@ -37,9 +38,9 @@ def _readmission_within_28_days(): # make sure to use full hes table - our nhp views filter on certain columns # (e.g. not all providers included) - spark = DatabricksSession.builder.getOrCreate() + spark = get_spark() prior = ( - spark.read.table("hes.silver.apc") + spark.read.table(table_names.hes_apc) .filter(F.col("last_episode_in_spell")) # remove well babies .filter(F.col("well_baby_ind") == "N") diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/smoking_related_admissions.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/smoking_related_admissions.py index d341aa7..36d7334 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/smoking_related_admissions.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/smoking_related_admissions.py @@ -22,18 +22,19 @@ """ import pyspark.sql.types as T -from databricks.connect import DatabricksSession from pyspark.sql import functions as F -from nhp.data.hes_datasets import diagnoses, nhp_apc +from nhp.data.get_spark import get_spark from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import diagnoses, nhp_apc from nhp.data.raw_data.mitigators.reference_data import get_reference_file_path - -spark = DatabricksSession.builder.getOrCreate() +from nhp.data.table_names import table_names @activity_avoidance_mitigator() def _smoking(): + spark = get_spark() + filename = get_reference_file_path("smoking_attributable_fractions.csv") saf = ( @@ -51,7 +52,7 @@ def _smoking(): .csv(f"file:///{filename}") ) - icd10_codes = spark.read.table("strategyunit.reference.icd10_codes") + icd10_codes = spark.read.table(table_names.reference_icd10_codes) saf_mapping = saf.join( icd10_codes, F.expr("icd10 RLIKE concat('^', diagnoses)") diff --git a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/zero_los_no_procedure.py b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/zero_los_no_procedure.py index 9cb3581..3535f19 100644 --- a/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/zero_los_no_procedure.py +++ b/src/nhp/data/raw_data/mitigators/ip/activity_avoidance/zero_los_no_procedure.py @@ -13,8 +13,8 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc, procedures from nhp.data.raw_data.mitigators import activity_avoidance_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import nhp_apc, procedures def _zero_los(age_filter): diff --git a/src/nhp/data/raw_data/mitigators/ip/efficiency/day_procedures.py b/src/nhp/data/raw_data/mitigators/ip/efficiency/day_procedures.py index 0567cb0..f452ebe 100644 --- a/src/nhp/data/raw_data/mitigators/ip/efficiency/day_procedures.py +++ b/src/nhp/data/raw_data/mitigators/ip/efficiency/day_procedures.py @@ -99,13 +99,14 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc, primary_procedure from nhp.data.raw_data.mitigators import efficiency_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import nhp_apc, primary_procedure +from nhp.data.table_names import table_names def _day_procedures(day_procedure_type): with open( - "/Volumes/nhp/reference/files/day_procedures.json", "r", encoding="utf-8" + table_names.reference_day_procedures_code_list, "r", encoding="utf-8" ) as f: codes = json.load(f)[day_procedure_type] diff --git a/src/nhp/data/raw_data/mitigators/ip/efficiency/emergency_elderly.py b/src/nhp/data/raw_data/mitigators/ip/efficiency/emergency_elderly.py index 7f13fc4..d8b4a5e 100644 --- a/src/nhp/data/raw_data/mitigators/ip/efficiency/emergency_elderly.py +++ b/src/nhp/data/raw_data/mitigators/ip/efficiency/emergency_elderly.py @@ -10,8 +10,8 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc from nhp.data.raw_data.mitigators import efficiency_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import nhp_apc @efficiency_mitigator() diff --git a/src/nhp/data/raw_data/mitigators/ip/efficiency/enhanced_recovery.py b/src/nhp/data/raw_data/mitigators/ip/efficiency/enhanced_recovery.py index 71aa776..4642a84 100644 --- a/src/nhp/data/raw_data/mitigators/ip/efficiency/enhanced_recovery.py +++ b/src/nhp/data/raw_data/mitigators/ip/efficiency/enhanced_recovery.py @@ -37,8 +37,8 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc, primary_procedure from nhp.data.raw_data.mitigators import efficiency_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import nhp_apc, primary_procedure def _enhanced_recovery(*args, sex="[12]"): diff --git a/src/nhp/data/raw_data/mitigators/ip/efficiency/excess_beddays.py b/src/nhp/data/raw_data/mitigators/ip/efficiency/excess_beddays.py index a3c1239..309cfe7 100644 --- a/src/nhp/data/raw_data/mitigators/ip/efficiency/excess_beddays.py +++ b/src/nhp/data/raw_data/mitigators/ip/efficiency/excess_beddays.py @@ -28,20 +28,20 @@ # pylint: enable=line-too-long import pyspark.sql.types as T -from databricks.connect import DatabricksSession from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc +from nhp.data.get_spark import get_spark from nhp.data.raw_data.mitigators import efficiency_mitigator - -spark = DatabricksSession.builder.getOrCreate() +from nhp.data.raw_data.mitigators.ip.hes_datasets import nhp_apc +from nhp.data.raw_data.mitigators.reference_data import get_reference_file_path def _excess_beddays(group): + spark = get_spark() + filename = get_reference_file_path("hrg_trimpoints.csv") + ebd = ( - spark.read.option("header", "true") - .option("delimiter", ",") - .schema( + spark.read.schema( T.StructType( [ T.StructField("sushrg", T.StringType(), False), @@ -50,7 +50,7 @@ def _excess_beddays(group): ] ) ) - .csv("/Volumes/nhp/reference/files/hrg_trimpoints.csv", nanValue="-") + .csv(f"file:///{filename}", sep=",", header=True, nullValue="-") .select("sushrg", F.col(group).alias("trimpoint")) .dropna() ) diff --git a/src/nhp/data/raw_data/mitigators/ip/efficiency/preop_los.py b/src/nhp/data/raw_data/mitigators/ip/efficiency/preop_los.py index 9e0c52f..564b025 100644 --- a/src/nhp/data/raw_data/mitigators/ip/efficiency/preop_los.py +++ b/src/nhp/data/raw_data/mitigators/ip/efficiency/preop_los.py @@ -13,9 +13,9 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc from nhp.data.nhp_datasets.apc import apc_primary_procedures from nhp.data.raw_data.mitigators import efficiency_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import nhp_apc def _preop_los(days): diff --git a/src/nhp/data/raw_data/mitigators/ip/efficiency/raid_ip.py b/src/nhp/data/raw_data/mitigators/ip/efficiency/raid_ip.py index a0b39c9..fdc8fe2 100644 --- a/src/nhp/data/raw_data/mitigators/ip/efficiency/raid_ip.py +++ b/src/nhp/data/raw_data/mitigators/ip/efficiency/raid_ip.py @@ -13,8 +13,8 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import any_diagnosis, nhp_apc from nhp.data.raw_data.mitigators import efficiency_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import any_diagnosis, nhp_apc @efficiency_mitigator() diff --git a/src/nhp/data/raw_data/mitigators/ip/efficiency/same_day_emergency_care.py b/src/nhp/data/raw_data/mitigators/ip/efficiency/same_day_emergency_care.py index 1440407..0c6b288 100644 --- a/src/nhp/data/raw_data/mitigators/ip/efficiency/same_day_emergency_care.py +++ b/src/nhp/data/raw_data/mitigators/ip/efficiency/same_day_emergency_care.py @@ -25,36 +25,36 @@ - Same day emergency care (very high potential) (IP-EF-031) """ -import json import re import pandas as pd -from databricks.connect import DatabricksSession from pyspark.sql import functions as F -from nhp.data.hes_datasets import diagnoses, nhp_apc +from nhp.data.get_spark import get_spark from nhp.data.raw_data.mitigators import efficiency_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import diagnoses, nhp_apc from nhp.data.raw_data.mitigators.reference_data import load_json - -spark = DatabricksSession.builder.getOrCreate() +from nhp.data.table_names import table_names def _generate_aec_directory(group): - aec_directory = load_json("aec_directory") - - ref_path = "/Volumes/strategyunit/reference/files" + spark = get_spark() - with open(f"{ref_path}/hrgs.json", "r", encoding="UTF-8") as f: - hrgs = json.load(f) + aec_directory = load_json("aec_directory") hrgs = [ v3 - for v1 in hrgs.values() + for v1 in load_json("hrgs").values() for v2 in v1["subchapters"].values() for v3 in v2["hrgs"].keys() ] - icd10 = pd.read_csv(f"{ref_path}/icd10_codes.csv")["icd10"].to_list() + icd10 = ( + spark.read.table(table_names.reference_icd10_codes) + .select("icd10") + .toPandas()["icd10"] + .to_list() + ) df = pd.DataFrame( [ diff --git a/src/nhp/data/raw_data/mitigators/ip/efficiency/stroke_early_supported_discharge.py b/src/nhp/data/raw_data/mitigators/ip/efficiency/stroke_early_supported_discharge.py index e6512b1..cb9ee71 100644 --- a/src/nhp/data/raw_data/mitigators/ip/efficiency/stroke_early_supported_discharge.py +++ b/src/nhp/data/raw_data/mitigators/ip/efficiency/stroke_early_supported_discharge.py @@ -12,8 +12,8 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc from nhp.data.raw_data.mitigators import efficiency_mitigator +from nhp.data.raw_data.mitigators.ip.hes_datasets import nhp_apc @efficiency_mitigator() diff --git a/src/nhp/data/hes_datasets.py b/src/nhp/data/raw_data/mitigators/ip/hes_datasets.py similarity index 92% rename from src/nhp/data/hes_datasets.py rename to src/nhp/data/raw_data/mitigators/ip/hes_datasets.py index f7c1411..7553623 100644 --- a/src/nhp/data/hes_datasets.py +++ b/src/nhp/data/raw_data/mitigators/ip/hes_datasets.py @@ -10,19 +10,20 @@ from typing import Callable -from databricks.connect import DatabricksSession - from pyspark.sql import DataFrame from pyspark.sql import functions as F -spark = DatabricksSession.builder.getOrCreate() +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names + +spark = get_spark() -hes_apc = spark.read.table("hes.silver.apc") -diagnoses = spark.read.table("hes.silver.apc_diagnoses") -procedures = spark.read.table("hes.silver.apc_procedures") +hes_apc = spark.read.table(table_names.hes_apc) +diagnoses = spark.read.table(table_names.hes_apc_diagnoses) +procedures = spark.read.table(table_names.hes_apc_procedures) -nhp_apc = spark.read.table("nhp.raw_data.apc") +nhp_apc = spark.read.table(table_names.raw_data_apc) def combine_into_regex(*args) -> str: diff --git a/src/nhp/data/raw_data/mitigators/ip/shared/virtual_wards.py b/src/nhp/data/raw_data/mitigators/ip/shared/virtual_wards.py index 9e86b1c..3de23be 100644 --- a/src/nhp/data/raw_data/mitigators/ip/shared/virtual_wards.py +++ b/src/nhp/data/raw_data/mitigators/ip/shared/virtual_wards.py @@ -13,7 +13,11 @@ from pyspark.sql import functions as F -from nhp.data.hes_datasets import nhp_apc, primary_diagnosis, procedures +from nhp.data.raw_data.mitigators.ip.hes_datasets import ( + nhp_apc, + primary_diagnosis, + procedures, +) def _virtual_wards_admissions(*args): diff --git a/src/nhp/data/raw_data/mitigators/reference_data/hrg_trimpoints.csv b/src/nhp/data/raw_data/mitigators/reference_data/hrg_trimpoints.csv new file mode 100644 index 0000000..9b09d34 --- /dev/null +++ b/src/nhp/data/raw_data/mitigators/reference_data/hrg_trimpoints.csv @@ -0,0 +1,2313 @@ +sushrg,elective,emergency +AA22C,90,257 +AA22D,51,257 +AA22E,35,257 +AA22F,24,257 +AA22G,14,257 +AA23C,114,257 +AA23D,49,257 +AA23E,27,257 +AA23F,16,257 +AA23G,11,257 +AA24C,53,257 +AA24D,34,257 +AA24E,26,257 +AA24F,20,257 +AA24G,16,257 +AA24H,11,257 +AA25C,92,257 +AA25D,42,257 +AA25E,26,257 +AA25F,14,257 +AA25G,8,257 +AA26C,82,257 +AA26D,40,257 +AA26E,24,257 +AA26F,11,257 +AA26G,8,257 +AA26H,5,257 +AA28C,74,257 +AA28D,41,257 +AA28E,25,257 +AA28F,17,257 +AA29C,21,257 +AA29D,6,257 +AA29E,5,257 +AA29F,5,257 +AA30C,80,257 +AA30D,37,257 +AA30E,19,257 +AA30F,10,257 +AA31C,14,257 +AA31D,8,257 +AA31E,5,257 +AA32Z,5,257 +AA33C,9,257 +AA33D,5,434 +AA35A,127,257 +AA35B,86,257 +AA35C,59,257 +AA35D,38,257 +AA35E,22,257 +AA35F,14,257 +AA43A,5,257 +AA43B,5,257 +AA50A,150,257 +AA50B,84,257 +AA50C,50,257 +AA50D,162,434 +AA50E,81,434 +AA50F,53,434 +AA51A,101,257 +AA51B,58,257 +AA51C,40,257 +AA51D,30,257 +AA51E,74,434 +AA51F,36,434 +AA51G,30,434 +AA52A,83,257 +AA52B,50,257 +AA52C,30,257 +AA52D,24,257 +AA52E,61,257 +AA52F,17,434 +AA52G,17,434 +AA53A,84,257 +AA53B,38,257 +AA53C,28,257 +AA53D,17,257 +AA53E,53,434 +AA53F,23,434 +AA53G,15,434 +AA54A,25,257 +AA54B,10,257 +AA54C,14,257 +AA55A,32,257 +AA55B,10,257 +AA55C,9,257 +AA56A,12,434 +AA56B,8,434 +AA57A,10,257 +AA57B,5,434 +AA60A,20,257 +AA60B,110,434 +AA61A,127,257 +AA61B,7,434 +AA70Z,5,257 +AA71A,58,257 +AA71B,44,257 +AA80Z,12,257 +AA81Z,9,257 +AB11Z,5,257 +AB12Z,32,257 +AB13Z,6,257 +AB14Z,5,257 +AB15Z,5,257 +AB16Z,5,257 +AB17Z,5,257 +AB18Z,5,257 +AB19Z,5,257 +AB20Z,5,257 +AB21Z,5,257 +AB22Z,5,257 +AB23Z,5,257 +BZ24D,23,298 +BZ24E,19,298 +BZ24F,8,298 +BZ24G,5,298 +BZ30A,5,298 +BZ30B,5,298 +BZ31A,43,298 +BZ31B,5,298 +BZ32A,5,298 +BZ32B,5,298 +BZ33Z,5,298 +BZ34A,98,298 +BZ34B,15,298 +BZ34C,5,298 +BZ40Z,39,298 +BZ41A,26,298 +BZ41B,5,298 +BZ42A,30,298 +BZ42B,5,298 +BZ43Z,5,435 +BZ44A,40,298 +BZ44B,5,298 +BZ44C,5,435 +BZ45A,20,298 +BZ45B,5,298 +BZ45C,5,435 +BZ45D,5,435 +BZ46A,5,298 +BZ46B,5,435 +BZ50Z,11,298 +BZ51A,5,298 +BZ51B,5,298 +BZ52Z,10,435 +BZ53A,5,298 +BZ53B,6,298 +BZ54A,5,298 +BZ54B,5,298 +BZ55Z,5,435 +BZ56A,15,298 +BZ56B,5,298 +BZ56C,11,435 +BZ57A,5,298 +BZ57B,5,435 +BZ60A,21,298 +BZ60B,8,298 +BZ61A,13,298 +BZ61B,9,298 +BZ62A,8,298 +BZ62B,5,298 +BZ63A,15,298 +BZ63B,10,298 +BZ64A,16,298 +BZ64B,13,298 +BZ65Z,5,298 +BZ70Z,11,298 +BZ71A,9,298 +BZ71B,5,435 +BZ72A,5,298 +BZ72B,5,435 +BZ72C,5,435 +BZ73A,5,298 +BZ73B,5,435 +BZ74A,24,298 +BZ74B,13,435 +BZ80A,5,298 +BZ80B,5,298 +BZ81A,5,298 +BZ81B,5,298 +BZ82Z,5,435 +BZ83A,5,298 +BZ83B,5,298 +BZ84A,13,298 +BZ84B,5,298 +BZ85Z,22,435 +BZ86A,20,298 +BZ86B,5,298 +BZ86C,18,435 +BZ87A,5,298 +BZ87B,5,435 +BZ87C,5,435 +BZ88A,5,298 +BZ88B,5,435 +BZ89A,5,298 +BZ89B,5,435 +BZ90Z,5,298 +BZ91A,5,298 +BZ91B,5,298 +BZ92A,10,298 +BZ92B,8,298 +BZ93A,5,298 +BZ93B,5,298 +BZ94A,5,298 +BZ94B,5,298 +BZ95Z,5,298 +CA01Z,112,270 +CA02A,62,270 +CA02B,14,270 +CA03A,27,270 +CA03B,6,270 +CA04A,50,270 +CA04B,24,397 +CA05A,5,270 +CA05B,5,397 +CA10A,5,270 +CA10B,5,397 +CA11A,9,270 +CA11B,5,397 +CA12Z,5,270 +CA13A,5,270 +CA13B,5,397 +CA14Z,5,270 +CA15Z,5,270 +CA16Z,5,270 +CA20Z,7,270 +CA21Z,49,270 +CA22Z,19,270 +CA23Z,6,270 +CA24A,5,270 +CA24B,5,397 +CA25A,5,270 +CA25B,5,397 +CA26Z,16,270 +CA27Z,32,270 +CA28Z,16,270 +CA29Z,19,270 +CA30A,18,270 +CA30B,13,397 +CA31Z,19,270 +CA32A,9,270 +CA32B,9,397 +CA33Z,5,270 +CA34A,5,270 +CA34B,5,397 +CA35A,5,270 +CA35B,5,397 +CA35C,5,397 +CA36A,5,270 +CA36B,5,397 +CA37A,5,270 +CA37B,5,397 +CA37C,5,397 +CA38A,12,270 +CA38B,5,397 +CA39Z,6,270 +CA40Z,5,270 +CA41Z,5,270 +CA42Z,5,270 +CA43Z,5,270 +CA50Z,53,270 +CA51A,19,270 +CA51B,13,397 +CA52A,31,270 +CA52B,9,397 +CA53A,30,270 +CA53B,5,397 +CA54A,5,270 +CA54B,5,397 +CA55A,5,270 +CA55B,5,397 +CA60A,10,270 +CA60B,6,397 +CA61Z,12,270 +CA62Z,5,270 +CA63Z,62,270 +CA64Z,5,270 +CA65Z,5,270 +CA66A,5,270 +CA66B,5,397 +CA67A,82,270 +CA67B,9,270 +CA68A,16,270 +CA68B,24,397 +CA69A,5,270 +CA69B,5,397 +CA69C,5,397 +CA70Z,5,270 +CA71A,5,270 +CA71B,5,397 +CA80A,108,270 +CA80B,71,270 +CA80C,67,270 +CA81A,84,270 +CA81B,22,270 +CA81C,33,397 +CA81D,489,397 +CA82A,39,270 +CA82B,12,270 +CA82C,11,397 +CA82D,24,397 +CA83A,14,270 +CA83B,5,270 +CA83C,5,397 +CA84A,11,270 +CA84B,6,270 +CA84C,5,397 +CA85A,5,270 +CA85B,5,397 +CA85C,5,397 +CA86A,5,270 +CA86B,5,397 +CA86C,5,397 +CA90Z,58,270 +CA91A,41,270 +CA91B,5,270 +CA92A,12,270 +CA92B,10,270 +CA93A,6,270 +CA93B,5,270 +CA93C,5,397 +CA94Z,9,270 +CA95Z,5,270 +CA96Z,5,270 +CA97Z,5,270 +CA98Z,5,270 +CB01A,75,270 +CB01B,52,270 +CB01C,29,270 +CB01D,40,270 +CB01E,25,270 +CB01F,14,270 +CB02A,28,270 +CB02B,7,270 +CB02C,5,270 +CB02D,8,270 +CB02E,5,270 +CB02F,5,270 +CD01A,5,270 +CD01B,5,397 +CD02A,5,270 +CD02B,5,397 +CD03A,5,270 +CD03B,5,397 +CD04A,5,270 +CD04B,5,397 +CD05A,5,270 +CD05B,5,397 +CD06A,5,270 +CD06B,5,397 +CD07A,5,270 +CD07B,5,397 +CD08Z,5,270 +CD09A,5,270 +CD09B,5,397 +CD10A,5,270 +CD10B,5,397 +CD11A,5,270 +CD11B,5,397 +CD12A,5,270 +CD12B,5,397 +DZ02H,44,230 +DZ02J,24,230 +DZ02K,17,230 +DZ02L,20,355 +DZ02M,57,355 +DZ09J,53,230 +DZ09K,30,230 +DZ09L,40,230 +DZ09M,23,230 +DZ09N,17,230 +DZ09P,11,230 +DZ09Q,8,230 +DZ10H,62,230 +DZ10J,36,230 +DZ10K,26,230 +DZ10L,38,230 +DZ10M,28,230 +DZ10N,17,230 +DZ11K,86,230 +DZ11L,55,230 +DZ11M,37,230 +DZ11N,60,230 +DZ11P,36,230 +DZ11Q,25,230 +DZ11R,55,230 +DZ11S,32,230 +DZ11T,21,230 +DZ11U,15,230 +DZ11V,11,230 +DZ12C,33,230 +DZ12D,23,230 +DZ12E,21,230 +DZ12F,13,230 +DZ14F,36,230 +DZ14G,38,230 +DZ14H,23,230 +DZ14J,21,230 +DZ15M,28,230 +DZ15N,21,230 +DZ15P,16,230 +DZ15Q,11,230 +DZ15R,8,230 +DZ16H,60,230 +DZ16J,32,230 +DZ16K,20,230 +DZ16L,42,230 +DZ16M,23,230 +DZ16N,16,230 +DZ16P,36,230 +DZ16Q,16,230 +DZ16R,8,230 +DZ17L,56,230 +DZ17M,41,230 +DZ17N,28,230 +DZ17P,44,230 +DZ17Q,34,230 +DZ17R,22,230 +DZ17S,42,230 +DZ17T,31,230 +DZ17U,20,230 +DZ17V,13,230 +DZ18D,29,230 +DZ18E,15,230 +DZ18F,14,230 +DZ18G,5,230 +DZ19H,46,230 +DZ19J,28,230 +DZ19K,16,230 +DZ19L,14,230 +DZ19M,5,230 +DZ19N,5,230 +DZ20D,28,230 +DZ20E,21,230 +DZ20F,10,230 +DZ22K,48,230 +DZ22L,24,230 +DZ22M,43,230 +DZ22N,25,230 +DZ22P,14,230 +DZ22Q,5,230 +DZ23H,59,230 +DZ23J,46,230 +DZ23K,27,230 +DZ23L,38,230 +DZ23M,22,230 +DZ23N,14,230 +DZ24J,107,230 +DZ24K,58,230 +DZ24L,70,230 +DZ24M,40,230 +DZ24N,62,230 +DZ24P,40,230 +DZ24Q,28,230 +DZ24R,17,230 +DZ25G,51,230 +DZ25H,26,230 +DZ25J,37,230 +DZ25K,25,230 +DZ25L,19,230 +DZ25M,13,230 +DZ26G,50,230 +DZ26H,18,230 +DZ26J,28,230 +DZ26K,16,230 +DZ26L,12,230 +DZ26M,22,230 +DZ26N,11,230 +DZ26P,5,230 +DZ27M,76,230 +DZ27N,36,230 +DZ27P,45,230 +DZ27Q,27,230 +DZ27R,21,230 +DZ27S,34,230 +DZ27T,20,230 +DZ27U,11,230 +DZ28A,5,230 +DZ28B,5,230 +DZ29G,40,230 +DZ29H,21,230 +DZ29J,14,230 +DZ29K,10,230 +DZ30Z,5,230 +DZ31Z,5,230 +DZ32Z,5,230 +DZ37A,14,230 +DZ37B,5,355 +DZ42Z,5,230 +DZ50Z,5,230 +DZ51Z,149,230 +DZ52Z,5,230 +DZ56Z,5,230 +DZ62A,78,230 +DZ62B,36,230 +DZ62C,23,230 +DZ63A,60,230 +DZ63B,28,230 +DZ63C,22,230 +DZ63D,36,355 +DZ63E,50,355 +DZ64A,43,230 +DZ64B,24,230 +DZ64C,17,230 +DZ64D,21,355 +DZ64E,26,355 +DZ65A,54,230 +DZ65B,28,230 +DZ65C,39,230 +DZ65D,24,230 +DZ65E,17,230 +DZ65F,40,230 +DZ65G,23,230 +DZ65H,16,230 +DZ65J,12,230 +DZ65K,5,230 +DZ66Z,22,230 +DZ67Z,5,230 +DZ68Z,5,230 +DZ69A,15,230 +DZ69B,5,355 +DZ70Z,5,230 +DZ71Z,5,230 +EB02A,91,264 +EB02B,66,264 +EB02C,43,264 +EB03A,53,264 +EB03B,32,264 +EB03C,26,264 +EB03D,19,264 +EB03E,13,264 +EB04Z,5,264 +EB05A,29,264 +EB05B,8,264 +EB05C,5,264 +EB06A,53,264 +EB06B,32,264 +EB06C,22,264 +EB06D,13,264 +EB07A,38,264 +EB07B,19,264 +EB07C,11,264 +EB07D,8,264 +EB07E,5,264 +EB08A,35,264 +EB08B,19,264 +EB08C,9,264 +EB08D,5,264 +EB08E,5,264 +EB09A,19,390 +EB09B,7,390 +EB10A,40,264 +EB10B,22,264 +EB10C,15,264 +EB10D,11,264 +EB10E,9,264 +EB12A,8,264 +EB12B,5,264 +EB12C,5,264 +EB13A,11,264 +EB13B,5,264 +EB13C,5,264 +EB13D,5,264 +EB14A,44,264 +EB14B,22,264 +EB14C,14,264 +EB14D,10,264 +EB14E,5,264 +EB15A,42,264 +EB15B,16,264 +EB15C,10,264 +EC10A,117,390 +EC10B,61,390 +EC10C,38,390 +EC11A,105,390 +EC11B,62,390 +EC11C,41,390 +EC12A,72,390 +EC12B,41,390 +EC12C,27,390 +EC13A,64,390 +EC13B,27,390 +EC13C,19,390 +EC14A,78,390 +EC14B,45,390 +EC14C,19,390 +EC15A,22,390 +EC15B,15,390 +EC20A,26,390 +EC20B,15,390 +EC21Z,5,390 +EC22Z,5,390 +ED10Z,56,264 +ED11Z,52,264 +ED12A,78,264 +ED12B,35,264 +ED13A,35,264 +ED13B,31,264 +ED14A,74,264 +ED14B,30,264 +ED15A,66,264 +ED15B,25,264 +ED20A,78,264 +ED20B,43,264 +ED21A,83,264 +ED21B,40,264 +ED22A,74,264 +ED22B,42,264 +ED22C,33,264 +ED23A,70,264 +ED23B,40,264 +ED23C,30,264 +ED24A,85,264 +ED24B,51,264 +ED24C,44,264 +ED25A,71,264 +ED25B,38,264 +ED25C,31,264 +ED26A,59,264 +ED26B,34,264 +ED26C,23,264 +ED27A,50,264 +ED27B,34,264 +ED27C,27,264 +ED28A,38,264 +ED28B,26,264 +ED28C,17,264 +ED30A,61,264 +ED30B,31,264 +ED30C,25,264 +ED31A,56,264 +ED31B,25,264 +ED31C,21,264 +EY01A,47,264 +EY01B,24,264 +EY02A,49,264 +EY02B,26,264 +EY03Z,41,264 +EY04A,45,264 +EY04B,15,264 +EY05A,34,264 +EY05B,19,264 +EY06A,55,264 +EY06B,33,264 +EY06C,19,264 +EY06D,15,264 +EY06E,11,264 +EY07A,36,264 +EY07B,17,264 +EY08A,70,264 +EY08B,40,264 +EY08C,27,264 +EY08D,17,264 +EY08E,11,264 +EY11Z,5,264 +EY12A,21,264 +EY12B,11,264 +EY13Z,5,264 +EY16A,73,264 +EY16B,35,264 +EY17A,29,264 +EY17B,11,264 +EY20A,71,264 +EY20B,35,264 +EY21A,56,264 +EY21B,26,264 +EY22A,46,264 +EY22B,29,264 +EY22C,25,264 +EY23A,43,264 +EY23B,26,264 +EY23C,12,264 +EY30A,22,264 +EY30B,16,264 +EY31A,22,264 +EY31B,9,264 +EY32A,22,264 +EY32B,14,264 +EY40A,39,264 +EY40B,18,264 +EY40C,10,264 +EY40D,9,264 +EY41A,39,264 +EY41B,16,264 +EY41C,7,264 +EY41D,6,264 +EY42A,23,264 +EY42B,12,264 +EY42C,11,264 +EY42D,10,264 +EY43A,49,264 +EY43B,30,264 +EY43C,23,264 +EY43D,15,264 +EY43E,11,264 +EY43F,9,264 +EY50Z,5,264 +EY51Z,5,264 +FD01A,73,259 +FD01B,30,259 +FD01C,50,259 +FD01D,24,259 +FD01E,13,259 +FD01F,33,259 +FD01G,17,259 +FD01H,11,259 +FD01J,5,259 +FD02A,72,259 +FD02B,30,259 +FD02C,42,259 +FD02D,17,259 +FD02E,22,259 +FD02F,14,259 +FD02G,11,259 +FD02H,10,259 +FD03A,48,259 +FD03B,17,259 +FD03C,39,259 +FD03D,17,259 +FD03E,11,259 +FD03F,27,259 +FD03G,14,259 +FD03H,5,259 +FD04A,77,259 +FD04B,35,259 +FD04C,43,259 +FD04D,24,259 +FD04E,10,259 +FD05A,15,259 +FD05B,5,259 +FD10A,80,259 +FD10B,46,259 +FD10C,33,259 +FD10D,23,259 +FD10E,53,259 +FD10F,29,259 +FD10G,18,259 +FD10H,12,259 +FD10J,43,259 +FD10K,20,259 +FD10L,11,259 +FD10M,5,259 +FD11A,60,259 +FD11B,41,259 +FD11C,30,259 +FD11D,39,259 +FD11E,24,259 +FD11F,16,259 +FD11G,38,259 +FD11H,26,259 +FD11J,19,259 +FD11K,10,259 +FE01Z,46,259 +FE02A,30,259 +FE02B,5,259 +FE02C,5,259 +FE02D,5,424 +FE02E,5,424 +FE10A,59,259 +FE10B,39,259 +FE10C,26,259 +FE10D,16,259 +FE11A,63,259 +FE11B,33,259 +FE11C,19,259 +FE11D,12,259 +FE12A,5,259 +FE12B,5,424 +FE13Z,5,259 +FE20Z,5,259 +FE21Z,5,259 +FE22Z,5,259 +FE23A,5,424 +FE23B,5,424 +FE30Z,5,259 +FE31Z,5,259 +FE32Z,5,259 +FE33Z,5,259 +FE34Z,5,259 +FE35Z,5,259 +FE36Z,5,259 +FE37A,5,424 +FE37B,5,424 +FE47Z,5,259 +FE48A,5,259 +FE48B,5,424 +FE49Z,5,259 +FE50A,5,259 +FE50B,5,424 +FF01A,124,259 +FF01B,71,259 +FF01C,63,259 +FF02A,73,259 +FF02B,42,259 +FF02C,23,259 +FF03A,115,424 +FF03B,39,424 +FF04A,62,259 +FF04B,23,259 +FF04C,14,259 +FF04D,19,259 +FF04E,34,424 +FF04F,21,424 +FF04G,43,424 +FF04H,8,424 +FF05Z,5,259 +FF10Z,8,259 +FF11Z,56,259 +FF12Z,43,259 +FF13Z,10,259 +FF14Z,5,259 +FF20A,130,259 +FF20B,67,259 +FF20C,41,259 +FF20D,258,424 +FF21A,83,259 +FF21B,44,259 +FF21C,30,259 +FF21D,23,259 +FF22A,83,259 +FF22B,46,259 +FF22C,30,259 +FF22D,19,259 +FF23A,51,424 +FF23B,15,424 +FF23C,137,424 +FF23D,47,424 +FF23E,24,424 +FF30A,113,259 +FF30B,66,259 +FF30C,56,259 +FF30D,40,259 +FF31A,88,259 +FF31B,50,259 +FF31C,38,259 +FF31D,28,259 +FF32A,60,259 +FF32B,31,259 +FF32C,21,259 +FF33A,47,259 +FF33B,20,259 +FF34A,50,259 +FF34B,25,259 +FF34C,12,259 +FF35A,43,259 +FF35B,19,424 +FF35C,64,424 +FF35D,14,424 +FF36Z,5,259 +FF37A,28,259 +FF37B,15,259 +FF37C,7,259 +FF37D,6,259 +FF37E,16,259 +FF37F,10,424 +FF37G,6,424 +FF40A,16,259 +FF40B,5,259 +FF40C,8,424 +FF41A,20,259 +FF41B,5,259 +FF41C,5,259 +FF41D,5,259 +FF42A,5,259 +FF42B,5,424 +FF47Z,5,259 +FF48Z,5,259 +FF50A,90,259 +FF50B,47,259 +FF50C,32,259 +FF51A,74,259 +FF51B,49,259 +FF51C,31,259 +FF51D,23,259 +FF51E,16,259 +FF51F,28,424 +FF51G,14,424 +FF51H,76,424 +FF51J,50,424 +FF52A,37,259 +FF52B,15,259 +FF52C,11,259 +FF52D,11,424 +FF53A,5,259 +FF53B,5,424 +FF60A,33,259 +FF60B,16,259 +FF60C,15,259 +FF60D,12,259 +FF61A,25,259 +FF61B,12,259 +FF61C,9,259 +FF61D,9,424 +FF62A,37,259 +FF62B,10,259 +FF62C,6,259 +FF62D,6,259 +FF62E,5,424 +FF62F,6,424 +FF63A,5,259 +FF63B,6,424 +GA03C,62,257 +GA03D,31,257 +GA03E,25,257 +GA04C,84,257 +GA04D,56,257 +GA05C,67,257 +GA05D,23,257 +GA06C,51,257 +GA06D,24,257 +GA07C,35,257 +GA07D,18,257 +GA07E,14,257 +GA10G,11,448 +GA10H,24,257 +GA10J,13,257 +GA10K,10,257 +GA10L,38,257 +GA10M,20,257 +GA10N,17,257 +GA11Z,168,257 +GA13A,31,257 +GA13B,13,257 +GB05F,54,257 +GB05G,26,257 +GB05H,22,257 +GB06E,42,257 +GB06F,24,257 +GB06G,18,257 +GB06H,14,257 +GB09D,48,257 +GB09E,25,257 +GB09F,23,257 +GB10Z,5,257 +GB11Z,5,257 +GB12Z,5,257 +GB13Z,5,257 +GC01C,52,257 +GC01D,29,257 +GC01E,31,257 +GC01F,16,257 +GC12C,44,257 +GC12D,37,257 +GC12E,24,257 +GC12F,22,257 +GC12G,29,257 +GC12H,20,257 +GC12J,11,257 +GC12K,10,257 +GC17A,69,257 +GC17B,46,257 +GC17C,34,257 +GC17D,48,257 +GC17E,30,257 +GC17F,22,257 +GC17G,33,257 +GC17H,21,257 +GC17J,12,257 +GC17K,9,257 +GC18A,27,257 +GC18B,8,257 +HC20H,67,258 +HC20J,57,258 +HC20K,35,258 +HC20L,19,258 +HC20M,9,258 +HC21D,178,258 +HC21E,25,258 +HC26D,35,258 +HC26E,15,258 +HC26F,5,258 +HC27H,50,258 +HC27J,18,258 +HC27K,52,258 +HC27L,29,258 +HC27M,15,258 +HC27N,5,258 +HC28H,113,258 +HC28J,61,258 +HC28K,44,258 +HC28L,30,258 +HC28M,19,258 +HC29A,25,258 +HC29B,5,258 +HC30D,75,258 +HC30E,26,258 +HC31H,104,258 +HC31J,65,258 +HC31K,115,258 +HC31L,69,258 +HC31M,40,258 +HC31N,29,258 +HC32G,32,258 +HC32H,24,258 +HC32J,8,258 +HC32K,5,258 +HC50A,142,258 +HC50B,44,453 +HC51A,113,258 +HC51B,41,258 +HC51C,31,258 +HC51D,101,453 +HC51E,16,453 +HC52A,133,258 +HC52B,63,258 +HC52C,39,258 +HC52D,34,258 +HC53A,73,258 +HC53B,36,258 +HC53C,24,258 +HC54A,71,258 +HC54B,37,258 +HC54C,29,258 +HC60A,77,258 +HC60B,44,258 +HC60C,22,258 +HC61A,82,258 +HC61B,42,258 +HC61C,22,258 +HC62A,73,258 +HC62B,34,258 +HC62C,17,258 +HC63A,68,258 +HC63B,27,258 +HC63C,12,258 +HC64A,53,258 +HC64B,21,258 +HC64C,10,258 +HC65Z,5,258 +HC70A,61,258 +HC70B,23,258 +HC71Z,31,258 +HC72A,5,258 +HC72B,5,453 +HC72C,5,453 +HD21D,41,259 +HD21E,13,259 +HD21F,5,259 +HD21G,5,259 +HD21H,5,259 +HD23D,50,259 +HD23E,25,259 +HD23F,19,259 +HD23G,15,259 +HD23H,8,259 +HD23J,5,259 +HD24D,65,259 +HD24E,38,259 +HD24F,24,259 +HD24G,13,259 +HD24H,5,259 +HD25D,84,259 +HD25E,49,259 +HD25F,34,259 +HD25G,25,259 +HD25H,17,259 +HD26D,43,259 +HD26E,21,259 +HD26F,8,259 +HD26G,5,259 +HD39D,60,259 +HD39E,40,259 +HD39F,35,259 +HD39G,27,259 +HD39H,14,259 +HD40D,56,259 +HD40E,37,259 +HD40F,25,259 +HD40G,14,259 +HD40H,8,259 +HE11A,97,258 +HE11B,59,258 +HE11C,70,258 +HE11D,53,258 +HE11E,86,258 +HE11F,64,258 +HE11G,48,258 +HE11H,30,258 +HE12A,39,258 +HE12B,7,258 +HE12C,36,258 +HE12D,13,258 +HE12E,5,258 +HE21A,74,258 +HE21B,69,258 +HE21C,36,258 +HE21D,15,258 +HE21E,67,258 +HE21F,37,258 +HE21G,13,258 +HE22A,61,258 +HE22B,38,258 +HE22C,10,258 +HE22D,45,258 +HE22E,26,258 +HE22F,9,258 +HE22G,45,258 +HE22H,24,258 +HE22J,10,258 +HE22K,5,258 +HE31A,36,258 +HE31B,43,258 +HE31C,9,258 +HE31D,56,258 +HE31E,40,258 +HE31F,19,258 +HE31G,5,258 +HE32A,26,258 +HE32B,6,258 +HE32C,15,258 +HE32D,5,258 +HE32E,5,258 +HE41A,6,258 +HE41B,23,258 +HE41C,5,258 +HE41D,5,258 +HE42A,10,258 +HE42B,6,258 +HE42C,8,258 +HE42D,5,258 +HE42E,5,258 +HE51A,64,258 +HE51B,35,258 +HE51C,11,258 +HE51D,63,258 +HE51E,48,258 +HE51F,31,258 +HE51G,18,258 +HE51H,5,258 +HE52A,30,258 +HE52B,6,258 +HE52C,26,258 +HE52D,13,258 +HE52E,5,258 +HE52F,5,258 +HE71A,40,258 +HE71B,33,258 +HE71C,19,258 +HE71D,8,258 +HE72A,15,258 +HE72B,26,258 +HE72C,13,258 +HE72D,5,258 +HE72E,5,258 +HE81A,73,258 +HE81B,42,258 +HE81C,19,258 +HE82A,68,258 +HE82B,32,258 +HE82C,16,258 +HE82D,8,258 +HE83A,43,258 +HE83B,22,258 +HE83C,8,258 +HN12A,125,258 +HN12B,84,258 +HN12C,71,258 +HN12D,53,258 +HN12E,41,258 +HN12F,31,258 +HN13A,107,258 +HN13B,77,258 +HN13C,54,258 +HN13D,40,258 +HN13E,34,258 +HN13F,22,258 +HN13G,31,453 +HN13H,16,453 +HN14A,82,258 +HN14B,30,258 +HN14C,14,258 +HN14D,9,258 +HN14E,6,258 +HN14F,32,453 +HN14G,20,453 +HN14H,22,453 +HN15A,5,258 +HN15B,5,453 +HN16A,5,258 +HN16B,5,453 +HN16C,5,453 +HN22A,107,258 +HN22B,87,258 +HN22C,58,258 +HN22D,51,258 +HN22E,29,258 +HN23A,69,258 +HN23B,41,258 +HN23C,32,258 +HN23D,57,453 +HN23E,11,453 +HN24A,74,258 +HN24B,42,258 +HN24C,14,258 +HN24D,23,453 +HN24E,5,453 +HN24F,21,453 +HN25A,5,258 +HN25B,5,453 +HN26A,5,258 +HN26B,5,453 +HN26C,5,453 +HN32A,105,258 +HN32B,46,258 +HN32C,26,258 +HN33A,75,258 +HN33B,36,258 +HN33C,25,258 +HN33D,16,453 +HN34A,66,258 +HN34B,32,258 +HN34C,18,258 +HN34D,15,453 +HN35A,5,258 +HN35B,5,453 +HN36Z,5,258 +HN42A,36,258 +HN42B,11,258 +HN43A,26,258 +HN43B,10,258 +HN43C,5,453 +HN44A,27,258 +HN44B,8,258 +HN44C,5,453 +HN44D,5,453 +HN45A,5,258 +HN45B,5,453 +HN45C,5,453 +HN46Z,5,258 +HN52A,86,258 +HN52B,56,258 +HN52C,14,258 +HN53A,53,258 +HN53B,39,258 +HN53C,8,258 +HN54A,70,258 +HN54B,24,258 +HN54C,5,258 +HN54D,8,453 +HN55Z,5,258 +HN56Z,5,258 +HN62A,56,258 +HN62B,7,258 +HN63A,44,258 +HN63B,6,258 +HN64A,50,258 +HN64B,9,258 +HN64C,5,453 +HN64D,5,453 +HN65Z,5,258 +HN66Z,5,258 +HN80A,167,258 +HN80B,106,258 +HN80C,63,258 +HN80D,42,258 +HN81A,106,258 +HN81B,73,258 +HN81C,53,258 +HN81D,43,258 +HN81E,31,258 +HN85Z,44,258 +HN86A,52,258 +HN86B,12,258 +HN93Z,27,258 +HT12A,93,258 +HT12B,63,258 +HT12C,46,258 +HT12D,34,258 +HT12E,24,258 +HT13A,92,258 +HT13B,66,258 +HT13C,49,258 +HT13D,36,258 +HT13E,25,258 +HT14A,49,258 +HT14B,28,258 +HT14C,10,258 +HT15Z,5,258 +HT22A,82,258 +HT22B,38,258 +HT22C,26,258 +HT23A,61,258 +HT23B,33,258 +HT23C,21,258 +HT23D,12,258 +HT23E,7,453 +HT24A,47,258 +HT24B,15,258 +HT24C,9,258 +HT24D,6,453 +HT25Z,5,258 +HT32A,62,258 +HT32B,29,258 +HT32C,15,258 +HT33A,53,258 +HT33B,26,258 +HT33C,15,258 +HT33D,10,258 +HT33E,6,453 +HT34A,61,258 +HT34B,22,258 +HT34C,12,258 +HT34D,9,258 +HT34E,5,453 +HT35Z,5,258 +HT42A,13,258 +HT42B,5,258 +HT43A,30,258 +HT43B,6,258 +HT43C,5,258 +HT43D,5,453 +HT43E,5,453 +HT44A,31,258 +HT44B,5,258 +HT44C,5,258 +HT44D,5,453 +HT44E,5,453 +HT45Z,5,258 +HT52A,59,258 +HT52B,28,258 +HT52C,14,258 +HT53A,57,258 +HT53B,20,258 +HT53C,9,258 +HT53D,5,258 +HT53E,5,453 +HT54A,40,258 +HT54B,10,258 +HT54C,5,258 +HT54D,5,258 +HT55Z,5,258 +HT62A,43,258 +HT62B,6,258 +HT63A,45,258 +HT63B,15,258 +HT63C,6,258 +HT63D,5,258 +HT63E,5,453 +HT63F,5,453 +HT64A,9,258 +HT64B,5,258 +HT64C,5,453 +HT64D,5,453 +HT65Z,5,258 +HT81A,97,258 +HT81B,69,258 +HT81C,48,258 +HT81D,30,258 +HT86A,56,258 +HT86B,32,258 +HT86C,17,258 +JA12D,51,253 +JA12E,24,253 +JA12F,16,253 +JA12G,34,253 +JA12H,20,253 +JA12J,13,253 +JA12K,8,253 +JA12L,5,253 +JA13A,11,253 +JA13B,10,253 +JA13C,5,253 +JA20D,47,253 +JA20E,17,253 +JA20F,9,253 +JA21A,22,253 +JA21B,13,253 +JA30Z,18,253 +JA31Z,15,253 +JA32Z,25,253 +JA33Z,19,253 +JA34Z,124,253 +JA35Z,10,253 +JA36Z,13,253 +JA37Z,30,253 +JA38A,39,253 +JA38B,17,253 +JA38C,5,253 +JA39Z,5,253 +JA40Z,5,253 +JA41Z,5,253 +JA42Z,11,253 +JA43A,22,253 +JA43B,9,253 +JA44Z,5,253 +JA45Z,5,253 +JC40Z,84,253 +JC41Z,50,253 +JC42A,5,253 +JC42B,5,253 +JC43A,5,253 +JC43B,5,253 +JC44Z,5,253 +JC45A,5,253 +JC45B,5,253 +JC46Z,5,253 +JC47A,5,253 +JC47B,5,253 +JD07A,80,253 +JD07B,39,253 +JD07C,23,253 +JD07D,10,253 +JD07E,75,253 +JD07F,46,253 +JD07G,31,253 +JD07H,21,253 +JD07J,10,253 +JD07K,5,253 +KA03C,47,243 +KA03D,16,243 +KA04A,53,243 +KA04B,27,243 +KA05C,19,243 +KA05D,5,243 +KA06C,42,243 +KA06D,14,243 +KA06E,8,243 +KA07A,45,243 +KA07B,10,243 +KA07C,5,243 +KA08A,21,243 +KA08B,9,243 +KA08C,5,243 +KA09C,70,243 +KA09D,27,243 +KA09E,13,243 +KB01C,27,243 +KB01D,9,243 +KB01E,5,243 +KB01F,5,243 +KB02G,31,243 +KB02H,16,243 +KB02J,6,243 +KB02K,5,243 +KB03C,41,243 +KB03D,22,243 +KB03E,15,243 +KB04Z,10,243 +KC04A,29,243 +KC04B,5,243 +KC05G,45,243 +KC05H,22,243 +KC05J,33,243 +KC05K,19,243 +KC05L,11,243 +KC05M,8,243 +KC05N,5,243 +LA04H,87,239 +LA04J,54,239 +LA04K,41,239 +LA04L,27,239 +LA04M,13,239 +LA04N,68,239 +LA04P,41,239 +LA04Q,25,239 +LA04R,14,239 +LA04S,8,239 +LA05Z,5,239 +LA07H,70,239 +LA07J,40,239 +LA07K,24,239 +LA07L,53,239 +LA07M,34,239 +LA07N,20,239 +LA07P,11,239 +LA08G,60,239 +LA08H,29,239 +LA08J,17,239 +LA08K,57,239 +LA08L,33,239 +LA08M,22,239 +LA08N,14,239 +LA08P,8,239 +LA09J,54,239 +LA09K,24,239 +LA09L,12,239 +LA09M,40,239 +LA09N,23,239 +LA09P,14,239 +LA09Q,8,239 +LA97A,5,0 +LA97B,5,- +LB06H,55,239 +LB06J,33,239 +LB06K,21,239 +LB06L,13,239 +LB06M,15,239 +LB06N,53,239 +LB06P,34,239 +LB06Q,22,239 +LB06R,11,239 +LB06S,8,239 +LB09C,5,461 +LB09D,5,239 +LB10B,38,461 +LB10C,40,239 +LB10D,17,239 +LB12Z,9,239 +LB13C,64,239 +LB13D,28,239 +LB13E,21,239 +LB13F,14,239 +LB14Z,5,239 +LB15D,5,461 +LB15E,5,239 +LB16D,34,239 +LB16E,12,239 +LB16F,7,239 +LB16G,21,239 +LB16H,10,239 +LB16J,5,239 +LB16K,5,239 +LB17Z,5,239 +LB18Z,5,239 +LB19C,31,239 +LB19D,7,239 +LB19E,22,239 +LB19F,8,239 +LB19G,5,239 +LB20C,23,239 +LB20D,10,239 +LB20E,21,239 +LB20F,5,239 +LB20G,5,239 +LB21A,39,239 +LB21B,16,239 +LB22Z,5,239 +LB25D,79,239 +LB25E,25,239 +LB25F,15,239 +LB26A,29,239 +LB26B,6,239 +LB28C,16,239 +LB28D,7,239 +LB28E,15,239 +LB28F,6,239 +LB28G,5,239 +LB29A,5,239 +LB29C,9,461 +LB29D,30,461 +LB33Z,5,239 +LB35C,26,239 +LB35D,7,239 +LB35E,20,239 +LB35F,10,239 +LB35G,5,239 +LB35H,5,239 +LB36Z,5,239 +LB37C,14,239 +LB37D,8,239 +LB37E,5,239 +LB38C,29,239 +LB38D,12,239 +LB38E,7,239 +LB38F,19,239 +LB38G,8,239 +LB38H,5,239 +LB39C,83,239 +LB39D,31,239 +LB40C,18,239 +LB40D,5,239 +LB40E,14,239 +LB40F,5,239 +LB40G,5,239 +LB42A,5,239 +LB42D,5,461 +LB43Z,5,239 +LB47Z,6,239 +LB48Z,14,239 +LB49Z,33,239 +LB50Z,53,239 +LB51A,215,239 +LB51B,5,239 +LB52A,43,239 +LB52B,5,239 +LB53B,5,461 +LB53C,17,239 +LB53D,5,239 +LB54A,5,239 +LB54C,5,461 +LB54D,5,461 +LB55A,5,239 +LB55B,5,461 +LB56A,5,239 +LB56C,5,461 +LB56D,5,461 +LB57C,12,239 +LB57D,5,239 +LB58C,20,239 +LB58D,5,239 +LB59Z,7,239 +LB60C,63,239 +LB60D,35,239 +LB60E,26,239 +LB60F,18,239 +LB61C,64,239 +LB61D,42,239 +LB61E,29,239 +LB61F,19,239 +LB61G,17,239 +LB62C,50,239 +LB62D,16,239 +LB63C,28,461 +LB63D,15,461 +LB64C,56,239 +LB64D,15,239 +LB64E,5,239 +LB65C,35,239 +LB65D,10,239 +LB65E,5,239 +LB66Z,7,461 +LB67C,80,239 +LB67D,42,239 +LB68A,45,239 +LB68B,16,239 +LB69Z,13,239 +LB70C,47,239 +LB70D,13,239 +LB71Z,169,239 +LB72A,5,239 +LB72B,5,461 +LB73Z,5,239 +LB74Z,14,239 +LB75A,60,239 +LB75B,19,239 +LB76Z,5,239 +LB77Z,5,239 +LB78Z,5,239 +LB79Z,5,239 +LB80Z,5,239 +MA01Z,16,336 +MA02A,43,336 +MA02B,16,336 +MA02C,13,336 +MA03C,22,336 +MA03D,6,336 +MA04C,21,336 +MA04D,5,336 +MA06A,50,336 +MA06B,22,336 +MA06C,10,336 +MA07E,45,336 +MA07F,16,336 +MA07G,9,336 +MA08A,6,336 +MA08B,5,336 +MA09Z,6,336 +MA10Z,5,336 +MA11Z,10,336 +MA12Z,5,336 +MA17C,5,336 +MA17D,5,336 +MA18C,5,336 +MA18D,5,336 +MA19A,5,336 +MA19B,5,336 +MA20Z,5,336 +MA22Z,5,336 +MA23Z,5,336 +MA24Z,5,336 +MA25Z,5,336 +MA26A,67,336 +MA26B,22,336 +MA26C,18,336 +MA27Z,5,336 +MA28Z,15,336 +MA29Z,12,336 +MA30Z,5,336 +MA31Z,5,336 +MA32Z,5,336 +MA33Z,5,336 +MA34Z,5,336 +MA35Z,5,336 +MA36Z,5,336 +MA37Z,5,336 +MA38Z,5,336 +MA39Z,5,336 +MA40Z,5,336 +MB05C,54,336 +MB05D,34,336 +MB05E,22,336 +MB05F,15,336 +MB05G,43,336 +MB05H,29,336 +MB05J,22,336 +MB05K,11,336 +MB05L,8,336 +MB08A,5,336 +MB08B,5,336 +MB09A,38,336 +MB09B,13,336 +MB09C,7,336 +MB09D,19,336 +MB09E,8,336 +MB09F,5,336 +PB03Z,5,0 +PB04A,82,461 +PB04B,29,461 +PB04C,10,461 +PB04D,6,461 +PB05A,96,461 +PB05B,30,461 +PB05C,5,461 +PB06A,76,461 +PB06B,24,461 +PB06C,13,461 +PB06D,10,461 +PB06E,7,461 +PB06F,5,461 +PB06G,43,461 +PB06H,16,461 +PB06J,9,461 +PB06K,8,461 +PB06L,5,461 +PB06M,5,461 +PC63A,10,424 +PC63B,5,424 +PC63C,5,424 +PC63D,5,424 +PD11A,5,424 +PD11B,5,424 +PD11C,5,424 +PD12A,6,424 +PD12B,5,424 +PD12C,5,424 +PD14A,42,424 +PD14B,22,424 +PD14C,14,424 +PD14D,8,424 +PD14E,5,424 +PD14F,5,424 +PD15A,20,424 +PD15B,9,424 +PD15C,8,424 +PD15D,5,424 +PD65A,8,424 +PD65B,5,424 +PD65C,5,424 +PD65D,5,424 +PE23A,68,424 +PE23B,35,424 +PE23C,20,424 +PE23D,14,424 +PE23E,8,424 +PE23F,5,424 +PE24A,5,424 +PE24B,5,424 +PE24C,5,424 +PE62A,5,424 +PE62B,5,424 +PE62C,5,424 +PF21A,5,424 +PF21B,5,424 +PF25A,35,424 +PF25B,14,424 +PF25C,10,424 +PF25D,8,424 +PF25E,5,424 +PF26A,10,424 +PF26B,5,424 +PF26C,5,424 +PF27A,15,424 +PF27B,13,424 +PF28A,14,424 +PF28B,8,424 +PF28C,5,424 +PF28D,5,424 +PF28E,5,424 +PG71A,16,424 +PG71B,9,424 +PG71C,8,424 +PH34A,13,424 +PH34B,5,424 +PH34C,5,424 +PH34D,5,424 +PJ35A,10,424 +PJ35B,5,424 +PJ35C,5,424 +PJ35D,5,424 +PJ66A,5,424 +PJ66B,5,424 +PJ66C,5,424 +PK36A,19,424 +PK36B,5,424 +PK36C,5,424 +PK67A,6,424 +PK67B,6,424 +PK68A,6,424 +PK68B,5,424 +PK68C,5,424 +PK72A,32,424 +PK72B,9,424 +PK72C,8,424 +PL38A,15,424 +PL38B,9,424 +PL38C,5,424 +PL69A,9,424 +PL69B,6,424 +PL69C,8,424 +PL70A,10,424 +PL70B,5,424 +PL70C,5,424 +PL70D,5,424 +PM40A,30,424 +PM40B,14,424 +PM40C,11,424 +PM41Z,26,424 +PM42A,11,424 +PM42B,6,424 +PM43A,31,424 +PM43B,12,424 +PM43C,11,424 +PM44Z,5,424 +PM45A,49,424 +PM45B,13,424 +PM45C,10,424 +PM45D,7,424 +PN46A,5,424 +PN46B,5,424 +PN47A,14,424 +PN47B,6,424 +PN48A,14,424 +PN48B,8,424 +PN48C,5,424 +PN49A,5,424 +PN49B,5,424 +PP64A,8,424 +PP64B,5,424 +PQ01A,23,424 +PQ01B,5,424 +PR01A,65,424 +PR01B,15,424 +PR01C,8,424 +PR01D,5,424 +PR01E,5,424 +PR02A,11,424 +PR02B,5,424 +PR02C,5,424 +PR03A,5,424 +PR03B,5,424 +PR03C,5,424 +PR04A,5,424 +PR04B,5,424 +PR04C,5,424 +PR06A,11,424 +PR06B,6,424 +PR06C,5,424 +PR07A,5,424 +PR07B,5,424 +PV08A,5,424 +PV08B,5,424 +PV31A,24,424 +PV31B,16,424 +PV32A,5,424 +PV32B,5,424 +PV32C,5,424 +PW01A,5,424 +PW01B,5,424 +PW01C,5,424 +PW16A,33,424 +PW16B,19,424 +PW16C,11,424 +PW16D,9,424 +PW16E,8,424 +PW17D,5,424 +PW17E,11,424 +PW17F,8,424 +PW17G,5,424 +PW20A,8,424 +PW20B,5,424 +PW20C,5,424 +PX01A,50,424 +PX01B,16,424 +PX01C,8,424 +PX01D,5,424 +PX02A,25,424 +PX02B,6,424 +PX02C,5,424 +PX03A,26,424 +PX03B,5,424 +PX04A,8,424 +PX04B,8,424 +PX05A,6,424 +PX05B,5,424 +PX05C,5,424 +PX06A,6,424 +PX06B,5,424 +PX07A,10,424 +PX07B,6,424 +PX07C,5,424 +PX08A,24,424 +PX08B,5,424 +PX08C,5,424 +PX09A,39,424 +PX09B,11,424 +PX09C,5,424 +PX10A,19,424 +PX10B,5,424 +PX22A,5,424 +PX22B,5,424 +PX29A,5,424 +PX29B,5,424 +PX29C,5,424 +PX30A,14,424 +PX30B,5,424 +PX30C,5,424 +PX50A,5,424 +PX50B,5,424 +PX50C,5,424 +PX51Z,5,424 +PX54Z,5,424 +PX55Z,17,424 +PX56A,5,424 +PX56B,5,424 +PX57A,9,424 +PX57B,6,424 +PX57C,5,424 +RD97Z,5,- +RN97Z,5,- +SA01G,39,305 +SA01H,15,305 +SA01J,9,305 +SA01K,8,305 +SA02G,31,305 +SA02H,6,305 +SA02J,5,305 +SA03G,21,305 +SA03H,11,305 +SA04G,49,305 +SA04H,22,305 +SA04J,11,305 +SA04K,5,305 +SA04L,5,305 +SA05G,26,305 +SA05H,11,305 +SA05J,5,305 +SA06G,43,305 +SA06H,16,305 +SA06J,10,305 +SA06K,5,305 +SA07G,41,305 +SA07H,13,305 +SA07J,5,305 +SA08G,25,305 +SA08H,13,305 +SA08J,5,305 +SA09G,42,305 +SA09H,17,305 +SA09J,9,305 +SA09K,5,305 +SA09L,5,305 +SA11Z,5,305 +SA12G,30,305 +SA12H,14,305 +SA12J,10,305 +SA12K,5,305 +SA14Z,57,305 +SA15Z,68,305 +SA16Z,73,305 +SA17G,35,305 +SA17H,8,305 +SA18Z,25,305 +SA24G,73,305 +SA24H,34,305 +SA24J,15,305 +SA25G,75,305 +SA25H,67,305 +SA25J,54,305 +SA25K,47,305 +SA25L,26,305 +SA25M,15,305 +SA30A,63,305 +SA30B,34,305 +SA30C,25,305 +SA30D,18,305 +SA30E,8,305 +SA31A,77,305 +SA31B,47,305 +SA31C,34,305 +SA31D,22,305 +SA31E,19,305 +SA31F,15,305 +SA32A,46,305 +SA32B,21,305 +SA32C,21,305 +SA32D,10,305 +SA33Z,5,305 +SA35A,51,305 +SA35B,18,305 +SA35C,15,305 +SA35D,11,305 +SA35E,9,305 +SA36A,24,305 +SA36B,15,305 +SA36C,8,305 +SA37Z,5,305 +SA41Z,5,305 +SA42Z,5,305 +SA43Z,40,305 +SA44A,5,305 +SA44B,5,305 +SA45A,5,305 +SA45B,5,305 +SB97Z,5,0 +SC97Z,5,0 +UZ01Z,5,0 +VA10A,5,250 +VA10B,11,250 +VA10C,24,250 +VA10D,54,250 +VA11A,10,250 +VA11B,19,250 +VA11C,32,250 +VA11D,60,250 +VA12A,16,250 +VA12B,28,250 +VA12C,36,250 +VA12D,64,250 +VA13A,16,250 +VA13B,22,250 +VA13C,32,250 +VA13D,67,250 +VA14A,17,250 +VA14B,26,250 +VA14C,34,250 +VA14D,73,250 +VA15A,34,250 +VA15B,37,250 +VA15C,40,250 +VA15D,94,250 +WH02Z,5,239 +WH03A,20,239 +WH03B,5,239 +WH04A,39,239 +WH04B,27,239 +WH04C,15,239 +WH04D,8,239 +WH04E,5,239 +WH05Z,5,239 +WH06Z,5,239 +WH07A,50,239 +WH07B,23,239 +WH07C,29,239 +WH07D,12,239 +WH07E,34,239 +WH07F,16,239 +WH07G,5,239 +WH08A,15,239 +WH08B,5,239 +WH09A,69,239 +WH09B,63,239 +WH09C,38,239 +WH09D,69,239 +WH09E,49,239 +WH09F,31,239 +WH09G,13,239 +WH10A,15,239 +WH10B,5,239 +WH11A,29,239 +WH11B,5,239 +WH12A,10,239 +WH12B,5,239 +WH13A,21,239 +WH13B,5,239 +WH13C,5,239 +WH14A,50,239 +WH14B,25,239 +WH14C,29,239 +WH14D,11,239 +WH15Z,5,239 +WH16A,5,239 +WH16B,5,239 +WH17A,47,239 +WH17B,10,239 +WH17C,5,239 +WH18A,12,239 +WH18B,5,239 +WH19Z,5,239 +WH20A,30,239 +WH20B,9,239 +WH20C,5,239 +WH51Z,5,239 +WH52A,51,239 +WH52B,5,239 +WH53A,20,239 +WH53B,5,239 +WH54A,58,239 +WH54B,23,239 +WJ01A,98,239 +WJ01B,46,239 +WJ01C,53,239 +WJ01D,23,239 +WJ01E,11,239 +WJ02A,85,239 +WJ02B,44,239 +WJ02C,27,239 +WJ02D,15,239 +WJ02E,6,239 +WJ03A,62,239 +WJ03B,42,239 +WJ03C,12,239 +WJ03D,28,239 +WJ03E,16,239 +WJ03F,10,239 +WJ03G,5,239 +WJ04Z,8,239 +WJ06A,82,239 +WJ06B,59,239 +WJ06C,42,239 +WJ06D,52,239 +WJ06E,39,239 +WJ06F,28,239 +WJ06G,38,239 +WJ06H,23,239 +WJ06J,15,239 +WJ07A,42,239 +WJ07B,23,239 +WJ07C,9,239 +WJ07D,5,239 +WJ10A,65,239 +WJ10B,47,239 +WJ10C,26,239 +WJ10D,22,239 +WJ10E,14,239 +WJ10F,11,239 +WJ11Z,5,239 +YA01Z,46,266 +YA02A,67,266 +YA02B,24,266 +YA03A,68,266 +YA03B,37,266 +YA03C,25,266 +YA04Z,44,266 +YA10Z,38,266 +YA11Z,5,266 +YA12Z,26,266 +YA13Z,28,266 +YD01Z,9,266 +YD02Z,5,266 +YD03Z,5,266 +YD04Z,5,266 +YD05Z,5,266 +YF01A,5,266 +YF01B,5,266 +YF02Z,5,266 +YF03A,105,266 +YF03B,56,266 +YF04A,66,266 +YF04B,29,266 +YF04C,18,266 +YG01A,31,266 +YG01B,6,266 +YG02Z,63,266 +YG03A,60,266 +YG03B,44,266 +YG04A,48,266 +YG04B,26,266 +YG05A,48,266 +YG05B,28,266 +YG06Z,14,266 +YG07A,64,266 +YG07B,30,266 +YG10Z,5,266 +YG11A,5,266 +YG11B,5,266 +YG12Z,5,266 +YH01Z,59,266 +YH02Z,52,266 +YH03Z,49,266 +YH10Z,5,266 +YH20Z,30,266 +YH30Z,5,266 +YH31Z,5,266 +YH32Z,5,266 +YJ01Z,5,266 +YJ02Z,5,266 +YJ03Z,5,266 +YJ04Z,5,266 +YJ05Z,5,266 +YJ06Z,5,266 +YJ07Z,5,266 +YJ08Z,5,266 +YJ09Z,5,266 +YJ10Z,5,266 +YJ11Z,5,266 +YJ12Z,5,266 +YL01Z,5,266 +YL02Z,14,266 +YL10Z,5,266 +YL11Z,5,266 +YL12Z,5,266 +YL20A,5,266 +YL20B,5,266 +YL21Z,5,266 +YQ01A,57,266 +YQ01B,28,266 +YQ02Z,47,266 +YQ03A,51,266 +YQ03B,25,266 +YQ04A,53,266 +YQ04B,37,266 +YQ05A,47,266 +YQ05B,20,266 +YQ10A,77,266 +YQ10B,39,266 +YQ10C,32,266 +YQ10D,23,266 +YQ11A,61,266 +YQ11B,34,266 +YQ11C,29,266 +YQ12A,78,266 +YQ12B,42,266 +YQ12C,30,266 +YQ12D,21,266 +YQ13A,65,266 +YQ13B,32,266 +YQ14Z,5,266 +YQ15Z,5,266 +YQ16Z,5,266 +YQ20A,138,266 +YQ20B,74,266 +YQ21A,116,266 +YQ21B,57,266 +YQ22A,96,266 +YQ22B,48,266 +YQ23A,85,266 +YQ23B,47,266 +YQ24A,100,266 +YQ24B,52,266 +YQ25A,70,266 +YQ25B,42,266 +YQ26A,51,266 +YQ26B,28,266 +YQ26C,21,266 +YQ30Z,21,266 +YQ31A,35,266 +YQ31B,13,266 +YQ32A,37,266 +YQ32B,6,266 +YQ40Z,36,266 +YQ41A,30,266 +YQ41B,10,266 +YQ42Z,5,266 +YQ50A,75,266 +YQ50B,44,266 +YQ50C,27,266 +YQ50D,16,266 +YQ50E,8,266 +YQ50F,5,266 +YQ51A,51,266 +YQ51B,25,266 +YQ51C,15,266 +YQ51D,5,266 +YQ51E,5,266 +YR01Z,48,266 +YR02Z,45,266 +YR03Z,29,266 +YR04Z,34,266 +YR10A,55,266 +YR10B,25,266 +YR10C,17,266 +YR11A,66,266 +YR11B,31,266 +YR11C,26,266 +YR11D,14,266 +YR12Z,35,266 +YR13Z,40,266 +YR14A,47,266 +YR14B,14,266 +YR15A,50,266 +YR15B,22,266 +YR15C,13,266 +YR16A,59,266 +YR16B,22,266 +YR22A,82,266 +YR22B,29,266 +YR22C,18,266 +YR23A,43,266 +YR23B,13,266 +YR24C,61,266 +YR24D,19,266 +YR25Z,5,266 +YR26Z,5,266 +YR30Z,5,266 +YR31Z,5,266 +YR32Z,5,266 +YR33Z,5,266 +YR40A,11,266 +YR40B,5,266 +YR41A,5,266 +YR41B,5,266 +YR42A,5,266 +YR42B,5,266 +YR43A,5,266 +YR43B,5,266 +YR44A,5,266 +YR44B,5,266 +YR45Z,5,266 +YR46Z,5,266 +YR47Z,5,266 +YR48Z,5,266 +YR50Z,55,266 +YR51Z,51,266 +YR52A,45,266 +YR52B,21,266 +YR53Z,46,266 +YR54A,60,266 +YR54B,21,266 +YR54C,15,266 +YR55Z,6,266 +YR56Z,5,266 +YR57Z,23,266 diff --git a/src/nhp/data/raw_data/mitigators/reference_data/hrgs.json b/src/nhp/data/raw_data/mitigators/reference_data/hrgs.json new file mode 100644 index 0000000..f5026a8 --- /dev/null +++ b/src/nhp/data/raw_data/mitigators/reference_data/hrgs.json @@ -0,0 +1,6002 @@ +{ + "A": { + "description": "Nervous System", + "subchapters": { + "A": { + "description": "Nervous System Procedures and Disorders", + "hrgs": { + "AA01Z": "Intracranial Procedures for Trauma with Major Diagnosis", + "AA02A": "Intracranial Procedures for Trauma with Diagnosis of Intracranial Injury with CC", + "AA02B": "Intracranial Procedures for Trauma with Diagnosis of Intracranial Injury without CC", + "AA02C": "Intracranial Procedures for Trauma with Diagnosis of Intracranial Injury, with CC Score 10+", + "AA02D": "Intracranial Procedures for Trauma with Diagnosis of Intracranial Injury, with CC Score 6-9", + "AA02E": "Intracranial Procedures for Trauma with Diagnosis of Intracranial Injury, with CC Score 3-5", + "AA02F": "Intracranial Procedures for Trauma with Diagnosis of Intracranial Injury, with CC Score 0-2", + "AA02Z": "Intracranial Procedures for Trauma with Intermediate Diagnosis", + "AA03A": "Intracranial Procedures for Trauma with Diagnosis of Head Injury or Skull Fracture, with CC", + "AA03B": "Intracranial Procedures for Trauma with Diagnosis of Head Injury or Skull Fracture, without CC", + "AA03C": "Intracranial Procedures for Trauma with Diagnosis of Head Injury or Skull Fracture, with CC Score 4+", + "AA03D": "Intracranial Procedures for Trauma with Diagnosis of Head Injury or Skull Fracture, with CC Score 0-3", + "AA03Z": "Intracranial Procedures for Trauma with Minor Diagnosis", + "AA04A": "Major Intracranial Procedures Except Trauma with Non-Transient Stroke or Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC", + "AA04B": "Major Intracranial Procedures Except Trauma with Non-Transient Stroke or Cerebrovascular Accident, Nervous System Infections or Encephalopathy, without CC", + "AA04C": "Major Intracranial Procedures Except Trauma, with Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC Score 6+", + "AA04D": "Major Intracranial Procedures Except Trauma, with Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC Score 0-5", + "AA04Z": "Intracranial Procedures Except Trauma with Non-Transient Stroke or Cerebrovascular Accident, Nervous system infections or Encephalopathy-category 4", + "AA05A": "Major Intracranial Procedures Except Trauma with Haemorrhagic Cerebrovascular Disorders with CC", + "AA05B": "Major Intracranial Procedures Except Trauma with Haemorrhagic Cerebrovascular Disorders without CC", + "AA05C": "Major Intracranial Procedures Except Trauma, with Haemorrhagic Cerebrovascular Disorders, with CC Score 4+", + "AA05D": "Major Intracranial Procedures Except Trauma, with Haemorrhagic Cerebrovascular Disorders, with CC Score 0-3", + "AA05Z": "Intracranial Procedures Except Trauma with Haemorrhagic Cerebrovascular Disorders - category 4", + "AA06A": "Major Intracranial Procedures Except Trauma with Brain Tumours or Cerebral Cysts, with CC", + "AA06B": "Major Intracranial Procedures Except Trauma with Brain Tumours or Cerebral Cysts, without CC", + "AA06C": "Major Intracranial Procedures Except Trauma, with Brain Tumours or Cerebral Cysts, with CC Score 9+", + "AA06D": "Major Intracranial Procedures Except Trauma, with Brain Tumours or Cerebral Cysts, with CC Score 6-8", + "AA06E": "Major Intracranial Procedures Except Trauma, with Brain Tumours or Cerebral Cysts, with CC Score 3-5", + "AA06F": "Major Intracranial Procedures Except Trauma, with Brain Tumours or Cerebral Cysts, with CC Score 0-2", + "AA06Z": "Intracranial Procedures Except Trauma with Brain Tumours or Cerebral Cysts - category 4", + "AA07A": "Major Intracranial Procedures Except Trauma with Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC", + "AA07B": "Major Intracranial Procedures Except Trauma with Cerebral Degenerations or Miscellaneous Disorders of Nervous System, without CC", + "AA07C": "Major Intracranial Procedures Except Trauma, with Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC Score 2+", + "AA07D": "Major Intracranial Procedures Except Trauma, with Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC Score 0-1", + "AA07Z": "Intracranial Procedures Except Trauma with Cerebral Degenerations or Miscellaneous Disorders of Nervous System - category 4", + "AA08A": "Major Intracranial Procedures Except Trauma with Muscular, Balance, Cranial or Peripheral Nerve Disorders or Epilepsy, with CC", + "AA08B": "Major Intracranial Procedures Except Trauma with Muscular, Balance, Cranial or Peripheral Nerve Disorders or Epilepsy, without CC", + "AA08C": "Major Intracranial Procedures Except Trauma, with Muscular, Balance, Cranial or Peripheral Nerve Disorders, or Epilepsy, with CC Score 2+", + "AA08D": "Major Intracranial Procedures Except Trauma, with Muscular, Balance, Cranial or Peripheral Nerve Disorders, or Epilepsy, with CC Score 0-1", + "AA08Z": "Intracranial Procedures Except Trauma with Muscular, Balance, Cranial or Peripheral Nerve disorders or Epilepsy - category 4", + "AA09A": "Major Intracranial Procedures Except Trauma with Other Diagnoses with CC", + "AA09B": "Major Intracranial Procedures Except Trauma with Other Diagnoses without CC", + "AA09C": "Major Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 6+", + "AA09D": "Major Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 3-5", + "AA09E": "Major Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 0-2", + "AA09Z": "Intracranial Procedures Except Trauma with Other Diagnoses - category 4", + "AA10A": "Intermediate Intracranial Procedures Except Trauma with Non-Transient Stroke or Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC", + "AA10B": "Intermediate Intracranial Procedures Except Trauma with Non-Transient Stroke or Cerebrovascular Accident, Nervous System Infections or Encephalopathy, without CC", + "AA10Z": "Intermediate Intracranial Procedures Except Trauma, with Cerebrovascular Accident, Nervous System Infections or Encephalopathy", + "AA11A": "Intermediate Intracranial Procedures Except Trauma with Haemorrhagic Cerebrovascular Disorders with CC", + "AA11B": "Intermediate Intracranial Procedures Except Trauma with Haemorrhagic Cerebrovascular Disorders without CC", + "AA11Z": "Intermediate Intracranial Procedures Except Trauma, with Haemorrhagic Cerebrovascular Disorders", + "AA12A": "Intermediate Intracranial Procedures Except Trauma with Brain Tumours or Cerebral Cysts, with CC", + "AA12B": "Intermediate Intracranial Procedures Except Trauma with Brain Tumours or Cerebral Cysts, without CC", + "AA12C": "Intermediate Intracranial Procedures Except Trauma, with Brain Tumours or Cerebral Cysts, with CC Score 6+", + "AA12D": "Intermediate Intracranial Procedures Except Trauma, with Brain Tumours or Cerebral Cysts, with CC Score 3-5", + "AA12E": "Intermediate Intracranial Procedures Except Trauma, with Brain Tumours or Cerebral Cysts, with CC Score 0-2", + "AA12Z": "Intracranial Procedures Except Trauma with Brain Tumours or Cerebral Cysts - category 3", + "AA13A": "Intermediate Intracranial Procedures Except Trauma with Cerebral Degenerations or Miscellaneous Disorders of Nervous System with CC", + "AA13B": "Intermediate Intracranial Procedures Except Trauma with Cerebral Degenerations or Miscellaneous Disorders of Nervous System without CC", + "AA13C": "Intermediate Intracranial Procedures Except Trauma, with Cerebral Degenerations or Miscellaneous Disorders of Nervous System with CC Score 3+", + "AA13D": "Intermediate Intracranial Procedures Except Trauma, with Cerebral Degenerations or Miscellaneous Disorders of Nervous System with CC Score 0-2", + "AA13Z": "Intracranial Procedures Except Trauma with Cerebral Degenerations or Miscellaneous Disorders of Nervous System -category 3", + "AA14A": "Intermediate Intracranial Procedures Except Trauma with Muscular, Balance, Cranial or Peripheral Nerve Disorders or Epilepsy, with CC", + "AA14B": "Intermediate Intracranial Procedures Except Trauma with Muscular, Balance, Cranial or Peripheral Nerve Disorders or Epilepsy, without CC", + "AA14Z": "Intermediate Intracranial Procedures Except Trauma, with Muscular, Balance, Cranial or Peripheral Nerve Disorders, or Epilepsy", + "AA15A": "Intermediate Intracranial Procedures Except Trauma with Other Diagnoses with CC", + "AA15B": "Intermediate Intracranial Procedures Except Trauma with Other Diagnoses without CC", + "AA15C": "Intermediate Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 4+", + "AA15D": "Intermediate Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 2-3", + "AA15E": "Intermediate Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 0-1", + "AA15Z": "Intracranial Procedures Except Trauma with Other Diagnoses - category 3", + "AA16A": "Minor Intracranial Procedures Except Trauma with Non-Transient Stroke or Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC", + "AA16B": "Minor Intracranial Procedures Except Trauma with Non-Transient Stroke or Cerebrovascular Accident, Nervous System Infections or Encephalopathy, without CC", + "AA16Z": "Minor Intracranial Procedures Except Trauma, with Cerebrovascular Accident, Nervous System Infections or Encephalopathy", + "AA17A": "Minor Intracranial Procedures Except Trauma with Haemorrhagic Cerebrovascular Disorders with CC", + "AA17B": "Minor Intracranial Procedures Except Trauma with Haemorrhagic Cerebrovascular Disorders without CC", + "AA17C": "Minor Intracranial Procedures Except Trauma, with Haemorrhagic Cerebrovascular Disorders, with CC Score 5+", + "AA17D": "Minor Intracranial Procedures Except Trauma, with Haemorrhagic Cerebrovascular Disorders, with CC Score 0-4", + "AA17Z": "Intracranial Procedures Except Trauma with Haemorrhagic Cerebrovascular Disorders - category 1 or 2", + "AA18A": "Minor Intracranial Procedures Except Trauma with Brain Tumours or Cerebral Cysts, with CC", + "AA18B": "Minor Intracranial Procedures Except Trauma with Brain Tumours or Cerebral Cysts, without CC", + "AA18C": "Minor Intracranial Procedures Except Trauma, with Brain Tumours or Cerebral Cysts, with CC Score 3+", + "AA18D": "Minor Intracranial Procedures Except Trauma, with Brain Tumours or Cerebral Cysts, with CC Score 0-2", + "AA18Z": "Intracranial Procedures Except Trauma with Brain Tumours or Cerebral Cysts - category 1 or 2", + "AA19A": "Minor Intracranial Procedures Except Trauma with Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC", + "AA19B": "Minor Intracranial Procedures Except Trauma with Cerebral Degenerations or Miscellaneous Disorders of Nervous System, without CC", + "AA19C": "Minor Intracranial Procedures Except Trauma, with Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC Score 5+", + "AA19D": "Minor Intracranial Procedures Except Trauma, with Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC Score 3-4", + "AA19E": "Minor Intracranial Procedures Except Trauma, with Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC Score 0-2", + "AA19Z": "Intracranial Procedures Except Trauma with Cerebral Degenerations or Miscellaneous Disorders of Nervous System - category 1 or 2", + "AA20A": "Minor Intracranial Procedures Except Trauma with Muscular, Balance, Cranial or Peripheral Nerve Disorders or Epilepsy, with CC", + "AA20B": "Minor Intracranial Procedures Except Trauma with Muscular, Balance, Cranial or Peripheral Nerve Disorders or Epilepsy, without CC", + "AA20C": "Minor Intracranial Procedures Except Trauma, with Muscular, Balance, Cranial or Peripheral Nerve Disorders, or Epilepsy, with CC Score 2+", + "AA20D": "Minor Intracranial Procedures Except Trauma, with Muscular, Balance, Cranial or Peripheral Nerve Disorders, or Epilepsy, with CC Score 0-1", + "AA20Z": "Intracranial Procedures Except Trauma with Muscular, Balance, Cranial or Peripheral Nerve disorders or Epilepsy- category 1 or 2", + "AA21A": "Minor Intracranial Procedures Except Trauma with Other Diagnoses with CC", + "AA21B": "Minor Intracranial Procedures Except Trauma with Other Diagnoses without CC", + "AA21C": "Minor Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 8+", + "AA21D": "Minor Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 5-7", + "AA21E": "Minor Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 3-4", + "AA21F": "Minor Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 1-2", + "AA21G": "Minor Intracranial Procedures Except Trauma, with Other Diagnoses, with CC Score 0", + "AA21Z": "Intracranial Procedures Except Trauma with Other Diagnoses - category 1 or 2", + "AA22A": "Non-Transient Stroke or Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC", + "AA22B": "Non-Transient Stroke or Cerebrovascular Accident, Nervous System Infections or Encephalopathy, without CC", + "AA22C": "Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC Score 14+", + "AA22D": "Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC Score 11-13", + "AA22E": "Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC Score 8-10", + "AA22F": "Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC Score 5-7", + "AA22G": "Cerebrovascular Accident, Nervous System Infections or Encephalopathy, with CC Score 0-4", + "AA22Z": "Non-Transient Stroke or Cerebrovascular Accident, Nervous system infections or Encephalopathy", + "AA23A": "Haemorrhagic Cerebrovascular Disorders with CC", + "AA23B": "Haemorrhagic Cerebrovascular Disorders without CC", + "AA23C": "Haemorrhagic Cerebrovascular Disorders with CC Score 14+", + "AA23D": "Haemorrhagic Cerebrovascular Disorders with CC Score 10-13", + "AA23E": "Haemorrhagic Cerebrovascular Disorders with CC Score 6-9", + "AA23F": "Haemorrhagic Cerebrovascular Disorders with CC Score 3-5", + "AA23G": "Haemorrhagic Cerebrovascular Disorders with CC Score 0-2", + "AA23Z": "Haemorrhagic Cerebrovascular Disorders", + "AA24A": "Brain Tumours or Cerebral Cysts, with CC", + "AA24B": "Brain Tumours or Cerebral Cysts, without CC", + "AA24C": "Brain Tumours or Cerebral Cysts, with CC Score 11+", + "AA24D": "Brain Tumours or Cerebral Cysts, with CC Score 8-10", + "AA24E": "Brain Tumours or Cerebral Cysts, with CC Score 6-7", + "AA24F": "Brain Tumours or Cerebral Cysts, with CC Score 4-5", + "AA24G": "Brain Tumours or Cerebral Cysts, with CC Score 2-3", + "AA24H": "Brain Tumours or Cerebral Cysts, with CC Score 0-1", + "AA24Z": "Brain Tumours or Cerebral Cysts", + "AA25A": "Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC", + "AA25B": "Cerebral Degenerations or Miscellaneous Disorders of Nervous System, without CC", + "AA25C": "Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC Score 14+", + "AA25D": "Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC Score 11-13", + "AA25E": "Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC Score 8-10", + "AA25F": "Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC Score 5-7", + "AA25G": "Cerebral Degenerations or Miscellaneous Disorders of Nervous System, with CC Score 0-4", + "AA25Z": "Cerebral Degenerations or Miscellaneous Disorders of Nervous System", + "AA26A": "Muscular, Balance, Cranial or Peripheral Nerve Disorders, Epilepsy or Head Injury, with CC", + "AA26B": "Muscular, Balance, Cranial or Peripheral Nerve Disorders, Epilepsy or Head Injury, without CC", + "AA26C": "Muscular, Balance, Cranial or Peripheral Nerve Disorders, Epilepsy or Head Injury, with CC Score 15+", + "AA26D": "Muscular, Balance, Cranial or Peripheral Nerve Disorders, Epilepsy or Head Injury, with CC Score 12-14", + "AA26E": "Muscular, Balance, Cranial or Peripheral Nerve Disorders, Epilepsy or Head Injury, with CC Score 9-11", + "AA26F": "Muscular, Balance, Cranial or Peripheral Nerve Disorders, Epilepsy or Head Injury, with CC Score 6-8", + "AA26G": "Muscular, Balance, Cranial or Peripheral Nerve Disorders, Epilepsy or Head Injury, with CC Score 3-5", + "AA26H": "Muscular, Balance, Cranial or Peripheral Nerve Disorders, Epilepsy or Head Injury, with CC Score 0-2", + "AA26Z": "Muscular, Balance, Cranial or Peripheral Nerve disorders; Epilepsy; Head Injury", + "AA27A": "Medical Care of Patients with Alzheimer's Disease with CC", + "AA27B": "Medical Care of Patients with Alzheimer's Disease without CC", + "AA27Z": "Medical Care of Patients with Alzheimer's Disease", + "AA28A": "Motor Neuron Disease with CC", + "AA28B": "Motor Neuron Disease without CC", + "AA28C": "Motor Neuron Disease with CC Score 8+", + "AA28D": "Motor Neuron Disease with CC Score 5-7", + "AA28E": "Motor Neuron Disease with CC Score 2-4", + "AA28F": "Motor Neuron Disease with CC Score 0-1", + "AA28Z": "Motor Neuron Disease", + "AA29A": "Transient Ischaemic Attack with CC", + "AA29B": "Transient Ischaemic Attack without CC", + "AA29C": "Transient Ischaemic Attack with CC Score 11+", + "AA29D": "Transient Ischaemic Attack with CC Score 8-10", + "AA29E": "Transient Ischaemic Attack with CC Score 5-7", + "AA29F": "Transient Ischaemic Attack with CC Score 0-4", + "AA29Z": "Transient Ischaemic Attack", + "AA30A": "Medical Care of Patients with Multiple Sclerosis with CC", + "AA30B": "Medical Care of Patients with Multiple Sclerosis without CC", + "AA30C": "Medical Care of Patients with Multiple Sclerosis, with CC Score 8+", + "AA30D": "Medical Care of Patients with Multiple Sclerosis, with CC Score 5-7", + "AA30E": "Medical Care of Patients with Multiple Sclerosis, with CC Score 2-4", + "AA30F": "Medical Care of Patients with Multiple Sclerosis, with CC Score 0-1", + "AA30Z": "Medical Care of Patients with Multiple Sclerosis", + "AA31A": "Headache, Migraine or Cerebrospinal Fluid Leak, with CC", + "AA31B": "Headache, Migraine or Cerebrospinal Fluid Leak, without CC", + "AA31C": "Headache, Migraine or Cerebrospinal Fluid Leak, with CC Score 11+", + "AA31D": "Headache, Migraine or Cerebrospinal Fluid Leak, with CC Score 7-10", + "AA31E": "Headache, Migraine or Cerebrospinal Fluid Leak, with CC Score 0-6", + "AA31Z": "Headache or Migraine", + "AA32Z": "Neuropsychology Tests", + "AA33C": "Conventional EEG, EMG or Nerve Conduction Studies, 19 years and over", + "AA33D": "Conventional EEG, EMG or Nerve Conduction Studies, 18 years and under", + "AA34C": "Neurophysiological Operations 19 years and over", + "AA34D": "Neurophysiological Operations 18 years and under", + "AA34E": "Other Neurophysiological Operations, 19 years and over", + "AA34F": "Other Neurophysiological Operations, 18 years and under", + "AA35A": "Stroke with CC Score 16+", + "AA35B": "Stroke with CC Score 13-15", + "AA35C": "Stroke with CC Score 10-12", + "AA35D": "Stroke with CC Score 7-9", + "AA35E": "Stroke with CC Score 4-6", + "AA35F": "Stroke with CC Score 0-3", + "AA36Z": "Major Intracranial Procedures Except Trauma, with Stroke", + "AA37Z": "Intermediate Intracranial Procedures Except Trauma, with Stroke", + "AA38Z": "Minor Intracranial Procedures Except Trauma, with Stroke", + "AA39Z": "Long Term EEG Monitoring", + "AA40Z": "Complex Long Term EEG Monitoring", + "AA41Z": "Sleep Studies", + "AA42Z": "Complex Sleep Studies", + "AA43A": "Sleep Disorders, excluding Sleep Apnoea, with CC Score 2+", + "AA43B": "Sleep Disorders, excluding Sleep Apnoea, with CC Score 0-1", + "AA50A": "Very Complex Intracranial Procedures, 19 years and over, with CC Score 12+", + "AA50B": "Very Complex Intracranial Procedures, 19 years and over, with CC Score 6-11", + "AA50C": "Very Complex Intracranial Procedures, 19 years and over, with CC Score 0-5", + "AA50D": "Very Complex Intracranial Procedures, 18 years and under, with CC Score 12+", + "AA50E": "Very Complex Intracranial Procedures, 18 years and under, with CC Score 6-11", + "AA50F": "Very Complex Intracranial Procedures, 18 years and under, with CC Score 0-5", + "AA51A": "Complex Intracranial Procedures, 19 years and over, with CC Score 12+", + "AA51B": "Complex Intracranial Procedures, 19 years and over, with CC Score 8-11", + "AA51C": "Complex Intracranial Procedures, 19 years and over, with CC Score 4-7", + "AA51D": "Complex Intracranial Procedures, 19 years and over, with CC Score 0-3", + "AA51E": "Complex Intracranial Procedures, 18 years and under, with CC Score 8+", + "AA51F": "Complex Intracranial Procedures, 18 years and under, with CC Score 4-7", + "AA51G": "Complex Intracranial Procedures, 18 years and under, with CC Score 0-3", + "AA52A": "Very Major Intracranial Procedures, 19 years and over, with CC Score 12+", + "AA52B": "Very Major Intracranial Procedures, 19 years and over, with CC Score 8-11", + "AA52C": "Very Major Intracranial Procedures, 19 years and over, with CC Score 4-7", + "AA52D": "Very Major Intracranial Procedures, 19 years and over, with CC Score 0-3", + "AA52E": "Very Major Intracranial Procedures, 18 years and under, with CC Score 8+", + "AA52F": "Very Major Intracranial Procedures, 18 years and under, with CC Score 4-7", + "AA52G": "Very Major Intracranial Procedures, 18 years and under, with CC Score 0-3", + "AA53A": "Major Intracranial Procedures, 19 years and over, with CC Score 12+", + "AA53B": "Major Intracranial Procedures, 19 years and over, with CC Score 8-11", + "AA53C": "Major Intracranial Procedures, 19 years and over, with CC Score 4-7", + "AA53D": "Major Intracranial Procedures, 19 years and over, with CC Score 0-3", + "AA53E": "Major Intracranial Procedures, 18 years and under, with CC Score 8+", + "AA53F": "Major Intracranial Procedures, 18 years and under, with CC Score 4-7", + "AA53G": "Major Intracranial Procedures, 18 years and under, with CC Score 0-3", + "AA54A": "Intermediate Intracranial Procedures, 19 years and over, with CC Score 4+", + "AA54B": "Intermediate Intracranial Procedures, 19 years and over, with CC Score 2-3", + "AA54C": "Intermediate Intracranial Procedures, 19 years and over, with CC Score 0-1", + "AA55A": "Minor Intracranial Procedures, 19 years and over, with CC Score 4+", + "AA55B": "Minor Intracranial Procedures, 19 years and over, with CC Score 2-3", + "AA55C": "Minor Intracranial Procedures, 19 years and over, with CC Score 0-1", + "AA56A": "Minor or Intermediate, Intracranial Procedures, 18 years and under, with CC Score 4+", + "AA56B": "Minor or Intermediate, Intracranial Procedures, 18 years and under, with CC Score 0-3", + "AA57A": "Minimal Intracranial Procedures, 19 years and over", + "AA57B": "Minimal Intracranial Procedures, 18 years and under", + "AA60A": "Insertion of Neurostimulator for Treatment of Neurological Conditions, 19 years and over", + "AA60B": "Insertion of Neurostimulator for Treatment of Neurological Conditions, 18 years and under", + "AA61A": "Insertion of Intrathecal Drug Delivery Device for Treatment of Neurological Conditions, 19 years and over", + "AA61B": "Insertion of Intrathecal Drug Delivery Device for Treatment of Neurological Conditions, 18 years and under", + "AA70Z": "Stereotactic Intracranial Radiosurgery for Arteriovenous Malformations", + "AA71A": "Stereotactic Intracranial Radiosurgery, for Neoplasms or Other Neurological Conditions, with CC Score 4+", + "AA71B": "Stereotactic Intracranial Radiosurgery, for Neoplasms or Other Neurological Conditions, with CC Score 0-3", + "AA80Z": "Complex Long-Term EEG Monitoring", + "AA81Z": "Standard Long-Term EEG Monitoring", + "AA82Z": "Intracranial Telemetry, with Cortical Mapping or Resection of Brain", + "AA83Z": "Intracranial Telemetry" + } + }, + "B": { + "description": "Pain Management", + "hrgs": { + "AB01Z": "Complex Neurosurgical Pain Procedures", + "AB02Z": "Complex Major Pain Procedures", + "AB03Z": "Complex Pain Procedures", + "AB04Z": "Major Pain Procedures", + "AB05Z": "Intermediate Pain Procedures", + "AB06Z": "Minor Pain Procedures", + "AB07Z": "Insertion of Neurostimulator or Intrathecal Drug Delivery Device", + "AB08Z": "Pain Radiofrequency Treatments", + "AB09Z": "Other Specified Pain Procedures", + "AB10Z": "Unspecified Pain Procedures", + "AB11Z": "Cognitive Behavioural Therapy as part of a Pain Management Programme", + "AB12Z": "Insertion of Neurostimulator for Pain Management", + "AB13Z": "Insertion of Intrathecal Drug Delivery Device for Pain Management", + "AB14Z": "Insertion of Neurostimulator Electrodes for Pain Management", + "AB15Z": "Radiofrequency Ablation or Cryoablation, for Pain Management", + "AB16Z": "Denervation or Injection around Spinal Facet, for Pain Management", + "AB17Z": "Nerve Block or Destruction of Nerve, for Pain Management", + "AB18Z": "Continuous Infusion of Therapeutic Substance for Pain Management", + "AB19Z": "Injection of Therapeutic Substance into Joint for Pain Management", + "AB20Z": "Epidural Under Image Control for Pain Management", + "AB21Z": "Epidural or Therapeutic Spinal Puncture, for Pain Management", + "AB22Z": "Trigger Point Injection for Pain Management", + "AB23Z": "Acupuncture for Pain Management", + "AB24Z": "Alteration of Function of Nerve for Pain Management", + "AB25Z": "Nerve Block or Destruction of Nerve, Under Image Control, for Pain Management", + "AB26Z": "Nerve Block or Destruction of Nerve, for Pain Management", + "AB27Z": "Injection of Therapeutic Substance into Joint Under Image Control for Pain Management", + "AB28Z": "Injection of Therapeutic Substance into Joint for Pain Management" + } + } + } + }, + "B": { + "description": "Eyes and Periorbita", + "subchapters": { + "Z": { + "description": "Eyes and Periorbita Procedures and Disorders", + "hrgs": { + "BZ01A": "Enhanced Cataract Surgery with CC Score 2+", + "BZ01B": "Enhanced Cataract Surgery with CC Score 0-1", + "BZ01Z": "Enhanced Cataract Surgery", + "BZ02A": "Phacoemulsification Cataract Extraction and Lens Implant, with CC Score 5+", + "BZ02B": "Phacoemulsification Cataract Extraction and Lens Implant, with CC Score 2-4", + "BZ02C": "Phacoemulsification Cataract Extraction and Lens Implant, with CC Score 0-1", + "BZ02Z": "Phacoemulsification Cataract Extraction and Lens Implant", + "BZ03A": "Non-Phacoemulsification Cataract Surgery with CC Score 1+", + "BZ03B": "Non-Phacoemulsification Cataract Surgery with CC Score 0", + "BZ03Z": "Non-Phacoemulsification Cataract Surgery", + "BZ04A": "Lens Capsulotomy with CC Score 1+", + "BZ04B": "Lens Capsulotomy with CC Score 0", + "BZ04Z": "Lens Capsulotomy", + "BZ05A": "Major Oculoplastics Procedures with CC Score 1+", + "BZ05B": "Major Oculoplastics Procedures with CC Score 0", + "BZ05Z": "Major Oculoplastics Procedures", + "BZ06A": "Intermediate Oculoplastics Procedures, 19 years and over", + "BZ06B": "Intermediate Oculoplastics Procedures, 18 years and under", + "BZ06C": "Intermediate Oculoplastics Procedures, 19 years and over, with CC Score 2+", + "BZ06D": "Intermediate Oculoplastics Procedures, 19 years and over, with CC Score 0-1", + "BZ07A": "Minor Oculoplastics Procedures, 19 years and over", + "BZ07B": "Minor Oculoplastics Procedures, 18 years and under", + "BZ07C": "Minor Oculoplastics Procedures, 19 years and over, with CC Score 3+", + "BZ07D": "Minor Oculoplastics Procedures, 19 years and over, with CC Score 1-2", + "BZ07E": "Minor Oculoplastics Procedures, 19 years and over, with CC Score 0", + "BZ08A": "Major Orbits or Lacrimal Procedures, 19 years and over", + "BZ08B": "Major Orbits or Lacrimal Procedures, 18 years and under", + "BZ08C": "Major Orbits or Lacrimal Procedures, 19 years and over, with CC Score 1+", + "BZ08D": "Major Orbits or Lacrimal Procedures, 19 years and over, with CC Score 0", + "BZ09A": "Intermediate Orbits or Lacrimal Procedures, 19 years and over", + "BZ09B": "Intermediate Orbits or Lacrimal Procedures, 18 years and under", + "BZ09C": "Intermediate Orbits or Lacrimal Procedures, 19 years and over, with CC Score 2+", + "BZ09D": "Intermediate Orbits or Lacrimal Procedures, 19 years and over, with CC Score 0-1", + "BZ10A": "Minor Orbits or Lacrimal Procedures, 19 years and over", + "BZ10B": "Minor Orbits or Lacrimal Procedures, 18 years and under", + "BZ10C": "Minor Orbits or Lacrimal Procedures, 19 years and over, with CC Score 2+", + "BZ10D": "Minor Orbits or Lacrimal Procedures, 19 years and over, with CC Score 0-1", + "BZ11A": "Major Cornea or Sclera Procedures, with CC Score 1+", + "BZ11B": "Major Cornea or Sclera Procedures, with CC Score 0", + "BZ11Z": "Major Cornea or Sclera Procedures", + "BZ12A": "Intermediate Cornea or Sclera Procedures, with CC Score 1+", + "BZ12B": "Intermediate Cornea or Sclera Procedures, with CC Score 0", + "BZ12Z": "Intermediate Cornea or Sclera Procedures", + "BZ13A": "Minor Cornea or Sclera Procedures, with CC Score 1+", + "BZ13B": "Minor Cornea or Sclera Procedures, with CC Score 0", + "BZ13Z": "Minor Cornea or Sclera Procedures", + "BZ14A": "Major Ocular Motility Procedures, 19 years and over", + "BZ14B": "Major Ocular Motility Procedures, 18 years and under", + "BZ15A": "Intermediate Ocular Motility Procedures, 19 years and over", + "BZ15B": "Intermediate Ocular Motility Procedures, 18 years and under", + "BZ15C": "Intermediate Ocular Motility Procedures, 19 years and over, with CC Score 1+", + "BZ15D": "Intermediate Ocular Motility Procedures, 19 years and over, with CC Score 0", + "BZ16A": "Minor Ocular Motility Procedures, 19 years and over", + "BZ16B": "Minor Ocular Motility Procedures, 18 years and under", + "BZ17A": "Major Glaucoma Procedures with CC Score 1+", + "BZ17B": "Major Glaucoma Procedures with CC Score 0", + "BZ17Z": "Major Glaucoma Procedures", + "BZ18A": "Intermediate Glaucoma Procedures with CC Score 1+", + "BZ18B": "Intermediate Glaucoma Procedures with CC Score 0", + "BZ18Z": "Intermediate Glaucoma Procedures", + "BZ19A": "Minor Glaucoma Procedures with CC Score 1+", + "BZ19B": "Minor Glaucoma Procedures with CC Score 0", + "BZ19Z": "Minor Glaucoma Procedures", + "BZ20A": "Complex Vitreous Retinal Procedures with CC Score 1+", + "BZ20B": "Complex Vitreous Retinal Procedures with CC Score 0", + "BZ20Z": "Complex Vitreous Retinal Procedures", + "BZ21A": "Major Vitreous Retinal Procedures with CC Score 3+", + "BZ21B": "Major Vitreous Retinal Procedures with CC Score 1-2", + "BZ21C": "Major Vitreous Retinal Procedures with CC Score 0", + "BZ21Z": "Major Vitreous Retinal Procedures", + "BZ22A": "Intermediate Vitreous Retinal Procedures with CC Score 2+", + "BZ22B": "Intermediate Vitreous Retinal Procedures with CC Score 0-1", + "BZ22Z": "Intermediate Vitreous Retinal Procedures", + "BZ23Z": "Minor Vitreous Retinal Procedures", + "BZ24A": "Non-Surgical Ophthalmology with length of stay 2 days or more", + "BZ24B": "Non-Surgical Ophthalmology with length of stay 2 days or more and age 18 years and under", + "BZ24C": "Non-Surgical Ophthalmology with length of stay 1 day or less", + "BZ24D": "Non-Surgical Ophthalmology with Interventions", + "BZ24E": "Non-Surgical Ophthalmology without Interventions, with CC Score 5+", + "BZ24F": "Non-Surgical Ophthalmology without Interventions, with CC Score 2-4", + "BZ24G": "Non-Surgical Ophthalmology without Interventions, with CC Score 0-1", + "BZ30A": "Complex, Cataract or Lens Procedures, with CC Score 2+", + "BZ30B": "Complex, Cataract or Lens Procedures, with CC Score 0-1", + "BZ31A": "Very Major, Cataract or Lens Procedures, with CC Score 2+", + "BZ31B": "Very Major, Cataract or Lens Procedures, with CC Score 0-1", + "BZ32A": "Intermediate, Cataract or Lens Procedures, with CC Score 2+", + "BZ32B": "Intermediate, Cataract or Lens Procedures, with CC Score 0-1", + "BZ33Z": "Minor, Cataract or Lens Procedures", + "BZ34A": "Phacoemulsification Cataract Extraction and Lens Implant, with CC Score 4+", + "BZ34B": "Phacoemulsification Cataract Extraction and Lens Implant, with CC Score 2-3", + "BZ34C": "Phacoemulsification Cataract Extraction and Lens Implant, with CC Score 0-1", + "BZ35A": "Bilateral Phacoemulsification Cataract Extraction and Lens Implant, with CC Score 2+", + "BZ35B": "Bilateral Phacoemulsification Cataract Extraction and Lens Implant, with CC Score 0-1", + "BZ40Z": "Very Complex Oculoplastics Procedures", + "BZ41A": "Complex Oculoplastics Procedures, 19 years and over, with CC Score 2+", + "BZ41B": "Complex Oculoplastics Procedures, 19 years and over, with CC Score 0-1", + "BZ42A": "Very Major Oculoplastics Procedures, 19 years and over, with CC Score 2+", + "BZ42B": "Very Major Oculoplastics Procedures, 19 years and over, with CC Score 0-1", + "BZ43Z": "Complex or Very Major, Oculoplastics Procedures, 18 years and under", + "BZ44A": "Major Oculoplastics Procedures, 19 years and over, with CC Score 2+", + "BZ44B": "Major Oculoplastics Procedures, 19 years and over, with CC Score 0-1", + "BZ44C": "Major Oculoplastics Procedures, 18 years and under", + "BZ45A": "Intermediate Oculoplastics Procedures, 19 years and over, with CC Score 2+", + "BZ45B": "Intermediate Oculoplastics Procedures, 19 years and over, with CC Score 0-1", + "BZ45C": "Intermediate Oculoplastics Procedures, between 4 and 18 years", + "BZ45D": "Intermediate Oculoplastics Procedures, 3 years and under", + "BZ46A": "Minor Oculoplastics Procedures, 19 years and over", + "BZ46B": "Minor Oculoplastics Procedures, 18 years and under", + "BZ50Z": "Very Complex, Orbit or Lacrimal Procedures, 19 years and over", + "BZ51A": "Complex, Orbit or Lacrimal Procedures, 19 years and over, with CC Score 1+", + "BZ51B": "Complex, Orbit or Lacrimal Procedures, 19 years and over, with CC Score 0", + "BZ52Z": "Very Complex or Complex, Orbit or Lacrimal Procedures, 18 years and under", + "BZ53A": "Very Major, Orbit or Lacrimal Procedures, 19 years and over, with CC Score 1+", + "BZ53B": "Very Major, Orbit or Lacrimal Procedures, 19 years and over, with CC Score 0", + "BZ54A": "Major, Orbit or Lacrimal Procedures, 19 years and over, with CC Score 1+", + "BZ54B": "Major, Orbit or Lacrimal Procedures, 19 years and over, with CC Score 0", + "BZ55Z": "Very Major or Major, Orbit or Lacrimal Procedures, 18 years and under", + "BZ56A": "Intermediate, Orbit or Lacrimal Procedures, 19 years and over, with CC Score 1+", + "BZ56B": "Intermediate, Orbit or Lacrimal Procedures, 19 years and over, with CC Score 0", + "BZ56C": "Intermediate, Orbit or Lacrimal Procedures, 18 years and under", + "BZ57A": "Minor, Orbit or Lacrimal Procedures, 19 years and over", + "BZ57B": "Minor, Orbit or Lacrimal Procedures, 18 years and under", + "BZ60A": "Very Complex, Cornea or Sclera Procedures, with CC Score 2+", + "BZ60B": "Very Complex, Cornea or Sclera Procedures, with CC Score 0-1", + "BZ61A": "Complex, Cornea or Sclera Procedures, with CC Score 2+", + "BZ61B": "Complex, Cornea or Sclera Procedures, with CC Score 0-1", + "BZ62A": "Very Major, Cornea or Sclera Procedures, with CC Score 1+", + "BZ62B": "Very Major, Cornea or Sclera Procedures, with CC Score 0", + "BZ63A": "Major, Cornea or Sclera Procedures, with CC Score 1+", + "BZ63B": "Major, Cornea or Sclera Procedures, with CC Score 0", + "BZ64A": "Intermediate, Cornea or Sclera Procedures, with CC Score 1+", + "BZ64B": "Intermediate, Cornea or Sclera Procedures, with CC Score 0", + "BZ65Z": "Minor, Cornea or Sclera Procedures", + "BZ70Z": "Complex Ocular Motility Procedures", + "BZ71A": "Very Major Ocular Motility Procedures, 19 years and over", + "BZ71B": "Very Major Ocular Motility Procedures, 18 years and under", + "BZ72A": "Major Ocular Motility Procedures, 19 years and over", + "BZ72B": "Major Ocular Motility Procedures, between 4 and 18 years", + "BZ72C": "Major Ocular Motility Procedures, 3 years and under", + "BZ73A": "Intermediate Ocular Motility Procedures, 19 years and over", + "BZ73B": "Intermediate Ocular Motility Procedures, 18 years and under", + "BZ74A": "Minor Ocular Motility Procedures, 19 years and over", + "BZ74B": "Minor Ocular Motility Procedures, 18 years and under", + "BZ74Z": "Minor Ocular Motility Procedures", + "BZ80A": "Very Complex Vitreous Retinal Procedures, 19 years and over, with CC Score 2+", + "BZ80B": "Very Complex Vitreous Retinal Procedures, 19 years and over, with CC Score 0-1", + "BZ81A": "Complex Vitreous Retinal Procedures, 19 years and over, with CC Score 2+", + "BZ81B": "Complex Vitreous Retinal Procedures, 19 years and over, with CC Score 0-1", + "BZ82Z": "Very Complex or Complex, Vitreous Retinal Procedures, 18 years and under", + "BZ83A": "Very Major Vitreous Retinal Procedures, 19 years and over, with CC Score 2+", + "BZ83B": "Very Major Vitreous Retinal Procedures, 19 years and over, with CC Score 0-1", + "BZ84A": "Major Vitreous Retinal Procedures, 19 years and over, with CC Score 2+", + "BZ84B": "Major Vitreous Retinal Procedures, 19 years and over, with CC Score 0-1", + "BZ85Z": "Very Major or Major, Vitreous Retinal Procedures, 18 years and under", + "BZ86A": "Intermediate Vitreous Retinal Procedures, 19 years and over, with CC Score 2+", + "BZ86B": "Intermediate Vitreous Retinal Procedures, 19 years and over, with CC Score 0-1", + "BZ86C": "Intermediate Vitreous Retinal Procedures, 18 years and under", + "BZ87A": "Minor Vitreous Retinal Procedures, 19 years and over", + "BZ87B": "Minor Vitreous Retinal Procedures, between 4 and 18 years", + "BZ87C": "Minor Vitreous Retinal Procedures, 3 years and under", + "BZ88A": "Retinal Tomography, 19 years and over", + "BZ88B": "Retinal Tomography, 18 years and under", + "BZ89A": "Digital Retinal Photography, 19 years and over", + "BZ89B": "Digital Retinal Photography, 18 years and under", + "BZ90Z": "Very Complex, Glaucoma or Iris Procedures", + "BZ91A": "Complex, Glaucoma or Iris Procedures, with CC Score 2+", + "BZ91B": "Complex, Glaucoma or Iris Procedures, with CC Score 0-1", + "BZ92A": "Very Major, Glaucoma or Iris Procedures, with CC Score 2+", + "BZ92B": "Very Major, Glaucoma or Iris Procedures, with CC Score 0-1", + "BZ93A": "Major, Glaucoma or Iris Procedures, with CC Score 2+", + "BZ93B": "Major, Glaucoma or Iris Procedures, with CC Score 0-1", + "BZ94A": "Intermediate, Glaucoma or Iris Procedures, with CC Score 1+", + "BZ94B": "Intermediate, Glaucoma or Iris Procedures, with CC Score 0", + "BZ95Z": "Minor, Glaucoma or Iris Procedures" + } + } + } + }, + "C": { + "description": "Ear, Nose, Mouth, Throat, Neck and Dental", + "subchapters": { + "A": { + "description": "Ear, Nose, Mouth, Throat, Head and Neck Procedures", + "hrgs": { + "CA01A": "Complex Neck Procedures, with CC Score 7+", + "CA01B": "Complex Neck Procedures, with CC Score 3-6", + "CA01C": "Complex Neck Procedures, with CC Score 0-2", + "CA01Z": "Complex Neck Procedures", + "CA02A": "Very Major Neck Procedures with CC Score 2+", + "CA02B": "Very Major Neck Procedures with CC Score 0-1", + "CA03A": "Major Neck Procedures with CC Score 2+", + "CA03B": "Major Neck Procedures with CC Score 0-1", + "CA04A": "Intermediate Neck Procedures, 19 years and over", + "CA04B": "Intermediate Neck Procedures, 18 years and under", + "CA05A": "Minor Neck Procedures, 19 years and over", + "CA05B": "Minor Neck Procedures, 18 years and under", + "CA10A": "Septorhinoplasty, 19 years and over", + "CA10B": "Septorhinoplasty, 18 years and under", + "CA11A": "Septoplasty, 19 years and over", + "CA11B": "Septoplasty, 18 years and under", + "CA12Z": "Major Treatment of Epistaxis", + "CA13A": "Minor Treatment of Epistaxis, 19 years and over", + "CA13B": "Minor Treatment of Epistaxis, 18 years and under", + "CA14Z": "Nasal Polypectomy", + "CA15Z": "Excision or Biopsy, of Lesion of Internal Nose", + "CA16Z": "Excision or Biopsy, of Lesion of External Nose", + "CA20Z": "Complex Nose Procedures", + "CA21Z": "Very Major Nose Procedures", + "CA22Z": "Major Nose Procedures", + "CA23Z": "Intermediate Nose Procedures", + "CA24A": "Minor Nose Procedures, 19 years and over", + "CA24B": "Minor Nose Procedures, 18 years and under", + "CA25A": "Minimal Nose Procedures, 19 years and over", + "CA25B": "Minimal Nose Procedures, 18 years and under", + "CA26Z": "Complex Sinus Procedures", + "CA27Z": "Major Sinus Procedures", + "CA28Z": "Intermediate Sinus Procedures", + "CA29Z": "Minor Sinus Procedures", + "CA30A": "Radical or Revisional, Mastoid Procedures, 19 years and over", + "CA30B": "Radical or Revisional, Mastoid Procedures, 18 years and under", + "CA31Z": "Simple or Cortical, Mastoid Procedures", + "CA32A": "Tympanoplasty, 19 years and over", + "CA32B": "Tympanoplasty, 18 years and under", + "CA33Z": "Pinnaplasty", + "CA34A": "Excision or Biopsy, of Lesion of External Ear, 19 years and over", + "CA34B": "Excision or Biopsy, of Lesion of External Ear, 18 years and under", + "CA35A": "Insertion of Grommets, 19 years and over", + "CA35B": "Insertion of Grommets, between 2 and 18 years", + "CA35C": "Insertion of Grommets, 1 year and under", + "CA36A": "Clearance of External Auditory Canal, 19 years and over", + "CA36B": "Clearance of External Auditory Canal, 18 years and under", + "CA37A": "Audiometry or Hearing Assessment, 19 years and over", + "CA37B": "Audiometry or Hearing Assessment, between 5 and 18 years", + "CA37C": "Audiometry or Hearing Assessment, 4 years and under", + "CA38A": "Evoked Potential Recording, 19 years and over", + "CA38B": "Evoked Potential Recording, 18 years and under", + "CA39Z": "Fixture for Bone Anchored Hearing Aids", + "CA40Z": "Fitting of Bone Anchored Hearing Aids", + "CA41Z": "Bilateral Cochlear Implants", + "CA42Z": "Unilateral Cochlear Implant", + "CA43Z": "Balance Assessment", + "CA50Z": "Complex Ear Procedures", + "CA51A": "Very Major Ear Procedures, 19 years and over", + "CA51B": "Very Major Ear Procedures, 18 years and under", + "CA52A": "Major Ear Procedures, 19 years and over", + "CA52B": "Major Ear Procedures, 18 years and under", + "CA53A": "Intermediate Ear Procedures, 19 years and over", + "CA53B": "Intermediate Ear Procedures, 18 years and under", + "CA54A": "Minor Ear Procedures, 19 years and over", + "CA54B": "Minor Ear Procedures, 18 years and under", + "CA55A": "Minimal Ear Procedures, 19 years and over", + "CA55B": "Minimal Ear Procedures, 18 years and under", + "CA60A": "Tonsillectomy, 19 years and over", + "CA60B": "Tonsillectomy, 18 years and under", + "CA60C": "Tonsillectomy, 4 years and over", + "CA60D": "Tonsillectomy, 3 years and under", + "CA61Z": "Adenotonsillectomy", + "CA62Z": "Adenoidectomy", + "CA63Z": "Tracheostomy", + "CA64Z": "Uvulopalatoplasty or Uvulopalatopharyngoplasty", + "CA65Z": "Frenotomy or Frenectomy", + "CA66A": "Excision or Biopsy, of Lesion of Mouth, 19 years and over", + "CA66B": "Excision or Biopsy, of Lesion of Mouth, 18 years and under", + "CA67A": "Complex Therapeutic Endoscopic, Larynx or Pharynx Procedures, with CC Score 2+", + "CA67B": "Complex Therapeutic Endoscopic, Larynx or Pharynx Procedures, with CC Score 0-1", + "CA68A": "Therapeutic Endoscopic, Larynx or Pharynx Procedures, 19 years and over", + "CA68B": "Therapeutic Endoscopic, Larynx or Pharynx Procedures, 18 years and under", + "CA69A": "Diagnostic, Laryngoscopy or Pharyngoscopy, 19 years and over", + "CA69B": "Diagnostic, Laryngoscopy or Pharyngoscopy, between 2 and 18 years", + "CA69C": "Diagnostic, Laryngoscopy or Pharyngoscopy, 1 year and under", + "CA70Z": "Diagnostic Examination of Upper Respiratory Tract and Upper Gastrointestinal Tract", + "CA71A": "Diagnostic Nasopharyngoscopy, 19 years and over", + "CA71B": "Diagnostic Nasopharyngoscopy, 18 years and under", + "CA80A": "Very Complex, Mouth or Throat Procedures, with CC Score 5+", + "CA80B": "Very Complex, Mouth or Throat Procedures, with CC Score 2-4", + "CA80C": "Very Complex, Mouth or Throat Procedures, with CC Score 0-1", + "CA81A": "Complex, Mouth or Throat Procedures, 19 years and over, with CC Score 2+", + "CA81B": "Complex, Mouth or Throat Procedures, 19 years and over, with CC Score 0-1", + "CA81C": "Complex, Mouth or Throat Procedures, between 2 and 18 years", + "CA81D": "Complex, Mouth or Throat Procedures, 1 year and under", + "CA82A": "Very Major, Mouth or Throat Procedures, 19 years and over, with CC Score 2+", + "CA82B": "Very Major, Mouth or Throat Procedures, 19 years and over, with CC Score 0-1", + "CA82C": "Very Major, Mouth or Throat Procedures, between 2 and 18 years", + "CA82D": "Very Major, Mouth or Throat Procedures, 1 year and under", + "CA83A": "Major, Mouth or Throat Procedures, 19 years and over, with CC Score 2+", + "CA83B": "Major, Mouth or Throat Procedures, 19 years and over, with CC Score 0-1", + "CA83C": "Major, Mouth or Throat Procedures, 18 years and under", + "CA84A": "Intermediate, Mouth or Throat Procedures, 19 years and over, with CC Score 2+", + "CA84B": "Intermediate, Mouth or Throat Procedures, 19 years and over, with CC Score 0-1", + "CA84C": "Intermediate, Mouth or Throat Procedures, 18 years and under", + "CA85A": "Minor, Mouth or Throat Procedures, 19 years and over", + "CA85B": "Minor, Mouth or Throat Procedures, between 2 and 18 years", + "CA85C": "Minor, Mouth or Throat Procedures, 1 year and under", + "CA86A": "Minimal, Mouth or Throat Procedures, 19 years and over", + "CA86B": "Minimal, Mouth or Throat Procedures, between 2 and 18 years", + "CA86C": "Minimal, Mouth or Throat Procedures, 1 year and under", + "CA90Z": "Very Complex Maxillofacial Procedures", + "CA91A": "Complex Maxillofacial Procedures with CC Score 1+", + "CA91B": "Complex Maxillofacial Procedures with CC Score 0", + "CA92A": "Very Major Maxillofacial Procedures with CC Score 1+", + "CA92B": "Very Major Maxillofacial Procedures with CC Score 0", + "CA93A": "Major Maxillofacial Procedures, 19 years and over, with CC Score 1+", + "CA93B": "Major Maxillofacial Procedures, 19 years and over, with CC Score 0", + "CA93C": "Major Maxillofacial Procedures, 18 years and under", + "CA94Z": "Intermediate Maxillofacial Procedures", + "CA95Z": "Minor Maxillofacial Procedures", + "CA96Z": "Reduction or Fixation, of Jaw", + "CA97Z": "Reduction or Fixation, of Cheekbone", + "CA98Z": "Reduction of Fracture of Nasal Bone" + } + }, + "B": { + "description": "Ear, Nose, Mouth, Throat, Head and Neck Disorders", + "hrgs": { + "CB01A": "Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, with Interventions, with CC Score 9+", + "CB01B": "Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, with Interventions, with CC Score 5-8", + "CB01C": "Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, with Interventions, with CC Score 0-4", + "CB01D": "Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, without Interventions, with CC Score 9+", + "CB01E": "Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, without Interventions, with CC Score 5-8", + "CB01F": "Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, without Interventions, with CC Score 0-4", + "CB02A": "Non-Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, with Interventions, with CC Score 5+", + "CB02B": "Non-Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, with Interventions, with CC Score 1-4", + "CB02C": "Non-Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, with Interventions, with CC Score 0", + "CB02D": "Non-Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, without Interventions, with CC Score 5+", + "CB02E": "Non-Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, without Interventions, with CC Score 1-4", + "CB02F": "Non-Malignant, Ear, Nose, Mouth, Throat or Neck Disorders, without Interventions, with CC Score 0" + } + }, + "D": { + "description": "Dental and Orthodontic Procedures", + "hrgs": { + "CD01A": "Major Dental Procedures, 19 years and over", + "CD01B": "Major Dental Procedures, 18 years and under", + "CD02A": "Intermediate Dental Procedures, 19 years and over", + "CD02B": "Intermediate Dental Procedures, 18 years and under", + "CD03A": "Minor Dental Procedures, 19 years and over", + "CD03B": "Minor Dental Procedures, 18 years and under", + "CD04A": "Major Surgical Removal of Tooth, 19 years and over", + "CD04B": "Major Surgical Removal of Tooth, 18 years and under", + "CD05A": "Surgical Removal of Tooth, 19 years and over", + "CD05B": "Surgical Removal of Tooth, 18 years and under", + "CD06A": "Extraction of Multiple Teeth, 19 years and over", + "CD06B": "Extraction of Multiple Teeth, 18 years and under", + "CD07A": "Minor Extraction of Tooth, 19 years and over", + "CD07B": "Minor Extraction of Tooth, 18 years and under", + "CD08Z": "Minor Dental Biopsy", + "CD09A": "Minor Dental Restoration Procedures, 19 years and over", + "CD09B": "Minor Dental Restoration Procedures, 18 years and under", + "CD10A": "Creation of Dental Impression, 19 years and over", + "CD10B": "Creation of Dental Impression, 18 years and under", + "CD11A": "Dental Fitting or Insertion Procedures, 19 years and over", + "CD11B": "Dental Fitting or Insertion Procedures, 18 years and under", + "CD12A": "Adjustment of Dental Device, 19 years and over", + "CD12B": "Adjustment of Dental Device, 18 years and under" + } + }, + "Z": { + "description": "Mouth Head Neck and Ears Procedures and Disorders", + "hrgs": { + "CZ01S": "Minor Mouth or Throat Procedures, 18 years and under with CC", + "CZ01T": "Minor Mouth or Throat Procedures, 18 years and under without CC", + "CZ01V": "Minor Mouth or Throat Procedures, 19 years and over with CC", + "CZ01Y": "Minor Mouth or Throat Procedures, 19 years and over without CC", + "CZ02S": "Intermediate Mouth or Throat Procedures, 18 years and under with CC", + "CZ02T": "Intermediate Mouth or Throat Procedures, 18 years and under without CC", + "CZ02W": "Intermediate Mouth or Throat Procedures, 19 years and over with Major CC", + "CZ02X": "Intermediate Mouth or Throat Procedures, 19 years and over with Intermediate CC", + "CZ02Y": "Intermediate Mouth or Throat Procedures, 19 years and over without CC", + "CZ03U": "Major Mouth or Throat Procedures, 18 years and under", + "CZ03V": "Major Mouth or Throat Procedures, 19 years and over with CC", + "CZ03Y": "Major Mouth or Throat Procedures, 19 years and over without CC", + "CZ04O": "Complex Major Mouth or Throat Procedures, with Major CC", + "CZ04P": "Complex Major Mouth or Throat Procedures, with Intermediate CC", + "CZ04Q": "Complex Major Mouth or Throat Procedures, without CC", + "CZ05S": "Tonsillectomy, 18 years and under with CC", + "CZ05T": "Tonsillectomy, 18 years and under without CC", + "CZ05V": "Tonsillectomy, 19 years and over with CC", + "CZ05Y": "Tonsillectomy, 19 years and over without CC", + "CZ06N": "Minor throat Procedures with CC", + "CZ06Q": "Minor throat Procedures without CC", + "CZ07O": "Exteriorisation of Trachea with Major CC", + "CZ07P": "Exteriorisation of Trachea with Intermediate CC", + "CZ07Q": "Exteriorisation of Trachea without CC", + "CZ08S": "Minor Ear Procedures, 18 years and under with CC", + "CZ08T": "Minor Ear Procedures, 18 years and under without CC", + "CZ08V": "Minor Ear Procedures, 19 years and over with CC", + "CZ08Y": "Minor Ear Procedures, 19 years and over without CC", + "CZ09U": "Intermediate Ear Procedures, 18 years and under", + "CZ09V": "Intermediate Ear Procedures, 19 years and over with CC", + "CZ09Y": "Intermediate Ear Procedures, 19 years and over without CC", + "CZ10U": "Major Ear Procedures, 18 years and under", + "CZ10V": "Major Ear Procedures, 19 years and over with CC", + "CZ10Y": "Major Ear Procedures, 19 years and over without CC", + "CZ11Z": "Complex Major Ear Procedures", + "CZ12U": "Minor Nose Procedures, 18 years and under", + "CZ12V": "Minor Nose Procedures, 19 years and over with CC", + "CZ12Y": "Minor Nose Procedures, 19 years and over without CC", + "CZ13U": "Intermediate Nose Procedures, 18 years and under", + "CZ13V": "Intermediate Nose Procedures, 19 years and over with CC", + "CZ13Y": "Intermediate Nose Procedures, 19 years and over without CC", + "CZ14U": "Major Nose Procedures, 18 years and under", + "CZ14V": "Major Nose Procedures, 19 years and over with CC", + "CZ14Y": "Major Nose Procedures, 19 years and over without CC", + "CZ15N": "Complex Major Nose Procedures with CC", + "CZ15Q": "Complex Major Nose Procedures without CC", + "CZ16N": "Minor Maxillo-facial Procedures with CC", + "CZ16Q": "Minor Maxillo-facial Procedures without CC", + "CZ17U": "Intermediate Maxillo-facial Procedures, 18 years and under", + "CZ17V": "Intermediate Maxillo-facial Procedures, 19 years and over with CC", + "CZ17Y": "Intermediate Maxillo-facial Procedures, 19 years and over without CC", + "CZ18R": "Major Maxillo-facial Procedures, 19 years and over", + "CZ18U": "Major Maxillo-facial Procedures, 18 years and under", + "CZ19Z": "Complex Major Maxillo-facial Procedures", + "CZ20Z": "Complex Major Head or Neck Procedures with Reconstruction", + "CZ21U": "Minor Head, Neck and Ear Disorders 18 years and under", + "CZ21V": "Minor Head, Neck and Ear Disorders, with CC", + "CZ21Y": "Minor Head, Neck and Ear Disorders, without CC", + "CZ22S": "Intermediate Head, Neck and Ear Disorders 18 years and under with CC", + "CZ22T": "Intermediate Head, Neck and Ear Disorders 18 years and under without CC", + "CZ22W": "Intermediate Head, Neck and Ear Disorders, with Major CC", + "CZ22X": "Intermediate Head, Neck and Ear Disorders, with Intermediate CC", + "CZ22Y": "Intermediate Head, Neck and Ear Disorders, without CC", + "CZ23U": "Major Head, Neck and Ear Disorders 18 years and under", + "CZ23W": "Major Head, Neck and Ear Disorders, with Major CC", + "CZ23X": "Major Head, Neck and Ear Disorders, with Intermediate CC", + "CZ23Y": "Major Head, Neck and Ear Disorders, without CC", + "CZ24O": "Complex Major Head, Neck and Ear Disorders, with Major CC", + "CZ24P": "Complex Major Head, Neck and Ear Disorders, with Intermediate CC", + "CZ24Q": "Complex Major Head, Neck and Ear Disorders, without CC", + "CZ25A": "Unilateral Cochlear Implant", + "CZ25B": "Bilateral Cochlear Implants", + "CZ25N": "Cochlear Implants with CC", + "CZ25Q": "Cochlear Implants without CC", + "CZ26Z": "Bone Anchored Hearing Aids", + "CZ27Z": "Fixture for Bone Anchored Hearing Aids", + "CZ28Z": "Fitting of Bone Anchored Hearing Aids", + "CZ30U": "Minor Extraction of Tooth, 18 years and under", + "CZ30Y": "Minor Extraction of Tooth, 19 years and over", + "CZ31U": "Minor Dental Biopsy, 18 years and under", + "CZ31Y": "Minor Dental Biopsy, 19 years and over", + "CZ32U": "Dental Fitting or Insertion Procedures, 18 years and under", + "CZ32Y": "Dental Fitting or Insertion Procedures, 19 years and over", + "CZ33U": "Minor Dental Restoration Procedures, 18 years and under", + "CZ33Y": "Minor Dental Restoration Procedures, 19 years and over", + "CZ34U": "Minor Dental Procedures, 18 years and under", + "CZ34Y": "Minor Dental Procedures, 19 years and over", + "CZ35U": "Adjustment of Dental Device, 18 years and under", + "CZ35Y": "Adjustment of Dental Device, 19 years and over", + "CZ36U": "Dental Excision or Biopsy Procedures, 18 years and under", + "CZ36Y": "Dental Excision or Biopsy Procedures, 19 years and over", + "CZ37U": "Surgical Removal of Tooth, 18 years and under", + "CZ37Y": "Surgical Removal of Tooth, 19 years and over", + "CZ38U": "Creation of Dental Impression, 18 years and under", + "CZ38Y": "Creation of Dental Impression, 19 years and over", + "CZ39U": "Intermediate Dental Procedures, 18 years and under", + "CZ39Y": "Intermediate Dental Procedures, 19 years and over", + "CZ40U": "Major Surgical Removal of Tooth, 18 years and under", + "CZ40Y": "Major Surgical Removal of Tooth, 19 years and over", + "CZ41U": "Major Dental Procedures, 18 years and under", + "CZ41Y": "Major Dental Procedures, 19 years and over", + "CZ42U": "Extraction of Multiple Teeth, 18 years and under", + "CZ42Y": "Extraction of Multiple Teeth, 19 years and over" + } + } + } + }, + "D": { + "description": "Respiratory System", + "subchapters": { + "X": { + "description": "COVID-19 Infection", + "hrgs": { + "DX01A": "COVID-19 Infection, with Major Manifestations, 19 years and over", + "DX01B": "COVID-19 Infection, with Major Manifestations, 18 years and under", + "DX11A": "COVID-19 Infection, with Pneumonia, 19 years and over", + "DX11B": "COVID-19 Infection, with Pneumonia, 18 years and under", + "DX21A": "COVID-19 Infection, 19 years and over", + "DX21B": "COVID-19 Infection, 18 years and under" + } + }, + "Z": { + "description": "Respiratory System Procedures and Disorders", + "hrgs": { + "DZ01Z": "Lung Transplant", + "DZ02A": "Complex Thoracic Procedures with Major CC", + "DZ02B": "Complex Thoracic Procedures with Intermediate CC", + "DZ02C": "Complex Thoracic Procedures without CC", + "DZ02H": "Complex Thoracic Procedures, 19 years and over, with CC Score 6+", + "DZ02J": "Complex Thoracic Procedures, 19 years and over, with CC Score 3-5", + "DZ02K": "Complex Thoracic Procedures, 19 years and over, with CC Score 0-2", + "DZ02L": "Complex Thoracic Procedures, between 2 and 18 years", + "DZ02M": "Complex Thoracic Procedures, 1 year and under", + "DZ03A": "Major Thoracic Procedures with CC", + "DZ03B": "Major Thoracic Procedures without CC", + "DZ04A": "Intermediate Thoracic Procedures with CC", + "DZ04B": "Intermediate Thoracic Procedures without CC", + "DZ05Z": "Other Thoracic Procedures", + "DZ06A": "Minor Thoracic Procedures, 19 years and over", + "DZ06B": "Minor Thoracic Procedures, 18 years and under", + "DZ06Z": "Minor Thoracic Procedures", + "DZ07A": "Fibreoptic Bronchoscopy, 19 years and over", + "DZ07B": "Fibreoptic Bronchoscopy, 18 years and under", + "DZ07Z": "Fibre optic Bronchoscopy", + "DZ08Z": "Rigid Bronchoscopy", + "DZ09A": "Pulmonary Embolus with Major CC", + "DZ09B": "Pulmonary Embolus with Intermediate CC", + "DZ09C": "Pulmonary Embolus without CC", + "DZ09D": "Pulmonary Embolus with CC Score 12+", + "DZ09E": "Pulmonary Embolus with CC Score 9-11", + "DZ09F": "Pulmonary Embolus with CC Score 6-8", + "DZ09G": "Pulmonary Embolus with CC Score 3-5", + "DZ09H": "Pulmonary Embolus with CC Score 0-2", + "DZ09J": "Pulmonary Embolus with Interventions, with CC Score 9+", + "DZ09K": "Pulmonary Embolus with Interventions, with CC Score 0-8", + "DZ09L": "Pulmonary Embolus without Interventions, with CC Score 12+", + "DZ09M": "Pulmonary Embolus without Interventions, with CC Score 9-11", + "DZ09N": "Pulmonary Embolus without Interventions, with CC Score 6-8", + "DZ09P": "Pulmonary Embolus without Interventions, with CC Score 3-5", + "DZ09Q": "Pulmonary Embolus without Interventions, with CC Score 0-2", + "DZ10A": "Lung Abscess-Empyema with Major CC", + "DZ10B": "Lung Abscess-Empyema with Intermediate CC", + "DZ10C": "Lung Abscess-Empyema without CC", + "DZ10D": "Lung Abscess-Empyema with CC Score 10+", + "DZ10E": "Lung Abscess-Empyema with CC Score 7-9", + "DZ10F": "Lung Abscess-Empyema with CC Score 3-6", + "DZ10G": "Lung Abscess-Empyema with CC Score 0-2", + "DZ10H": "Lung Abscess-Empyema with Interventions, with CC Score 9+", + "DZ10J": "Lung Abscess-Empyema with Interventions, with CC Score 5-8", + "DZ10K": "Lung Abscess-Empyema with Interventions, with CC Score 0-4", + "DZ10L": "Lung Abscess-Empyema without Interventions, with CC Score 9+", + "DZ10M": "Lung Abscess-Empyema without Interventions, with CC Score 5-8", + "DZ10N": "Lung Abscess-Empyema without Interventions, with CC Score 0-4", + "DZ11A": "Lobar, Atypical or Viral Pneumonia, with Major CC", + "DZ11B": "Lobar, Atypical or Viral Pneumonia, with Intermediate CC", + "DZ11C": "Lobar, Atypical or Viral Pneumonia, without CC", + "DZ11D": "Lobar, Atypical or Viral Pneumonia, with CC Score 15+", + "DZ11E": "Lobar, Atypical or Viral Pneumonia, with CC Score 12-14", + "DZ11F": "Lobar, Atypical or Viral Pneumonia, with CC Score 9-11", + "DZ11G": "Lobar, Atypical or Viral Pneumonia, with CC Score 6-8", + "DZ11H": "Lobar, Atypical or Viral Pneumonia, with CC Score 3-5", + "DZ11J": "Lobar, Atypical or Viral Pneumonia, with CC Score 0-2", + "DZ11K": "Lobar, Atypical or Viral Pneumonia, with Multiple Interventions, with CC Score 14+", + "DZ11L": "Lobar, Atypical or Viral Pneumonia, with Multiple Interventions, with CC Score 9-13", + "DZ11M": "Lobar, Atypical or Viral Pneumonia, with Multiple Interventions, with CC Score 0-8", + "DZ11N": "Lobar, Atypical or Viral Pneumonia, with Single Intervention, with CC Score 13+", + "DZ11P": "Lobar, Atypical or Viral Pneumonia, with Single Intervention, with CC Score 8-12", + "DZ11Q": "Lobar, Atypical or Viral Pneumonia, with Single Intervention, with CC Score 0-7", + "DZ11R": "Lobar, Atypical or Viral Pneumonia, without Interventions, with CC Score 14+", + "DZ11S": "Lobar, Atypical or Viral Pneumonia, without Interventions, with CC Score 10-13", + "DZ11T": "Lobar, Atypical or Viral Pneumonia, without Interventions, with CC Score 7-9", + "DZ11U": "Lobar, Atypical or Viral Pneumonia, without Interventions, with CC Score 4-6", + "DZ11V": "Lobar, Atypical or Viral Pneumonia, without Interventions, with CC Score 0-3", + "DZ12A": "Bronchiectasis with CC", + "DZ12B": "Bronchiectasis without CC", + "DZ12C": "Bronchiectasis with CC Score 8+", + "DZ12D": "Bronchiectasis with CC Score 5-7", + "DZ12E": "Bronchiectasis with CC Score 2-4", + "DZ12F": "Bronchiectasis with CC Score 0-1", + "DZ13A": "Cystic Fibrosis with CC Score 1+", + "DZ13B": "Cystic Fibrosis with CC Score 0", + "DZ14A": "Pulmonary, Pleural or Other Tuberculosis, with CC", + "DZ14B": "Pulmonary, Pleural or Other Tuberculosis, without CC", + "DZ14C": "Pulmonary, Pleural or Other Tuberculosis, with CC Score 5+", + "DZ14D": "Pulmonary, Pleural or Other Tuberculosis, with CC Score 2-4", + "DZ14E": "Pulmonary, Pleural or Other Tuberculosis, with CC Score 0-1", + "DZ14F": "Pulmonary, Pleural or Other Tuberculosis, with Interventions", + "DZ14G": "Pulmonary, Pleural or Other Tuberculosis, without Interventions, with CC Score 7+", + "DZ14H": "Pulmonary, Pleural or Other Tuberculosis, without Interventions, with CC Score 3-6", + "DZ14J": "Pulmonary, Pleural or Other Tuberculosis, without Interventions, with CC Score 0-2", + "DZ15A": "Asthma with Intubation, with Major CC", + "DZ15B": "Asthma with Intubation, with Intermediate CC", + "DZ15C": "Asthma with Intubation, without CC", + "DZ15D": "Asthma without Intubation, with Major CC", + "DZ15E": "Asthma without Intubation, with Intermediate CC", + "DZ15F": "Asthma without Intubation, without CC", + "DZ15G": "Asthma with Intubation", + "DZ15H": "Asthma without Intubation, with CC Score 9+", + "DZ15J": "Asthma without Intubation, with CC Score 6-8", + "DZ15K": "Asthma without Intubation, with CC Score 3-5", + "DZ15L": "Asthma without Intubation, with CC Score 0-2", + "DZ15M": "Asthma with Interventions", + "DZ15N": "Asthma without Interventions, with CC Score 9+", + "DZ15P": "Asthma without Interventions, with CC Score 6-8", + "DZ15Q": "Asthma without Interventions, with CC Score 3-5", + "DZ15R": "Asthma without Interventions, with CC Score 0-2", + "DZ16A": "Pleural Effusion with Major CC", + "DZ16B": "Pleural Effusion with Intermediate CC", + "DZ16C": "Pleural Effusion without CC", + "DZ16D": "Pleural Effusion with CC Score 12+", + "DZ16E": "Pleural Effusion with CC Score 8-11", + "DZ16F": "Pleural Effusion with CC Score 4-7", + "DZ16G": "Pleural Effusion with CC Score 0-3", + "DZ16H": "Pleural Effusion with Multiple Interventions, with CC Score 11+", + "DZ16J": "Pleural Effusion with Multiple Interventions, with CC Score 6-10", + "DZ16K": "Pleural Effusion with Multiple Interventions, with CC Score 0-5", + "DZ16L": "Pleural Effusion with Single Intervention, with CC Score 11+", + "DZ16M": "Pleural Effusion with Single Intervention, with CC Score 6-10", + "DZ16N": "Pleural Effusion with Single Intervention, with CC Score 0-5", + "DZ16P": "Pleural Effusion without Interventions, with CC Score 11+", + "DZ16Q": "Pleural Effusion without Interventions, with CC Score 6-10", + "DZ16R": "Pleural Effusion without Interventions, with CC Score 0-5", + "DZ17A": "Respiratory Neoplasms with Major CC", + "DZ17B": "Respiratory Neoplasms with Intermediate CC", + "DZ17C": "Respiratory Neoplasms without CC", + "DZ17E": "Respiratory Neoplasms with CC Score 11+", + "DZ17F": "Respiratory Neoplasms with CC Score 8-10", + "DZ17G": "Respiratory Neoplasms with CC Score 5-7", + "DZ17H": "Respiratory Neoplasms with CC Score 3-4", + "DZ17J": "Respiratory Neoplasms with CC Score 1-2", + "DZ17K": "Respiratory Neoplasms with CC Score 0", + "DZ17L": "Respiratory Neoplasms with Multiple Interventions, with CC Score 10+", + "DZ17M": "Respiratory Neoplasms with Multiple Interventions, with CC Score 6-9", + "DZ17N": "Respiratory Neoplasms with Multiple Interventions, with CC Score 0-5", + "DZ17P": "Respiratory Neoplasms with Single Intervention, with CC Score 10+", + "DZ17Q": "Respiratory Neoplasms with Single Intervention, with CC Score 6-9", + "DZ17R": "Respiratory Neoplasms with Single Intervention, with CC Score 0-5", + "DZ17S": "Respiratory Neoplasms without Interventions, with CC Score 13+", + "DZ17T": "Respiratory Neoplasms without Interventions, with CC Score 8-12", + "DZ17U": "Respiratory Neoplasms without Interventions, with CC Score 4-7", + "DZ17V": "Respiratory Neoplasms without Interventions, with CC Score 0-3", + "DZ18A": "Sleeping Disorders Affecting Breathing with CC Score 5+", + "DZ18B": "Sleeping Disorders Affecting Breathing with CC Score 2-4", + "DZ18C": "Sleeping Disorders Affecting Breathing with CC Score 0-1", + "DZ18D": "Sleep Disorders Affecting Breathing, with Interventions, with CC Score 4+", + "DZ18E": "Sleep Disorders Affecting Breathing, with Interventions, with CC Score 0-3", + "DZ18F": "Sleep Disorders Affecting Breathing, without Interventions, with CC Score 4+", + "DZ18G": "Sleep Disorders Affecting Breathing, without Interventions, with CC Score 0-3", + "DZ18Z": "Sleeping Disorders Affecting Breathing", + "DZ19A": "Other Respiratory Diagnoses with Major CC", + "DZ19B": "Other Respiratory Diagnoses with Intermediate CC", + "DZ19C": "Other Respiratory Diagnoses without CC", + "DZ19D": "Other Respiratory Disorders with CC Score 12+", + "DZ19E": "Other Respiratory Disorders with CC Score 9-11", + "DZ19F": "Other Respiratory Disorders with CC Score 6-8", + "DZ19G": "Other Respiratory Disorders with CC Score 0-5", + "DZ19H": "Other Respiratory Disorders with Multiple Interventions", + "DZ19J": "Other Respiratory Disorders with Single Intervention, with CC Score 5+", + "DZ19K": "Other Respiratory Disorders with Single Intervention, with CC Score 0-4", + "DZ19L": "Other Respiratory Disorders without Interventions, with CC Score 11+", + "DZ19M": "Other Respiratory Disorders without Interventions, with CC Score 5-10", + "DZ19N": "Other Respiratory Disorders without Interventions, with CC Score 0-4", + "DZ20A": "Pulmonary Oedema with CC Score 9+", + "DZ20B": "Pulmonary Oedema with CC Score 4-8", + "DZ20C": "Pulmonary Oedema with CC Score 0-3", + "DZ20D": "Pulmonary Oedema with Interventions", + "DZ20E": "Pulmonary Oedema without Interventions, with CC Score 6+", + "DZ20F": "Pulmonary Oedema without Interventions, with CC Score 0-5", + "DZ20Z": "Pulmonary Oedema", + "DZ21A": "Chronic Obstructive Pulmonary Disease or Bronchitis, with length of stay 1 day or less, discharged home", + "DZ21B": "Chronic Obstructive Pulmonary Disease or Bronchitis, with Intubation, with Major CC", + "DZ21C": "Chronic Obstructive Pulmonary Disease or Bronchitis, with Intubation, with Intermediate CC", + "DZ21D": "Chronic Obstructive Pulmonary Disease or Bronchitis, with Intubation, without CC", + "DZ21E": "Chronic Obstructive Pulmonary Disease or Bronchitis, with NIV, without Intubation, with Major CC", + "DZ21F": "Chronic Obstructive Pulmonary Disease or Bronchitis, with NIV, without Intubation, with Intermediate CC", + "DZ21G": "Chronic Obstructive Pulmonary Disease or Bronchitis, with NIV, without Intubation, without CC", + "DZ21H": "Chronic Obstructive Pulmonary Disease or Bronchitis, without NIV, without Intubation, with Major CC", + "DZ21J": "Chronic Obstructive Pulmonary Disease or Bronchitis, without NIV, without Intubation, with Intermediate CC", + "DZ21K": "Chronic Obstructive Pulmonary Disease or Bronchitis, without NIV, without Intubation, without CC", + "DZ21L": "Chronic Obstructive Pulmonary Disease or Bronchitis, with Intubation", + "DZ21M": "Chronic Obstructive Pulmonary Disease or Bronchitis, with NIV, without Intubation, with CC Score 8+", + "DZ21N": "Chronic Obstructive Pulmonary Disease or Bronchitis, with NIV, without Intubation, with CC Score 4-7", + "DZ21P": "Chronic Obstructive Pulmonary Disease or Bronchitis, with NIV, without Intubation, with CC Score 0-3", + "DZ21Q": "Chronic Obstructive Pulmonary Disease or Bronchitis, without NIV, without Intubation, with CC Score 13+", + "DZ21R": "Chronic Obstructive Pulmonary Disease or Bronchitis, without NIV, without Intubation, with CC Score 10-12", + "DZ21S": "Chronic Obstructive Pulmonary Disease or Bronchitis, without NIV, without Intubation, with CC Score 7-9", + "DZ21T": "Chronic Obstructive Pulmonary Disease or Bronchitis, without NIV, without Intubation, with CC Score 4-6", + "DZ21U": "Chronic Obstructive Pulmonary Disease or Bronchitis, without NIV, without Intubation, with CC Score 0-3", + "DZ22A": "Unspecified Acute Lower Respiratory Infection with Major CC", + "DZ22B": "Unspecified Acute Lower Respiratory Infection with Intermediate CC", + "DZ22C": "Unspecified Acute Lower Respiratory Infection without CC", + "DZ22D": "Unspecified Acute Lower Respiratory Infection with CC Score 14+", + "DZ22E": "Unspecified Acute Lower Respiratory Infection with CC Score 11-13", + "DZ22F": "Unspecified Acute Lower Respiratory Infection with CC Score 8-10", + "DZ22G": "Unspecified Acute Lower Respiratory Infection with CC Score 5-7", + "DZ22H": "Unspecified Acute Lower Respiratory Infection with CC Score 2-4", + "DZ22J": "Unspecified Acute Lower Respiratory Infection with CC Score 0-1", + "DZ22K": "Unspecified Acute Lower Respiratory Infection with Interventions, with CC Score 9+", + "DZ22L": "Unspecified Acute Lower Respiratory Infection with Interventions, with CC Score 0-8", + "DZ22M": "Unspecified Acute Lower Respiratory Infection without Interventions, with CC Score 13+", + "DZ22N": "Unspecified Acute Lower Respiratory Infection without Interventions, with CC Score 9-12", + "DZ22P": "Unspecified Acute Lower Respiratory Infection without Interventions, with CC Score 5-8", + "DZ22Q": "Unspecified Acute Lower Respiratory Infection without Interventions, with CC Score 0-4", + "DZ23A": "Bronchopneumonia with Major CC", + "DZ23B": "Bronchopneumonia with Intermediate CC", + "DZ23C": "Bronchopneumonia without CC", + "DZ23D": "Bronchopneumonia with CC Score 13+", + "DZ23E": "Bronchopneumonia with CC Score 9-12", + "DZ23F": "Bronchopneumonia with CC Score 5-8", + "DZ23G": "Bronchopneumonia with CC Score 0-4", + "DZ23H": "Bronchopneumonia with Multiple Interventions", + "DZ23J": "Bronchopneumonia with Single Intervention, with CC Score 11+", + "DZ23K": "Bronchopneumonia with Single Intervention, with CC Score 0-10", + "DZ23L": "Bronchopneumonia without Interventions, with CC Score 11+", + "DZ23M": "Bronchopneumonia without Interventions, with CC Score 6-10", + "DZ23N": "Bronchopneumonia without Interventions, with CC Score 0-5", + "DZ24A": "Inhalation Lung Injury or Foreign Body, with Major CC", + "DZ24B": "Inhalation Lung Injury or Foreign Body, with Intermediate CC", + "DZ24C": "Inhalation Lung Injury or Foreign Body, without CC", + "DZ24D": "Inhalation Lung Injury or Foreign Body, with CC Score 13+", + "DZ24E": "Inhalation Lung Injury or Foreign Body, with CC Score 10-12", + "DZ24F": "Inhalation Lung Injury or Foreign Body, with CC Score 7-9", + "DZ24G": "Inhalation Lung Injury or Foreign Body, with CC Score 4-6", + "DZ24H": "Inhalation Lung Injury or Foreign Body, with CC Score 0-3", + "DZ24J": "Inhalation, Lung Injury or Foreign Body, with Multiple Interventions, with CC Score 10+", + "DZ24K": "Inhalation, Lung Injury or Foreign Body, with Multiple Interventions, with CC Score 0-9", + "DZ24L": "Inhalation, Lung Injury or Foreign Body, with Single Intervention, with CC Score 10+", + "DZ24M": "Inhalation, Lung Injury or Foreign Body, with Single Intervention, with CC Score 0-9", + "DZ24N": "Inhalation, Lung Injury or Foreign Body, without Interventions, with CC Score 14+", + "DZ24P": "Inhalation, Lung Injury or Foreign Body, without Interventions, with CC Score 10-13", + "DZ24Q": "Inhalation, Lung Injury or Foreign Body, without Interventions, with CC Score 6-9", + "DZ24R": "Inhalation, Lung Injury or Foreign Body, without Interventions, with CC Score 0-5", + "DZ25A": "Fibrosis or Pneumoconiosis, with CC", + "DZ25B": "Fibrosis or Pneumoconiosis, without CC", + "DZ25C": "Fibrosis or Pneumoconiosis, with CC Score 8+", + "DZ25D": "Fibrosis or Pneumoconiosis, with CC Score 5-7", + "DZ25E": "Fibrosis or Pneumoconiosis, with CC Score 2-4", + "DZ25F": "Fibrosis or Pneumoconiosis, with CC Score 0-1", + "DZ25G": "Fibrosis or Pneumoconiosis, with Interventions, with CC Score 7+", + "DZ25H": "Fibrosis or Pneumoconiosis, with Interventions, with CC Score 0-6", + "DZ25J": "Fibrosis or Pneumoconiosis, without Interventions, with CC Score 10+", + "DZ25K": "Fibrosis or Pneumoconiosis, without Interventions, with CC Score 7-9", + "DZ25L": "Fibrosis or Pneumoconiosis, without Interventions, with CC Score 4-6", + "DZ25M": "Fibrosis or Pneumoconiosis, without Interventions, with CC Score 0-3", + "DZ26A": "Pneumothorax or Intrathoracic Injuries, with CC", + "DZ26B": "Pneumothorax or Intrathoracic Injuries, without CC", + "DZ26C": "Pneumothorax or Intrathoracic Injuries, with CC Score 8+", + "DZ26D": "Pneumothorax or Intrathoracic Injuries, with CC Score 5-7", + "DZ26E": "Pneumothorax or Intrathoracic Injuries, with CC Score 2-4", + "DZ26F": "Pneumothorax or Intrathoracic Injuries, with CC Score 0-1", + "DZ26G": "Pneumothorax or Intrathoracic Injuries, with Multiple Interventions, with CC Score 6+", + "DZ26H": "Pneumothorax or Intrathoracic Injuries, with Multiple Interventions, with CC Score 0-5", + "DZ26J": "Pneumothorax or Intrathoracic Injuries, with Single Intervention, with CC Score 6+", + "DZ26K": "Pneumothorax or Intrathoracic Injuries, with Single Intervention, with CC Score 3-5", + "DZ26L": "Pneumothorax or Intrathoracic Injuries, with Single Intervention, with CC Score 0-2", + "DZ26M": "Pneumothorax or Intrathoracic Injuries, without Interventions, with CC Score 6+", + "DZ26N": "Pneumothorax or Intrathoracic Injuries, without Interventions, with CC Score 3-5", + "DZ26P": "Pneumothorax or Intrathoracic Injuries, without Interventions, with CC Score 0-2", + "DZ27A": "Respiratory Failure with Intubation, with Major CC", + "DZ27B": "Respiratory Failure with Intubation, with Intermediate CC", + "DZ27C": "Respiratory Failure with Intubation, without CC", + "DZ27D": "Respiratory Failure without Intubation, with Major CC", + "DZ27E": "Respiratory Failure without Intubation, with Intermediate CC", + "DZ27F": "Respiratory Failure without Intubation, without CC", + "DZ27G": "Respiratory Failure with Intubation", + "DZ27H": "Respiratory Failure without Intubation, with CC Score 12+", + "DZ27J": "Respiratory Failure without Intubation, with CC Score 8-11", + "DZ27K": "Respiratory Failure without Intubation, with CC Score 4-7", + "DZ27L": "Respiratory Failure without Intubation, with CC Score 0-3", + "DZ27M": "Respiratory Failure with Multiple Interventions, with CC Score 11+", + "DZ27N": "Respiratory Failure with Multiple Interventions, with CC Score 0-10", + "DZ27P": "Respiratory Failure with Single Intervention, with CC Score 11+", + "DZ27Q": "Respiratory Failure with Single Intervention, with CC Score 6-10", + "DZ27R": "Respiratory Failure with Single Intervention, with CC Score 0-5", + "DZ27S": "Respiratory Failure without Interventions, with CC Score 11+", + "DZ27T": "Respiratory Failure without Interventions, with CC Score 6-10", + "DZ27U": "Respiratory Failure without Interventions, with CC Score 0-5", + "DZ28A": "Pleurisy with CC Score 3+", + "DZ28B": "Pleurisy with CC Score 0-2", + "DZ28Z": "Pleurisy", + "DZ29A": "Granulomatous, Allergic Alveolitis or Autoimmune Lung Disease, with CC", + "DZ29B": "Granulomatous, Allergic Alveolitis or Autoimmune Lung Disease, without CC", + "DZ29C": "Granulomatous, Allergic Alveolitis or Autoimmune Lung Disease, with CC Score 7+", + "DZ29D": "Granulomatous, Allergic Alveolitis or Autoimmune Lung Disease, with CC Score 4-6", + "DZ29E": "Granulomatous, Allergic Alveolitis or Autoimmune Lung Disease, with CC Score 2-3", + "DZ29F": "Granulomatous, Allergic Alveolitis or Autoimmune Lung Disease, with CC Score 0-1", + "DZ29G": "Granulomatous, Allergic Alveolitis or Autoimmune Lung Disease, with Interventions", + "DZ29H": "Granulomatous, Allergic Alveolitis or Autoimmune Lung Disease, without Interventions, with CC Score 5+", + "DZ29J": "Granulomatous, Allergic Alveolitis or Autoimmune Lung Disease, without Interventions, with CC Score 2-4", + "DZ29K": "Granulomatous, Allergic Alveolitis or Autoimmune Lung Disease, without Interventions, with CC Score 0-1", + "DZ30Z": "Chest Physiotherapy", + "DZ31Z": "Cardiopulmonary Exercise Testing", + "DZ32Z": "Field Exercise Testing", + "DZ33Z": "Hyperbaric Oxygen Treatment", + "DZ34Z": "Complex Bronchodilator Studies", + "DZ35Z": "Simple Bronchodilator Studies", + "DZ36Z": "Bronchial Challenge Studies", + "DZ37A": "Non-Invasive Ventilation Support Assessment, 19 years and over", + "DZ37B": "Non-Invasive Ventilation Support Assessment, 18 years and under", + "DZ37Z": "Non-Invasive Ventilation Support Assessment", + "DZ38Z": "Oxygen Assessment and Monitoring", + "DZ39Z": "Complex Gas Exchange Studies", + "DZ40Z": "Simple Gas Exchange Studies", + "DZ41Z": "Smoking Cessation Support", + "DZ42Z": "TB Nurse Support", + "DZ43Z": "Complex Airflow Studies", + "DZ44Z": "Simple Airflow Studies", + "DZ45Z": "Lung Volume Studies", + "DZ46Z": "Respiratory Muscle Strength Studies", + "DZ48Z": "Respiratory Drive Studies", + "DZ49Z": "Respiratory Nurse or AHP, Education or Support", + "DZ50Z": "Respiratory Sleep Study", + "DZ51Z": "Complex Tuberculosis", + "DZ52Z": "Full Pulmonary Function Testing", + "DZ54Z": "Complex Bronchoscopy", + "DZ55Z": "Bronchodilator Studies", + "DZ56Z": "Carbon Monoxide Transfer Factor Test", + "DZ57Z": "Oximetry or Blood Gas Studies", + "DZ58Z": "Alveolar Carbon Monoxide Measurement or Smoking Cessation Support", + "DZ59Z": "Airflow Studies", + "DZ60Z": "Hypoxic (Altitude) or Hyperoxic (Shunt) Assessment", + "DZ62A": "Very Complex Thoracic Procedures with CC Score 6+", + "DZ62B": "Very Complex Thoracic Procedures with CC Score 3-5", + "DZ62C": "Very Complex Thoracic Procedures with CC Score 0-2", + "DZ63A": "Major Thoracic Procedures, 19 years and over, with CC Score 6+", + "DZ63B": "Major Thoracic Procedures, 19 years and over, with CC Score 3-5", + "DZ63C": "Major Thoracic Procedures, 19 years and over, with CC Score 0-2", + "DZ63D": "Major Thoracic Procedures, between 2 and 18 years", + "DZ63E": "Major Thoracic Procedures, 1 year and under", + "DZ64A": "Intermediate Thoracic Procedures, 19 years and over, with CC Score 6+", + "DZ64B": "Intermediate Thoracic Procedures, 19 years and over, with CC Score 3-5", + "DZ64C": "Intermediate Thoracic Procedures, 19 years and over, with CC Score 0-2", + "DZ64D": "Intermediate Thoracic Procedures, between 2 and 18 years", + "DZ64E": "Intermediate Thoracic Procedures, 1 year and under", + "DZ65A": "Chronic Obstructive Pulmonary Disease or Bronchitis, with Multiple Interventions, with CC Score 9+", + "DZ65B": "Chronic Obstructive Pulmonary Disease or Bronchitis, with Multiple Interventions, with CC Score 0-8", + "DZ65C": "Chronic Obstructive Pulmonary Disease or Bronchitis, with Single Intervention, with CC Score 9+", + "DZ65D": "Chronic Obstructive Pulmonary Disease or Bronchitis, with Single Intervention, with CC Score 5-8", + "DZ65E": "Chronic Obstructive Pulmonary Disease or Bronchitis, with Single Intervention, with CC Score 0-4", + "DZ65F": "Chronic Obstructive Pulmonary Disease or Bronchitis, without Interventions, with CC Score 13+", + "DZ65G": "Chronic Obstructive Pulmonary Disease or Bronchitis, without Interventions, with CC Score 9-12", + "DZ65H": "Chronic Obstructive Pulmonary Disease or Bronchitis, without Interventions, with CC Score 5-8", + "DZ65J": "Chronic Obstructive Pulmonary Disease or Bronchitis, without Interventions, with CC Score 0-4", + "DZ65K": "Chronic Obstructive Pulmonary Disease or Bronchitis, with length of stay 1 day or less, Discharged Home", + "DZ66Z": "Complex Therapeutic Bronchoscopy", + "DZ67Z": "Major Therapeutic Bronchoscopy", + "DZ68Z": "Therapeutic Bronchoscopy", + "DZ69A": "Diagnostic Bronchoscopy, 19 years and over", + "DZ69B": "Diagnostic Bronchoscopy, 18 years and under", + "DZ70Z": "Endobronchial Ultrasound Examination of Mediastinum", + "DZ71Z": "Minor Thoracic Procedures" + } + } + } + }, + "E": { + "description": "Cardiac Surgery and Primary Cardiac Conditions", + "subchapters": { + "A": { + "description": "Cardiac Procedures", + "hrgs": { + "EA01Z": "Heart and Lung Transplant", + "EA02Z": "Heart Transplant", + "EA03A": "Pace 1: Single Chamber or Implantable Diagnostic Device, with CC Score 11+", + "EA03B": "Pace 1: Single Chamber or Implantable Diagnostic Device, with CC Score 8-10", + "EA03C": "Pace 1: Single Chamber or Implantable Diagnostic Device, with CC Score 5-7", + "EA03D": "Pace 1: Single Chamber or Implantable Diagnostic Device, with CC Score 2-4", + "EA03E": "Pace 1: Single Chamber or Implantable Diagnostic Device, with CC Score 0-1", + "EA03Z": "Pace 1: Single Chamber or Implantable Diagnostic Device", + "EA04Z": "Pace 1 - Single chamber or Implantable Diagnostic Device and other (Catheterisation; EP; Ablation; Percutaneous Coronary Intervention)", + "EA05A": "Pace 2: Dual Chamber, with CC Score 9+", + "EA05B": "Pace 2: Dual Chamber, with CC Score 5-8", + "EA05C": "Pace 2: Dual Chamber, with CC Score 2-4", + "EA05D": "Pace 2: Dual Chamber, with CC Score 0-1", + "EA05Z": "Pace 2: Dual Chamber", + "EA06Z": "Pace 2 - Dual Chamber and other (Catheterisation; EP; Ablation; PCI)", + "EA07A": "Pace 3: Biventricular and all Congenital Pacemaker Procedures; Resynchronisation Therapy, with CC Score 8+", + "EA07B": "Pace 3: Biventricular and all Congenital Pacemaker Procedures; Resynchronisation Therapy, with CC Score 4-7", + "EA07C": "Pace 3: Biventricular and all Congenital Pacemaker Procedures; Resynchronisation Therapy, with CC Score 0-3", + "EA07Z": "Pace 3: Biventricular and all Congenital Pacemaker Procedures; Resynchronisation Therapy", + "EA08Z": "Pace 3 - Biventricular and all congenital pacemaker Procedures - Resynchronisation Therapy and other (Catheterisation; EP; Ablation; Intracranial Procedures for Trauma with Minor Diagnosis)", + "EA09Z": "Percutaneous Interventions: Percutaneous Transluminal ASD, VSD or PFO Closure and Valve Insertion", + "EA10Z": "Percutaneous Interventions: Balloon Valve Intermediate Interventions and Arterial Duct Closure", + "EA11A": "Percutaneous Interventions: Other including Septostomy, Embolisation, Non-Coronary Stents and Energy Moderated Perforation, with CC Score 3+", + "EA11B": "Percutaneous Interventions: Other including Septostomy, Embolisation, Non-Coronary Stents and Energy Moderated Perforation, with CC Score 0-2", + "EA11Z": "Percutaneous Interventions: Other including Septostomy, Embolisations, Non-Coronary Stents and Energy Moderated Perforation", + "EA12A": "Implantation of Cardioverter; Defibrillator only, with CC Score 9+", + "EA12B": "Implantation of Cardioverter; Defibrillator only, with CC Score 6-8", + "EA12C": "Implantation of Cardioverter; Defibrillator only, with CC Score 3-5", + "EA12D": "Implantation of Cardioverter; Defibrillator only, with CC Score 0-2", + "EA12Z": "Implantation of Cardioverter; Defibrillator only", + "EA13Z": "Implantation of Cardioverter - Defibrillator with other Procedures", + "EA14A": "Coronary Artery Bypass Graft (First Time) with CC Score 12+", + "EA14B": "Coronary Artery Bypass Graft (First Time) with CC Score 7-11", + "EA14C": "Coronary Artery Bypass Graft (First Time) with CC Score 3-6", + "EA14D": "Coronary Artery Bypass Graft (First Time) with CC Score 0-2", + "EA14Z": "Coronary Artery Bypass Graft (First Time)", + "EA15Z": "Coronary Artery Bypass Graft (First Time) with Cardiac Catheterisation", + "EA16A": "Coronary Artery Bypass Graft (First Time) with Percutaneous Coronary Intervention, Pacing, EP or RFA, with CC Score 9+", + "EA16B": "Coronary Artery Bypass Graft (First Time) with Percutaneous Coronary Intervention, Pacing, EP or RFA, with CC Score 6-8", + "EA16C": "Coronary Artery Bypass Graft (First Time) with Percutaneous Coronary Intervention, Pacing, EP or RFA, with CC Score 3-5", + "EA16D": "Coronary Artery Bypass Graft (First Time) with Percutaneous Coronary Intervention, Pacing, EP or RFA, with CC Score 0-2", + "EA16Z": "Coronary Artery Bypass Graft (First Time) with Percutaneous Coronary Intervention, Pacing, EP or RFA", + "EA17A": "Single Cardiac Valve Procedures with CC Score 9+", + "EA17B": "Single Cardiac Valve Procedures with CC Score 6-8", + "EA17C": "Single Cardiac Valve Procedures with CC Score 3-5", + "EA17D": "Single Cardiac Valve Procedures with CC Score 0-2", + "EA17Z": "Single Cardiac Valve Procedures", + "EA18Z": "Single Cardiac Valve Procedures with Catheterisation", + "EA19A": "Single Cardiac Valve Procedures with Percutaneous Coronary Intervention, Pacing, EP or RFA, with CC Score 6+", + "EA19B": "Single Cardiac Valve Procedures with Percutaneous Coronary Intervention, Pacing, EP or RFA, with CC Score 3-5", + "EA19C": "Single Cardiac Valve Procedures with Percutaneous Coronary Intervention, Pacing, EP or RFA, with CC Score 0-2", + "EA19Z": "Single Cardiac Valve Procedures with Percutaneous Coronary Intervention, Pacing, EP or RFA", + "EA20A": "Other Complex Cardiac Surgery and Re-do's, with CC Score 10+", + "EA20B": "Other Complex Cardiac Surgery and Re-do's, with CC Score 5-9", + "EA20C": "Other Complex Cardiac Surgery and Re-do's, with CC Score 0-4", + "EA20Z": "Other Complex Cardiac Surgery and Re-do's", + "EA21Z": "Other Complex Cardiac Surgery with Catheterisation", + "EA22Z": "Other Complex Cardiac Surgery with Percutaneous Coronary Intervention, Pacing, EP or RFA", + "EA23Z": "Major Complex Congenital Surgery", + "EA24Z": "Complex Congenital Surgery", + "EA25Z": "Intermediate Congenital Surgery", + "EA26Z": "Standard Congenital Surgery", + "EA27Z": "Percutaneous Standard EP or Ablation", + "EA28Z": "Standard EP or Ablation with Catheterisation or Percutaneous Coronary Intervention", + "EA29A": "Percutaneous Complex Ablation, including for Atrial Fibrillation and Ventricular Tachycardia, with CC Score 5+", + "EA29B": "Percutaneous Complex Ablation, including for Atrial Fibrillation and Ventricular Tachycardia, with CC Score 2-4", + "EA29C": "Percutaneous Complex Ablation, including for Atrial Fibrillation and Ventricular Tachycardia, with CC Score 0-1", + "EA29Z": "Percutaneous Complex Ablation, including for Atrial Fibrillation or Ventricular Tachycardia", + "EA30Z": "Complex Ablation (includes Atrial Fibrillation or Ventricular Tachycardia) with Catheterisation or Percutaneous Coronary Intervention", + "EA31A": "Percutaneous Coronary Intervention, 0 to 2 Stents, with CC Score 11+", + "EA31B": "Percutaneous Coronary Intervention, 0 to 2 Stents, with CC Score 7-10", + "EA31C": "Percutaneous Coronary Intervention, 0 to 2 Stents, with CC Score 3-6", + "EA31D": "Percutaneous Coronary Intervention, 0 to 2 Stents, with CC Score 0-2", + "EA31Z": "Percutaneous Coronary Intervention, 0 to 2 Stents", + "EA32Z": "Percutaneous Coronary Intervention (0-2 stents) and Catheterisation", + "EA33Z": "Percutaneous Coronary Interventions with 3 or more Stents", + "EA34Z": "Percutaneous Coronary Interventions with 3 or more Stents and Catheterisation", + "EA35A": "Other Percutaneous Interventions with CC Score 8+", + "EA35B": "Other Percutaneous Interventions with CC Score 5-7", + "EA35C": "Other Percutaneous Interventions with CC Score 2-4", + "EA35D": "Other Percutaneous Interventions with CC Score 0-1", + "EA35Z": "Other Percutaneous Interventions", + "EA36A": "Catheter, 19 years and over", + "EA36B": "Catheter, 18 years and under", + "EA36C": "Catheter with CC Score 13+", + "EA36D": "Catheter with CC Score 10-12", + "EA36E": "Catheter with CC Score 7-9", + "EA36F": "Catheter with CC Score 4-6", + "EA36G": "Catheter with CC Score 2-3", + "EA36H": "Catheter with CC Score 0-1", + "EA39A": "Pacemaker Procedure without Generator Implant, including Re-Siting and Removal of Cardiac Pacemaker System, with CC Score 5+", + "EA39B": "Pacemaker Procedure without Generator Implant, including Re-Siting and Removal of Cardiac Pacemaker System, with CC Score 2-4", + "EA39C": "Pacemaker Procedure without Generator Implant, including Re-Siting and Removal of Cardiac Pacemaker System, with CC Score 0-1", + "EA39Z": "Pacemaker Procedure without Generator Implant, including Re-siting and Removal of Cardiac Pacemaker System", + "EA40Z": "Other Non-Complex Cardiac Surgery", + "EA41Z": "Other Non-Complex Cardiac Surgery + Catheterisation", + "EA42Z": "Other Non-Complex Cardiac Surgery + other (includes PCI; Pacing; EP; RFA +/- Catheterisation - not ICD)", + "EA43Z": "Implantation of Prosthetic Heart or Ventricular Assist Device", + "EA44A": "Minor Cardiac Procedures with CC Score 2+", + "EA44B": "Minor Cardiac Procedures with CC Score 0-1", + "EA44Z": "Minor Cardiac Procedures", + "EA45Z": "Complex Echocardiogram, including Transoesophageal Echocardiography", + "EA47Z": "Electrocardiogram Monitoring and Stress Testing", + "EA48Z": "Single or Dual Chamber, Pacemaker or Implantable Diagnostic Device, with Percutaneous Coronary Intervention, EP or RFA", + "EA49A": "Percutaneous Coronary Interventions with 3 or more Stents, Rotablation, IVUS or Pressure Wire, with CC Score 9+", + "EA49B": "Percutaneous Coronary Interventions with 3 or more Stents, Rotablation, IVUS or Pressure Wire, with CC Score 6-8", + "EA49C": "Percutaneous Coronary Interventions with 3 or more Stents, Rotablation, IVUS or Pressure Wire, with CC Score 3-5", + "EA49D": "Percutaneous Coronary Interventions with 3 or more Stents, Rotablation, IVUS or Pressure Wire, with CC Score 0-2", + "EA49Z": "Percutaneous Coronary Interventions with 3 or more Stents, Rotablation, IVUS or Pressure Wire", + "EA50Z": "Percutaneous Coronary Interventions with 3 or more Stents or rotablation or IVUS or use of pressure wire and Catheterisation", + "EA51A": "Coronary Artery Bypass Graft, with Valve Replacement or Repair, with CC Score 9+", + "EA51B": "Coronary Artery Bypass Graft, with Valve Replacement or Repair, with CC Score 6-8", + "EA51C": "Coronary Artery Bypass Graft, with Valve Replacement or Repair, with CC Score 3-5", + "EA51D": "Coronary Artery Bypass Graft, with Valve Replacement or Repair, with CC Score 0-2", + "EA51Z": "Coronary Artery Bypass Graft, with Valve Replacement or Repair", + "EA52A": "Repair or Replacement of more than one Heart Valve, with CC Score 9+", + "EA52B": "Repair or Replacement of more than one Heart Valve, with CC Score 4-8", + "EA52C": "Repair or Replacement of more than one Heart Valve, with CC Score 0-3", + "EA52Z": "Repair or Replacement of more than one Heart Valve", + "EA53Z": "Transcatheter Aortic Valve Implantation (TAVI)", + "EA54A": "Percutaneous Standard Ablation with CC Score 3+", + "EA54B": "Percutaneous Standard Ablation with CC Score 0-2", + "EA54Z": "Percutaneous Standard Ablation", + "EA55A": "Percutaneous Diagnostic Electrophysiology Studies with CC Score 3+", + "EA55B": "Percutaneous Diagnostic Electrophysiology Studies with CC Score 0-2", + "EA55Z": "Percutaneous Diagnostic Electrophysiology Studies", + "EA56A": "Implantation of Cardiac Resynchronization Therapy Defibrillator (CRT-D), with CC Score 6+", + "EA56B": "Implantation of Cardiac Resynchronization Therapy Defibrillator (CRT-D), with CC Score 3-5", + "EA56C": "Implantation of Cardiac Resynchronization Therapy Defibrillator (CRT-D), with CC Score 0-2", + "EA56Z": "Implantation of Cardiac Resynchronization Therapy Defibrillator (CRT-D)", + "EA57A": "Percutaneous Interventions: Percutaneous Transluminal ASD, VSD or PFO Closure and Valve Insertion, or Balloon Valve Intermediate Interventions and Arterial Duct Closure, with CC Score 5+", + "EA57B": "Percutaneous Interventions: Percutaneous Transluminal ASD, VSD or PFO Closure and Valve Insertion, or Balloon Valve Intermediate Interventions and Arterial Duct Closure, with CC Score 0-4", + "EA58Z": "Transcatheter Aortic Valve Implantation (TAVI) using Transfemoral Approach", + "EA59Z": "Transcatheter Aortic Valve Implantation (TAVI) not using Transfemoral Approach" + } + }, + "B": { + "description": "Cardiac Disorders", + "hrgs": { + "EB01Z": "Non-Interventional Acquired Cardiac Conditions", + "EB02A": "Endocarditis with CC Score 10+", + "EB02B": "Endocarditis with CC Score 5-9", + "EB02C": "Endocarditis with CC Score 0-4", + "EB02Z": "Endocarditis", + "EB03A": "Heart Failure or Shock, with CC Score 14+", + "EB03B": "Heart Failure or Shock, with CC Score 11-13", + "EB03C": "Heart Failure or Shock, with CC Score 8-10", + "EB03D": "Heart Failure or Shock, with CC Score 4-7", + "EB03E": "Heart Failure or Shock, with CC Score 0-3", + "EB03H": "Heart Failure or Shock, with CC", + "EB03I": "Heart Failure or Shock, without CC", + "EB04H": "Hypertension with CC", + "EB04I": "Hypertension without CC", + "EB04Z": "Hypertension", + "EB05A": "Cardiac Arrest with CC Score 9+", + "EB05B": "Cardiac Arrest with CC Score 5-8", + "EB05C": "Cardiac Arrest with CC Score 0-4", + "EB05Z": "Cardiac Arrest", + "EB06A": "Cardiac Valve Disorders with CC Score 13+", + "EB06B": "Cardiac Valve Disorders with CC Score 9-12", + "EB06C": "Cardiac Valve Disorders with CC Score 5-8", + "EB06D": "Cardiac Valve Disorders with CC Score 0-4", + "EB06Z": "Cardiac Valve Disorders", + "EB07A": "Arrhythmia or Conduction Disorders, with CC Score 13+", + "EB07B": "Arrhythmia or Conduction Disorders, with CC Score 10-12", + "EB07C": "Arrhythmia or Conduction Disorders, with CC Score 7-9", + "EB07D": "Arrhythmia or Conduction Disorders, with CC Score 4-6", + "EB07E": "Arrhythmia or Conduction Disorders, with CC Score 0-3", + "EB07H": "Arrhythmia or Conduction Disorders, with CC", + "EB07I": "Arrhythmia or Conduction Disorders, without CC", + "EB08A": "Syncope or Collapse, with CC Score 13+", + "EB08B": "Syncope or Collapse, with CC Score 10-12", + "EB08C": "Syncope or Collapse, with CC Score 7-9", + "EB08D": "Syncope or Collapse, with CC Score 4-6", + "EB08E": "Syncope or Collapse, with CC Score 0-3", + "EB08H": "Syncope or Collapse, with CC", + "EB08I": "Syncope or Collapse, without CC", + "EB09A": "Non-Interventional Congenital Cardiac Conditions with CC Score 3+", + "EB09B": "Non-Interventional Congenital Cardiac Conditions with CC Score 0-2", + "EB09Z": "Non-Interventional Congenital Cardiac Conditions", + "EB10A": "Actual or Suspected Myocardial Infarction, with CC Score 13+", + "EB10B": "Actual or Suspected Myocardial Infarction, with CC Score 10-12", + "EB10C": "Actual or Suspected Myocardial Infarction, with CC Score 7-9", + "EB10D": "Actual or Suspected Myocardial Infarction, with CC Score 4-6", + "EB10E": "Actual or Suspected Myocardial Infarction, with CC Score 0-3", + "EB10Z": "Actual or Suspected Myocardial Infarction", + "EB11Z": "Deep Vein Thrombosis", + "EB12A": "Unspecified Chest Pain with CC Score 11+", + "EB12B": "Unspecified Chest Pain with CC Score 5-10", + "EB12C": "Unspecified Chest Pain with CC Score 0-4", + "EB13A": "Angina with CC Score 12+", + "EB13B": "Angina with CC Score 8-11", + "EB13C": "Angina with CC Score 4-7", + "EB13D": "Angina with CC Score 0-3", + "EB14A": "Other Acquired Cardiac Conditions with CC Score 13+", + "EB14B": "Other Acquired Cardiac Conditions with CC Score 9-12", + "EB14C": "Other Acquired Cardiac Conditions with CC Score 6-8", + "EB14D": "Other Acquired Cardiac Conditions with CC Score 3-5", + "EB14E": "Other Acquired Cardiac Conditions with CC Score 0-2", + "EB15A": "Primary Pulmonary Hypertension with CC Score 9+", + "EB15B": "Primary Pulmonary Hypertension with CC Score 4-8", + "EB15C": "Primary Pulmonary Hypertension with CC Score 0-3" + } + }, + "C": { + "description": "Open and Interventional Procedures for Congenital Heart Disease", + "hrgs": { + "EC01A": "Congenital Cardiac Surgery with Intervention Score 58 or less, with Diagnosis Score 64 or less", + "EC01B": "Congenital Cardiac Surgery with Intervention Score 58 or less, with Diagnosis Score 65-117", + "EC01C": "Congenital Cardiac Surgery with Intervention Score 58 or less, with Diagnosis Score 118 or more", + "EC02A": "Congenital Cardiac Surgery with Intervention Score 59-121, with Diagnosis Score 64 or less", + "EC02B": "Congenital Cardiac Surgery with Intervention Score 59-121, with Diagnosis Score 65-117", + "EC02C": "Congenital Cardiac Surgery with Intervention Score 59-121, with Diagnosis Score 118 or more", + "EC03A": "Congenital Cardiac Surgery with Intervention Score 122 or more, with Diagnosis Score 64 or less", + "EC03B": "Congenital Cardiac Surgery with Intervention Score 122 or more, with Diagnosis Score 65-117", + "EC03C": "Congenital Cardiac Surgery with Intervention Score 122 or more, with Diagnosis Score 118 or more", + "EC10A": "Very Complex Procedures for Congenital Heart Disease with CC Score 15+", + "EC10B": "Very Complex Procedures for Congenital Heart Disease with CC Score 7-14", + "EC10C": "Very Complex Procedures for Congenital Heart Disease with CC Score 0-6", + "EC11A": "Complex Procedures for Congenital Heart Disease with CC Score 15+", + "EC11B": "Complex Procedures for Congenital Heart Disease with CC Score 7-14", + "EC11C": "Complex Procedures for Congenital Heart Disease with CC Score 0-6", + "EC12A": "Very Major Procedures for Congenital Heart Disease with CC Score 9+", + "EC12B": "Very Major Procedures for Congenital Heart Disease with CC Score 4-8", + "EC12C": "Very Major Procedures for Congenital Heart Disease with CC Score 0-3", + "EC13A": "Major Procedures for Congenital Heart Disease with CC Score 9+", + "EC13B": "Major Procedures for Congenital Heart Disease with CC Score 4-8", + "EC13C": "Major Procedures for Congenital Heart Disease with CC Score 0-3", + "EC14A": "Intermediate Procedures for Congenital Heart Disease with CC Score 9+", + "EC14B": "Intermediate Procedures for Congenital Heart Disease with CC Score 4-8", + "EC14C": "Intermediate Procedures for Congenital Heart Disease with CC Score 0-3", + "EC15A": "Minor Procedures for Congenital Heart Disease with CC Score 4+", + "EC15B": "Minor Procedures for Congenital Heart Disease with CC Score 0-3", + "EC20A": "Diagnostic Percutaneous Intervention for Congenital Heart Disease with CC Score 4+", + "EC20B": "Diagnostic Percutaneous Intervention for Congenital Heart Disease with CC Score 0-3", + "EC21Z": "Complex Echocardiogram for Congenital Heart Disease", + "EC22Z": "Electrocardiogram Monitoring or Stress Testing, for Congenital Heart Disease" + } + }, + "D": { + "description": "Open Cardiac Procedures for Acquired Conditions", + "hrgs": { + "ED01Z": "Heart and Lung Transplant", + "ED02A": "Heart Transplant, 19 years and over", + "ED02B": "Heart Transplant, 18 years and under", + "ED03A": "Implantation of Prosthetic Heart or Ventricular Assist Device, 19 years and over", + "ED03B": "Implantation of Prosthetic Heart or Ventricular Assist Device, 18 years and under", + "ED04Z": "Complex Heart Transplant", + "ED05Z": "Standard Heart Transplant", + "ED06Z": "Insertion of Short-Term Bridge to Transplant Ventricular Assist Device, with Heart Transplant", + "ED07Z": "Insertion of Short-Term Bridge to Transplant Ventricular Assist Device, without Heart Transplant", + "ED08Z": "Complex Insertion of Long-Term Bridge to Transplant Ventricular Assist Device", + "ED09Z": "Standard Insertion of Long-Term Bridge to Transplant Ventricular Assist Device", + "ED10Z": "Complex Repair of Descending Thoracic Aorta", + "ED11Z": "Standard Repair of Descending Thoracic Aorta", + "ED12A": "Complex Repair of Aortic Root with CC Score 7+", + "ED12B": "Complex Repair of Aortic Root with CC Score 0-6", + "ED13A": "Standard Repair of Aortic Root with CC Score 7+", + "ED13B": "Standard Repair of Aortic Root with CC Score 0-6", + "ED14A": "Complex Repair of Ascending Thoracic Aorta with CC Score 7+", + "ED14B": "Complex Repair of Ascending Thoracic Aorta with CC Score 0-6", + "ED15A": "Standard Repair of Ascending Thoracic Aorta with CC Score 7+", + "ED15B": "Standard Repair of Ascending Thoracic Aorta with CC Score 0-6", + "ED16Z": "Hybrid Repair of Descending Thoracic Aorta or Aortic Arch", + "ED17Z": "Very Complex Repair of Descending Thoracic Aorta or Aortic Arch", + "ED18Z": "Complex Repair of Descending Thoracic Aorta or Aortic Arch", + "ED20A": "Complex, Repair or Replacement, of Multiple Heart Valves, with CC Score 8+", + "ED20B": "Complex, Repair or Replacement, of Multiple Heart Valves, with CC Score 0-7", + "ED21A": "Standard, Repair or Replacement, of Multiple Heart Valves, with CC Score 8+", + "ED21B": "Standard, Repair or Replacement, of Multiple Heart Valves, with CC Score 0-7", + "ED22A": "Complex, Coronary Artery Bypass Graft with Single Heart Valve Replacement or Repair, with CC Score 11+", + "ED22B": "Complex, Coronary Artery Bypass Graft with Single Heart Valve Replacement or Repair, with CC Score 6-10", + "ED22C": "Complex, Coronary Artery Bypass Graft with Single Heart Valve Replacement or Repair, with CC Score 0-5", + "ED23A": "Standard, Coronary Artery Bypass Graft with Single Heart Valve Replacement or Repair, with CC Score 11+", + "ED23B": "Standard, Coronary Artery Bypass Graft with Single Heart Valve Replacement or Repair, with CC Score 6-10", + "ED23C": "Standard, Coronary Artery Bypass Graft with Single Heart Valve Replacement or Repair, with CC Score 0-5", + "ED24A": "Complex, Single Heart Valve Replacement or Repair, with CC Score 11+", + "ED24B": "Complex, Single Heart Valve Replacement or Repair, with CC Score 6-10", + "ED24C": "Complex, Single Heart Valve Replacement or Repair, with CC Score 0-5", + "ED25A": "Standard, Single Heart Valve Replacement or Repair, with CC Score 11+", + "ED25B": "Standard, Single Heart Valve Replacement or Repair, with CC Score 6-10", + "ED25C": "Standard, Single Heart Valve Replacement or Repair, with CC Score 0-5", + "ED26A": "Complex Coronary Artery Bypass Graft with CC Score 10+", + "ED26B": "Complex Coronary Artery Bypass Graft with CC Score 5-9", + "ED26C": "Complex Coronary Artery Bypass Graft with CC Score 0-4", + "ED27A": "Major Coronary Artery Bypass Graft with CC Score 10+", + "ED27B": "Major Coronary Artery Bypass Graft with CC Score 5-9", + "ED27C": "Major Coronary Artery Bypass Graft with CC Score 0-4", + "ED28A": "Standard Coronary Artery Bypass Graft with CC Score 10+", + "ED28B": "Standard Coronary Artery Bypass Graft with CC Score 5-9", + "ED28C": "Standard Coronary Artery Bypass Graft with CC Score 0-4", + "ED30A": "Complex, Other Operations on Heart or Pericardium, with CC Score 10+", + "ED30B": "Complex, Other Operations on Heart or Pericardium, with CC Score 5-9", + "ED30C": "Complex, Other Operations on Heart or Pericardium, with CC Score 0-4", + "ED31A": "Standard, Other Operations on Heart or Pericardium, with CC Score 10+", + "ED31B": "Standard, Other Operations on Heart or Pericardium, with CC Score 5-9", + "ED31C": "Standard, Other Operations on Heart or Pericardium, with CC Score 0-4" + } + }, + "Y": { + "description": "Interventional Cardiology for Acquired Conditions", + "hrgs": { + "EY01A": "Implantation of Cardioverter Defibrillator with Cardiac Resynchronisation Therapy, with CC Score 9+", + "EY01B": "Implantation of Cardioverter Defibrillator with Cardiac Resynchronisation Therapy, with CC Score 0-8", + "EY02A": "Implantation of Cardioverter Defibrillator with CC Score 9+", + "EY02B": "Implantation of Cardioverter Defibrillator with CC Score 0-8", + "EY03Z": "Implantation of Biventricular Pacemaker with Other Percutaneous Intervention", + "EY04A": "Implantation of Biventricular Pacemaker with CC Score 6+", + "EY04B": "Implantation of Biventricular Pacemaker with CC Score 0-5", + "EY05A": "Implantation of Dual-Chamber Pacemaker with Other Percutaneous Intervention, with CC Score 6+", + "EY05B": "Implantation of Dual-Chamber Pacemaker with Other Percutaneous Intervention, with CC Score 0-5", + "EY06A": "Implantation of Dual-Chamber Pacemaker with CC Score 12+", + "EY06B": "Implantation of Dual-Chamber Pacemaker with CC Score 9-11", + "EY06C": "Implantation of Dual-Chamber Pacemaker with CC Score 6-8", + "EY06D": "Implantation of Dual-Chamber Pacemaker with CC Score 3-5", + "EY06E": "Implantation of Dual-Chamber Pacemaker with CC Score 0-2", + "EY07A": "Implantation of Single-Chamber Pacemaker with Other Percutaneous Intervention, with CC Score 6+", + "EY07B": "Implantation of Single-Chamber Pacemaker with Other Percutaneous Intervention, with CC Score 0-5", + "EY08A": "Implantation of Single-Chamber Pacemaker with CC Score 12+", + "EY08B": "Implantation of Single-Chamber Pacemaker with CC Score 9-11", + "EY08C": "Implantation of Single-Chamber Pacemaker with CC Score 6-8", + "EY08D": "Implantation of Single-Chamber Pacemaker with CC Score 3-5", + "EY08E": "Implantation of Single-Chamber Pacemaker with CC Score 0-2", + "EY09A": "Removal of Cardiac Pacemaker or Cardioverter Defibrillator, with CC Score 6+", + "EY09B": "Removal of Cardiac Pacemaker or Cardioverter Defibrillator, with CC Score 0-5", + "EY10A": "Attention to Cardiac Pacemaker or Cardioverter Defibrillator, with CC Score 6+", + "EY10B": "Attention to Cardiac Pacemaker or Cardioverter Defibrillator, with CC Score 0-5", + "EY11Z": "Testing of Cardiac Pacemaker or Cardioverter Defibrillator", + "EY12A": "Implantation of Electrocardiography Loop Recorder with CC Score 3+", + "EY12B": "Implantation of Electrocardiography Loop Recorder with CC Score 0-2", + "EY13Z": "Removal of Electrocardiography Loop Recorder", + "EY14A": "Implantation of Cardioverter Defibrillator with Cardiac Resynchronisation Therapy, with Extraction or Major Open Procedure, with CC Score 9+", + "EY14B": "Implantation of Cardioverter Defibrillator with Cardiac Resynchronisation Therapy, with Extraction or Major Open Procedure, with CC Score 0-8", + "EY15A": "Implantation of Cardioverter Defibrillator, with Extraction or Major Open Procedure, with CC Score 9+", + "EY15B": "Implantation of Cardioverter Defibrillator, with Extraction or Major Open Procedure, with CC Score 0-8", + "EY16A": "Extraction of Cardiac Pacemaker or Cardioverter Defibrillator, with CC Score 10+", + "EY16B": "Extraction of Cardiac Pacemaker or Cardioverter Defibrillator, with CC Score 0-9", + "EY17A": "Explantation or Attention to, Cardiac Pacemaker or Cardioverter Defibrillator, with CC Score 6+", + "EY17B": "Explantation or Attention to, Cardiac Pacemaker or Cardioverter Defibrillator, with CC Score 0-5", + "EY20A": "Transcatheter Aortic Valve Implantation (TAVI) using Other Approach, with CC Score 8+", + "EY20B": "Transcatheter Aortic Valve Implantation (TAVI) using Other Approach, with CC Score 0-7", + "EY21A": "Transcatheter Aortic Valve Implantation (TAVI) using Transfemoral Approach, with CC Score 8+", + "EY21B": "Transcatheter Aortic Valve Implantation (TAVI) using Transfemoral Approach, with CC Score 0-7", + "EY22A": "Complex Other Percutaneous Transluminal Repair of Acquired Defect of Heart with CC Score 10+", + "EY22B": "Complex Other Percutaneous Transluminal Repair of Acquired Defect of Heart with CC Score 5-9", + "EY22C": "Complex Other Percutaneous Transluminal Repair of Acquired Defect of Heart with CC Score 0-4", + "EY23A": "Standard Other Percutaneous Transluminal Repair of Acquired Defect of Heart with CC Score 10+", + "EY23B": "Standard Other Percutaneous Transluminal Repair of Acquired Defect of Heart with CC Score 5-9", + "EY23C": "Standard Other Percutaneous Transluminal Repair of Acquired Defect of Heart with CC Score 0-4", + "EY30A": "Complex Percutaneous Transluminal Ablation of Heart with CC Score 3+", + "EY30B": "Complex Percutaneous Transluminal Ablation of Heart with CC Score 0-2", + "EY31A": "Standard Percutaneous Transluminal Ablation of Heart with CC Score 3+", + "EY31B": "Standard Percutaneous Transluminal Ablation of Heart with CC Score 0-2", + "EY32A": "Percutaneous Diagnostic Electrophysiology Studies with CC Score 2+", + "EY32B": "Percutaneous Diagnostic Electrophysiology Studies with CC Score 0-1", + "EY40A": "Complex Percutaneous Transluminal Coronary Angioplasty with CC Score 12+", + "EY40B": "Complex Percutaneous Transluminal Coronary Angioplasty with CC Score 8-11", + "EY40C": "Complex Percutaneous Transluminal Coronary Angioplasty with CC Score 4-7", + "EY40D": "Complex Percutaneous Transluminal Coronary Angioplasty with CC Score 0-3", + "EY41A": "Standard Percutaneous Transluminal Coronary Angioplasty with CC Score 12+", + "EY41B": "Standard Percutaneous Transluminal Coronary Angioplasty with CC Score 8-11", + "EY41C": "Standard Percutaneous Transluminal Coronary Angioplasty with CC Score 4-7", + "EY41D": "Standard Percutaneous Transluminal Coronary Angioplasty with CC Score 0-3", + "EY42A": "Complex Cardiac Catheterisation with CC Score 7+", + "EY42B": "Complex Cardiac Catheterisation with CC Score 4-6", + "EY42C": "Complex Cardiac Catheterisation with CC Score 2-3", + "EY42D": "Complex Cardiac Catheterisation with CC Score 0-1", + "EY43A": "Standard Cardiac Catheterisation with CC Score 13+", + "EY43B": "Standard Cardiac Catheterisation with CC Score 10-12", + "EY43C": "Standard Cardiac Catheterisation with CC Score 7-9", + "EY43D": "Standard Cardiac Catheterisation with CC Score 4-6", + "EY43E": "Standard Cardiac Catheterisation with CC Score 2-3", + "EY43F": "Standard Cardiac Catheterisation with CC Score 0-1", + "EY44A": "Very Complex Percutaneous Transluminal Coronary Angioplasty with CC Score 12+", + "EY44B": "Very Complex Percutaneous Transluminal Coronary Angioplasty with CC Score 8-11", + "EY44C": "Very Complex Percutaneous Transluminal Coronary Angioplasty with CC Score 4-7", + "EY44D": "Very Complex Percutaneous Transluminal Coronary Angioplasty with CC Score 0-3", + "EY50Z": "Complex Echocardiogram", + "EY51Z": "Electrocardiogram Monitoring or Stress Testing" + } + } + } + }, + "F": { + "description": "Digestive System", + "subchapters": { + "D": { + "description": "Digestive System Disorders", + "hrgs": { + "FD01A": "Gastrointestinal Infections with Multiple Interventions, with CC Score 4+", + "FD01B": "Gastrointestinal Infections with Multiple Interventions, with CC Score 0-3", + "FD01C": "Gastrointestinal Infections with Single Intervention, with CC Score 5+", + "FD01D": "Gastrointestinal Infections with Single Intervention, with CC Score 2-4", + "FD01E": "Gastrointestinal Infections with Single Intervention, with CC Score 0-1", + "FD01F": "Gastrointestinal Infections without Interventions, with CC Score 8+", + "FD01G": "Gastrointestinal Infections without Interventions, with CC Score 5-7", + "FD01H": "Gastrointestinal Infections without Interventions, with CC Score 2-4", + "FD01J": "Gastrointestinal Infections without Interventions, with CC Score 0-1", + "FD02A": "Inflammatory Bowel Disease with Multiple Interventions, with CC Score 3+", + "FD02B": "Inflammatory Bowel Disease with Multiple Interventions, with CC Score 0-2", + "FD02C": "Inflammatory Bowel Disease with Single Intervention, with CC Score 4+", + "FD02D": "Inflammatory Bowel Disease with Single Intervention, with CC Score 0-3", + "FD02E": "Inflammatory Bowel Disease without Interventions, with CC Score 5+", + "FD02F": "Inflammatory Bowel Disease without Interventions, with CC Score 3-4", + "FD02G": "Inflammatory Bowel Disease without Interventions, with CC Score 1-2", + "FD02H": "Inflammatory Bowel Disease without Interventions, with CC Score 0", + "FD03A": "Gastrointestinal Bleed with Multiple Interventions, with CC Score 5+", + "FD03B": "Gastrointestinal Bleed with Multiple Interventions, with CC Score 0-4", + "FD03C": "Gastrointestinal Bleed with Single Intervention, with CC Score 8+", + "FD03D": "Gastrointestinal Bleed with Single Intervention, with CC Score 5-7", + "FD03E": "Gastrointestinal Bleed with Single Intervention, with CC Score 0-4", + "FD03F": "Gastrointestinal Bleed without Interventions, with CC Score 9+", + "FD03G": "Gastrointestinal Bleed without Interventions, with CC Score 5-8", + "FD03H": "Gastrointestinal Bleed without Interventions, with CC Score 0-4", + "FD04A": "Nutritional Disorders with Interventions, with CC Score 2+", + "FD04B": "Nutritional Disorders with Interventions, with CC Score 0-1", + "FD04C": "Nutritional Disorders without Interventions, with CC Score 6+", + "FD04D": "Nutritional Disorders without Interventions, with CC Score 2-5", + "FD04E": "Nutritional Disorders without Interventions, with CC Score 0-1", + "FD05A": "Abdominal Pain with Interventions", + "FD05B": "Abdominal Pain without Interventions", + "FD10A": "Non-Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 8+", + "FD10B": "Non-Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 5-7", + "FD10C": "Non-Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 3-4", + "FD10D": "Non-Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 0-2", + "FD10E": "Non-Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 9+", + "FD10F": "Non-Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 5-8", + "FD10G": "Non-Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 3-4", + "FD10H": "Non-Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 0-2", + "FD10J": "Non-Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 11+", + "FD10K": "Non-Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 6-10", + "FD10L": "Non-Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 3-5", + "FD10M": "Non-Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 0-2", + "FD11A": "Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 7+", + "FD11B": "Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 3-6", + "FD11C": "Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 0-2", + "FD11D": "Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 6+", + "FD11E": "Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 3-5", + "FD11F": "Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 0-2", + "FD11G": "Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 9+", + "FD11H": "Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 5-8", + "FD11J": "Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 3-4", + "FD11K": "Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 0-2" + } + }, + "E": { + "description": "Digestive System Endoscopic Procedures", + "hrgs": { + "FE01Z": "Complex Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures", + "FE02A": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 19 years and over, with CC Score 3+", + "FE02B": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 19 years and over, with CC Score 1-2", + "FE02C": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 19 years and over, with CC Score 0", + "FE02D": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, between 2 and 18 years", + "FE02E": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 1 year and under", + "FE02F": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 18 years and under", + "FE03A": "Intermediate Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 19 years and over", + "FE03B": "Intermediate Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 18 years and under", + "FE10A": "Endoscopic Insertion of Luminal Stent into Gastrointestinal Tract with CC Score 7+", + "FE10B": "Endoscopic Insertion of Luminal Stent into Gastrointestinal Tract with CC Score 4-6", + "FE10C": "Endoscopic Insertion of Luminal Stent into Gastrointestinal Tract with CC Score 1-3", + "FE10D": "Endoscopic Insertion of Luminal Stent into Gastrointestinal Tract with CC Score 0", + "FE11A": "Endoscopic, Sclerotherapy or Rubber Band Ligation, of Lesion of Upper Gastrointestinal Tract, with CC Score 9+", + "FE11B": "Endoscopic, Sclerotherapy or Rubber Band Ligation, of Lesion of Upper Gastrointestinal Tract, with CC Score 6-8", + "FE11C": "Endoscopic, Sclerotherapy or Rubber Band Ligation, of Lesion of Upper Gastrointestinal Tract, with CC Score 3-5", + "FE11D": "Endoscopic, Sclerotherapy or Rubber Band Ligation, of Lesion of Upper Gastrointestinal Tract, with CC Score 0-2", + "FE12A": "Endoscopic Insertion of Gastrostomy Tube, 19 years and over", + "FE12B": "Endoscopic Insertion of Gastrostomy Tube, 18 years and under", + "FE13Z": "Endoscopic Insertion of, Gastrojejunostomy or Jejunostomy Tube", + "FE20Z": "Therapeutic Endoscopic Upper Gastrointestinal Tract Procedures, 19 years and over", + "FE21Z": "Diagnostic Endoscopic Upper Gastrointestinal Tract Procedures with Biopsy, 19 years and over", + "FE22Z": "Diagnostic Endoscopic Upper Gastrointestinal Tract Procedures, 19 years and over", + "FE23A": "Endoscopic or Intermediate, Upper Gastrointestinal Tract Procedures, between 2 and 18 years", + "FE23B": "Endoscopic or Intermediate, Upper Gastrointestinal Tract Procedures, 1 year and under", + "FE23C": "Endoscopic or Intermediate, Upper Gastrointestinal Tract Procedures, between 5 and 18 years", + "FE23D": "Endoscopic or Intermediate, Upper Gastrointestinal Tract Procedures, 4 years and under", + "FE30Z": "Therapeutic Colonoscopy, 19 years and over", + "FE31Z": "Diagnostic Colonoscopy with Biopsy, 19 years and over", + "FE32Z": "Diagnostic Colonoscopy, 19 years and over", + "FE33Z": "Therapeutic Flexible Sigmoidoscopy, 19 years and over", + "FE34Z": "Diagnostic Flexible Sigmoidoscopy with Biopsy, 19 years and over", + "FE35Z": "Diagnostic Flexible Sigmoidoscopy, 19 years and over", + "FE36Z": "Diagnostic or Therapeutic, Rigid Sigmoidoscopy, 19 years and over", + "FE37A": "Endoscopic or Intermediate, Lower Gastrointestinal Tract Procedures, between 2 and 18 years", + "FE37B": "Endoscopic or Intermediate, Lower Gastrointestinal Tract Procedures, 1 year and under", + "FE37C": "Endoscopic or Intermediate, Lower Gastrointestinal Tract Procedures, between 5 and 18 years", + "FE37D": "Endoscopic or Intermediate, Lower Gastrointestinal Tract Procedures, 4 years and under", + "FE40Z": "Therapeutic, Upper Gastrointestinal Tract Endoscopic Procedure with Colonoscopy, 19 years and over", + "FE41Z": "Diagnostic, Upper Gastrointestinal Tract Endoscopic Procedure with Colonoscopy, with Biopsy, 19 years and over", + "FE42Z": "Diagnostic, Upper Gastrointestinal Tract Endoscopic Procedure with Colonoscopy, 19 years and over", + "FE43Z": "Therapeutic, Upper Gastrointestinal Tract Endoscopic Procedure with Sigmoidoscopy, 19 years and over", + "FE44Z": "Diagnostic, Upper Gastrointestinal Tract Endoscopic Procedure with Sigmoidoscopy, with Biopsy, 19 years and over", + "FE45Z": "Diagnostic, Upper Gastrointestinal Tract Endoscopic Procedure with Sigmoidoscopy, 19 years and over", + "FE46Z": "Upper Gastrointestinal Tract Endoscopic Procedure, with Colonoscopy or Sigmoidoscopy, 18 years and under", + "FE47Z": "Combined Upper and Lower Gastrointestinal Tract Therapeutic Endoscopic Procedures", + "FE48A": "Combined Upper and Lower Gastrointestinal Tract Diagnostic Endoscopic Procedures with Biopsy, 19 years and over", + "FE48B": "Combined Upper and Lower Gastrointestinal Tract Diagnostic Endoscopic Procedures with Biopsy, 18 years and under", + "FE49Z": "Combined Upper and Lower Gastrointestinal Tract Diagnostic Endoscopic Procedures", + "FE50A": "Wireless Capsule Endoscopy, 19 years and over", + "FE50B": "Wireless Capsule Endoscopy, 18 years and under" + } + }, + "F": { + "description": "Digestive System Open and Laparoscopic Procedures", + "hrgs": { + "FF01A": "Very Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 6+", + "FF01B": "Very Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 3-5", + "FF01C": "Very Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 0-2", + "FF02A": "Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 4+", + "FF02B": "Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 2-3", + "FF02C": "Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 0-1", + "FF03A": "Very Complex or Complex, Oesophageal, Stomach or Duodenum Procedures, 18 years and under, with CC Score 2+", + "FF03B": "Very Complex or Complex, Oesophageal, Stomach or Duodenum Procedures, 18 years and under, with CC Score 0-1", + "FF04A": "Major, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 7+", + "FF04B": "Major, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 4-6", + "FF04C": "Major, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 2-3", + "FF04D": "Major, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 0-1", + "FF04E": "Major, Oesophageal, Stomach or Duodenum Procedures, between 2 and 18 years, with CC Score 1+", + "FF04F": "Major, Oesophageal, Stomach or Duodenum Procedures, between 2 and 18 years, with CC Score 0", + "FF04G": "Major, Oesophageal, Stomach or Duodenum Procedures, 1 year and under, with CC Score 1+", + "FF04H": "Major, Oesophageal, Stomach or Duodenum Procedures, 1 year and under, with CC Score 0", + "FF05Z": "Intermediate Upper Gastrointestinal Tract Procedures, 19 years and over", + "FF10Z": "Complex Surgical Procedures for Obesity", + "FF11Z": "Major Surgical Procedures for Obesity", + "FF12Z": "Sleeve Gastrectomy for Obesity", + "FF13Z": "Gastric Band Procedures for Obesity", + "FF14Z": "Adjustment of Gastric Band for Obesity", + "FF20A": "Complex Small Intestine Procedures, 19 years and over, with CC Score 7+", + "FF20B": "Complex Small Intestine Procedures, 19 years and over, with CC Score 3-6", + "FF20C": "Complex Small Intestine Procedures, 19 years and over, with CC Score 0-2", + "FF20D": "Complex Small Intestine Procedures, 18 years and under", + "FF21A": "Very Major Small Intestine Procedures, 19 years and over, with CC Score 8+", + "FF21B": "Very Major Small Intestine Procedures, 19 years and over, with CC Score 5-7", + "FF21C": "Very Major Small Intestine Procedures, 19 years and over, with CC Score 2-4", + "FF21D": "Very Major Small Intestine Procedures, 19 years and over, with CC Score 0-1", + "FF22A": "Major Small Intestine Procedures, 19 years and over, with CC Score 7+", + "FF22B": "Major Small Intestine Procedures, 19 years and over, with CC Score 4-6", + "FF22C": "Major Small Intestine Procedures, 19 years and over, with CC Score 2-3", + "FF22D": "Major Small Intestine Procedures, 19 years and over, with CC Score 0-1", + "FF23A": "Very Major or Major, Small Intestine Procedures, between 2 and 18 years, with CC Score 2+", + "FF23B": "Very Major or Major, Small Intestine Procedures, between 2 and 18 years, with CC Score 0-1", + "FF23C": "Very Major or Major, Small Intestine Procedures, 1 year and under, with CC Score 3+", + "FF23D": "Very Major or Major, Small Intestine Procedures, 1 year and under, with CC Score 1-2", + "FF23E": "Very Major or Major, Small Intestine Procedures, 1 year and under, with CC Score 0", + "FF30A": "Very Complex Large Intestine Procedures with CC Score 9+", + "FF30B": "Very Complex Large Intestine Procedures with CC Score 6-8", + "FF30C": "Very Complex Large Intestine Procedures with CC Score 3-5", + "FF30D": "Very Complex Large Intestine Procedures with CC Score 0-2", + "FF31A": "Complex Large Intestine Procedures, 19 years and over, with CC Score 9+", + "FF31B": "Complex Large Intestine Procedures, 19 years and over, with CC Score 6-8", + "FF31C": "Complex Large Intestine Procedures, 19 years and over, with CC Score 3-5", + "FF31D": "Complex Large Intestine Procedures, 19 years and over, with CC Score 0-2", + "FF32A": "Proximal Colon Procedures, 19 years and over, with CC Score 6+", + "FF32B": "Proximal Colon Procedures, 19 years and over, with CC Score 3-5", + "FF32C": "Proximal Colon Procedures, 19 years and over, with CC Score 0-2", + "FF33A": "Distal Colon Procedures, 19 years and over, with CC Score 3+", + "FF33B": "Distal Colon Procedures, 19 years and over, with CC Score 0-2", + "FF34A": "Major Large Intestine Procedures, 19 years and over, with CC Score 3+", + "FF34B": "Major Large Intestine Procedures, 19 years and over, with CC Score 1-2", + "FF34C": "Major Large Intestine Procedures, 19 years and over, with CC Score 0", + "FF35A": "Complex or Major, Large Intestine Procedures, between 2 and 18 years, with CC Score 1+", + "FF35B": "Complex or Major, Large Intestine Procedures, between 2 and 18 years, with CC Score 0", + "FF35C": "Complex or Major, Large Intestine Procedures, 1 year and under, with CC Score 1+", + "FF35D": "Complex or Major, Large Intestine Procedures, 1 year and under, with CC Score 0", + "FF36Z": "Intermediate Large Intestine Procedures, 19 years and over", + "FF37A": "Appendicectomy Procedures, 19 years and over, with CC Score 5+", + "FF37B": "Appendicectomy Procedures, 19 years and over, with CC Score 3-4", + "FF37C": "Appendicectomy Procedures, 19 years and over, with CC Score 1-2", + "FF37D": "Appendicectomy Procedures, 19 years and over, with CC Score 0", + "FF37E": "Appendicectomy Procedures, 18 years and under, with CC Score 3+", + "FF37F": "Appendicectomy Procedures, 18 years and under, with CC Score 1-2", + "FF37G": "Appendicectomy Procedures, 18 years and under, with CC Score 0", + "FF40A": "Major Anal Procedures, 19 years and over, with CC Score 1+", + "FF40B": "Major Anal Procedures, 19 years and over, with CC Score 0", + "FF40C": "Major Anal Procedures, 18 years and under", + "FF41A": "Intermediate Anal Procedures, 19 years and over, with CC Score 3+", + "FF41B": "Intermediate Anal Procedures, 19 years and over, with CC Score 1-2", + "FF41C": "Intermediate Anal Procedures, 19 years and over, with CC Score 0", + "FF41D": "Intermediate Anal Procedures, 18 years and under", + "FF42A": "Minor Anal Procedures, 19 years and over", + "FF42B": "Minor Anal Procedures, 18 years and under", + "FF42Z": "Minor Anal Procedures", + "FF43Z": "Minimal Anal Procedures", + "FF47Z": "Insertion of Neurostimulator for Treatment of Faecal Incontinence", + "FF48Z": "Insertion of Neurostimulator Electrodes for Treatment of Faecal Incontinence", + "FF50A": "Complex General Abdominal Procedures with CC Score 6+", + "FF50B": "Complex General Abdominal Procedures with CC Score 3-5", + "FF50C": "Complex General Abdominal Procedures with CC Score 0-2", + "FF51A": "Major General Abdominal Procedures, 19 years and over, with CC Score 10+", + "FF51B": "Major General Abdominal Procedures, 19 years and over, with CC Score 6-9", + "FF51C": "Major General Abdominal Procedures, 19 years and over, with CC Score 3-5", + "FF51D": "Major General Abdominal Procedures, 19 years and over, with CC Score 1-2", + "FF51E": "Major General Abdominal Procedures, 19 years and over, with CC Score 0", + "FF51F": "Major General Abdominal Procedures, between 2 and 18 years, with CC Score 1+", + "FF51G": "Major General Abdominal Procedures, between 2 and 18 years, with CC Score 0", + "FF51H": "Major General Abdominal Procedures, 1 year and under, with CC Score 2+", + "FF51J": "Major General Abdominal Procedures, 1 year and under, with CC Score 0-1", + "FF52A": "Intermediate Therapeutic General Abdominal Procedures, 19 years and over, with CC Score 3+", + "FF52B": "Intermediate Therapeutic General Abdominal Procedures, 19 years and over, with CC Score 1-2", + "FF52C": "Intermediate Therapeutic General Abdominal Procedures, 19 years and over, with CC Score 0", + "FF52D": "Intermediate Therapeutic General Abdominal Procedures, 18 years and under", + "FF53A": "Minor Therapeutic or Diagnostic, General Abdominal Procedures, 19 years and over", + "FF53B": "Minor Therapeutic or Diagnostic, General Abdominal Procedures, 18 years and under", + "FF60A": "Complex Hernia Procedures with CC Score 5+", + "FF60B": "Complex Hernia Procedures with CC Score 3-4", + "FF60C": "Complex Hernia Procedures with CC Score 1-2", + "FF60D": "Complex Hernia Procedures with CC Score 0", + "FF61A": "Abdominal Hernia Procedures, 19 years and over, with CC Score 4+", + "FF61B": "Abdominal Hernia Procedures, 19 years and over, with CC Score 1-3", + "FF61C": "Abdominal Hernia Procedures, 19 years and over, with CC Score 0", + "FF61D": "Abdominal Hernia Procedures, 18 years and under", + "FF62A": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over, with CC Score 6+", + "FF62B": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over, with CC Score 3-5", + "FF62C": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over, with CC Score 1-2", + "FF62D": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over, with CC Score 0", + "FF62E": "Inguinal, Umbilical or Femoral Hernia Procedures, between 2 and 18 years", + "FF62F": "Inguinal, Umbilical or Femoral Hernia Procedures, 1 year and under", + "FF63A": "Herniotomy Procedures, 2 years and over", + "FF63B": "Herniotomy Procedures, 1 year and under", + "FF70A": "Multiple Very Complex Gastrointestinal Tract Procedures, 19 years and over, with CC Score 7+", + "FF70B": "Multiple Very Complex Gastrointestinal Tract Procedures, 19 years and over, with CC Score 0-6", + "FF70C": "Multiple Very Complex Gastrointestinal Tract Procedures, 18 years and under" + } + }, + "Z": { + "description": "Digestive System Procedures and Disorders", + "hrgs": { + "FZ01A": "Complex Oesophageal Procedures 19 years and over with CC", + "FZ01B": "Complex Oesophageal Procedures 19 years and over without CC", + "FZ01C": "Complex Oesophageal Procedures 18 years and under", + "FZ02Z": "Very Major Oesophageal Procedures", + "FZ03A": "Diagnostic and intermediate procedures on the upper GI tract 19 years and over", + "FZ03B": "Diagnostic and intermediate procedures on the upper GI tract 18 years and under", + "FZ04A": "Very Major Stomach or Duodenum Procedures with Major CC", + "FZ04B": "Very Major Stomach or Duodenum Procedures without Major CC", + "FZ05A": "Major Stomach or Duodenum Procedures 2 years and over with CC", + "FZ05B": "Major Stomach or Duodenum Procedures 2 years and over without CC", + "FZ05C": "Major Stomach or Duodenum Procedures 1 year and under", + "FZ06A": "Very Major Small Intestine Procedures with CC", + "FZ06B": "Very Major Small Intestine Procedures without CC", + "FZ07A": "Major Small Intestine Procedures with CC", + "FZ07B": "Major Small Intestine Procedures without CC", + "FZ08A": "Complex Large Intestine Procedures with Major CC", + "FZ08B": "Complex Large Intestine Procedures without Major CC", + "FZ09A": "Proximal Colon Procedures with Major CC", + "FZ09B": "Proximal Colon Procedures without Major CC", + "FZ10A": "Distal Colon Procedures with Major CC", + "FZ10B": "Distal Colon Procedures without Major CC", + "FZ11A": "Large Intestine - Major Procedures with Major CC", + "FZ11B": "Large Intestine - Major Procedures without Major CC", + "FZ12A": "General Abdominal - Very Major or Major Procedures with Major CC", + "FZ12B": "General Abdominal - Very Major or Major Procedures with Intermediate CC", + "FZ12C": "General Abdominal - Very Major or Major Procedures without CC", + "FZ12D": "Major General Abdominal Procedures, 19 years and over with Major CC", + "FZ12E": "Major General Abdominal Procedures, 19 years and over with Intermediate CC", + "FZ12F": "Major General Abdominal Procedures, 19 years and over without CC", + "FZ12G": "General Abdominal - Very Major or Major Procedures 18 years and under", + "FZ12H": "Major General Abdominal Procedures, between 2 and 18 years with CC", + "FZ12I": "Major General Abdominal Procedures, between 2 and 18 years without CC", + "FZ12J": "Major General Abdominal Procedures, 1 year and under with Major CC", + "FZ12K": "Major General Abdominal Procedures, 1 year and under without Major CC", + "FZ12L": "Major General Abdominal Procedures, 19 years and over, with CC Score 10+", + "FZ12M": "Major General Abdominal Procedures, 19 years and over, with CC Score 6-9", + "FZ12N": "Major General Abdominal Procedures, 19 years and over, with CC Score 3-5", + "FZ12P": "Major General Abdominal Procedures, 19 years and over, with CC Score 1-2", + "FZ12Q": "Major General Abdominal Procedures, 19 years and over, with CC Score 0", + "FZ12R": "Major General Abdominal Procedures, between 2 and 18 years, with CC Score 1+", + "FZ12S": "Major General Abdominal Procedures, between 2 and 18 years, with CC Score 0", + "FZ12T": "Major General Abdominal Procedures, 1 year and under, with CC Score 2+", + "FZ12U": "Major General Abdominal Procedures, 1 year and under, with CC Score 0-1", + "FZ13A": "General Abdominal - Diagnostic Procedures with CC", + "FZ13B": "General Abdominal - Diagnostic Procedures without CC", + "FZ13C": "Minor Therapeutic or Diagnostic, General Abdominal Procedures, 19 years and over", + "FZ13D": "Minor Therapeutic or Diagnostic, General Abdominal Procedures, 18 years and under", + "FZ13Z": "General Abdominal - Diagnostic Procedures", + "FZ14Z": "Complex Procedures for Inflammatory Bowel Disease", + "FZ15Z": "Major Procedures for Inflammatory Bowel Disease", + "FZ16Z": "Very Major Procedures for Gastrointestinal Bleed", + "FZ17A": "Abdominal Hernia Procedures, 19 years and over with Major CC", + "FZ17B": "Abdominal Hernia Procedures, 19 years and over with Intermediate CC", + "FZ17C": "Abdominal Hernia Procedures, 19 years and over without CC", + "FZ17D": "Abdominal Hernia Procedures, 18 years and under", + "FZ17E": "Abdominal Hernia Procedures, 19 years and over, with CC Score 4+", + "FZ17F": "Abdominal Hernia Procedures, 19 years and over, with CC Score 1-3", + "FZ17G": "Abdominal Hernia Procedures, 19 years and over, with CC Score 0", + "FZ18A": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over with Major CC", + "FZ18B": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over with Intermediate CC", + "FZ18C": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over without CC", + "FZ18D": "Inguinal Umbilical or Femoral Hernia Repairs 18 years and under", + "FZ18E": "Inguinal, Umbilical or Femoral Hernia Procedures, between 2 and 18 years", + "FZ18F": "Inguinal, Umbilical or Femoral Hernia Procedures, 1 year and under", + "FZ18G": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over, with CC Score 6+", + "FZ18H": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over, with CC Score 3-5", + "FZ18J": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over, with CC Score 1-2", + "FZ18K": "Inguinal, Umbilical or Femoral Hernia Procedures, 19 years and over, with CC Score 0", + "FZ19A": "Herniotomy Procedures, 2 years and over", + "FZ19B": "Herniotomy Procedures, 1 year and under", + "FZ19Z": "Herniotomy Procedures", + "FZ20A": "Appendicectomy Procedures, 19 years and over with Major CC", + "FZ20B": "Appendicectomy Procedures, 19 years and over without Major CC", + "FZ20C": "Appendicectomy Procedures 18 years and under", + "FZ20D": "Appendicectomy Procedures, 18 years and under with Major CC", + "FZ20E": "Appendicectomy Procedures, 18 years and under without Major CC", + "FZ20F": "Appendicectomy Procedures, 19 years and over, with CC Score 5+", + "FZ20G": "Appendicectomy Procedures, 19 years and over, with CC Score 3-4", + "FZ20H": "Appendicectomy Procedures, 19 years and over, with CC Score 1-2", + "FZ20J": "Appendicectomy Procedures, 19 years and over, with CC Score 0", + "FZ20K": "Appendicectomy Procedures, 18 years and under, with CC Score 3+", + "FZ20L": "Appendicectomy Procedures, 18 years and under, with CC Score 1-2", + "FZ20M": "Appendicectomy Procedures, 18 years and under, with CC Score 0", + "FZ21A": "Major Anal Procedures, 19 years and over", + "FZ21B": "Major Anal Procedures, 18 years and under", + "FZ21C": "Major Anal Procedures, 19 years and over, with CC Score 1+", + "FZ21D": "Major Anal Procedures, 19 years and over, with CC Score 0", + "FZ21Z": "Major Anal Procedures", + "FZ22A": "Intermediate Anal Procedures, 19 years and over", + "FZ22B": "Intermediate Anal Procedures, 18 years and under", + "FZ22C": "Intermediate Anal Procedures, 19 years and over, with CC Score 3+", + "FZ22D": "Intermediate Anal Procedures, 19 years and over, with CC Score 1-2", + "FZ22E": "Intermediate Anal Procedures, 19 years and over, with CC Score 0", + "FZ23A": "Minor Anal Procedures, 19 years and over", + "FZ23B": "Minor Anal Procedures, 18 years and under", + "FZ23Z": "Minor Anal Procedures", + "FZ24A": "Major Therapeutic Endoscopic Upper or Lower GI Tract Procedures, 19 years and over with Major CC", + "FZ24B": "Major Therapeutic Endoscopic Upper or Lower GI Tract Procedures, 19 years and over with Intermediate CC", + "FZ24C": "Major Therapeutic Endoscopic Upper or Lower GI Tract Procedures, 19 years and over without CC", + "FZ24D": "Major Therapeutic Open or Endoscopic Procedures 18 years and under", + "FZ24E": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, between 2 and 18 years", + "FZ24F": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 1 year and under", + "FZ24G": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 19 years and over, with CC Score 3+", + "FZ24H": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 19 years and over, with CC Score 1-2", + "FZ24J": "Major Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures, 19 years and over, with CC Score 0", + "FZ25A": "Therapeutic Endoscopic or Intermediate Stomach or Duodenum Procedures 19 years and over", + "FZ25B": "Therapeutic Endoscopic or Intermediate Stomach or Duodenum Procedures 18 years and under", + "FZ26A": "Endoscopic or Intermediate Large Intestine Procedures 19 years and over", + "FZ26B": "Endoscopic or Intermediate Large Intestine Procedures 18 years and under", + "FZ27A": "Intermediate Therapeutic General Abdominal Procedures, 19 years and over with Major CC", + "FZ27B": "Intermediate Therapeutic General Abdominal Procedures, 19 years and over with Intermediate CC", + "FZ27C": "Intermediate Therapeutic General Abdominal Procedures, 19 years and over without CC", + "FZ27D": "Intermediate Therapeutic General Abdominal Procedures, 18 years and under", + "FZ27E": "Intermediate Therapeutic General Abdominal Procedures, 19 years and over, with CC Score 3+", + "FZ27F": "Intermediate Therapeutic General Abdominal Procedures, 19 years and over, with CC Score 1-2", + "FZ27G": "Intermediate Therapeutic General Abdominal Procedures, 19 years and over, with CC Score 0", + "FZ28A": "Endoscopic or Intermediate Procedures for Inflammatory Bowel Disease 19 years and over with CC", + "FZ28B": "Endoscopic or Intermediate Procedures for Inflammatory Bowel Disease 19 years and over without CC", + "FZ28C": "Endoscopic or Intermediate Procedures for Inflammatory Bowel Disease 18 years and under", + "FZ29Z": "Major or Therapeutic Endoscopic Procedures for Gastrointestinal Bleed", + "FZ30Z": "Diagnostic Endoscopic or Intermediate Procedures for Gastrointestinal Bleed", + "FZ31A": "Disorders of the Oesophagus with Major CC", + "FZ31B": "Disorders of the Oesophagus with Intermediate CC", + "FZ31C": "Disorders of the Oesophagus without CC", + "FZ31D": "Disorders of the Oesophagus, with length of stay 2 days or more, with Major CC", + "FZ31E": "Disorders of the Oesophagus, with length of stay 2 days or more, without Major CC", + "FZ31F": "Disorders of the Oesophagus, with length of stay 1 day or less", + "FZ32A": "Stomach or Duodenum Disorders with Major CC", + "FZ32B": "Stomach or Duodenum Disorders with Intermediate CC", + "FZ32C": "Stomach or Duodenum Disorders without CC", + "FZ33A": "Small Intestinal Disorders (excluding Inflammatory Bowel Disease) with CC", + "FZ33B": "Small Intestinal Disorders (excluding Inflammatory Bowel Disease) without CC", + "FZ33C": "Small Intestinal Disorders, excluding Inflammatory Bowel Disease, with length of stay 2 days or more, with CC", + "FZ33D": "Small Intestinal Disorders, excluding Inflammatory Bowel Disease, with length of stay 2 days or more, without CC", + "FZ33E": "Small Intestinal Disorders, excluding Inflammatory Bowel Disease, with length of stay 1 day or less", + "FZ34A": "Large Intestinal Disorders with Major CC", + "FZ34B": "Large Intestinal Disorders with Intermediate CC", + "FZ34C": "Large Intestinal Disorders without CC", + "FZ35A": "General Abdominal Disorders with Major CC", + "FZ35B": "General Abdominal Disorders with Intermediate CC", + "FZ35C": "General Abdominal Disorders without CC", + "FZ36A": "Intestinal Infectious Disorders with Major CC", + "FZ36B": "Intestinal Infectious Disorders with Intermediate CC", + "FZ36C": "Intestinal Infectious Disorders without CC", + "FZ36D": "Intestinal Infectious Disorders, with length of stay 2 days or more, with Major CC", + "FZ36E": "Intestinal Infectious Disorders, with length of stay 2 days or more, without Major CC", + "FZ36F": "Intestinal Infectious Disorders, with length of stay 1 day or less", + "FZ36G": "Gastrointestinal Infections with Multiple Interventions, with CC Score 4+", + "FZ36H": "Gastrointestinal Infections with Multiple Interventions, with CC Score 0-3", + "FZ36J": "Gastrointestinal Infections with Single Intervention, with CC Score 5+", + "FZ36K": "Gastrointestinal Infections with Single Intervention, with CC Score 2-4", + "FZ36L": "Gastrointestinal Infections with Single Intervention, with CC Score 0-1", + "FZ36M": "Gastrointestinal Infections without Interventions, with CC Score 8+", + "FZ36N": "Gastrointestinal Infections without Interventions, with CC Score 5-7", + "FZ36P": "Gastrointestinal Infections without Interventions, with CC Score 2-4", + "FZ36Q": "Gastrointestinal Infections without Interventions, with CC Score 0-1", + "FZ37A": "Inflammatory Bowel Disease with Major CC", + "FZ37B": "Inflammatory Bowel Disease with Intermediate CC", + "FZ37C": "Inflammatory Bowel Disease without CC", + "FZ37D": "Inflammatory Bowel Disease with length of stay 1 day or more with Major CC", + "FZ37E": "Inflammatory Bowel Disease with length of stay 1 day or more without Major CC", + "FZ37F": "Inflammatory Bowel Disease, with length of stay 1 day or less", + "FZ37G": "Inflammatory Bowel Disease, with length of stay 2 days or more, with Interventions, with Major CC", + "FZ37H": "Inflammatory Bowel Disease, with length of stay 2 days or more, without Interventions, with Major CC", + "FZ37I": "Inflammatory Bowel Disease, with length of stay 2 days or more, with Interventions, without Major CC", + "FZ37J": "Inflammatory Bowel Disease, with length of stay 2 days or more, without Interventions, without Major CC", + "FZ37K": "Inflammatory Bowel Disease with Multiple Interventions, with CC Score 3+", + "FZ37L": "Inflammatory Bowel Disease with Multiple Interventions, with CC Score 0-2", + "FZ37M": "Inflammatory Bowel Disease with Single Intervention, with CC Score 4+", + "FZ37N": "Inflammatory Bowel Disease with Single Intervention, with CC Score 0-3", + "FZ37P": "Inflammatory Bowel Disease without Interventions, with CC Score 5+", + "FZ37Q": "Inflammatory Bowel Disease without Interventions, with CC Score 3-4", + "FZ37R": "Inflammatory Bowel Disease without Interventions, with CC Score 1-2", + "FZ37S": "Inflammatory Bowel Disease without Interventions, with CC Score 0", + "FZ38A": "Gastrointestinal Bleed with Major CC", + "FZ38B": "Gastrointestinal Bleed with Intermediate CC", + "FZ38C": "Gastrointestinal Bleed without CC", + "FZ38D": "Gastrointestinal Bleed, with length of stay 2 days or more, with Major CC", + "FZ38E": "Gastrointestinal Bleed, with length of stay 2 days or more, without Major CC", + "FZ38F": "Gastrointestinal Bleed, with length of stay 1 day or less", + "FZ38G": "Gastrointestinal Bleed with Multiple Interventions, with CC Score 5+", + "FZ38H": "Gastrointestinal Bleed with Multiple Interventions, with CC Score 0-4", + "FZ38J": "Gastrointestinal Bleed with Single Intervention, with CC Score 8+", + "FZ38K": "Gastrointestinal Bleed with Single Intervention, with CC Score 5-7", + "FZ38L": "Gastrointestinal Bleed with Single Intervention, with CC Score 0-4", + "FZ38M": "Gastrointestinal Bleed without Interventions, with CC Score 9+", + "FZ38N": "Gastrointestinal Bleed without Interventions, with CC Score 5-8", + "FZ38P": "Gastrointestinal Bleed without Interventions, with CC Score 0-4", + "FZ39A": "Hernia Disorders with Major CC", + "FZ39B": "Hernia Disorders with Intermediate CC", + "FZ39C": "Hernia Disorders without CC", + "FZ39D": "Hernia Disorders, with length of stay 2 days or more, with Major CC", + "FZ39E": "Hernia Disorders, with length of stay 2 days or more, without Major CC", + "FZ39F": "Hernia Disorders, with length of stay 1 day or less", + "FZ40A": "Appendix Disorders, with length of stay 2 days or more", + "FZ40B": "Appendix Disorders, with length of stay 1 day or less", + "FZ40Z": "Appendix Disorders", + "FZ41A": "Anal Disorders with Major CC", + "FZ41B": "Anal Disorders with Intermediate CC", + "FZ41C": "Anal Disorders without CC", + "FZ41D": "Anal Disorders, with length of stay 2 days or more, with Major CC", + "FZ41E": "Anal Disorders, with length of stay 2 days or more, without Major CC", + "FZ41F": "Anal Disorders, with length of stay 1 day or less", + "FZ42A": "Wireless Capsule Endoscopy, 19 years and over", + "FZ42B": "Wireless Capsule Endoscopy, 18 years and under", + "FZ42Z": "Wireless Capsule Endoscopy", + "FZ43A": "Non-Malignant Stomach or Duodenum Disorders, with length of stay 2 days or more, with Major CC", + "FZ43B": "Non-Malignant Stomach or Duodenum Disorders, with length of stay 2 days or more, without Major CC", + "FZ43C": "Non-Malignant Stomach or Duodenum Disorders, with length of stay 1 day or less", + "FZ44A": "Malignant Stomach or Duodenum Disorders, with length of stay 2 days or more, with Major CC", + "FZ44B": "Malignant Stomach or Duodenum Disorders, with length of stay 2 days or more, without Major CC", + "FZ44C": "Malignant Stomach or Duodenum Disorders, with length of stay 1 day or less", + "FZ45A": "Non-Malignant Large Intestinal Disorders, with length of stay 2 days or more, with Major CC", + "FZ45B": "Non-Malignant Large Intestinal Disorders, with length of stay 2 days or more, without Major CC", + "FZ45C": "Non-Malignant Large Intestinal Disorders, with length of stay 1 day or less", + "FZ46A": "Malignant Large Intestinal Disorders, with length of stay 2 days or more, with Major CC", + "FZ46B": "Malignant Large Intestinal Disorders, with length of stay 2 days or more, without Major CC", + "FZ46C": "Malignant Large Intestinal Disorders, with length of stay 1 day or less", + "FZ47A": "Non-Malignant General Abdominal Disorders, with length of stay 2 days or more, with Major CC", + "FZ47B": "Non-Malignant General Abdominal Disorders, with length of stay 2 days or more, without Major CC", + "FZ47C": "Non-Malignant General Abdominal Disorders, with length of stay 1 day or less", + "FZ48A": "Malignant General Abdominal Disorders, with length of stay 2 days or more, with Major CC", + "FZ48B": "Malignant General Abdominal Disorders, with length of stay 2 days or more, without Major CC", + "FZ48C": "Malignant General Abdominal Disorders, with length of stay 1 day or less", + "FZ49A": "Nutritional Disorders, with length of stay 2 days or more, with Major CC", + "FZ49B": "Nutritional Disorders, with length of stay 2 days or more, without Major CC", + "FZ49C": "Nutritional Disorders, with length of stay 1 day or less", + "FZ49D": "Nutritional Disorders with Interventions, with CC Score 2+", + "FZ49E": "Nutritional Disorders with Interventions, with CC Score 0-1", + "FZ49F": "Nutritional Disorders without Interventions, with CC Score 6+", + "FZ49G": "Nutritional Disorders without Interventions, with CC Score 2-5", + "FZ49H": "Nutritional Disorders without Interventions, with CC Score 0-1", + "FZ50Z": "Intermediate Large Intestine Procedures, 19 years and over", + "FZ51Z": "Diagnostic Colonoscopy, 19 years and over", + "FZ52Z": "Diagnostic Colonoscopy with Biopsy, 19 years and over", + "FZ53Z": "Therapeutic Colonoscopy, 19 years and over", + "FZ54Z": "Diagnostic Flexible Sigmoidoscopy, 19 years and over", + "FZ55Z": "Diagnostic Flexible Sigmoidoscopy with Biopsy, 19 years and over", + "FZ56Z": "Therapeutic Flexible Sigmoidoscopy, 19 years and over", + "FZ57Z": "Diagnostic or Therapeutic, Rigid Sigmoidoscopy, 19 years and over", + "FZ58A": "Endoscopic or Intermediate, Lower Gastrointestinal Tract Procedures, between 2 and 18 years", + "FZ58B": "Endoscopic or Intermediate, Lower Gastrointestinal Tract Procedures, 1 year and under", + "FZ58Z": "Endoscopic or Intermediate Large Intestine Procedures 18 years and under", + "FZ59Z": "Intermediate Upper Gastrointestinal Tract Procedures, 19 years and over", + "FZ60Z": "Diagnostic Endoscopic Upper Gastrointestinal Tract Procedures, 19 years and over", + "FZ61Z": "Diagnostic Endoscopic Upper Gastrointestinal Tract Procedures with Biopsy, 19 years and over", + "FZ62A": "Endoscopic or Intermediate, Upper Gastrointestinal Tract Procedures, between 2 and 18 years", + "FZ62B": "Endoscopic or Intermediate, Upper Gastrointestinal Tract Procedures, 1 year and under", + "FZ62Z": "Diagnostic and Intermediate Procedures on the Upper GI Tract 18 years and under", + "FZ63Z": "Combined Upper and Lower Gastrointestinal Tract Diagnostic Endoscopic Procedures", + "FZ64A": "Combined Upper and Lower Gastrointestinal Tract Diagnostic Endoscopic Procedures with Biopsy, 19 years and over", + "FZ64B": "Combined Upper and Lower Gastrointestinal Tract Diagnostic Endoscopic Procedures with Biopsy, 18 years and under", + "FZ64Z": "Combined Upper and Lower GI Tract Diagnostic Endoscopic Procedures with biopsy", + "FZ65Z": "Combined Upper and Lower Gastrointestinal Tract Therapeutic Endoscopic Procedures", + "FZ66A": "Very Major Small Intestine Procedures, 19 years and over with CC", + "FZ66B": "Very Major Small Intestine Procedures, 19 years and over without CC", + "FZ66C": "Very Major Small Intestine Procedures, 19 years and over, with CC Score 8+", + "FZ66D": "Very Major Small Intestine Procedures, 19 years and over, with CC Score 5-7", + "FZ66E": "Very Major Small Intestine Procedures, 19 years and over, with CC Score 2-4", + "FZ66F": "Very Major Small Intestine Procedures, 19 years and over, with CC Score 0-1", + "FZ67A": "Major Small Intestine Procedures, 19 years and over with CC", + "FZ67B": "Major Small Intestine Procedures, 19 years and over without CC", + "FZ67C": "Major Small Intestine Procedures, 19 years and over, with CC Score 7+", + "FZ67D": "Major Small Intestine Procedures, 19 years and over, with CC Score 4-6", + "FZ67E": "Major Small Intestine Procedures, 19 years and over, with CC Score 2-3", + "FZ67F": "Major Small Intestine Procedures, 19 years and over, with CC Score 0-1", + "FZ68A": "Very Major and Major Small Intestine Procedures 18 years and under with CC", + "FZ68B": "Very Major and Major Small Intestine Procedures 18 years and under without CC", + "FZ68C": "Very Major or Major Small Intestine Procedures, between 2 and 18 years with CC", + "FZ68D": "Very Major or Major Small Intestine Procedures, between 2 and 18 years without CC", + "FZ68E": "Very Major or Major Small Intestine Procedures, 1 year and under with CC", + "FZ68F": "Very Major or Major Small Intestine Procedures, 1 year and under without CC", + "FZ68G": "Very Major or Major, Small Intestine Procedures, between 2 and 18 years, with CC Score 2+", + "FZ68H": "Very Major or Major, Small Intestine Procedures, between 2 and 18 years, with CC Score 0-1", + "FZ68J": "Very Major or Major, Small Intestine Procedures, 1 year and under, with CC Score 3+", + "FZ68K": "Very Major or Major, Small Intestine Procedures, 1 year and under, with CC Score 1-2", + "FZ68L": "Very Major or Major, Small Intestine Procedures, 1 year and under, with CC Score 0", + "FZ69A": "Complex Small Intestine Procedures, 19 years and over", + "FZ69B": "Complex Small Intestine Procedures, 18 years and under", + "FZ69C": "Complex Small Intestine Procedures, 19 years and over, with CC Score 7+", + "FZ69D": "Complex Small Intestine Procedures, 19 years and over, with CC Score 3-6", + "FZ69E": "Complex Small Intestine Procedures, 19 years and over, with CC Score 0-2", + "FZ70Z": "Therapeutic Endoscopic Upper Gastrointestinal Tract Procedures, 19 years and over", + "FZ71A": "Endoscopic Insertion of Luminal Stent into GI Tract, with length of stay 2 days or more, with Major CC", + "FZ71B": "Endoscopic Insertion of Luminal Stent into GI Tract, with length of stay 2 days or more, without Major CC", + "FZ71C": "Endoscopic Insertion of Luminal Stent into GI Tract, with length of stay 1 day or less", + "FZ71D": "Endoscopic Insertion of Luminal Stent into Gastrointestinal Tract with CC Score 7+", + "FZ71E": "Endoscopic Insertion of Luminal Stent into Gastrointestinal Tract with CC Score 4-6", + "FZ71F": "Endoscopic Insertion of Luminal Stent into Gastrointestinal Tract with CC Score 1-3", + "FZ71G": "Endoscopic Insertion of Luminal Stent into Gastrointestinal Tract with CC Score 0", + "FZ72Z": "Insertion of Spinal Cord Stimulator for Treatment of Faecal Incontinence", + "FZ73A": "Very Complex Large Intestine Procedures with Major CC", + "FZ73B": "Very Complex Large Intestine Procedures without Major CC", + "FZ73C": "Very Complex Large Intestine Procedures with CC Score 9+", + "FZ73D": "Very Complex Large Intestine Procedures with CC Score 6-8", + "FZ73E": "Very Complex Large Intestine Procedures with CC Score 3-5", + "FZ73F": "Very Complex Large Intestine Procedures with CC Score 0-2", + "FZ74A": "Complex Large Intestine Procedures, 19 years and over with Major CC", + "FZ74B": "Complex Large Intestine Procedures, 19 years and over without Major CC", + "FZ74C": "Complex Large Intestine Procedures, 19 years and over, with CC Score 9+", + "FZ74D": "Complex Large Intestine Procedures, 19 years and over, with CC Score 6-8", + "FZ74E": "Complex Large Intestine Procedures, 19 years and over, with CC Score 3-5", + "FZ74F": "Complex Large Intestine Procedures, 19 years and over, with CC Score 0-2", + "FZ75A": "Proximal Colon Procedures, 19 years and over with Major CC", + "FZ75B": "Proximal Colon Procedures, 19 years and over without Major CC", + "FZ75C": "Proximal Colon Procedures, 19 years and over, with CC Score 6+", + "FZ75D": "Proximal Colon Procedures, 19 years and over, with CC Score 3-5", + "FZ75E": "Proximal Colon Procedures, 19 years and over, with CC Score 0-2", + "FZ76A": "Distal Colon Procedures, 19 years and over with Major CC", + "FZ76B": "Distal Colon Procedures, 19 years and over without Major CC", + "FZ76C": "Distal Colon Procedures, 19 years and over, with CC Score 3+", + "FZ76D": "Distal Colon Procedures, 19 years and over, with CC Score 0-2", + "FZ77A": "Major Large Intestine Procedures, 19 years and over with Major CC", + "FZ77B": "Major Large Intestine Procedures, 19 years and over without Major CC", + "FZ77C": "Major Large Intestine Procedures, 19 years and over, with CC Score 3+", + "FZ77D": "Major Large Intestine Procedures, 19 years and over, with CC Score 1-2", + "FZ77E": "Major Large Intestine Procedures, 19 years and over, with CC Score 0", + "FZ78A": "Complex or Major, Large Intestine Procedures, between 2 and 18 years, with CC Score 1+", + "FZ78B": "Complex or Major, Large Intestine Procedures, between 2 and 18 years, with CC Score 0", + "FZ78C": "Complex or Major, Large Intestine Procedures, 1 year and under, with CC Score 1+", + "FZ78D": "Complex or Major, Large Intestine Procedures, 1 year and under, with CC Score 0", + "FZ79A": "Complex General Abdominal Procedures with Major CC", + "FZ79B": "Complex General Abdominal Procedures without Major CC", + "FZ79C": "Complex General Abdominal Procedures with CC Score 6+", + "FZ79D": "Complex General Abdominal Procedures with CC Score 3-5", + "FZ79E": "Complex General Abdominal Procedures with CC Score 0-2", + "FZ80A": "Very Complex Oesophageal, Stomach or Duodenum Procedures, 19 years and over with Major CC", + "FZ80B": "Very Complex Oesophageal, Stomach or Duodenum Procedures, 19 years and over without Major CC", + "FZ80C": "Very Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 6+", + "FZ80D": "Very Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 3-5", + "FZ80E": "Very Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 0-2", + "FZ81A": "Complex Oesophageal, Stomach or Duodenum Procedures, 19 years and over with Major CC", + "FZ81B": "Complex Oesophageal, Stomach or Duodenum Procedures, 19 years and over without Major CC", + "FZ81C": "Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 4+", + "FZ81D": "Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 2-3", + "FZ81E": "Complex, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 0-1", + "FZ82A": "Very Complex or Complex Oesophageal, Stomach or Duodenum Procedures, 18 years and under with CC", + "FZ82B": "Very Complex or Complex Oesophageal, Stomach or Duodenum Procedures, 18 years and under without CC", + "FZ82C": "Very Complex or Complex, Oesophageal, Stomach or Duodenum Procedures, 18 years and under, with CC Score 2+", + "FZ82D": "Very Complex or Complex, Oesophageal, Stomach or Duodenum Procedures, 18 years and under, with CC Score 0-1", + "FZ83A": "Major Oesophageal, Stomach or Duodenum Procedures, 19 years and over with Major CC", + "FZ83B": "Major Oesophageal, Stomach or Duodenum Procedures, 19 years and over without Major CC", + "FZ83C": "Major, Oesophageal, Stomach or Duodenum Procedures, between 2 and 18 years, with CC Score 1+", + "FZ83D": "Major, Oesophageal, Stomach or Duodenum Procedures, between 2 and 18 years, with CC Score 0", + "FZ83E": "Major, Oesophageal, Stomach or Duodenum Procedures, 1 year and under, with CC Score 1+", + "FZ83F": "Major, Oesophageal, Stomach or Duodenum Procedures, 1 year and under, with CC Score 0", + "FZ83G": "Major, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 7+", + "FZ83H": "Major, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 4-6", + "FZ83J": "Major, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 2-3", + "FZ83K": "Major, Oesophageal, Stomach or Duodenum Procedures, 19 years and over, with CC Score 0-1", + "FZ84Z": "Stomach Bypass Procedures for Obesity, 19 years and over", + "FZ85Z": "Restrictive Stomach Procedures for Obesity", + "FZ86Z": "Endoscopic Insertion of Gastric Balloon or Sleeve, for Obesity", + "FZ87A": "Complex Hernia Procedures with Major CC", + "FZ87B": "Complex Hernia Procedures with Intermediate CC", + "FZ87C": "Complex Hernia Procedures without CC", + "FZ87D": "Complex Hernia Procedures with CC Score 5+", + "FZ87E": "Complex Hernia Procedures with CC Score 3-4", + "FZ87F": "Complex Hernia Procedures with CC Score 1-2", + "FZ87G": "Complex Hernia Procedures with CC Score 0", + "FZ88A": "Insertion of Gastrostomy Tube, 19 years and over", + "FZ88B": "Insertion of Gastrostomy Tube, 18 years and under", + "FZ89Z": "Complex Therapeutic Endoscopic, Upper or Lower Gastrointestinal Tract Procedures", + "FZ90A": "Abdominal Pain with Interventions", + "FZ90B": "Abdominal Pain without Interventions", + "FZ91A": "Non-Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 8+", + "FZ91B": "Non-Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 5-7", + "FZ91C": "Non-Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 3-4", + "FZ91D": "Non-Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 0-2", + "FZ91E": "Non-Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 9+", + "FZ91F": "Non-Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 5-8", + "FZ91G": "Non-Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 3-4", + "FZ91H": "Non-Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 0-2", + "FZ91J": "Non-Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 11+", + "FZ91K": "Non-Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 6-10", + "FZ91L": "Non-Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 3-5", + "FZ91M": "Non-Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 0-2", + "FZ92A": "Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 7+", + "FZ92B": "Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 3-6", + "FZ92C": "Malignant Gastrointestinal Tract Disorders with Multiple Interventions, with CC Score 0-2", + "FZ92D": "Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 6+", + "FZ92E": "Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 3-5", + "FZ92F": "Malignant Gastrointestinal Tract Disorders with Single Intervention, with CC Score 0-2", + "FZ92G": "Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 9+", + "FZ92H": "Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 5-8", + "FZ92J": "Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 3-4", + "FZ92K": "Malignant Gastrointestinal Tract Disorders without Interventions, with CC Score 0-2", + "FZ93A": "Endoscopic Insertion of Gastrostomy Tube, 19 years and over", + "FZ93B": "Endoscopic Insertion of Gastrostomy Tube, 18 years and under", + "FZ94Z": "Endoscopic Insertion of, Gastrojejunostomy or Jejunostomy Tube", + "FZ95A": "Endoscopic, Sclerotherapy or Rubber Band Ligation, of Lesion of Upper Gastrointestinal Tract, with CC Score 9+", + "FZ95B": "Endoscopic, Sclerotherapy or Rubber Band Ligation, of Lesion of Upper Gastrointestinal Tract, with CC Score 6-8", + "FZ95C": "Endoscopic, Sclerotherapy or Rubber Band Ligation, of Lesion of Upper Gastrointestinal Tract, with CC Score 3-5", + "FZ95D": "Endoscopic, Sclerotherapy or Rubber Band Ligation, of Lesion of Upper Gastrointestinal Tract, with CC Score 0-2", + "FZ96Z": "Insertion of Neurostimulator for Treatment of Faecal Incontinence", + "FZ97Z": "Insertion of Neurostimulator Electrodes for Treatment of Faecal Incontinence", + "FZ98Z": "Adjustment of Gastric Band for Obesity" + } + } + } + }, + "G": { + "description": "Hepatobiliary and Pancreatic System", + "subchapters": { + "A": { + "description": "Hepatobiliary and Pancreatic System Open and Laparoscopic Procedures", + "hrgs": { + "GA01A": "Hepatobiliary Transplant, 1 year and under", + "GA01B": "Hepatobiliary Transplant, between 2 and 17 years", + "GA01C": "Hepatobiliary Transplant, 18 years and over", + "GA01Z": "Hepatobiliary Transplant", + "GA02Z": "Hepatobiliary Procedures category 8", + "GA03A": "Very Complex Open Hepatobiliary or Pancreatic Procedures, with CC", + "GA03B": "Very Complex Open Hepatobiliary or Pancreatic Procedures, without CC", + "GA03C": "Very Complex Open, Hepatobiliary or Pancreatic Procedures, with CC Score 4+", + "GA03D": "Very Complex Open, Hepatobiliary or Pancreatic Procedures, with CC Score 2-3", + "GA03E": "Very Complex Open, Hepatobiliary or Pancreatic Procedures, with CC Score 0-1", + "GA03Z": "Hepatobiliary Procedures category 7", + "GA04A": "Complex Open Hepatobiliary or Pancreatic Procedures, with CC", + "GA04B": "Complex Open Hepatobiliary or Pancreatic Procedures, without CC", + "GA04C": "Complex Open, Hepatobiliary or Pancreatic Procedures, with CC Score 3+", + "GA04D": "Complex Open, Hepatobiliary or Pancreatic Procedures, with CC Score 0-2", + "GA04Z": "Hepatobiliary Procedures category 6", + "GA05A": "Very Major Open Hepatobiliary or Pancreatic Procedures, with CC", + "GA05B": "Very Major Open Hepatobiliary or Pancreatic Procedures, without CC", + "GA05C": "Very Major Open, Hepatobiliary or Pancreatic Procedures, with CC Score 3+", + "GA05D": "Very Major Open, Hepatobiliary or Pancreatic Procedures, with CC Score 0-2", + "GA06A": "Major Open Hepatobiliary or Pancreatic Procedures, with CC", + "GA06B": "Major Open Hepatobiliary or Pancreatic Procedures, without CC", + "GA06C": "Major Open, Hepatobiliary or Pancreatic Procedures, with CC Score 2+", + "GA06D": "Major Open, Hepatobiliary or Pancreatic Procedures, with CC Score 0-1", + "GA06Z": "Hepatobiliary Procedures category 4", + "GA07A": "Intermediate Open Hepatobiliary or Pancreatic Procedures, with CC", + "GA07B": "Intermediate Open Hepatobiliary or Pancreatic Procedures, without CC", + "GA07C": "Intermediate Open, Hepatobiliary or Pancreatic Procedures, with CC Score 3+", + "GA07D": "Intermediate Open, Hepatobiliary or Pancreatic Procedures, with CC Score 1-2", + "GA07E": "Intermediate Open, Hepatobiliary or Pancreatic Procedures, with CC Score 0", + "GA08A": "Hepatobiliary Procedures category 2 with CC", + "GA08B": "Hepatobiliary Procedures category 2 without CC", + "GA09A": "Hepatobiliary Procedures category 1 with CC", + "GA09B": "Hepatobiliary Procedures category 1 without CC", + "GA10C": "Open Cholecystectomy, 19 years and over without CC", + "GA10D": "Laparoscopic Cholecystectomy, 19 years and over, with length of stay 1 day or more, without CC", + "GA10E": "Laparoscopic Cholecystectomy, 19 years and over, with length of stay 0 days, without CC", + "GA10F": "Open or Laparoscopic Cholecystectomy, 19 years and over with CC", + "GA10G": "Open or Laparoscopic, Cholecystectomy, 18 years and under", + "GA10H": "Laparoscopic Cholecystectomy, 19 years and over, with CC Score 4+", + "GA10J": "Laparoscopic Cholecystectomy, 19 years and over, with CC Score 1-3", + "GA10K": "Laparoscopic Cholecystectomy, 19 years and over, with CC Score 0", + "GA10L": "Open Cholecystectomy, 19 years and over, with CC Score 3+", + "GA10M": "Open Cholecystectomy, 19 years and over, with CC Score 1-2", + "GA10N": "Open Cholecystectomy, 19 years and over, with CC Score 0", + "GA11Z": "Pancreatic Necrosectomy", + "GA12Z": "Multi-Organ or Multiple Transplants", + "GA13A": "Minor, Open or Laparoscopic, Hepatobiliary or Pancreatic Procedures, with CC Score 1+", + "GA13B": "Minor, Open or Laparoscopic, Hepatobiliary or Pancreatic Procedures, with CC Score 0", + "GA14Z": "Multi-Organ or Multiple Transplants", + "GA15A": "Liver Transplant, 18 years and over", + "GA15B": "Liver Transplant, between 2 and 17 years", + "GA15C": "Liver Transplant, 1 year and under", + "GA16Z": "Pancreas Transplant" + } + }, + "B": { + "description": "Hepatobiliary and Pancreatic System Endoscopic Procedures", + "hrgs": { + "GB01A": "Very Major Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with Major CC", + "GB01B": "Very Major Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, without Major CC", + "GB01C": "Very Major, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 7+", + "GB01D": "Very Major, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 4-6", + "GB01E": "Very Major, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 2-3", + "GB01F": "Very Major, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 0-1", + "GB01Z": "Endoscopic/Radiology category 4", + "GB02A": "Major Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with Major CC", + "GB02B": "Major Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with Intermediate CC", + "GB02C": "Major Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, without CC", + "GB02D": "Major, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 4+", + "GB02E": "Major, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 2-3", + "GB02F": "Major, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 0-1", + "GB03A": "Intermediate Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC", + "GB03B": "Intermediate Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, without CC", + "GB03C": "Intermediate, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 8+", + "GB03D": "Intermediate, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 5-7", + "GB03E": "Intermediate, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 2-4", + "GB03F": "Intermediate, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 0-1", + "GB04A": "Endoscopic/Radiology category 1 with Major CC", + "GB04B": "Endoscopic/Radiology category 1 with Intermediate CC", + "GB04C": "Endoscopic/Radiology category 1 without CC", + "GB04D": "Minor, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, 19 years and over", + "GB04E": "Minor, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, 18 years and under", + "GB04Z": "Endoscopic/Radiology category 1", + "GB05A": "Endoscopic Retrograde Cholangiopancreatography category 3 with CC", + "GB05B": "Endoscopic Retrograde Cholangiopancreatography category 3 without CC", + "GB05C": "Major Therapeutic Endoscopic Retrograde Cholangiopancreatography, with length of stay 3 days or more, with Major CC", + "GB05D": "Major Therapeutic Endoscopic Retrograde Cholangiopancreatography, with length of stay 3 days or more, without Major CC", + "GB05E": "Major Therapeutic Endoscopic Retrograde Cholangiopancreatography, with length of stay 2 days or less", + "GB05F": "Major Therapeutic Endoscopic Retrograde Cholangiopancreatography with CC Score 5+", + "GB05G": "Major Therapeutic Endoscopic Retrograde Cholangiopancreatography with CC Score 2-4", + "GB05H": "Major Therapeutic Endoscopic Retrograde Cholangiopancreatography with CC Score 0-1", + "GB06A": "Intermediate Therapeutic Endoscopic Retrograde Cholangiopancreatography, with length of stay 3 days or more, with Major CC", + "GB06B": "Intermediate Therapeutic Endoscopic Retrograde Cholangiopancreatography, with length of stay 3 days or more, with Intermediate CC", + "GB06C": "Intermediate Therapeutic Endoscopic Retrograde Cholangiopancreatography, with length of stay 3 days or more, without C", + "GB06D": "Intermediate Therapeutic Endoscopic Retrograde Cholangiopancreatography, with length of stay 2 days or less", + "GB06E": "Intermediate Therapeutic Endoscopic Retrograde Cholangiopancreatography with CC Score 6+", + "GB06F": "Intermediate Therapeutic Endoscopic Retrograde Cholangiopancreatography with CC Score 4-5", + "GB06G": "Intermediate Therapeutic Endoscopic Retrograde Cholangiopancreatography with CC Score 2-3", + "GB06H": "Intermediate Therapeutic Endoscopic Retrograde Cholangiopancreatography with CC Score 0-1", + "GB07A": "Endoscopic Retrograde Cholangiopancreatography category 1 with length of stay 3 days or more with CC", + "GB07B": "Endoscopic Retrograde Cholangiopancreatography category 1 with length of stay 3 days or more without CC", + "GB07C": "Endoscopic Retrograde Cholangiopancreatography category 1 with length of stay 2 days or less", + "GB07Z": "Minor Diagnostic Endoscopic Retrograde Cholangiopancreatography", + "GB08A": "Complex Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with Major CC", + "GB08B": "Complex Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, without Major CC", + "GB08C": "Complex, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 5+", + "GB08D": "Complex, Endoscopic or Percutaneous, Hepatobiliary or Pancreatic Procedures, with CC Score 0-4", + "GB09A": "Complex Therapeutic Endoscopic Retrograde Cholangiopancreatography, with length of stay 3 days or more, with Major CC", + "GB09B": "Complex Therapeutic Endoscopic Retrograde Cholangiopancreatography, with length of stay 3 days or more, without Major CC", + "GB09C": "Complex Therapeutic Endoscopic Retrograde Cholangiopancreatography, with length of stay 2 days or less", + "GB09D": "Complex Therapeutic Endoscopic Retrograde Cholangiopancreatography with CC Score 5+", + "GB09E": "Complex Therapeutic Endoscopic Retrograde Cholangiopancreatography with CC Score 2-4", + "GB09F": "Complex Therapeutic Endoscopic Retrograde Cholangiopancreatography with CC Score 0-1", + "GB10Z": "Diagnostic Endoscopic Retrograde Cholangiopancreatography, with Biopsy or Cytology", + "GB11Z": "Diagnostic Endoscopic Retrograde Cholangiopancreatography", + "GB12Z": "Endoscopic Ultrasound Examination, of Hepatobiliary or Pancreatic Duct, with Biopsy or Cytology", + "GB13Z": "Endoscopic Ultrasound Examination, of Hepatobiliary or Pancreatic Duct" + } + }, + "C": { + "description": "Hepatobiliary and Pancreatic System Disorders", + "hrgs": { + "GC01A": "Liver Failure Disorders with Interventions", + "GC01B": "Liver Failure Disorders without Interventions", + "GC01C": "Liver Failure Disorders with Multiple Interventions", + "GC01D": "Liver Failure Disorders with Single Intervention", + "GC01E": "Liver Failure Disorders without Interventions, with CC Score 5+", + "GC01F": "Liver Failure Disorders without Interventions, with CC Score 0-4", + "GC01Z": "Liver Failure Disorders", + "GC02A": "Liver and Pancreatic Disorders Category 6 with Major CC", + "GC02B": "Liver and Pancreatic Disorders Category 6 with Intermediate CC", + "GC02C": "Liver and Pancreatic Disorders Category 6 without CC", + "GC03A": "Liver and Pancreatic Disorders category 5 with CC", + "GC03B": "Liver and Pancreatic Disorders category 5 without CC", + "GC04A": "Liver and Pancreatic Disorders Category 4 with Major CC", + "GC04B": "Liver and Pancreatic Disorders Category 4 with Intermediate CC", + "GC04C": "Liver and Pancreatic Disorders Category 4 without CC", + "GC05A": "Liver and Pancreatic Disorders Category 3 with Major CC", + "GC05B": "Liver and Pancreatic Disorders Category 3 with Intermediate CC", + "GC05C": "Liver and Pancreatic Disorders Category 3 without CC", + "GC06A": "Liver and Pancreatic Disorders category 2 with Major CC", + "GC06B": "Liver and Pancreatic Disorders category 2 with Intermediate CC", + "GC06C": "Liver and Pancreatic Disorders category 2 without CC", + "GC07A": "Liver and Pancreatic Disorders category 1 with Major CC", + "GC07B": "Liver and Pancreatic Disorders category 1 with Intermediate CC", + "GC07C": "Liver and Pancreatic Disorders category 1 without CC", + "GC08A": "Liver Disorders Category 6 with Major CC", + "GC08B": "Liver Disorders Category 6 without Major CC", + "GC09A": "Pancreatic and Biliary Disorders Category 6 with Major CC", + "GC09B": "Pancreatic and Biliary Disorders Category 6 without Major CC", + "GC10A": "Liver Disorders Category 4 with Major CC", + "GC10B": "Liver Disorders Category 4 with Intermediate CC", + "GC10C": "Liver Disorders Category 4 without CC", + "GC11A": "Pancreatic and Biliary Disorders Category 4 with Major CC", + "GC11B": "Pancreatic and Biliary Disorders Category 4 with Intermediate CC", + "GC11C": "Pancreatic and Biliary Disorders Category 4 without CC", + "GC12A": "Malignant Liver or Pancreatic Disorders, with length of stay 2 days or more", + "GC12B": "Malignant Liver or Pancreatic Disorders, with length of stay 1 day or less", + "GC12C": "Malignant, Hepatobiliary or Pancreatic Disorders, with Multiple Interventions", + "GC12D": "Malignant, Hepatobiliary or Pancreatic Disorders, with Single Intervention, with CC Score 5+", + "GC12E": "Malignant, Hepatobiliary or Pancreatic Disorders, with Single Intervention, with CC Score 2-4", + "GC12F": "Malignant, Hepatobiliary or Pancreatic Disorders, with Single Intervention, with CC Score 0-1", + "GC12G": "Malignant, Hepatobiliary or Pancreatic Disorders, without Interventions, with CC Score 6+", + "GC12H": "Malignant, Hepatobiliary or Pancreatic Disorders, without Interventions, with CC Score 3-5", + "GC12J": "Malignant, Hepatobiliary or Pancreatic Disorders, without Interventions, with CC Score 1-2", + "GC12K": "Malignant, Hepatobiliary or Pancreatic Disorders, without Interventions, with CC Score 0", + "GC13A": "Liver Disorders Category 3 with Major CC", + "GC13B": "Liver Disorders Category 3 with Intermediate CC", + "GC13C": "Liver Disorders Category 3 without CC", + "GC14A": "Pancreatic and Biliary Disorders Category 3 with Major CC", + "GC14B": "Pancreatic and Biliary Disorders Category 3 with Intermediate CC", + "GC14C": "Pancreatic and Biliary Disorders Category 3 without CC", + "GC15A": "Non-Malignant Liver Disorders with Catastrophic CCs", + "GC15B": "Non-Malignant Liver Disorders with Severe CCs", + "GC15C": "Non-Malignant Liver Disorders with Major CCs", + "GC15D": "Non-Malignant Liver Disorders without Major CCs", + "GC16A": "Non-Malignant Pancreatic or Biliary Disorders, with Catastrophic CCs", + "GC16B": "Non-Malignant Pancreatic or Biliary Disorders, with Severe CCs", + "GC16C": "Non-Malignant Pancreatic or Biliary Disorders, with Major CCs", + "GC16D": "Non-Malignant Pancreatic or Biliary Disorders, without Major CCs", + "GC17A": "Non-Malignant, Hepatobiliary or Pancreatic Disorders, with Multiple Interventions, with CC Score 9+", + "GC17B": "Non-Malignant, Hepatobiliary or Pancreatic Disorders, with Multiple Interventions, with CC Score 4-8", + "GC17C": "Non-Malignant, Hepatobiliary or Pancreatic Disorders, with Multiple Interventions, with CC Score 0-3", + "GC17D": "Non-Malignant, Hepatobiliary or Pancreatic Disorders, with Single Intervention, with CC Score 9+", + "GC17E": "Non-Malignant, Hepatobiliary or Pancreatic Disorders, with Single Intervention, with CC Score 4-8", + "GC17F": "Non-Malignant, Hepatobiliary or Pancreatic Disorders, with Single Intervention, with CC Score 0-3", + "GC17G": "Non-Malignant, Hepatobiliary or Pancreatic Disorders, without Interventions, with CC Score 8+", + "GC17H": "Non-Malignant, Hepatobiliary or Pancreatic Disorders, without Interventions, with CC Score 5-7", + "GC17J": "Non-Malignant, Hepatobiliary or Pancreatic Disorders, without Interventions, with CC Score 2-4", + "GC17K": "Non-Malignant, Hepatobiliary or Pancreatic Disorders, without Interventions, with CC Score 0-1", + "GC18A": "Non-Obstructive Jaundice with CC Score 5+", + "GC18B": "Non-Obstructive Jaundice with CC Score 0-4" + } + } + } + }, + "H": { + "description": "Musculoskeletal System", + "subchapters": { + "A": { + "description": "Orthopaedic Trauma Procedures", + "hrgs": { + "HA01B": "Reconstruction Procedures Category 6 with CC", + "HA01C": "Reconstruction Procedures Category 6 without CC", + "HA02Z": "Reconstruction Procedures Category 5", + "HA03Z": "Reconstruction Procedures Category 4", + "HA04B": "Reconstruction Procedures Category 3 with CC", + "HA04C": "Reconstruction Procedures Category 3 without CC", + "HA05Z": "Reconstruction Procedures Category 2", + "HA06Z": "Reconstruction Procedures Category 1", + "HA11A": "Major Hip Procedures for Trauma, Category 2, with Major CC", + "HA11B": "Major Hip Procedures for Trauma, Category 2, with Intermediate CC", + "HA11C": "Major Hip Procedures for Trauma, Category 2, without CC", + "HA12B": "Major Hip Procedures for Trauma, Category 1, with CC", + "HA12C": "Major Hip Procedures for Trauma, Category 1, without CC", + "HA13A": "Intermediate Hip Procedures for Trauma, with Major CC", + "HA13B": "Intermediate Hip Procedures for Trauma, with Intermediate CC", + "HA13C": "Intermediate Hip Procedures for Trauma, without CC", + "HA14A": "Minor Hip Procedures for Trauma, with Major CC", + "HA14B": "Minor Hip Procedures for Trauma, with Intermediate CC", + "HA14C": "Minor Hip Procedures for Trauma, without CC", + "HA19Z": "Minimal Hip Procedures for Trauma", + "HA21B": "Major Knee Procedures for Trauma, Category 2, with CC", + "HA21C": "Major Knee Procedures for Trauma, Category 2, without CC", + "HA22B": "Major Knee Procedures for Trauma, Category 1, with CC", + "HA22C": "Major Knee Procedures for Trauma, Category 1, without CC", + "HA23B": "Intermediate Knee Procedures for Trauma, Category 2, with CC", + "HA23C": "Intermediate Knee Procedures for Trauma, Category 2, without CC", + "HA24Z": "Intermediate Knee Procedures for Trauma, Category 1", + "HA25B": "Minor Knee Procedures for Trauma, Category 2, with CC", + "HA25C": "Minor Knee Procedures for Trauma, Category 2, without CC", + "HA26B": "Minor Knee Procedures for Trauma, Category 1, with CC", + "HA26C": "Minor Knee Procedures for Trauma, Category 1, without CC", + "HA29Z": "Minimal Knee Procedures for Trauma", + "HA31B": "Major Foot Procedures for Trauma, with CC", + "HA31C": "Major Foot Procedures for Trauma, without CC", + "HA32Z": "Intermediate Foot Procedures for Trauma, Category 2", + "HA33Z": "Intermediate Foot Procedures for Trauma, Category 1", + "HA34Z": "Minor Foot Procedures for Trauma, Category 2", + "HA35Z": "Minor Foot Procedures for Trauma, Category 1", + "HA39Z": "Minimal Foot Procedures for Trauma", + "HA41Z": "Major Arm Procedures for Trauma Category 2", + "HA42B": "Major Arm Procedures for Trauma Category 1 with CC", + "HA42C": "Major Arm Procedures for Trauma Category 1 without CC", + "HA43B": "Intermediate Arm Procedures for Trauma Category 2 with CC", + "HA43C": "Intermediate Arm Procedures for Trauma Category 2 without CC", + "HA44Z": "Intermediate Arm Procedures for Trauma Category 1", + "HA45Z": "Minor Arm Procedures for Trauma Category 2", + "HA46Z": "Minor Arm Procedures for Trauma Category 1", + "HA51Z": "Major Hand Procedures for Trauma, Category 2", + "HA52Z": "Major Hand Procedures for Trauma, Category 1", + "HA53Z": "Intermediate Hand Procedures for Trauma, Category 2", + "HA54Z": "Intermediate Hand Procedures for Trauma, Category 1", + "HA55Z": "Minor Hand Procedures for Trauma, Category 2", + "HA56A": "Minor Hand Procedures for Trauma, Category 1, 19 years and over", + "HA56B": "Minor Hand Procedures for Trauma, Category 1, 18 years and under", + "HA56Z": "Minor Hand Procedures for Trauma Level Category 1", + "HA59Z": "Minimal Hand Procedures for Trauma", + "HA61B": "Major, Shoulder or Upper Arm Procedures for Trauma, with CC", + "HA61C": "Major, Shoulder or Upper Arm Procedures for Trauma, without CC", + "HA62Z": "Intermediate, Shoulder or Upper Arm Procedures for Trauma", + "HA63Z": "Minor, Shoulder or Upper Arm Procedures for Trauma", + "HA69Z": "Minimal, Shoulder or Upper Arm Procedures for Trauma", + "HA71B": "Major, Elbow or Lower Arm Procedures for Trauma, with CC", + "HA71C": "Major, Elbow or Lower Arm Procedures for Trauma, without CC", + "HA72Z": "Intermediate, Elbow or Lower Arm Procedures for Trauma", + "HA73B": "Minor, Elbow or Lower Arm Procedures for Trauma, 18 years and under", + "HA73C": "Minor, Elbow or Lower Arm Procedures for Trauma, 19 years and over", + "HA79Z": "Minimal, Elbow or Lower Arm Procedures for Trauma", + "HA81A": "Sprains, Strains or Minor Open Wounds, with Major CC", + "HA81B": "Sprains, Strains or Minor Open Wounds, with Intermediate CC", + "HA81C": "Sprains, Strains or Minor Open Wounds, without CC", + "HA82A": "Major Cranial, Visceral or Blood Vessel Injury with Major CC", + "HA82B": "Major Cranial, Visceral or Blood Vessel Injury with CC", + "HA82C": "Major Cranial, Visceral or Blood Vessel Injury without CC", + "HA83A": "Head Injury with Major CC", + "HA83B": "Head Injury with Intermediate CC", + "HA83C": "Head Injury without CC", + "HA84A": "Traumatic Amputations with Major CC", + "HA84B": "Traumatic Amputations with CC", + "HA84C": "Traumatic Amputations without CC", + "HA91Z": "Hip Trauma Diagnosis without Procedure", + "HA92Z": "Knee Trauma Diagnosis without Procedure", + "HA93Z": "Foot Trauma Diagnosis without Procedure", + "HA94Z": "Arm Trauma Diagnosis without Procedure", + "HA95Z": "Hand Trauma Diagnosis without Procedure", + "HA96Z": "Multiple Trauma Diagnoses without Procedure", + "HA97Z": "Other Trauma Diagnosis without Procedure", + "HA99Z": "Other Procedures for Trauma" + } + }, + "B": { + "description": "Orthopaedic Non-Trauma Procedures", + "hrgs": { + "HB11A": "Major Hip Procedures for Non-Trauma, Category 2, with Major CC", + "HB11B": "Major Hip Procedures for Non-Trauma, Category 2, with Intermediate CC", + "HB11C": "Major Hip Procedures for Non-Trauma, Category 2, without CC", + "HB12A": "Major Hip Procedures for Non-Trauma, Category 1, with Major CC", + "HB12B": "Major Hip Procedures for Non-Trauma, Category 1, with Intermediate CC", + "HB12C": "Major Hip Procedures for Non-Trauma, Category 1, without CC", + "HB13Z": "Intermediate Hip Procedures for Non-Trauma, Category 2", + "HB14B": "Intermediate Hip Procedures for Non-Trauma, Category 1, with CC", + "HB14C": "Intermediate Hip Procedures for Non-Trauma, Category 1, without CC", + "HB15B": "Minor Hip Procedures for non Trauma Category 2 with CC", + "HB15C": "Minor Hip Procedures for non Trauma Category 2 without CC", + "HB15D": "Minor Hip Procedures for Non-Trauma, Category 2, 19 years and over with CC", + "HB15E": "Minor Hip Procedures for Non-Trauma, Category 2, 19 years and over without CC", + "HB15F": "Minor Hip Procedures for Non-Trauma, Category 2, 18 years and under with CC", + "HB15G": "Minor Hip Procedures for Non-Trauma, Category 2, 18 years and under without CC", + "HB16B": "Minor Hip Procedures for Non-Trauma, Category 1, with CC", + "HB16C": "Minor Hip Procedures for Non-Trauma, Category 1, without CC", + "HB19Z": "Minimal Hip Procedures for Non-Trauma", + "HB21A": "Major Knee Procedures for Non-Trauma, Category 2, with Major CC", + "HB21B": "Major Knee Procedures for Non-Trauma, Category 2, with CC", + "HB21C": "Major Knee Procedures for Non-Trauma, Category 2, without CC", + "HB22B": "Major Knee Procedures for Non-Trauma, Category 1, with CC", + "HB22C": "Major Knee Procedures for Non-Trauma, Category 1, without CC", + "HB23B": "Intermediate Knee Procedures for Non-Trauma, with CC", + "HB23C": "Intermediate Knee Procedures for Non-Trauma, without CC", + "HB24B": "Minor Knee Procedures for Non-Trauma, Category 2, with CC", + "HB24C": "Minor Knee Procedures for Non-Trauma, Category 2, without CC", + "HB25A": "Minor Knee Procedures for non Trauma Category 1 with Major CC", + "HB25B": "Minor Knee Procedures for non Trauma Category 1 with CC", + "HB25C": "Minor Knee Procedures for non Trauma Category 1 without CC", + "HB25D": "Minor Knee Procedures for Non-Trauma, Category 1, 19 years and over, with Major CC", + "HB25E": "Minor Knee Procedures for Non-Trauma, Category 1, 19 years and over, with Intermediate CC", + "HB25F": "Minor Knee Procedures for Non-Trauma, Category 1, 19 years and over, without CC", + "HB25G": "Minor Knee Procedures for Non-Trauma, Category 1, 18 years and under, with Major CC", + "HB25H": "Minor Knee Procedures for Non-Trauma, Category 1, 18 years and under, with Intermediate CC", + "HB25J": "Minor Knee Procedures for Non-Trauma, Category 1, 18 years and under, without CC", + "HB29Z": "Minimal Knee Procedures for Non-Trauma", + "HB31Z": "Major Foot Procedures for Non-Trauma", + "HB32A": "Intermediate Foot Procedures for Non-Trauma, Category 2, 19 years and over", + "HB32B": "Intermediate Foot Procedures for Non-Trauma, Category 2, 18 years and under", + "HB32Z": "Intermediate Foot Procedures for non -Trauma Category 2", + "HB33B": "Intermediate Foot Procedures for Non -Trauma Category 1 with CC", + "HB33C": "Intermediate Foot Procedures for Non -Trauma Category 1 without CC", + "HB33D": "Intermediate Foot Procedures for Non-Trauma, Category 1, 19 years and over, with CC", + "HB33E": "Intermediate Foot Procedures for Non-Trauma, Category 1, 19 years and over, without CC", + "HB33F": "Intermediate Foot Procedures for Non-Trauma, Category 1, 18 years and under, with CC", + "HB33G": "Intermediate Foot Procedures for Non-Trauma, Category 1, 18 years and under, without CC", + "HB34B": "Minor Foot Procedures for Non -Trauma Category 2 with CC", + "HB34C": "Minor Foot Procedures for Non -Trauma Category 2 without CC", + "HB34D": "Minor Foot Procedures for Non-Trauma, Category 2, 19 years and over, with CC", + "HB34E": "Minor Foot Procedures for Non-Trauma, Category 2, 19 years and over, without CC", + "HB34F": "Minor Foot Procedures for Non-Trauma, Category 2, 18 years and under, with CC", + "HB34G": "Minor Foot Procedures for Non-Trauma, Category 2, 18 years and under, without CC", + "HB35B": "Minor Foot Procedures for Non-Trauma, Category 1, with CC", + "HB35C": "Minor Foot Procedures for Non-Trauma, Category 1, without CC", + "HB39Z": "Minimal Foot Procedures for Non-Trauma", + "HB41B": "Major Arm Procedures for non Trauma with CC", + "HB41C": "Major Arm Procedures for non Trauma without CC", + "HB42B": "Intermediate Arm Procedures for non Trauma Category 2 with CC", + "HB42C": "Intermediate Arm Procedures for non Trauma Category 2 without CC", + "HB43B": "Intermediate Arm Procedures for non Trauma Category 1 with CC", + "HB43C": "Intermediate Arm Procedures for non Trauma Category 1 without CC", + "HB44B": "Minor Arm Procedures for non Trauma Category 2 with CC", + "HB44C": "Minor Arm Procedures for non Trauma Category 2 without CC", + "HB45B": "Minor Arm Procedures for non Trauma Category 1 with CC", + "HB45C": "Minor Arm Procedures for non Trauma Category 1 without CC", + "HB51Z": "Major Hand Procedures for Non-Trauma, Category 2", + "HB52B": "Major Hand Procedures for Non-Trauma, Category 1, with CC", + "HB52C": "Major Hand Procedures for Non-Trauma, Category 1, without CC", + "HB53Z": "Intermediate Hand Procedures for Non-Trauma, Category 2", + "HB54B": "Intermediate Hand Procedures for Non-Trauma, Category 1, with CC", + "HB54C": "Intermediate Hand Procedures for Non-Trauma, Category 1, without CC", + "HB55B": "Minor Hand Procedures for Non-Trauma, Category 2, with CC", + "HB55C": "Minor Hand Procedures for Non-Trauma, Category 2, without CC", + "HB56B": "Minor Hand Procedures for Non-Trauma, Category 1, with CC", + "HB56C": "Minor Hand Procedures for Non-Trauma, Category 1, without CC", + "HB59Z": "Minimal Hand Procedures for Non-Trauma", + "HB61B": "Major, Shoulder or Upper Arm Procedures for Non-Trauma, with CC", + "HB61C": "Major, Shoulder or Upper Arm Procedures for Non-Trauma, without CC", + "HB62B": "Intermediate, Shoulder or Upper Arm Procedures for Non-Trauma, with CC", + "HB62C": "Intermediate, Shoulder or Upper Arm Procedures for Non-Trauma, without CC", + "HB63Z": "Minor, Shoulder or Upper Arm Procedures for Non-Trauma", + "HB69Z": "Minimal, Shoulder or Upper Arm Procedures for Non-Trauma", + "HB71B": "Major, Elbow or Lower Arm Procedures for Non-Trauma, with CC", + "HB71C": "Major, Elbow or Lower Arm Procedures for Non-Trauma, without CC", + "HB72Z": "Intermediate, Elbow or Lower Arm Procedures for Non-Trauma", + "HB73Z": "Minor, Elbow or Lower Arm Procedures for Non-Trauma", + "HB79Z": "Minimal, Elbow or Lower Arm Procedures for Non-Trauma", + "HB91Z": "Other Non-Trauma Diagnosis without Procedure", + "HB99Z": "Other Procedures for Non-Trauma" + } + }, + "C": { + "description": "Spinal Procedures and Disorders", + "hrgs": { + "HC01A": "Extradural Spine Major 2 with CC Score 5+", + "HC01B": "Extradural Spine Major 2 with CC Score 2-4", + "HC01C": "Extradural Spine Major 2 with CC Score 0-1", + "HC01Z": "Extradural Spine Major 2", + "HC02B": "Extradural Spine Major 1 with CC", + "HC02C": "Extradural Spine Major 1 without CC", + "HC02D": "Extradural Spine Major 1 with CC Score 5+", + "HC02E": "Extradural Spine Major 1 with CC Score 2-4", + "HC02F": "Extradural Spine Major 1 with CC Score 0-1", + "HC03A": "Extradural Spine Intermediate 2 with Major CC", + "HC03B": "Extradural Spine Intermediate 2 with CC", + "HC03C": "Extradural Spine Intermediate 2 without CC", + "HC03D": "Extradural Spine Intermediate 2 with CC Score 6+", + "HC03E": "Extradural Spine Intermediate 2 with CC Score 3-5", + "HC03F": "Extradural Spine Intermediate 2 with CC Score 0-2", + "HC04A": "Extradural Spine Intermediate 1 with Major CC", + "HC04B": "Extradural Spine Intermediate 1 with CC", + "HC04C": "Extradural Spine Intermediate 1 without CC", + "HC04D": "Extradural Spine Intermediate 1 with CC Score 5+", + "HC04E": "Extradural Spine Intermediate 1 with CC Score 2-4", + "HC04F": "Extradural Spine Intermediate 1 with CC Score 0-1", + "HC05B": "Extradural Spine Minor 2 with CC", + "HC05C": "Extradural Spine Minor 2 without CC", + "HC05D": "Extradural Spine Minor 2 with CC Score 4+", + "HC05E": "Extradural Spine Minor 2 with CC Score 2-3", + "HC05F": "Extradural Spine Minor 2 with CC Score 0-1", + "HC06A": "Extradural Spine Minor 1 with Major CC", + "HC06B": "Extradural Spine Minor 1 with CC", + "HC06C": "Extradural Spine Minor 1 without CC", + "HC06Z": "Extradural Spine Minor 1", + "HC07A": "Intradural Spine Major with CC Score 3+", + "HC07B": "Intradural Spine Major with CC Score 0-2", + "HC07Z": "Intradural Spine Major", + "HC08Z": "Intradural Spine Major 1", + "HC09Z": "Intradural Spine Intermediate 2", + "HC10Z": "Intradural Spine Intermediate", + "HC11Z": "Intradural Spine Minor 2", + "HC12Z": "Intradural Spine Minor 1", + "HC20A": "Vertebral Column Injury without Procedure with Major CC", + "HC20B": "Vertebral Column Injury without Procedure, with CC", + "HC20C": "Vertebral Column Injury without Procedure, without CC", + "HC20D": "Vertebral Column Injury without Procedure, with CC Score 6+", + "HC20E": "Vertebral Column Injury without Procedure, with CC Score 3-5", + "HC20F": "Vertebral Column Injury without Procedure, with CC Score 1-2", + "HC20G": "Vertebral Column Injury without Procedure, with CC Score 0", + "HC20H": "Vertebral Column Injury with Interventions", + "HC20J": "Vertebral Column Injury without Interventions, with CC Score 6+", + "HC20K": "Vertebral Column Injury without Interventions, with CC Score 3-5", + "HC20L": "Vertebral Column Injury without Interventions, with CC Score 1-2", + "HC20M": "Vertebral Column Injury without Interventions, with CC Score 0", + "HC21A": "Spinal Cord Injury without Procedure with Major CC", + "HC21B": "Spinal Cord Injury without Procedure, with CC", + "HC21C": "Spinal Cord Injury without Procedure, without CC", + "HC21D": "Spinal Cord Injury with CC Score 2+", + "HC21E": "Spinal Cord Injury with CC Score 0-1", + "HC22A": "Cervical Spinal Disorders with Major CC", + "HC22B": "Cervical Spinal Disorders with CC", + "HC22C": "Cervical Spinal Disorders without CC", + "HC23A": "Spinal Tumours with Major CC", + "HC23B": "Spinal Tumours with CC", + "HC23C": "Spinal Tumours without CC", + "HC24A": "Thoracic or Lumbar Spinal Disorders with Major CC", + "HC24B": "Thoracic or Lumbar Spinal Disorders with CC", + "HC24C": "Thoracic or Lumbar Spinal Disorders without CC", + "HC25A": "Non-Traumatic Spinal Cord Disorders with Major CC", + "HC25B": "Non-Traumatic Spinal Cord Disorders with CC", + "HC25C": "Non-Traumatic Spinal Cord Disorders without CC", + "HC26A": "Scoliosis or Other Spinal Deformity with Major CC", + "HC26B": "Scoliosis or Other Spinal Deformity, with CC", + "HC26C": "Scoliosis or Other Spinal Deformity, without CC", + "HC26D": "Scoliosis or Other Spinal Deformity, with CC Score 3+", + "HC26E": "Scoliosis or Other Spinal Deformity, with CC Score 1-2", + "HC26F": "Scoliosis or Other Spinal Deformity, with CC Score 0", + "HC27B": "Degenerative Spinal Conditions with CC", + "HC27C": "Degenerative Spinal Conditions without CC", + "HC27D": "Degenerative Spinal Conditions with CC Score 9+", + "HC27E": "Degenerative Spinal Conditions with CC Score 6-8", + "HC27F": "Degenerative Spinal Conditions with CC Score 3-5", + "HC27G": "Degenerative Spinal Conditions with CC Score 0-2", + "HC27H": "Degenerative Spinal Conditions with Interventions, with CC Score 3+", + "HC27J": "Degenerative Spinal Conditions with Interventions, with CC Score 0-2", + "HC27K": "Degenerative Spinal Conditions without Interventions, with CC Score 9+", + "HC27L": "Degenerative Spinal Conditions without Interventions, with CC Score 6-8", + "HC27M": "Degenerative Spinal Conditions without Interventions, with CC Score 3-5", + "HC27N": "Degenerative Spinal Conditions without Interventions, with CC Score 0-2", + "HC28B": "Spinal Cord Conditions with CC", + "HC28C": "Spinal Cord Conditions without CC", + "HC28D": "Spinal Cord Conditions with CC Score 7+", + "HC28E": "Spinal Cord Conditions with CC Score 5-6", + "HC28F": "Spinal Cord Conditions with CC Score 3-4", + "HC28G": "Spinal Cord Conditions with CC Score 0-2", + "HC28H": "Spinal Cord Conditions with Interventions", + "HC28J": "Spinal Cord Conditions without Interventions, with CC Score 7+", + "HC28K": "Spinal Cord Conditions without Interventions, with CC Score 5-6", + "HC28L": "Spinal Cord Conditions without Interventions, with CC Score 3-4", + "HC28M": "Spinal Cord Conditions without Interventions, with CC Score 0-2", + "HC29A": "Inflammatory Spinal Conditions with CC Score 2+", + "HC29B": "Inflammatory Spinal Conditions with CC Score 0-1", + "HC29C": "Inflammatory Spinal Conditions without CC", + "HC29Z": "Inflammatory Spinal Conditions", + "HC30B": "Spinal Tumours with CC", + "HC30C": "Spinal Tumours without CC", + "HC30D": "Spinal Tumours with CC Score 2+", + "HC30E": "Spinal Tumours with CC Score 0-1", + "HC31B": "Spinal Infection with CC", + "HC31C": "Spinal Infection without CC", + "HC31D": "Spinal Infection with CC Score 7+", + "HC31E": "Spinal Infection with CC Score 4-6", + "HC31F": "Spinal Infection with CC Score 1-3", + "HC31G": "Spinal Infection with CC Score 0", + "HC31H": "Spinal Infection with Interventions, with CC Score 6+", + "HC31J": "Spinal Infection with Interventions, with CC Score 0-5", + "HC31K": "Spinal Infection without Interventions, with CC Score 10+", + "HC31L": "Spinal Infection without Interventions, with CC Score 6-9", + "HC31M": "Spinal Infection without Interventions, with CC Score 3-5", + "HC31N": "Spinal Infection without Interventions, with CC Score 0-2", + "HC32B": "Low Back Pain with CC", + "HC32C": "Low Back Pain without CC", + "HC32D": "Low Back Pain with CC Score 6+", + "HC32E": "Low Back Pain with CC Score 3-5", + "HC32F": "Low Back Pain with CC Score 0-2", + "HC32G": "Low Back Pain with Interventions", + "HC32H": "Low Back Pain without Interventions, with CC Score 6+", + "HC32J": "Low Back Pain without Interventions, with CC Score 3-5", + "HC32K": "Low Back Pain without Interventions, with CC Score 0-2", + "HC40A": "Complex Spinal Reconstructive Surgery with CC Score 3+", + "HC40B": "Complex Spinal Reconstructive Surgery with CC Score 0-2", + "HC41A": "Major Spinal Reconstructive Surgery with CC Score 2+", + "HC41B": "Major Spinal Reconstructive Surgery with CC Score 0-1", + "HC42Z": "Intermediate Spinal Reconstructive Surgery", + "HC43Z": "Minor Spinal Reconstructive Surgery", + "HC50A": "Very Complex Instrumented Correction of Spinal Deformity, 19 years and over", + "HC50B": "Very Complex Instrumented Correction of Spinal Deformity, 18 years and under", + "HC51A": "Complex Instrumented Correction of Spinal Deformity, 19 years and over, with CC Score 7+", + "HC51B": "Complex Instrumented Correction of Spinal Deformity, 19 years and over, with CC Score 3-6", + "HC51C": "Complex Instrumented Correction of Spinal Deformity, 19 years and over, with CC Score 0-2", + "HC51D": "Complex Instrumented Correction of Spinal Deformity, 18 years and under, with CC Score 3+", + "HC51E": "Complex Instrumented Correction of Spinal Deformity, 18 years and under, with CC Score 0-2", + "HC52A": "Complex Spinal Reconstructive Procedures with CC Score 7+", + "HC52B": "Complex Spinal Reconstructive Procedures with CC Score 4-6", + "HC52C": "Complex Spinal Reconstructive Procedures with CC Score 2-3", + "HC52D": "Complex Spinal Reconstructive Procedures with CC Score 0-1", + "HC53A": "Very Major Spinal Reconstructive Procedures with CC Score 4+", + "HC53B": "Very Major Spinal Reconstructive Procedures with CC Score 2-3", + "HC53C": "Very Major Spinal Reconstructive Procedures with CC Score 0-1", + "HC54A": "Major Spinal Reconstructive Procedures with CC Score 4+", + "HC54B": "Major Spinal Reconstructive Procedures with CC Score 2-3", + "HC54C": "Major Spinal Reconstructive Procedures with CC Score 0-1", + "HC60A": "Very Complex Extradural Spinal Procedures with CC Score 4+", + "HC60B": "Very Complex Extradural Spinal Procedures with CC Score 2-3", + "HC60C": "Very Complex Extradural Spinal Procedures with CC Score 0-1", + "HC61A": "Complex Extradural Spinal Procedures with CC Score 4+", + "HC61B": "Complex Extradural Spinal Procedures with CC Score 2-3", + "HC61C": "Complex Extradural Spinal Procedures with CC Score 0-1", + "HC62A": "Very Major Extradural Spinal Procedures with CC Score 4+", + "HC62B": "Very Major Extradural Spinal Procedures with CC Score 2-3", + "HC62C": "Very Major Extradural Spinal Procedures with CC Score 0-1", + "HC63A": "Major Extradural Spinal Procedures with CC Score 4+", + "HC63B": "Major Extradural Spinal Procedures with CC Score 2-3", + "HC63C": "Major Extradural Spinal Procedures with CC Score 0-1", + "HC64A": "Intermediate Extradural Spinal Procedures with CC Score 4+", + "HC64B": "Intermediate Extradural Spinal Procedures with CC Score 2-3", + "HC64C": "Intermediate Extradural Spinal Procedures with CC Score 0-1", + "HC65Z": "Minor Extradural Spinal Procedures", + "HC70A": "Complex Intradural Spinal Procedures with CC Score 2+", + "HC70B": "Complex Intradural Spinal Procedures with CC Score 0-1", + "HC71Z": "Major Intradural Spinal Procedures", + "HC72A": "Diagnostic Spinal Puncture, 19 years and over", + "HC72B": "Diagnostic Spinal Puncture, between 6 and 18 years", + "HC72C": "Diagnostic Spinal Puncture, 5 years and under", + "HC91Z": "Spine Trauma Diagnosis without Procedure", + "HC92Z": "Spine non Trauma Diagnosis without Procedure" + } + }, + "D": { + "description": "Musculoskeletal and Rheumatological Disorders", + "hrgs": { + "HD21A": "Soft Tissue Disorders with Major CC", + "HD21B": "Soft Tissue Disorders with Intermediate CC", + "HD21C": "Soft Tissue Disorders without CC", + "HD21D": "Soft Tissue Disorders with CC Score 12+", + "HD21E": "Soft Tissue Disorders with CC Score 9-11", + "HD21F": "Soft Tissue Disorders with CC Score 6-8", + "HD21G": "Soft Tissue Disorders with CC Score 3-5", + "HD21H": "Soft Tissue Disorders with CC Score 0-2", + "HD23A": "Inflammatory Spine, Joint or Connective Tissue Disorders, with Major CC", + "HD23B": "Inflammatory Spine, Joint or Connective Tissue Disorders, with Intermediate CC", + "HD23C": "Inflammatory Spine, Joint or Connective Tissue Disorders, without CC", + "HD23D": "Inflammatory, Spine, Joint or Connective Tissue Disorders, with CC Score 12+", + "HD23E": "Inflammatory, Spine, Joint or Connective Tissue Disorders, with CC Score 9-11", + "HD23F": "Inflammatory, Spine, Joint or Connective Tissue Disorders, with CC Score 7-8", + "HD23G": "Inflammatory, Spine, Joint or Connective Tissue Disorders, with CC Score 5-6", + "HD23H": "Inflammatory, Spine, Joint or Connective Tissue Disorders, with CC Score 3-4", + "HD23J": "Inflammatory, Spine, Joint or Connective Tissue Disorders, with CC Score 0-2", + "HD24A": "Non-Inflammatory Bone or Joint Disorders, with Major CC", + "HD24B": "Non-Inflammatory Bone or Joint Disorders, with Intermediate CC", + "HD24C": "Non-Inflammatory Bone or Joint Disorders, without CC", + "HD24D": "Non-Inflammatory, Bone or Joint Disorders, with CC Score 12+", + "HD24E": "Non-Inflammatory, Bone or Joint Disorders, with CC Score 8-11", + "HD24F": "Non-Inflammatory, Bone or Joint Disorders, with CC Score 5-7", + "HD24G": "Non-Inflammatory, Bone or Joint Disorders, with CC Score 2-4", + "HD24H": "Non-Inflammatory, Bone or Joint Disorders, with CC Score 0-1", + "HD25A": "Infections of Bones or Joints, with Major CC", + "HD25B": "Infections of Bones or Joints, with Intermediate CC", + "HD25C": "Infections of Bones or Joints, without CC", + "HD25D": "Infections of Bones or Joints, with CC Score 13+", + "HD25E": "Infections of Bones or Joints, with CC Score 9-12", + "HD25F": "Infections of Bones or Joints, with CC Score 5-8", + "HD25G": "Infections of Bones or Joints, with CC Score 2-4", + "HD25H": "Infections of Bones or Joints, with CC Score 0-1", + "HD26A": "Musculoskeletal Signs and Symptoms, with Major CC", + "HD26B": "Musculoskeletal Signs and Symptoms, with Intermediate CC", + "HD26C": "Musculoskeletal Signs and Symptoms, without CC", + "HD26D": "Musculoskeletal Signs or Symptoms, with CC Score 12+", + "HD26E": "Musculoskeletal Signs or Symptoms, with CC Score 8-11", + "HD26F": "Musculoskeletal Signs or Symptoms, with CC Score 4-7", + "HD26G": "Musculoskeletal Signs or Symptoms, with CC Score 0-3", + "HD31A": "Sprains, Strains, or Minor Open Wounds with Major CC", + "HD31B": "Sprains, Strains, or Minor Open Wounds with CC", + "HD31C": "Sprains, Strains, or Minor Open Wounds without CC", + "HD32A": "Major Cranial, Visceral or Blood Vessel Injury with Major CC", + "HD32B": "Major Cranial, Visceral or Blood Vessel Injury with CC", + "HD32C": "Major Cranial, Visceral or Blood Vessel Injury without CC", + "HD35A": "Other Wounds or Injuries with Major CC", + "HD35B": "Other Wounds or Injuries with CC", + "HD35C": "Other Wounds or Injuries without CC", + "HD36A": "Pathological Fractures or Malignancy of Bone and Connective Tissue with Major CC", + "HD36B": "Pathological Fractures or Malignancy of Bone and Connective Tissue with CC", + "HD36C": "Pathological Fractures or Malignancy of Bone and Connective Tissue without CC", + "HD37A": "Head Injury with Major CC", + "HD37B": "Head Injury with CC", + "HD37C": "Head Injury without CC", + "HD39A": "Pathological Fractures with Major CC", + "HD39B": "Pathological Fractures with Intermediate CC", + "HD39C": "Pathological Fractures without CC", + "HD39D": "Pathological Fractures with CC Score 11+", + "HD39E": "Pathological Fractures with CC Score 8-10", + "HD39F": "Pathological Fractures with CC Score 6-7", + "HD39G": "Pathological Fractures with CC Score 3-5", + "HD39H": "Pathological Fractures with CC Score 0-2", + "HD40A": "Malignancy of Bone or Connective Tissue, with Major CC", + "HD40B": "Malignancy of Bone or Connective Tissue, with Intermediate CC", + "HD40C": "Malignancy of Bone or Connective Tissue, without CC", + "HD40D": "Malignancy, of Bone or Connective Tissue, with CC Score 12+", + "HD40E": "Malignancy, of Bone or Connective Tissue, with CC Score 8-11", + "HD40F": "Malignancy, of Bone or Connective Tissue, with CC Score 5-7", + "HD40G": "Malignancy, of Bone or Connective Tissue, with CC Score 2-4", + "HD40H": "Malignancy, of Bone or Connective Tissue, with CC Score 0-1" + } + }, + "E": { + "description": "Orthopaedic Disorders", + "hrgs": { + "HE11A": "Hip Fracture with Multiple Interventions, with CC Score 8+", + "HE11B": "Hip Fracture with Multiple Interventions, with CC Score 0-7", + "HE11C": "Hip Fracture with Single Intervention, with CC Score 8+", + "HE11D": "Hip Fracture with Single Intervention, with CC Score 0-7", + "HE11E": "Hip Fracture without Interventions, with CC Score 12+", + "HE11F": "Hip Fracture without Interventions, with CC Score 8-11", + "HE11G": "Hip Fracture without Interventions, with CC Score 4-7", + "HE11H": "Hip Fracture without Interventions, with CC Score 0-3", + "HE12A": "Other Injury of Hip with Interventions, with CC Score 2+", + "HE12B": "Other Injury of Hip with Interventions, with CC Score 0-1", + "HE12C": "Other Injury of Hip without Interventions, with CC Score 6+", + "HE12D": "Other Injury of Hip without Interventions, with CC Score 3-5", + "HE12E": "Other Injury of Hip without Interventions, with CC Score 0-2", + "HE21A": "Knee Fracture with Multiple Interventions", + "HE21B": "Knee Fracture with Single Intervention, with CC Score 5+", + "HE21C": "Knee Fracture with Single Intervention, with CC Score 2-4", + "HE21D": "Knee Fracture with Single Intervention, with CC Score 0-1", + "HE21E": "Knee Fracture without Interventions, with CC Score 5+", + "HE21F": "Knee Fracture without Interventions, with CC Score 2-4", + "HE21G": "Knee Fracture without Interventions, with CC Score 0-1", + "HE22A": "Other Injury of Knee with Multiple Interventions, with CC Score 6+", + "HE22B": "Other Injury of Knee with Multiple Interventions, with CC Score 3-5", + "HE22C": "Other Injury of Knee with Multiple Interventions, with CC Score 0-2", + "HE22D": "Other Injury of Knee with Single Intervention, with CC Score 6+", + "HE22E": "Other Injury of Knee with Single Intervention, with CC Score 3-5", + "HE22F": "Other Injury of Knee with Single Intervention, with CC Score 0-2", + "HE22G": "Other Injury of Knee without Interventions, with CC Score 9+", + "HE22H": "Other Injury of Knee without Interventions, with CC Score 6-8", + "HE22J": "Other Injury of Knee without Interventions, with CC Score 3-5", + "HE22K": "Other Injury of Knee without Interventions, with CC Score 0-2", + "HE31A": "Foot Fracture with Multiple Interventions", + "HE31B": "Foot Fracture with Single Intervention, with CC Score 2+", + "HE31C": "Foot Fracture with Single Intervention, with CC Score 0-1", + "HE31D": "Foot Fracture without Interventions, with CC Score 8+", + "HE31E": "Foot Fracture without Interventions, with CC Score 4-7", + "HE31F": "Foot Fracture without Interventions, with CC Score 2-3", + "HE31G": "Foot Fracture without Interventions, with CC Score 0-1", + "HE32A": "Other Injury of Foot with Interventions, with CC Score 2+", + "HE32B": "Other Injury of Foot with Interventions, with CC Score 0-1", + "HE32C": "Other Injury of Foot without Interventions, with CC Score 4+", + "HE32D": "Other Injury of Foot without Interventions, with CC Score 2-3", + "HE32E": "Other Injury of Foot without Interventions, with CC Score 0-1", + "HE41A": "Hand Fracture with Interventions", + "HE41B": "Hand Fracture without Interventions, with CC Score 3+", + "HE41C": "Hand Fracture without Interventions, with CC Score 1-2", + "HE41D": "Hand Fracture without Interventions, with CC Score 0", + "HE42A": "Other Injury of Hand with Interventions, with CC Score 2+", + "HE42B": "Other Injury of Hand with Interventions, with CC Score 0-1", + "HE42C": "Other Injury of Hand without Interventions, with CC Score 4+", + "HE42D": "Other Injury of Hand without Interventions, with CC Score 2-3", + "HE42E": "Other Injury of Hand without Interventions, with CC Score 0-1", + "HE51A": "Arm Fracture with Interventions, with CC Score 6+", + "HE51B": "Arm Fracture with Interventions, with CC Score 3-5", + "HE51C": "Arm Fracture with Interventions, with CC Score 0-2", + "HE51D": "Arm Fracture without Interventions, with CC Score 9+", + "HE51E": "Arm Fracture without Interventions, with CC Score 6-8", + "HE51F": "Arm Fracture without Interventions, with CC Score 4-5", + "HE51G": "Arm Fracture without Interventions, with CC Score 2-3", + "HE51H": "Arm Fracture without Interventions, with CC Score 0-1", + "HE52A": "Other Injury of Arm with Interventions, with CC Score 2+", + "HE52B": "Other Injury of Arm with Interventions, with CC Score 0-1", + "HE52C": "Other Injury of Arm without Interventions, with CC Score 7+", + "HE52D": "Other Injury of Arm without Interventions, with CC Score 4-6", + "HE52E": "Other Injury of Arm without Interventions, with CC Score 2-3", + "HE52F": "Other Injury of Arm without Interventions, with CC Score 0-1", + "HE71A": "Rib or Chest Fracture, with Interventions", + "HE71B": "Rib or Chest Fracture, without Interventions, with CC Score 6+", + "HE71C": "Rib or Chest Fracture, without Interventions, with CC Score 3-5", + "HE71D": "Rib or Chest Fracture, without Interventions, with CC Score 0-2", + "HE72A": "Other Injury, of Rib or Chest, with Interventions", + "HE72B": "Other Injury, of Rib or Chest, without Interventions, with CC Score 7+", + "HE72C": "Other Injury, of Rib or Chest, without Interventions, with CC Score 4-6", + "HE72D": "Other Injury, of Rib or Chest, without Interventions, with CC Score 2-3", + "HE72E": "Other Injury, of Rib or Chest, without Interventions, with CC Score 0-1", + "HE81A": "Infection or Inflammatory Reaction, due to, Internal Orthopaedic Prosthetic Devices, Implants or Grafts, with CC Score 6+", + "HE81B": "Infection or Inflammatory Reaction, due to, Internal Orthopaedic Prosthetic Devices, Implants or Grafts, with CC Score 3-5", + "HE81C": "Infection or Inflammatory Reaction, due to, Internal Orthopaedic Prosthetic Devices, Implants or Grafts, with CC Score 0-2", + "HE82A": "Other Complications of, Internal Orthopaedic Prosthetic Devices, Implants or Grafts, with CC Score 7+", + "HE82B": "Other Complications of, Internal Orthopaedic Prosthetic Devices, Implants or Grafts, with CC Score 4-6", + "HE82C": "Other Complications of, Internal Orthopaedic Prosthetic Devices, Implants or Grafts, with CC Score 2-3", + "HE82D": "Other Complications of, Internal Orthopaedic Prosthetic Devices, Implants or Grafts with CC Score 0-1", + "HE83A": "Early Complications of Trauma or Injury of Non-Specific Joint Site, with CC Score 5+", + "HE83B": "Early Complications of Trauma or Injury of Non-Specific Joint Site, with CC Score 2-4", + "HE83C": "Early Complications of Trauma or Injury of Non-Specific Joint Site, with CC Score 0-1" + } + }, + "N": { + "description": "Orthopaedic Non-Trauma Procedures", + "hrgs": { + "HN12A": "Very Major Hip Procedures for Non-Trauma with CC Score 10+", + "HN12B": "Very Major Hip Procedures for Non-Trauma with CC Score 8-9", + "HN12C": "Very Major Hip Procedures for Non-Trauma with CC Score 6-7", + "HN12D": "Very Major Hip Procedures for Non-Trauma with CC Score 4-5", + "HN12E": "Very Major Hip Procedures for Non-Trauma with CC Score 2-3", + "HN12F": "Very Major Hip Procedures for Non-Trauma with CC Score 0-1", + "HN13A": "Major Hip Procedures for Non-Trauma, 19 years and over, with CC Score 10+", + "HN13B": "Major Hip Procedures for Non-Trauma, 19 years and over, with CC Score 6-9", + "HN13C": "Major Hip Procedures for Non-Trauma, 19 years and over, with CC Score 4-5", + "HN13D": "Major Hip Procedures for Non-Trauma, 19 years and over, with CC Score 2-3", + "HN13E": "Major Hip Procedures for Non-Trauma, 19 years and over, with CC Score 1", + "HN13F": "Major Hip Procedures for Non-Trauma, 19 years and over, with CC Score 0", + "HN13G": "Major Hip Procedures for Non-Trauma, 18 years and under, with CC Score 1+", + "HN13H": "Major Hip Procedures for Non-Trauma, 18 years and under, with CC Score 0", + "HN14A": "Intermediate Hip Procedures for Non-Trauma, 19 years and over, with CC Score 6+", + "HN14B": "Intermediate Hip Procedures for Non-Trauma, 19 years and over, with CC Score 4-5", + "HN14C": "Intermediate Hip Procedures for Non-Trauma, 19 years and over, with CC Score 2-3", + "HN14D": "Intermediate Hip Procedures for Non-Trauma, 19 years and over, with CC Score 1", + "HN14E": "Intermediate Hip Procedures for Non-Trauma, 19 years and over, with CC Score 0", + "HN14F": "Intermediate Hip Procedures for Non-Trauma, between 6 and 18 years, with CC Score 1+", + "HN14G": "Intermediate Hip Procedures for Non-Trauma, between 6 and 18 years, with CC Score 0", + "HN14H": "Intermediate Hip Procedures for Non-Trauma, 5 years and under", + "HN15A": "Minor Hip Procedures for Non-Trauma, 19 years and over", + "HN15B": "Minor Hip Procedures for Non-Trauma, 18 years and under", + "HN16A": "Minimal Hip Procedures, 19 years and over", + "HN16B": "Minimal Hip Procedures, between 6 and 18 years", + "HN16C": "Minimal Hip Procedures, 5 years and under", + "HN22A": "Very Major Knee Procedures for Non-Trauma with CC Score 8+", + "HN22B": "Very Major Knee Procedures for Non-Trauma with CC Score 6-7", + "HN22C": "Very Major Knee Procedures for Non-Trauma with CC Score 4-5", + "HN22D": "Very Major Knee Procedures for Non-Trauma with CC Score 2-3", + "HN22E": "Very Major Knee Procedures for Non-Trauma with CC Score 0-1", + "HN23A": "Major Knee Procedures for Non-Trauma, 19 years and over, with CC Score 4+", + "HN23B": "Major Knee Procedures for Non-Trauma, 19 years and over, with CC Score 2-3", + "HN23C": "Major Knee Procedures for Non-Trauma, 19 years and over, with CC Score 0-1", + "HN23D": "Major Knee Procedures for Non-Trauma, 18 years and under, with CC Score 1+", + "HN23E": "Major Knee Procedures for Non-Trauma, 18 years and under, with CC Score 0", + "HN24A": "Intermediate Knee Procedures for Non-Trauma, 19 years and over, with CC Score 4+", + "HN24B": "Intermediate Knee Procedures for Non-Trauma, 19 years and over, with CC Score 2-3", + "HN24C": "Intermediate Knee Procedures for Non-Trauma, 19 years and over, with CC Score 0-1", + "HN24D": "Intermediate Knee Procedures for Non-Trauma, between 6 and 18 years, with CC Score 1+", + "HN24E": "Intermediate Knee Procedures for Non-Trauma, between 6 and 18 years, with CC Score 0", + "HN24F": "Intermediate Knee Procedures for Non-Trauma, 5 years and under", + "HN25A": "Minor Knee Procedures for Non-Trauma, 19 years and over", + "HN25B": "Minor Knee Procedures for Non-Trauma, 18 years and under", + "HN26A": "Minimal Knee Procedures, 19 years and over", + "HN26B": "Minimal Knee Procedures, between 6 and 18 years", + "HN26C": "Minimal Knee Procedures, 5 years and under", + "HN32A": "Very Major Foot Procedures for Non-Trauma with CC Score 4+", + "HN32B": "Very Major Foot Procedures for Non-Trauma with CC Score 2-3", + "HN32C": "Very Major Foot Procedures for Non-Trauma with CC Score 0-1", + "HN33A": "Major Foot Procedures for Non-Trauma, 19 years and over, with CC Score 4+", + "HN33B": "Major Foot Procedures for Non-Trauma, 19 years and over, with CC Score 2-3", + "HN33C": "Major Foot Procedures for Non-Trauma, 19 years and over, with CC Score 0-1", + "HN33D": "Major Foot Procedures for Non-Trauma, 18 years and under", + "HN34A": "Intermediate Foot Procedures for Non-Trauma, 19 years and over, with CC Score 4+", + "HN34B": "Intermediate Foot Procedures for Non-Trauma, 19 years and over, with CC Score 2-3", + "HN34C": "Intermediate Foot Procedures for Non-Trauma, 19 years and over, with CC Score 0-1", + "HN34D": "Intermediate Foot Procedures for Non-Trauma, 18 years and under", + "HN35A": "Minor Foot Procedures for Non-Trauma, 19 years and over", + "HN35B": "Minor Foot Procedures for Non-Trauma, 18 years and under", + "HN36Z": "Minimal Foot Procedures", + "HN42A": "Very Major Hand Procedures for Non-Trauma with CC Score 2+", + "HN42B": "Very Major Hand Procedures for Non-Trauma with CC Score 0-1", + "HN43A": "Major Hand Procedures for Non-Trauma, 19 years and over, with CC Score 2+", + "HN43B": "Major Hand Procedures for Non-Trauma, 19 years and over, with CC Score 0-1", + "HN43C": "Major Hand Procedures for Non-Trauma, 18 years and under", + "HN44A": "Intermediate Hand Procedures for Non-Trauma, 19 years and over, with CC Score 2+", + "HN44B": "Intermediate Hand Procedures for Non-Trauma, 19 years and over, with CC Score 0-1", + "HN44C": "Intermediate Hand Procedures for Non-Trauma, between 6 and 18 years", + "HN44D": "Intermediate Hand Procedures for Non-Trauma, 5 years and under", + "HN45A": "Minor Hand Procedures for Non-Trauma, 19 years and over", + "HN45B": "Minor Hand Procedures for Non-Trauma, between 6 and 18 years", + "HN45C": "Minor Hand Procedures for Non-Trauma, 5 years and under", + "HN46Z": "Minimal Hand Procedures", + "HN52A": "Very Major Shoulder Procedures for Non-Trauma with CC Score 4+", + "HN52B": "Very Major Shoulder Procedures for Non-Trauma with CC Score 2-3", + "HN52C": "Very Major Shoulder Procedures for Non-Trauma with CC Score 0-1", + "HN53A": "Major Shoulder Procedures for Non-Trauma with CC Score 4+", + "HN53B": "Major Shoulder Procedures for Non-Trauma with CC Score 2-3", + "HN53C": "Major Shoulder Procedures for Non-Trauma with CC Score 0-1", + "HN54A": "Intermediate Shoulder Procedures for Non-Trauma, 19 years and over, with CC Score 4+", + "HN54B": "Intermediate Shoulder Procedures for Non-Trauma, 19 years and over, with CC Score 2-3", + "HN54C": "Intermediate Shoulder Procedures for Non-Trauma, 19 years and over, with CC Score 0-1", + "HN54D": "Intermediate Shoulder Procedures for Non-Trauma, 18 years and under", + "HN55Z": "Minor Shoulder Procedures for Non-Trauma", + "HN56Z": "Minimal Shoulder Procedures", + "HN62A": "Very Major Elbow Procedures for Non-Trauma with CC Score 2+", + "HN62B": "Very Major Elbow Procedures for Non-Trauma with CC Score 0-1", + "HN63A": "Major Elbow Procedures for Non-Trauma with CC Score 2+", + "HN63B": "Major Elbow Procedures for Non-Trauma with CC Score 0-1", + "HN64A": "Intermediate Elbow Procedures for Non-Trauma, 19 years and over, with CC Score 2+", + "HN64B": "Intermediate Elbow Procedures for Non-Trauma, 19 years and over, with CC Score 0-1", + "HN64C": "Intermediate Elbow Procedures for Non-Trauma, between 6 and 18 years", + "HN64D": "Intermediate Elbow Procedures for Non-Trauma, 5 years and under", + "HN65Z": "Minor Elbow Procedures for Non-Trauma", + "HN66Z": "Minimal Elbow Procedures", + "HN80A": "Very Complex, Hip or Knee Procedures for Non-Trauma, with CC Score 9+", + "HN80B": "Very Complex, Hip or Knee Procedures for Non-Trauma, with CC Score 6-8", + "HN80C": "Very Complex, Hip or Knee Procedures for Non-Trauma, with CC Score 3-5", + "HN80D": "Very Complex, Hip or Knee Procedures for Non-Trauma, with CC Score 0-2", + "HN81A": "Complex, Hip or Knee Procedures for Non-Trauma, with CC Score 9+", + "HN81B": "Complex, Hip or Knee Procedures for Non-Trauma, with CC Score 6-8", + "HN81C": "Complex, Hip or Knee Procedures for Non-Trauma, with CC Score 4-5", + "HN81D": "Complex, Hip or Knee Procedures for Non-Trauma, with CC Score 2-3", + "HN81E": "Complex, Hip or Knee Procedures for Non-Trauma, with CC Score 0-1", + "HN85Z": "Very Complex, Foot, Hand, Shoulder or Elbow Procedures for Non-Trauma", + "HN86A": "Complex, Foot, Hand, Shoulder or Elbow Procedures for Non-Trauma, with CC Score 2+", + "HN86B": "Complex, Foot, Hand, Shoulder or Elbow Procedures for Non-Trauma, with CC Score 0-1", + "HN87Z": "Very Complex Orthopaedic Procedures with Massive Endoprosthesis", + "HN93Z": "Other Muscle, Tendon, Fascia or Ligament Procedures" + } + }, + "R": { + "description": "Orthopaedic Reconstruction Procedures", + "hrgs": { + "HR01B": "Reconstruction Procedures Category 6, with CC", + "HR01C": "Reconstruction Procedures Category 6, without CC", + "HR02Z": "Reconstruction Procedures Category 5", + "HR03Z": "Reconstruction Procedures Category 4", + "HR04B": "Reconstruction Procedures Category 3, with CC", + "HR04C": "Reconstruction Procedures Category 3, without CC", + "HR05Z": "Reconstruction Procedures Category 2", + "HR06A": "Reconstruction Procedures Category 1, 19 years and over", + "HR06B": "Reconstruction Procedures Category 1, 18 years and under", + "HR07A": "Orthopaedic Reconstruction with Intervention Score 43 or less, with Diagnosis Score 22 or less", + "HR07B": "Orthopaedic Reconstruction with Intervention Score 43 or less, with Diagnosis Score 23-60", + "HR07C": "Orthopaedic Reconstruction with Intervention Score 43 or less, with Diagnosis Score 61 or more", + "HR08A": "Orthopaedic Reconstruction with Intervention Score 44-65, with Diagnosis Score 22 or less", + "HR08B": "Orthopaedic Reconstruction with Intervention Score 44-65, with Diagnosis Score 23-60", + "HR08C": "Orthopaedic Reconstruction with Intervention Score 44-65, with Diagnosis Score 61 or more", + "HR09A": "Orthopaedic Reconstruction with Intervention Score 66 or more, with Diagnosis Score 22 or less", + "HR09B": "Orthopaedic Reconstruction with Intervention Score 66 or more, with Diagnosis Score 23-60", + "HR09C": "Orthopaedic Reconstruction with Intervention Score 66 or more, with Diagnosis Score 61 or more" + } + }, + "T": { + "description": "Orthopaedic Trauma Procedures", + "hrgs": { + "HT12A": "Very Major Hip Procedures for Trauma with CC Score 12+", + "HT12B": "Very Major Hip Procedures for Trauma with CC Score 9-11", + "HT12C": "Very Major Hip Procedures for Trauma with CC Score 6-8", + "HT12D": "Very Major Hip Procedures for Trauma with CC Score 3-5", + "HT12E": "Very Major Hip Procedures for Trauma with CC Score 0-2", + "HT13A": "Major Hip Procedures for Trauma with CC Score 12+", + "HT13B": "Major Hip Procedures for Trauma with CC Score 9-11", + "HT13C": "Major Hip Procedures for Trauma with CC Score 6-8", + "HT13D": "Major Hip Procedures for Trauma with CC Score 3-5", + "HT13E": "Major Hip Procedures for Trauma with CC Score 0-2", + "HT14A": "Intermediate Hip Procedures for Trauma with CC Score 4+", + "HT14B": "Intermediate Hip Procedures for Trauma with CC Score 2-3", + "HT14C": "Intermediate Hip Procedures for Trauma with CC Score 0-1", + "HT15Z": "Minor Hip Procedures for Trauma", + "HT22A": "Very Major Knee Procedures for Trauma with CC Score 4+", + "HT22B": "Very Major Knee Procedures for Trauma with CC Score 2-3", + "HT22C": "Very Major Knee Procedures for Trauma with CC Score 0-1", + "HT23A": "Major Knee Procedures for Trauma, 19 years and over, with CC Score 4+", + "HT23B": "Major Knee Procedures for Trauma, 19 years and over, with CC Score 2-3", + "HT23C": "Major Knee Procedures for Trauma, 19 years and over, with CC Score 1", + "HT23D": "Major Knee Procedures for Trauma, 19 years and over, with CC Score 0", + "HT23E": "Major Knee Procedures for Trauma, 18 years and under", + "HT24A": "Intermediate Knee Procedures for Trauma, 19 years and over, with CC Score 2+", + "HT24B": "Intermediate Knee Procedures for Trauma, 19 years and over, with CC Score 1", + "HT24C": "Intermediate Knee Procedures for Trauma, 19 years and over, with CC Score 0", + "HT24D": "Intermediate Knee Procedures for Trauma, 18 years and under", + "HT25Z": "Minor Knee Procedures for Trauma", + "HT32A": "Very Major Foot Procedures for Trauma with CC Score 4+", + "HT32B": "Very Major Foot Procedures for Trauma with CC Score 2-3", + "HT32C": "Very Major Foot Procedures for Trauma with CC Score 0-1", + "HT33A": "Major Foot Procedures for Trauma, 19 years and over, with CC Score 4+", + "HT33B": "Major Foot Procedures for Trauma, 19 years and over, with CC Score 2-3", + "HT33C": "Major Foot Procedures for Trauma, 19 years and over, with CC Score 1", + "HT33D": "Major Foot Procedures for Trauma, 19 years and over, with CC Score 0", + "HT33E": "Major Foot Procedures for Trauma, 18 years and under", + "HT34A": "Intermediate Foot Procedures for Trauma, 19 years and over, with CC Score 4+", + "HT34B": "Intermediate Foot Procedures for Trauma, 19 years and over, with CC Score 2-3", + "HT34C": "Intermediate Foot Procedures for Trauma, 19 years and over, with CC Score 1", + "HT34D": "Intermediate Foot Procedures for Trauma, 19 years and over, with CC Score 0", + "HT34E": "Intermediate Foot Procedures for Trauma, 18 years and under", + "HT35Z": "Minor Foot Procedures for Trauma", + "HT42A": "Very Major Hand Procedures for Trauma with CC Score 2+", + "HT42B": "Very Major Hand Procedures for Trauma with CC Score 0-1", + "HT43A": "Major Hand Procedures for Trauma, 19 years and over, with CC Score 4+", + "HT43B": "Major Hand Procedures for Trauma, 19 years and over, with CC Score 2-3", + "HT43C": "Major Hand Procedures for Trauma, 19 years and over, with CC Score 0-1", + "HT43D": "Major Hand Procedures for Trauma, between 6 and 18 years", + "HT43E": "Major Hand Procedures for Trauma, 5 years and under", + "HT44A": "Intermediate Hand Procedures for Trauma, 19 years and over, with CC Score 4+", + "HT44B": "Intermediate Hand Procedures for Trauma, 19 years and over, with CC Score 2-3", + "HT44C": "Intermediate Hand Procedures for Trauma, 19 years and over, with CC Score 0-1", + "HT44D": "Intermediate Hand Procedures for Trauma, between 6 and 18 years", + "HT44E": "Intermediate Hand Procedures for Trauma, 5 years and under", + "HT45Z": "Minor Hand Procedures for Trauma", + "HT52A": "Very Major Shoulder Procedures for Trauma with CC Score 4+", + "HT52B": "Very Major Shoulder Procedures for Trauma with CC Score 2-3", + "HT52C": "Very Major Shoulder Procedures for Trauma with CC Score 0-1", + "HT53A": "Major Shoulder Procedures for Trauma, 19 years and over, with CC Score 4+", + "HT53B": "Major Shoulder Procedures for Trauma, 19 years and over, with CC Score 2-3", + "HT53C": "Major Shoulder Procedures for Trauma, 19 years and over, with CC Score 1", + "HT53D": "Major Shoulder Procedures for Trauma, 19 years and over, with CC Score 0", + "HT53E": "Major Shoulder Procedures for Trauma, 18 years and under", + "HT54A": "Intermediate Shoulder Procedures for Trauma with CC Score 4+", + "HT54B": "Intermediate Shoulder Procedures for Trauma with CC Score 2-3", + "HT54C": "Intermediate Shoulder Procedures for Trauma with CC Score 1", + "HT54D": "Intermediate Shoulder Procedures for Trauma with CC Score 0", + "HT55Z": "Minor Shoulder Procedures for Trauma", + "HT62A": "Very Major Elbow Procedures for Trauma with CC Score 2+", + "HT62B": "Very Major Elbow Procedures for Trauma with CC Score 0-1", + "HT63A": "Major Elbow Procedures for Trauma, 19 years and over, with CC Score 4+", + "HT63B": "Major Elbow Procedures for Trauma, 19 years and over, with CC Score 2-3", + "HT63C": "Major Elbow Procedures for Trauma, 19 years and over, with CC Score 1", + "HT63D": "Major Elbow Procedures for Trauma, 19 years and over, with CC Score 0", + "HT63E": "Major Elbow Procedures for Trauma, between 6 and 18 years", + "HT63F": "Major Elbow Procedures for Trauma, 5 years and under", + "HT64A": "Intermediate Elbow Procedures for Trauma, 19 years and over, with CC Score 1+", + "HT64B": "Intermediate Elbow Procedures for Trauma, 19 years and over, with CC Score 0", + "HT64C": "Intermediate Elbow Procedures for Trauma, between 6 and 18 years", + "HT64D": "Intermediate Elbow Procedures for Trauma, 5 years and under", + "HT65Z": "Minor Elbow Procedures for Trauma", + "HT81A": "Complex, Hip or Knee Procedures for Trauma, with CC Score 12+", + "HT81B": "Complex, Hip or Knee Procedures for Trauma, with CC Score 8-11", + "HT81C": "Complex, Hip or Knee Procedures for Trauma, with CC Score 4-7", + "HT81D": "Complex, Hip or Knee Procedures for Trauma, with CC Score 0-3", + "HT86A": "Complex, Foot, Hand, Shoulder or Elbow Procedures for Trauma, with CC Score 4+", + "HT86B": "Complex, Foot, Hand, Shoulder or Elbow Procedures for Trauma, with CC Score 2-3", + "HT86C": "Complex, Foot, Hand, Shoulder or Elbow Procedures for Trauma, with CC Score 0-1" + } + } + } + }, + "J": { + "description": "Skin, Breast and Burns", + "subchapters": { + "A": { + "description": "Breast Procedures and Disorders", + "hrgs": { + "JA01Z": "Free Perforator Breast Reconstruction", + "JA02Z": "Free Myocutaneous Breast Reconstruction", + "JA03Z": "Pedicled TRAM Reconstruction of Breast", + "JA04Z": "Pedicled Myocutaneous Breast Reconstruction with Insertion of Prosthesis", + "JA05A": "Unilateral Pedicled Myocutaneous Breast Reconstruction with or without Insertion of Prosthesis", + "JA05B": "Bilateral Pedicled Myocutaneous Breast Reconstruction with or without Insertion of Prosthesis", + "JA05Z": "Pedicled Myocutaneous Breast Reconstruction with or without Insertion of Prosthesis", + "JA06Z": "Major Breast Procedures category 3", + "JA07A": "Major Breast Procedures category 2 with Major CC", + "JA07B": "Major Breast Procedures category 2 with Intermediate CC", + "JA07C": "Major Breast Procedures category 2 without CC", + "JA07D": "Unilateral Major Breast Procedures category 2 with Major CC", + "JA07E": "Unilateral Major Breast Procedures category 2 with Intermediate CC", + "JA07F": "Unilateral Major Breast Procedures category 2 without CC", + "JA07G": "Bilateral Major Breast Procedures category 2 with CC", + "JA07H": "Bilateral Major Breast Procedures category 2 without CC", + "JA08A": "Unilateral Major Breast Procedures category 1", + "JA08B": "Bilateral Major Breast Procedures category 1", + "JA08Z": "Major Breast Procedures category 1", + "JA09A": "Intermediate Breast Procedures with CC", + "JA09B": "Intermediate Breast Procedures without CC", + "JA09C": "Intermediate Breast Procedures with Major CC", + "JA09D": "Intermediate Breast Procedures with Intermediate CC", + "JA09E": "Unilateral Intermediate Breast Procedures with Major CC", + "JA09F": "Unilateral Intermediate Breast Procedures with Intermediate CC", + "JA09G": "Unilateral Intermediate Breast Procedures without CC", + "JA09H": "Bilateral Intermediate Breast Procedures", + "JA10Z": "Minor Breast Procedures Category 2", + "JA11A": "Minor Breast Procedures Category 1 with Major CC", + "JA11B": "Minor Breast Procedures Category 1 with Intermediate CC", + "JA11C": "Minor Breast Procedures Category 1 without CC", + "JA12A": "Malignant Breast Disorders with Major CC", + "JA12B": "Malignant Breast Disorders with Intermediate CC", + "JA12C": "Malignant Breast Disorders without CC", + "JA12D": "Malignant Breast Disorders with Interventions, with CC Score 7+", + "JA12E": "Malignant Breast Disorders with Interventions, with CC Score 3-6", + "JA12F": "Malignant Breast Disorders with Interventions, with CC Score 0-2", + "JA12G": "Malignant Breast Disorders without Interventions, with CC Score 9+", + "JA12H": "Malignant Breast Disorders without Interventions, with CC Score 6-8", + "JA12J": "Malignant Breast Disorders without Interventions, with CC Score 4-5", + "JA12K": "Malignant Breast Disorders without Interventions, with CC Score 2-3", + "JA12L": "Malignant Breast Disorders without Interventions, with CC Score 0-1", + "JA13A": "Non-Malignant Breast Disorders with Interventions", + "JA13B": "Non-Malignant Breast Disorders without Interventions, with CC Score 4+", + "JA13C": "Non-Malignant Breast Disorders without Interventions, with CC Score 0-3", + "JA13Z": "Non-Malignant Breast Disorders", + "JA14Z": "Free Perforator Flap Breast Reconstruction", + "JA15A": "Minor Breast Procedures with Major CC", + "JA15B": "Minor Breast Procedures with Intermediate CC", + "JA15C": "Minor Breast Procedures without CC", + "JA15D": "Unilateral Minor Breast Procedures with Major CC", + "JA15E": "Unilateral Minor Breast Procedures with Intermediate CC", + "JA15F": "Unilateral Minor Breast Procedures without CC", + "JA15G": "Bilateral Minor Breast Procedures", + "JA16Z": "Mastectomy with Breast Reconstruction", + "JA18A": "Unilateral Minor Breast Procedures with Major CC", + "JA18B": "Unilateral Minor Breast Procedures with Intermediate CC", + "JA18C": "Unilateral Minor Breast Procedures without CC", + "JA18Z": "Unilateral Minor Breast Procedures", + "JA19Z": "Bilateral Minor Breast Procedures", + "JA20A": "Unilateral Major Breast Procedures with Major CC", + "JA20B": "Unilateral Major Breast Procedures with Intermediate CC", + "JA20C": "Unilateral Major Breast Procedures without CC", + "JA20D": "Unilateral Major Breast Procedures with CC Score 6+", + "JA20E": "Unilateral Major Breast Procedures with CC Score 3-5", + "JA20F": "Unilateral Major Breast Procedures with CC Score 0-2", + "JA21A": "Bilateral Major Breast Procedures with CC Score 1+", + "JA21B": "Bilateral Major Breast Procedures with CC Score 0", + "JA24A": "Unilateral Intermediate Breast Procedures with Major CC", + "JA24B": "Unilateral Intermediate Breast Procedures with Intermediate CC", + "JA24C": "Unilateral Intermediate Breast Procedures without CC", + "JA24D": "Unilateral Intermediate Breast Procedures with CC Score 6+", + "JA24E": "Unilateral Intermediate Breast Procedures with CC Score 3-5", + "JA24F": "Unilateral Intermediate Breast Procedures with CC Score 0-2", + "JA25Z": "Bilateral Intermediate Breast Procedures", + "JA26Z": "Major Breast Procedures with Lymph Node Surgery", + "JA27Z": "Mastectomy with Simple Breast Reconstruction", + "JA28Z": "Mastectomy with Complex Breast Reconstruction", + "JA30Z": "Unilateral Delayed Pedicled Myocutaneous Breast Reconstruction", + "JA31Z": "Bilateral Delayed Pedicled Myocutaneous Breast Reconstruction", + "JA32Z": "Unilateral Excision of Breast with Immediate Pedicled Myocutaneous Flap Reconstruction", + "JA33Z": "Bilateral Excision of Breast with Immediate Pedicled Myocutaneous Flap Reconstruction", + "JA34Z": "Unilateral Delayed Free Perforator Flap Breast Reconstruction", + "JA35Z": "Bilateral Delayed Free Perforator Flap Breast Reconstruction", + "JA36Z": "Unilateral Excision of Breast with Immediate Free Perforator Flap Reconstruction", + "JA37Z": "Bilateral Excision of Breast with Immediate Free Perforator Flap Reconstruction", + "JA38A": "Unilateral Major Breast Procedures with Lymph Node Clearance, with CC Score 5+", + "JA38B": "Unilateral Major Breast Procedures with Lymph Node Clearance, with CC Score 2-4", + "JA38C": "Unilateral Major Breast Procedures with Lymph Node Clearance, with CC Score 0-1", + "JA39Z": "Bilateral Major Breast Procedures with Lymph Node Clearance", + "JA40Z": "Unilateral Therapeutic Mammoplasty", + "JA41Z": "Bilateral Therapeutic Mammoplasty", + "JA42Z": "Bilateral Intermediate Breast Procedures", + "JA43A": "Unilateral Intermediate Breast Procedures with CC Score 3+", + "JA43B": "Unilateral Intermediate Breast Procedures with CC Score 0-2", + "JA44Z": "Bilateral Minor Breast Procedures", + "JA45Z": "Unilateral Minor Breast Procedures" + } + }, + "B": { + "description": "Burns Procedures and Disorders", + "hrgs": { + "JB01A": "Major Burn with Significant Graft", + "JB01B": "Major Burn transferred in 2 days or less", + "JB01C": "Major Burn without Significant Graft", + "JB11A": "Other Burn with Multiple Significant Graft Procedures, with Major CC", + "JB11B": "Other Burn with Multiple Significant Graft Procedures, without Major CC", + "JB12A": "Other Burn with One Significant Graft Procedure, with Major CC", + "JB12B": "Other Burn with One Significant Graft Procedure, without Major CC", + "JB13A": "Other Burn with Other Procedure, with Major CC", + "JB13B": "Other Burn with Other Procedure, without Major CC", + "JB21A": "Other Burn without Other Procedure, with Major CC", + "JB21B": "Other Burn without Other Procedure, without Major CC", + "JB30A": "Major Burn (TBSA of 60% or more) with Skin Graft", + "JB30B": "Major Burn (TBSA of 60% or more) with Other Skin Procedure", + "JB30C": "Major Burn (TBSA of 60% or more) without Skin Procedure", + "JB31A": "Intermediate Burn (TBSA of 20-59%) with Skin Graft", + "JB31B": "Intermediate Burn (TBSA of 20-59%) with Other Skin Procedure", + "JB31C": "Intermediate Burn (TBSA of 20-59%) without Skin Procedure", + "JB32A": "Minor Burn (TBSA of less than 20%) with Skin Graft", + "JB32B": "Minor Burn (TBSA of less than 20%) with Other Skin Procedure", + "JB32C": "Minor Burn (TBSA of less than 20%) without Skin Procedure", + "JB33A": "Other Burn with Skin Graft", + "JB33B": "Other Burn with Other Skin Procedure", + "JB33C": "Other Burn without Skin Procedure", + "JB40A": "Treatment of Burn, with Severity Score 10+, with Intervention Score 2+, 16 years and over", + "JB40B": "Treatment of Burn, with Severity Score 10+, with Intervention Score 0-1, 16 years and over", + "JB41A": "Treatment of Burn, with Severity Score 8-9, with Intervention Score 2+, 16 years and over", + "JB41B": "Treatment of Burn, with Severity Score 8-9, with Intervention Score 0-1, 16 years and over", + "JB42A": "Treatment of Burn, with Severity Score 7, with Intervention Score 2+, 16 years and over", + "JB42B": "Treatment of Burn, with Severity Score 7, with Intervention Score 1, 16 years and over", + "JB42C": "Treatment of Burn, with Severity Score 7, with Intervention Score 0, 16 years and over", + "JB43Z": "Treatment of Burn, with Severity Score 5-6, with Intervention Score 2+, 16 years and over", + "JB44A": "Treatment of Burn, with Severity Score 6, with Intervention Score 1, 16 years and over", + "JB44B": "Treatment of Burn, with Severity Score 6, with Intervention Score 0, 16 years and over", + "JB45A": "Treatment of Burn, with Severity Score 5, with Intervention Score 1, 16 years and over", + "JB45B": "Treatment of Burn, with Severity Score 5, with Intervention Score 0, 16 years and over", + "JB46A": "Treatment of Burn, with Severity Score 4, with Intervention Score 1+, 16 years and over", + "JB46B": "Treatment of Burn, with Severity Score 4, with Intervention Score 0, 16 years and over", + "JB47A": "Treatment of Burn, with Severity Score 3, with Intervention Score 1+, 16 years and over", + "JB47B": "Treatment of Burn, with Severity Score 3, with Intervention Score 0, 16 years and over", + "JB48A": "Treatment of Burn, with Severity Score 2, with Intervention Score 1+, 16 years and over", + "JB48B": "Treatment of Burn, with Severity Score 2, with Intervention Score 0, 16 years and over", + "JB49Z": "Treatment of Burn, with Severity Score 1, 16 years and over", + "JB50A": "Treatment of Burn, with Severity Score 8+, with Intervention Score 2+, 15 years and under", + "JB50B": "Treatment of Burn, with Severity Score 8+, with Intervention Score 0-1, 15 years and under", + "JB51A": "Treatment of Burn, with Severity Score 6-7, with Intervention Score 1+, 15 years and under", + "JB51B": "Treatment of Burn, with Severity Score 6-7, with Intervention Score 0, 15 years and under", + "JB52Z": "Treatment of Burn, with Severity Score 4-5, with Intervention Score 1+, 15 years and under", + "JB53Z": "Treatment of Burn, with Severity Score 5, with Intervention Score 0, 15 years and under", + "JB54Z": "Treatment of Burn, with Severity Score 4, with Intervention Score 0, 15 years and under", + "JB55Z": "Treatment of Burn, with Severity Score 2-3, with Intervention Score 1+, 15 years and under", + "JB56Z": "Treatment of Burn, with Severity Score 3, with Intervention Score 0, 15 years and under", + "JB57Z": "Treatment of Burn, with Severity Score 2, with Intervention Score 0, 15 years and under", + "JB58Z": "Treatment of Burn, with Severity Score 1, 15 years and under", + "JB60A": "Treatment of Unspecified Degree of Burn, 16 years and over", + "JB60B": "Treatment of Unspecified Degree of Burn, 15 years and under", + "JB61A": "Treatment of Burn where Patient Transferred or Died in 2 days or less, 16 years and over", + "JB61B": "Treatment of Burn where Patient Transferred or Died in 2 days or less, 15 years and under", + "JB70A": "Debridement of Burn, 16 years and over", + "JB70B": "Debridement of Burn, 15 years and under", + "JB71A": "Cleansing and Dressing of Burn, 16 years and over", + "JB71B": "Cleansing and Dressing of Burn, 15 years and under" + } + }, + "C": { + "description": "Skin Procedures", + "hrgs": { + "JC01A": "Major Multiple Skin Procedures with Major CC", + "JC01B": "Major Multiple Skin Procedures with Intermediate CC", + "JC01C": "Major Multiple Skin Procedures without CC", + "JC02A": "Major Skin Procedures Category 2, with Major CC", + "JC02B": "Major Skin Procedures Category 2, with Intermediate CC", + "JC02C": "Major Skin Procedures Category 2, without CC", + "JC03A": "Major Skin Procedures Category 1, with Major CC", + "JC03B": "Major Skin Procedures Category 1, with Intermediate CC", + "JC03C": "Major Skin Procedures Category 1, without CC", + "JC04A": "Intermediate Skin Procedures Category 2, with Major CC", + "JC04B": "Intermediate Skin Procedures Category 2, with Intermediate CC", + "JC04C": "Intermediate Skin Procedures Category 2, without CC", + "JC05A": "Intermediate Skin Procedures Category 1, with Major CC", + "JC05B": "Intermediate Skin Procedures Category 1, with Intermediate CC", + "JC05C": "Intermediate Skin Procedures Category 1, without CC", + "JC06A": "Minor Skin Procedures Category 2, with Major CC", + "JC06B": "Minor Skin Procedures Category 2, with Intermediate CC", + "JC06C": "Minor Skin Procedures Category 2, without CC", + "JC07Z": "Minor Skin Procedures Category 1", + "JC09Z": "Patch Tests", + "JC10Z": "Specified Skin Examinations and Investigations", + "JC11Z": "Other Diagnostic Skin Tests", + "JC12Z": "Urticaria Tests", + "JC13Z": "Photo Tests", + "JC14Z": "Skin Therapies Level 2", + "JC15Z": "Skin Therapies Level 3", + "JC16Z": "Skin Therapies Level 4", + "JC17Z": "Skin Therapies Level 5", + "JC18Z": "Electrical and Other Invasive Therapy Level 2", + "JC19D": "Electrical and Other Invasive Therapy Level 4, 19 years and over", + "JC19U": "Electrical and Other Invasive Therapy Level 4, 18 years and under", + "JC19Z": "Electrical and other invasive therapy 4", + "JC20Z": "Electrical and Other Invasive Therapy Level 3", + "JC27Z": "Nursing Procedures or Dressings", + "JC29Z": "Phototherapy", + "JC30Z": "Minor Laser Therapy", + "JC32Z": "Photochemotherapy", + "JC40Z": "Multiple Major Skin Procedures", + "JC41Z": "Major Skin Procedures", + "JC42A": "Intermediate Skin Procedures, 13 years and over", + "JC42B": "Intermediate Skin Procedures, 12 years and under", + "JC42C": "Intermediate Skin Procedures, 19 years and over", + "JC42D": "Intermediate Skin Procedures, 18 years and under", + "JC43A": "Minor Skin Procedures, 13 years and over", + "JC43B": "Minor Skin Procedures, 12 years and under", + "JC43C": "Minor Skin Procedures, 19 years and over", + "JC43D": "Minor Skin Procedures, 18 years and under", + "JC44Z": "Complex Patch Tests", + "JC45A": "Standard Patch Tests, 13 years and over", + "JC45B": "Standard Patch Tests, 12 years and under", + "JC46Z": "Photodynamic Therapy", + "JC47A": "Phototherapy or Photochemotherapy, 13 years and over", + "JC47B": "Phototherapy or Photochemotherapy, 12 years and under", + "JC47Z": "Phototherapy" + } + }, + "D": { + "description": "Skin Disorders", + "hrgs": { + "JD01A": "Major Skin Disorders Category 2, with Major CC", + "JD01B": "Major Skin Disorders Category 2, with Intermediate CC", + "JD01C": "Major Skin Disorders Category 2, without CC", + "JD02A": "Major Skin Disorders Category 1, with Major CC", + "JD02B": "Major Skin Disorders Category 1, with Intermediate CC", + "JD02C": "Major Skin Disorders Category 1, without CC", + "JD03A": "Intermediate Skin Disorders Category 2, with Major CC", + "JD03B": "Intermediate Skin Disorders Category 2, with Intermediate CC", + "JD03C": "Intermediate Skin Disorders Category 2, without CC", + "JD04A": "Intermediate Skin Disorders Category 1, with Major CC", + "JD04B": "Intermediate Skin Disorders Category 1, with Intermediate CC", + "JD04C": "Intermediate Skin Disorders Category 1, without CC", + "JD05A": "Minor Skin Disorders Category 2, with Major CC", + "JD05B": "Minor Skin Disorders Category 2, with Intermediate CC", + "JD05C": "Minor Skin Disorders Category 2, without CC", + "JD06A": "Minor Skin Disorders Category 1, with CC", + "JD06B": "Minor Skin Disorders Category 1, without CC", + "JD07A": "Skin Disorders with Interventions, with CC Score 12+", + "JD07B": "Skin Disorders with Interventions, with CC Score 8-11", + "JD07C": "Skin Disorders with Interventions, with CC Score 4-7", + "JD07D": "Skin Disorders with Interventions, with CC Score 0-3", + "JD07E": "Skin Disorders without Interventions, with CC Score 19+", + "JD07F": "Skin Disorders without Interventions, with CC Score 14-18", + "JD07G": "Skin Disorders without Interventions, with CC Score 10-13", + "JD07H": "Skin Disorders without Interventions, with CC Score 6-9", + "JD07J": "Skin Disorders without Interventions, with CC Score 2-5", + "JD07K": "Skin Disorders without Interventions, with CC Score 0-1" + } + } + } + }, + "K": { + "description": "Endocrine and Metabolic System", + "subchapters": { + "A": { + "description": "Endocrine System Procedures and Disorders", + "hrgs": { + "KA01A": "Major Thyroid Procedures with CC", + "KA01B": "Major Thyroid Procedures without CC", + "KA02Z": "Minor Thyroid Procedures", + "KA03A": "Parathyroid Procedures with CC", + "KA03B": "Parathyroid Procedures without CC", + "KA03C": "Parathyroid Procedures with CC Score 2+", + "KA03D": "Parathyroid Procedures with CC Score 0-1", + "KA04A": "Adrenal Procedures with CC Score 2+", + "KA04B": "Adrenal Procedures with CC Score 0-1", + "KA04Z": "Adrenal Procedures", + "KA05A": "Anterior Pituitary Disorders with CC", + "KA05B": "Anterior Pituitary Disorders without CC", + "KA05C": "Anterior Pituitary Disorders with CC Score 2+", + "KA05D": "Anterior Pituitary Disorders with CC Score 0-1", + "KA06A": "Non-Pituitary Neoplasia and Hypoplasia, with CC", + "KA06B": "Non-Pituitary Neoplasia and Hypoplasia, without CC", + "KA06C": "Non-Pituitary Neoplasia or Hypoplasia, with CC Score 4+", + "KA06D": "Non-Pituitary Neoplasia or Hypoplasia, with CC Score 2-3", + "KA06E": "Non-Pituitary Neoplasia or Hypoplasia, with CC Score 0-1", + "KA07A": "Non-Surgical Thyroid Disorders with CC Score 4+", + "KA07B": "Non-Surgical Thyroid Disorders with CC Score 2-3", + "KA07C": "Non-Surgical Thyroid Disorders with CC Score 0-1", + "KA07Z": "Non-Surgical Thyroid Disorders", + "KA08A": "Other Endocrine Disorders with CC Score 4+", + "KA08B": "Other Endocrine Disorders with CC Score 2-3", + "KA08C": "Other Endocrine Disorders with CC Score 0-1", + "KA08Z": "Other Endocrine Disorders", + "KA09A": "Thyroid Procedures with CC", + "KA09B": "Thyroid Procedures without CC", + "KA09C": "Thyroid Procedures with CC Score 4+", + "KA09D": "Thyroid Procedures with CC Score 2-3", + "KA09E": "Thyroid Procedures with CC Score 0-1" + } + }, + "B": { + "description": "Diabetic Medicine", + "hrgs": { + "KB01A": "Diabetes with Hypoglycaemic Disorders, 70 years and over", + "KB01B": "Diabetes with Hypoglycaemic Disorders, 69 years and under", + "KB01C": "Diabetes with Hypoglycaemic Disorders, with CC Score 8+", + "KB01D": "Diabetes with Hypoglycaemic Disorders, with CC Score 5-7", + "KB01E": "Diabetes with Hypoglycaemic Disorders, with CC Score 3-4", + "KB01F": "Diabetes with Hypoglycaemic Disorders, with CC Score 0-2", + "KB02A": "Diabetes with Hyperglycaemic Disorders, 70 years and over with Major CC", + "KB02B": "Diabetes with Hyperglycaemic Disorders, 70 years and over with Intermediate CC", + "KB02C": "Diabetes with Hyperglycaemic Disorders, 70 years and over without CC", + "KB02D": "Diabetes with Hyperglycaemic Disorders, 69 years and under with Major CC", + "KB02E": "Diabetes with Hyperglycaemic Disorders, 69 years and under with Intermediate CC", + "KB02F": "Diabetes with Hyperglycaemic Disorders, 69 years and under without CC", + "KB02G": "Diabetes with Hyperglycaemic Disorders, with CC Score 8+", + "KB02H": "Diabetes with Hyperglycaemic Disorders, with CC Score 5-7", + "KB02J": "Diabetes with Hyperglycaemic Disorders, with CC Score 2-4", + "KB02K": "Diabetes with Hyperglycaemic Disorders, with CC Score 0-1", + "KB03A": "Diabetes with Lower Limb Complications, with Major CC", + "KB03B": "Diabetes with Lower Limb Complications, without Major CC", + "KB03C": "Diabetes with Lower Limb Complications, with CC Score 9+", + "KB03D": "Diabetes with Lower Limb Complications, with CC Score 5-8", + "KB03E": "Diabetes with Lower Limb Complications, with CC Score 0-4", + "KB04Z": "Continuous Subcutaneous Insulin Infusion" + } + }, + "C": { + "description": "Metabolic Disorders", + "hrgs": { + "KC01A": "Electrolyte Disorders with Major CC", + "KC01B": "Electrolyte Disorders with Intermediate CC", + "KC01C": "Electrolyte Disorders without CC", + "KC02A": "Fluid Disorders 70 years and over with Major CC", + "KC02B": "Fluid Disorders 70 years and over with Intermediate CC", + "KC02C": "Fluid Disorders 70 years and over without CC", + "KC02D": "Fluid Disorders 69 years and under with Major CC", + "KC02E": "Fluid Disorders 69 years and under with Intermediate CC", + "KC02F": "Fluid Disorders 69 years and under without CC", + "KC03A": "Disorders of Nutrition 85 years and over", + "KC03B": "Disorders of Nutrition 84 years and under with Major CC", + "KC03C": "Disorders of Nutrition 84 years and under without Major CC", + "KC04A": "Inborn Errors of Metabolism with CC Score 3+", + "KC04B": "Inborn Errors of Metabolism with CC Score 0-2", + "KC04Z": "Inborn Errors of Metabolism", + "KC05A": "Fluid and Electrolyte Disorders, 70 years and over with Major CC", + "KC05B": "Fluid and Electrolyte Disorders, 70 years and over with Intermediate CC", + "KC05C": "Fluid and Electrolyte Disorders, 70 years and over without CC", + "KC05D": "Fluid and Electrolyte Disorders, 69 years and under with Major CC", + "KC05E": "Fluid and Electrolyte Disorders, 69 years and under with Intermediate CC", + "KC05F": "Fluid and Electrolyte Disorders, 69 years and under without CC", + "KC05G": "Fluid or Electrolyte Disorders, with Interventions, with CC Score 5+", + "KC05H": "Fluid or Electrolyte Disorders, with Interventions, with CC Score 0-4", + "KC05J": "Fluid or Electrolyte Disorders, without Interventions, with CC Score 10+", + "KC05K": "Fluid or Electrolyte Disorders, without Interventions, with CC Score 7-9", + "KC05L": "Fluid or Electrolyte Disorders, without Interventions, with CC Score 4-6", + "KC05M": "Fluid or Electrolyte Disorders, without Interventions, with CC Score 2-3", + "KC05N": "Fluid or Electrolyte Disorders, without Interventions, with CC Score 0-1" + } + } + } + }, + "L": { + "description": "Urinary Tract and Male Reproductive System", + "subchapters": { + "A": { + "description": "Renal Procedures and Disorders", + "hrgs": { + "LA01A": "Kidney Transplant, 19 years and over, from Cadaver Non-Heart-Beating Donor", + "LA01B": "Kidney Transplant, 18 years and under, from Cadaver Non-Heart-Beating Donor", + "LA02A": "Kidney Transplant, 19 years and over, from Cadaver Heart-Beating Donor", + "LA02B": "Kidney Transplant, 18 years and under, from Cadaver Heart-Beating Donor", + "LA03A": "Kidney Transplant, 19 years and over, from Live Donor", + "LA03B": "Kidney Transplant, 18 years and under, from Live Donor", + "LA04A": "Kidney or Urinary Tract Infections with Major CC", + "LA04B": "Kidney or Urinary Tract Infections with Intermediate CC", + "LA04C": "Kidney or Urinary Tract Infections without CC", + "LA04D": "Kidney or Urinary Tract Infections, with length of stay 2 days or more, with Major CC", + "LA04E": "Kidney or Urinary Tract Infections, with length of stay 2 days or more, with Intermediate CC", + "LA04F": "Kidney or Urinary Tract Infections, with length of stay 2 days or more, without CC", + "LA04G": "Kidney or Urinary Tract Infections, with length of stay 1 day or less", + "LA04H": "Kidney or Urinary Tract Infections, with Interventions, with CC Score 12+", + "LA04J": "Kidney or Urinary Tract Infections, with Interventions, with CC Score 9-11", + "LA04K": "Kidney or Urinary Tract Infections, with Interventions, with CC Score 6-8", + "LA04L": "Kidney or Urinary Tract Infections, with Interventions, with CC Score 3-5", + "LA04M": "Kidney or Urinary Tract Infections, with Interventions, with CC Score 0-2", + "LA04N": "Kidney or Urinary Tract Infections, without Interventions, with CC Score 13+", + "LA04P": "Kidney or Urinary Tract Infections, without Interventions, with CC Score 8-12", + "LA04Q": "Kidney or Urinary Tract Infections, without Interventions, with CC Score 4-7", + "LA04R": "Kidney or Urinary Tract Infections, without Interventions, with CC Score 2-3", + "LA04S": "Kidney or Urinary Tract Infections, without Interventions, with CC Score 0-1", + "LA05A": "Renal Replacement Peritoneal Dialysis Associated Procedures with CC", + "LA05B": "Renal Replacement Peritoneal Dialysis Associated Procedures without CC", + "LA05Z": "Renal Replacement Peritoneal Dialysis Associated Procedures", + "LA07A": "Acute Kidney Injury with Major CC", + "LA07B": "Acute Kidney Injury with Intermediate CC", + "LA07C": "Acute Kidney Injury without CC", + "LA07D": "Acute Kidney Injury with Interventions, with Major CC", + "LA07E": "Acute Kidney Injury without Interventions, with Major CC", + "LA07F": "Acute Kidney Injury with Interventions, with Intermediate CC", + "LA07G": "Acute Kidney Injury without Interventions, with Intermediate CC", + "LA07H": "Acute Kidney Injury with Interventions, with CC Score 11+", + "LA07J": "Acute Kidney Injury with Interventions, with CC Score 6-10", + "LA07K": "Acute Kidney Injury with Interventions, with CC Score 0-5", + "LA07L": "Acute Kidney Injury without Interventions, with CC Score 12+", + "LA07M": "Acute Kidney Injury without Interventions, with CC Score 8-11", + "LA07N": "Acute Kidney Injury without Interventions, with CC Score 4-7", + "LA07P": "Acute Kidney Injury without Interventions, with CC Score 0-3", + "LA08A": "Chronic Kidney Disease with length of stay 2 days or more, with Major CC", + "LA08B": "Chronic Kidney Disease with length of stay 2 days or more, with Intermediate CC", + "LA08C": "Chronic Kidney Disease with length of stay 2 days or more, without CC", + "LA08D": "Chronic Renal Failure with length of stay 1 day or less", + "LA08E": "Chronic Kidney Disease with length of stay 1 day or less, associated with Renal Dialysis", + "LA08F": "Chronic Kidney Disease with length of stay 1 day or less, not associated with Renal Dialysis", + "LA08G": "Chronic Kidney Disease with Interventions, with CC Score 6+", + "LA08H": "Chronic Kidney Disease with Interventions, with CC Score 3-5", + "LA08J": "Chronic Kidney Disease with Interventions, with CC Score 0-2", + "LA08K": "Chronic Kidney Disease without Interventions, with CC Score 11+", + "LA08L": "Chronic Kidney Disease without Interventions, with CC Score 8-10", + "LA08M": "Chronic Kidney Disease without Interventions, with CC Score 5-7", + "LA08N": "Chronic Kidney Disease without Interventions, with CC Score 3-4", + "LA08P": "Chronic Kidney Disease without Interventions, with CC Score 0-2", + "LA09A": "General Renal Disorders 19 years and over with Major CC", + "LA09B": "General Renal Disorders 19 years and over with Intermediate CC", + "LA09C": "General Renal Disorders 19 years and over without CC", + "LA09D": "General Renal Disorders 18 years and under", + "LA09E": "General Renal Disorders with length of stay 2 days or more, with Major CC", + "LA09F": "General Renal Disorders with length of stay 2 days or more, with Intermediate CC", + "LA09G": "General Renal Disorders with length of stay 2 days or more, without CC", + "LA09H": "General Renal Disorders with length of stay 1 day or less", + "LA09J": "General Renal Disorders with Interventions, with CC Score 6+", + "LA09K": "General Renal Disorders with Interventions, with CC Score 3-5", + "LA09L": "General Renal Disorders with Interventions, with CC Score 0-2", + "LA09M": "General Renal Disorders without Interventions, with CC Score 9+", + "LA09N": "General Renal Disorders without Interventions, with CC Score 6-8", + "LA09P": "General Renal Disorders without Interventions, with CC Score 3-5", + "LA09Q": "General Renal Disorders without Interventions, with CC Score 0-2", + "LA10Z": "Live Kidney Donor Screening", + "LA11Z": "Kidney Pre-Transplantation Workup of Live Donor", + "LA12A": "Kidney Pre-Transplantation Workup of Recipient, 19 years and over", + "LA12B": "Kidney Pre-Transplantation Workup of Recipient, 18 years and under", + "LA13A": "Examination for Post-Transplantation of Kidney of Recipient, 19 years and over", + "LA13B": "Examination for Post-Transplantation of Kidney of Recipient, 18 years and under", + "LA14Z": "Examination for Post-Transplantation of Kidney of Live Donor", + "LA97A": "Same Day Dialysis Admission or Attendance, 19 years and over", + "LA97B": "Same Day Dialysis Admission or Attendance, 18 years and under" + } + }, + "B": { + "description": "Urological and Male Reproductive System Procedures and Disorders", + "hrgs": { + "LB01A": "Percutaneous Nephrostomy with CC", + "LB01B": "Percutaneous Nephrostomy without CC", + "LB02A": "Kidney Major Open Procedure 19 years and over with Major CC", + "LB02B": "Kidney Major Open Procedure 19 years and over with Intermediate CC", + "LB02C": "Kidney Major Open Procedure 19 years and over without CC", + "LB02D": "Kidney Major Open Procedure 18 years and under", + "LB03Z": "Laparoscopic Operations on Kidney and Ureter", + "LB04A": "Kidney Major Endoscopic Procedure with CC", + "LB04B": "Kidney Major Endoscopic Procedure without CC", + "LB05A": "Intermediate Percutaneous Kidney or Ureter Procedures, 19 years and over, with Major CC", + "LB05B": "Intermediate Percutaneous Kidney or Ureter Procedures, 19 years and over, with Intermediate CC", + "LB05C": "Intermediate Percutaneous Kidney or Ureter Procedures, 19 years and over, without CC", + "LB05D": "Intermediate Percutaneous, Kidney or Ureter Procedures, 18 years and under", + "LB05E": "Intermediate Percutaneous, Kidney or Ureter Procedures, 19 years and over, with CC Score 6+", + "LB05F": "Intermediate Percutaneous, Kidney or Ureter Procedures, 19 years and over, with CC Score 3-5", + "LB05G": "Intermediate Percutaneous, Kidney or Ureter Procedures, 19 years and over, with CC Score 0-2", + "LB06A": "Non-OR Admission for Kidney, Urinary Tract and Prostate Neoplasms with Major CC", + "LB06B": "Non-OR Admission for Kidney, Urinary Tract and Prostate Neoplasms with Intermediate CC", + "LB06C": "Non-OR Admission for Kidney, Urinary Tract and Prostate Neoplasms without CC", + "LB06D": "Kidney, Urinary Tract or Prostate Neoplasms, with length of stay 2 days or more, with Major CC", + "LB06E": "Kidney, Urinary Tract or Prostate Neoplasms, with length of stay 2 days or more, with Intermediate CC", + "LB06F": "Kidney, Urinary Tract or Prostate Neoplasms, with length of stay 2 days or more, without CC", + "LB06G": "Kidney, Urinary Tract or Prostate Neoplasms, with length of stay 1 day or less", + "LB06H": "Kidney, Urinary Tract or Prostate Neoplasms, with Interventions, with CC Score 9+", + "LB06J": "Kidney, Urinary Tract or Prostate Neoplasms, with Interventions, with CC Score 6-8", + "LB06K": "Kidney, Urinary Tract or Prostate Neoplasms, with Interventions, with CC Score 4-5", + "LB06L": "Kidney, Urinary Tract or Prostate Neoplasms, with Interventions, with CC Score 2-3", + "LB06M": "Kidney, Urinary Tract or Prostate Neoplasms, with Interventions, with CC Score 0-1", + "LB06N": "Kidney, Urinary Tract or Prostate Neoplasms, without Interventions, with CC Score 13+", + "LB06P": "Kidney, Urinary Tract or Prostate Neoplasms, without Interventions, with CC Score 7-12", + "LB06Q": "Kidney, Urinary Tract or Prostate Neoplasms, without Interventions, with CC Score 4-6", + "LB06R": "Kidney, Urinary Tract or Prostate Neoplasms, without Interventions, with CC Score 2-3", + "LB06S": "Kidney, Urinary Tract or Prostate Neoplasms, without Interventions, with CC Score 0-1", + "LB07Z": "Ureter Open Procedure", + "LB08A": "Ureter Major Endoscopic Procedures with CC", + "LB08B": "Ureter Major Endoscopic Procedures without CC", + "LB08Z": "Ureter Major Endoscopic Procedure", + "LB09A": "Ureter Intermediate Endoscopic Procedure 19 years and over with CC", + "LB09B": "Ureter Intermediate Endoscopic Procedure 19 years and over without CC", + "LB09C": "Intermediate Endoscopic Ureter Procedures, 18 years and under", + "LB09D": "Intermediate Endoscopic Ureter Procedures, 19 years and over", + "LB09Z": "Ureter Intermediate Endoscopic Procedures", + "LB10A": "Major Open Bladder Procedures or Reconstruction, 19 years and over", + "LB10B": "Major Open Bladder Procedures or Reconstruction, 18 years and under", + "LB10C": "Major Open Bladder Procedures or Reconstruction, 19 years and over, with CC Score 2+", + "LB10D": "Major Open Bladder Procedures or Reconstruction, 19 years and over, with CC Score 0-1", + "LB10Z": "Bladder Major Open Procedures / Reconstruction", + "LB11A": "Urinary Diversion without Cystectomy with Malignancy", + "LB11B": "Urinary Diversion without Cystectomy without Malignancy", + "LB11Z": "Urinary Diversion without Cystectomy", + "LB12Z": "Intermediate Open Bladder Procedures", + "LB13A": "Major Endoscopic Bladder Procedures with CC", + "LB13B": "Major Endoscopic Bladder Procedures without CC", + "LB13C": "Major Endoscopic Bladder Procedures with CC Score 7+", + "LB13D": "Major Endoscopic Bladder Procedures with CC Score 5-6", + "LB13E": "Major Endoscopic Bladder Procedures with CC Score 2-4", + "LB13F": "Major Endoscopic Bladder Procedures with CC Score 0-1", + "LB14A": "Bladder Intermediate Endoscopic Procedure 19 years and over with Major CC", + "LB14B": "Bladder Intermediate Endoscopic Procedure 19 years and over with Intermediate CC", + "LB14C": "Bladder Intermediate Endoscopic Procedure 19 years and over without CC", + "LB14D": "Bladder Intermediate Endoscopic Procedure 18 years and under", + "LB14E": "Bladder Intermediate Endoscopic Procedure 19 years and over", + "LB14Z": "Intermediate Endoscopic Bladder Procedures", + "LB15A": "Bladder Minor Procedure 19 years and over with Major CC", + "LB15B": "Bladder Minor Procedure 19 years and over with Intermediate CC", + "LB15C": "Bladder Minor Procedure 19 years and over without CC", + "LB15D": "Minor Bladder Procedures, 18 years and under", + "LB15E": "Minor Bladder Procedures, 19 years and over", + "LB16A": "Urinary Incontinence or Other Urinary Problems, with Major CC", + "LB16B": "Urinary Incontinence or Other Urinary Problems, with Intermediate CC", + "LB16C": "Urinary Incontinence or Other Urinary Problems, without CC", + "LB16D": "Urinary Incontinence or Other Urinary Problems, with Interventions, with CC Score 7+", + "LB16E": "Urinary Incontinence or Other Urinary Problems, with Interventions, with CC Score 3-6", + "LB16F": "Urinary Incontinence or Other Urinary Problems, with Interventions, with CC Score 0-2", + "LB16G": "Urinary Incontinence or Other Urinary Problems, without Interventions, with CC Score 8+", + "LB16H": "Urinary Incontinence or Other Urinary Problems, without Interventions, with CC Score 5-7", + "LB16J": "Urinary Incontinence or Other Urinary Problems, without Interventions, with CC Score 2-4", + "LB16K": "Urinary Incontinence or Other Urinary Problems, without Interventions, with CC Score 0-1", + "LB17Z": "Introduction of Therapeutic Substance into Bladder", + "LB18A": "Bladder / Urinary Mechanical Problems with Major CC", + "LB18B": "Bladder / Urinary Mechanical Problems with Intermediate CC", + "LB18C": "Bladder / Urinary Mechanical Problems without CC", + "LB18D": "Bladder / Urinary Mechanical Problems with CC", + "LB18E": "Bladder / Urinary Mechanical Problems without CC", + "LB18Z": "Attention to Suprapubic Bladder Catheter", + "LB19A": "Ureteric or Bladder Disorders, with CC", + "LB19B": "Ureteric or Bladder Disorders, without CC", + "LB19C": "Ureteric or Bladder Disorders, with Interventions, with CC Score 4+", + "LB19D": "Ureteric or Bladder Disorders, with Interventions, with CC Score 0-3", + "LB19E": "Ureteric or Bladder Disorders, without Interventions, with CC Score 5+", + "LB19F": "Ureteric or Bladder Disorders, without Interventions, with CC Score 2-4", + "LB19G": "Ureteric or Bladder Disorders, without Interventions, with CC Score 0-1", + "LB20A": "Infection or Mechanical Problems Related to Genito-Urinary Prostheses, Implants or Grafts, with CC", + "LB20B": "Infection or Mechanical Problems Related to Genito-Urinary Prostheses, Implants or Grafts, without CC", + "LB20C": "Infection or Mechanical Problems Related to Genito-Urinary Prostheses, Implants or Grafts, with Interventions, with CC Score 4+", + "LB20D": "Infection or Mechanical Problems Related to Genito-Urinary Prostheses, Implants or Grafts, with Interventions, with CC Score 0-3", + "LB20E": "Infection or Mechanical Problems Related to Genito-Urinary Prostheses, Implants or Grafts, without Interventions, with CC Score 7+", + "LB20F": "Infection or Mechanical Problems Related to Genito-Urinary Prostheses, Implants or Grafts, without Interventions, with CC Score 2-6", + "LB20G": "Infection or Mechanical Problems Related to Genito-Urinary Prostheses, Implants or Grafts, without Interventions, with CC Score 0-1", + "LB21A": "Major Open, Prostate or Bladder Neck Procedures (Male), with CC Score 2+", + "LB21B": "Major Open, Prostate or Bladder Neck Procedures (Male), with CC Score 0-1", + "LB21Z": "Major Open Prostate or Bladder Neck Procedures (Male)", + "LB22Z": "Major Laparoscopic, Prostate or Bladder Neck Procedures (Male)", + "LB23Z": "Bladder Neck Open Procedures - Female", + "LB24Z": "Laparoscopic Bladder Neck Procedures - Female", + "LB25A": "Transurethral Prostate Resection Procedures with Major CC", + "LB25B": "Transurethral Prostate Resection Procedures with Intermediate CC", + "LB25C": "Transurethral Prostate Resection Procedures without CC", + "LB25D": "Transurethral Prostate Resection Procedures with CC Score 6+", + "LB25E": "Transurethral Prostate Resection Procedures with CC Score 3-5", + "LB25F": "Transurethral Prostate Resection Procedures with CC Score 0-2", + "LB26A": "Intermediate Endoscopic, Prostate or Bladder Neck Procedures (Male and Female), with CC Score 2+", + "LB26B": "Intermediate Endoscopic, Prostate or Bladder Neck Procedures (Male and Female), with CC Score 0-1", + "LB26Z": "Intermediate Endoscopic Prostate or Bladder Neck Procedures (Male and Female)", + "LB27Z": "Minor Endoscopic, Prostate or Bladder Neck Procedures (Male)", + "LB28A": "Non-Malignant Prostate Disorders with CC", + "LB28B": "Non-Malignant Prostate Disorders without CC", + "LB28C": "Non-Malignant Prostate Disorders with Interventions, with CC Score 4+", + "LB28D": "Non-Malignant Prostate Disorders with Interventions, with CC Score 0-3", + "LB28E": "Non-Malignant Prostate Disorders without Interventions, with CC Score 6+", + "LB28F": "Non-Malignant Prostate Disorders without Interventions, with CC Score 3-5", + "LB28G": "Non-Malignant Prostate Disorders without Interventions, with CC Score 0-2", + "LB29A": "Major Open Urethra Procedures, 19 years and over", + "LB29B": "Urethra Major Open Procedures 18 years and under", + "LB29C": "Major Open Urethra Procedures, between 2 and 18 years", + "LB29D": "Major Open Urethra Procedures, 1 year and under", + "LB30A": "Urethra Disorders and Intermediate / Minor Procedures 19 years and over with CC", + "LB30B": "Urethra Disorders and Intermediate / Minor Procedures 19 years and over without CC", + "LB30C": "Urethra Disorders and Intermediate / Minor Procedures 18 years and under", + "LB31Z": "Penis Major / Intermediate Open Procedures", + "LB32A": "Penile Conditions and Minor Procedures 19 years and over with CC", + "LB32B": "Penile Conditions and Minor Procedures 19 years and over without CC", + "LB32C": "Penile Conditions and Minor Procedures 18 years and under", + "LB33Z": "Vasectomy Procedures", + "LB34A": "Scrotum, Testis or Vas Deferens Open Procedures 19 years and over with CC", + "LB34B": "Scrotum, Testis or Vas Deferens Open Procedures 19 years and over without CC", + "LB34C": "Scrotum, Testis or Vas Deferens Open Procedures 18 years and under", + "LB35A": "Scrotum, Testis or Vas Deferens Disorders with CC", + "LB35B": "Scrotum, Testis or Vas Deferens Disorders without CC", + "LB35C": "Scrotum, Testis or Vas Deferens Disorders, with Interventions, with CC Score 2+", + "LB35D": "Scrotum, Testis or Vas Deferens Disorders, with Interventions, with CC Score 0-1", + "LB35E": "Scrotum, Testis or Vas Deferens Disorders, without Interventions, with CC Score 6+", + "LB35F": "Scrotum, Testis or Vas Deferens Disorders, without Interventions, with CC Score 3-5", + "LB35G": "Scrotum, Testis or Vas Deferens Disorders, without Interventions, with CC Score 1-2", + "LB35H": "Scrotum, Testis or Vas Deferens Disorders, without Interventions, with CC Score 0", + "LB36Z": "Extracorporeal Lithotripsy", + "LB37A": "Miscellaneous Urinary Tract Findings with CC", + "LB37B": "Miscellaneous Urinary Tract Findings without CC", + "LB37C": "Miscellaneous Urinary Tract Findings with CC Score 5+", + "LB37D": "Miscellaneous Urinary Tract Findings with CC Score 2-4", + "LB37E": "Miscellaneous Urinary Tract Findings with CC Score 0-1", + "LB38A": "Unspecified Haematuria with Major CC", + "LB38B": "Unspecified Haematuria without Major CC", + "LB38C": "Unspecified Haematuria with Interventions, with CC Score 7+", + "LB38D": "Unspecified Haematuria with Interventions, with CC Score 3-6", + "LB38E": "Unspecified Haematuria with Interventions, with CC Score 0-2", + "LB38F": "Unspecified Haematuria without Interventions, with CC Score 8+", + "LB38G": "Unspecified Haematuria without Interventions, with CC Score 4-7", + "LB38H": "Unspecified Haematuria without Interventions, with CC Score 0-3", + "LB39A": "Cystectomy with Urinary Diversion and Reconstruction, with CC", + "LB39B": "Cystectomy with Urinary Diversion and Reconstruction, without CC", + "LB39C": "Cystectomy with Urinary Diversion and Reconstruction, with CC Score 3+", + "LB39D": "Cystectomy with Urinary Diversion and Reconstruction, with CC Score 0-2", + "LB40A": "Urinary Tract Stone Disease with CC", + "LB40B": "Urinary Tract Stone Disease without CC", + "LB40C": "Urinary Tract Stone Disease with Interventions, with CC Score 3+", + "LB40D": "Urinary Tract Stone Disease with Interventions, with CC Score 0-2", + "LB40E": "Urinary Tract Stone Disease without Interventions, with CC Score 6+", + "LB40F": "Urinary Tract Stone Disease without Interventions, with CC Score 3-5", + "LB40G": "Urinary Tract Stone Disease without Interventions, with CC Score 0-2", + "LB42A": "Dynamic Studies of Urinary Tract, 19 years and over", + "LB42B": "Dynamic Studies of Urinary Tract, between 2 and 18 years", + "LB42C": "Dynamic Studies of Urinary Tract, 1 year and under", + "LB42D": "Dynamic Studies of Urinary Tract, 18 years and under", + "LB42Z": "Dynamic Studies of Urinary Tract", + "LB43Z": "Treatment of Erectile Dysfunction", + "LB44Z": "Non-Operative Interventions of Genital Organs and Perineum - Male", + "LB45Z": "Retroperitoneal Lymph Node Dissection", + "LB46Z": "Live Donation of Kidney", + "LB47Z": "Major Open Penis Procedures", + "LB48Z": "Intermediate Open Penis Procedures", + "LB49Z": "High Intensity Focused Ultrasound (Male and Female)", + "LB50Z": "Implantation of Artificial Urinary Sphincter (Male and Female)", + "LB51A": "Vaginal Tape Operations for Urinary Incontinence, with CC Score 2+", + "LB51B": "Vaginal Tape Operations for Urinary Incontinence, with CC Score 0-1", + "LB51Z": "Vaginal Tape Operations for Urinary Incontinence", + "LB52A": "Major Open, Scrotum, Testis or Vas Deferens Procedures, with CC Score 2+", + "LB52B": "Major Open, Scrotum, Testis or Vas Deferens Procedures, with CC Score 0-1", + "LB52Z": "Major Open Scrotum, Testis or Vas Deferens Procedures", + "LB53A": "Intermediate Open Scrotum, Testis or Vas Deferens Procedures, 19 years and over", + "LB53B": "Intermediate Open, Scrotum, Testis or Vas Deferens Procedures, 18 years and under", + "LB53C": "Intermediate Open, Scrotum, Testis or Vas Deferens Procedures, 19 years and over, with CC Score 1+", + "LB53D": "Intermediate Open, Scrotum, Testis or Vas Deferens Procedures, 19 years and over, with CC Score 0", + "LB53Z": "Scrotum, Testis or Vas Deferens Intermediate Open Procedures", + "LB54A": "Minor, Scrotum, Testis or Vas Deferens Procedures, 19 years and over", + "LB54B": "Scrotum, Testis or Vas Deferens Minor Procedures 18 years and under", + "LB54C": "Minor, Scrotum, Testis or Vas Deferens Procedures, between 2 and 18 years", + "LB54D": "Minor, Scrotum, Testis or Vas Deferens Procedures, 1 year and under", + "LB55A": "Minor or Intermediate, Urethra Procedures, 19 years and over", + "LB55B": "Minor or Intermediate, Urethra Procedures, 18 years and under", + "LB56A": "Minor Penis Procedures, 19 years and over", + "LB56B": "Penis Minor Procedures 18 years and under", + "LB56C": "Minor Penis Procedures, between 2 and 18 years", + "LB56D": "Minor Penis Procedures, 1 year and under", + "LB57A": "Urethral Disorders with CC", + "LB57B": "Urethral Disorders without CC", + "LB57C": "Urethral Disorders with Interventions", + "LB57D": "Urethral Disorders without Interventions", + "LB58A": "Penile Disorders with CC", + "LB58B": "Penile Disorders without CC", + "LB58C": "Penile Disorders with Interventions", + "LB58D": "Penile Disorders without Interventions", + "LB59Z": "Major, Open or Laparoscopic, Bladder Neck Procedures (Female)", + "LB60A": "Complex Open or Laparoscopic, Kidney or Ureter Procedures, with Major CC", + "LB60B": "Complex Open or Laparoscopic, Kidney or Ureter Procedures, without Major CC", + "LB60C": "Complex, Open or Laparoscopic, Kidney or Ureter Procedures, with CC Score 7+", + "LB60D": "Complex, Open or Laparoscopic, Kidney or Ureter Procedures, with CC Score 4-6", + "LB60E": "Complex, Open or Laparoscopic, Kidney or Ureter Procedures, with CC Score 2-3", + "LB60F": "Complex, Open or Laparoscopic, Kidney or Ureter Procedures, with CC Score 0-1", + "LB61A": "Major Open Kidney or Ureter Procedures, 19 years and over with Major CC", + "LB61B": "Major Open Kidney or Ureter Procedures, 19 years and over without Major CC", + "LB61C": "Major, Open or Percutaneous, Kidney or Ureter Procedures, 19 years and over, with CC Score 10+", + "LB61D": "Major, Open or Percutaneous, Kidney or Ureter Procedures, 19 years and over, with CC Score 7-9", + "LB61E": "Major, Open or Percutaneous, Kidney or Ureter Procedures, 19 years and over, with CC Score 4-6", + "LB61F": "Major, Open or Percutaneous, Kidney or Ureter Procedures, 19 years and over, with CC Score 2-3", + "LB61G": "Major, Open or Percutaneous, Kidney or Ureter Procedures, 19 years and over, with CC Score 0-1", + "LB62A": "Major Laparoscopic Kidney or Ureter Procedures, 19 years and over with CC", + "LB62B": "Major Laparoscopic Kidney or Ureter Procedures, 19 years and over without CC", + "LB62C": "Major Laparoscopic, Kidney or Ureter Procedures, 19 years and over, with CC Score 3+", + "LB62D": "Major Laparoscopic, Kidney or Ureter Procedures, 19 years and over, with CC Score 0-2", + "LB63A": "Major Open or Laparoscopic, Kidney or Ureter Procedures, 18 years and under with CC", + "LB63B": "Major Open or Laparoscopic, Kidney or Ureter Procedures, 18 years and under without CC", + "LB63C": "Major, Open or Laparoscopic, Kidney or Ureter Procedures, 18 years and under, with CC Score 2+", + "LB63D": "Major, Open or Laparoscopic, Kidney or Ureter Procedures, 18 years and under, with CC Score 0-1", + "LB64A": "Complex Endoscopic Kidney or Ureter Procedures, 19 years and over with Major CC", + "LB64B": "Complex Endoscopic Kidney or Ureter Procedures, 19 years and over without Major CC", + "LB64C": "Complex Endoscopic, Kidney or Ureter Procedures, 19 years and over, with CC Score 5+", + "LB64D": "Complex Endoscopic, Kidney or Ureter Procedures, 19 years and over, with CC Score 2-4", + "LB64E": "Complex Endoscopic, Kidney or Ureter Procedures, 19 years and over, with CC Score 0-1", + "LB65A": "Major Endoscopic Kidney or Ureter Procedures, 19 years and over with Major CC", + "LB65B": "Major Endoscopic Kidney or Ureter Procedures, 19 years and over without Major CC", + "LB65C": "Major Endoscopic, Kidney or Ureter Procedures, 19 years and over, with CC Score 5+", + "LB65D": "Major Endoscopic, Kidney or Ureter Procedures, 19 years and over, with CC Score 3-4", + "LB65E": "Major Endoscopic, Kidney or Ureter Procedures, 19 years and over, with CC Score 0-2", + "LB66Z": "Complex or Major, Endoscopic, Kidney or Ureter Procedures, 18 years and under", + "LB67A": "Complex Open Bladder Procedures with Major CC", + "LB67B": "Complex Open Bladder Procedures without Major CC", + "LB67C": "Complex Open Bladder Procedures with CC Score 3+", + "LB67D": "Complex Open Bladder Procedures with CC Score 0-2", + "LB68A": "Complex Endoscopic Bladder Procedures with CC Score 3+", + "LB68B": "Complex Endoscopic Bladder Procedures with CC Score 0-2", + "LB68Z": "Complex Endoscopic Bladder Procedures", + "LB69Z": "Major Robotic, Prostate or Bladder Neck Procedures (Male)", + "LB70A": "Complex Endoscopic Prostate or Bladder Neck Procedures (Male and Female) with CC", + "LB70B": "Complex Endoscopic Prostate or Bladder Neck Procedures (Male and Female) without CC", + "LB70C": "Complex Endoscopic, Prostate or Bladder Neck Procedures (Male and Female), with CC Score 2+", + "LB70D": "Complex Endoscopic, Prostate or Bladder Neck Procedures (Male and Female), with CC Score 0-1", + "LB71Z": "Total Pelvic Exenteration", + "LB72A": "Diagnostic Flexible Cystoscopy, 19 years and over", + "LB72B": "Diagnostic Flexible Cystoscopy, 18 years and under", + "LB73Z": "Diagnostic Flexible Cystoscopy using Photodynamic Fluorescence", + "LB74Z": "Implantation of Penile Prosthesis", + "LB75A": "Percutaneous Nephrolithotomy with CC Score 2+", + "LB75B": "Percutaneous Nephrolithotomy with CC Score 0-1", + "LB76Z": "Transrectal Ultrasound Guided Biopsy of Prostate", + "LB77Z": "Transperineal Template Biopsy of Prostate", + "LB78Z": "Minor Prostate or Bladder Neck Procedures (Male)", + "LB79Z": "Insertion of Neurostimulator for Treatment of Urinary Incontinence", + "LB80Z": "Insertion of Neurostimulator Electrodes for Treatment of Urinary Incontinence", + "LB81Z": "Complex Open Urethra Procedures" + } + }, + "C": { + "description": "Renal Dialysis", + "hrgs": { + "LC01A": "Haemodialysis/Filtration on patient with Hepatitis B 19 years and over", + "LC01B": "Haemodialysis/Filtration on patient with Hepatitis B 18 years and under", + "LC02A": "Haemodialysis/Filtration 19 years and over", + "LC02B": "Haemodialysis/Filtration 18 years and under", + "LC03A": "Peritoneal Dialysis on patient with Hepatitis B 19 years and over", + "LC03B": "Peritoneal Dialysis on patient with Hepatitis B 18 years and under", + "LC04A": "Peritoneal Dialysis 19 years and over", + "LC04B": "Peritoneal Dialysis 18 years and under" + } + }, + "D": { + "description": "Renal Dialysis for Chronic Kidney Disease", + "hrgs": { + "LD01A": "Hospital Haemodialysis or Filtration, with Access via Haemodialysis Catheter, 19 years and over", + "LD01B": "Hospital Haemodialysis or Filtration, with Access via Haemodialysis Catheter, 18 years and under", + "LD02A": "Hospital Haemodialysis or Filtration, with Access via Arteriovenous Fistula or Graft, 19 years and over", + "LD02B": "Hospital Haemodialysis or Filtration, with Access via Arteriovenous Fistula or Graft, 18 years and under", + "LD03A": "Hospital Haemodialysis or Filtration, with Access via Haemodialysis Catheter, with Blood-Borne Virus, 19 years and over", + "LD03B": "Hospital Haemodialysis or Filtration, with Access via Haemodialysis Catheter, with Blood-Borne Virus, 18 years and under", + "LD04A": "Hospital Haemodialysis or Filtration, with Access via Arteriovenous Fistula or Graft, with Blood-Borne Virus, 19 years and over", + "LD04B": "Hospital Haemodialysis or Filtration, with Access via Arteriovenous Fistula or Graft, with Blood-Borne Virus, 18 years and under", + "LD05A": "Satellite Haemodialysis or Filtration, with Access via Haemodialysis Catheter, 19 years and over", + "LD05B": "Satellite Haemodialysis or Filtration, with Access via Haemodialysis Catheter, 18 years and under", + "LD06A": "Satellite Haemodialysis or Filtration, with Access via Arteriovenous Fistula or Graft, 19 years and over", + "LD06B": "Satellite Haemodialysis or Filtration, with Access via Arteriovenous Fistula or Graft, 18 years and under", + "LD07A": "Satellite Haemodialysis or Filtration, with Access via Haemodialysis Catheter, with Blood-Borne Virus, 19 years and over", + "LD07B": "Satellite Haemodialysis or Filtration, with Access via Haemodialysis Catheter, with Blood-Borne Virus, 18 years and under", + "LD08A": "Satellite Haemodialysis or Filtration, with Access via Arteriovenous Fistula or Graft, with Blood-Borne Virus, 19 years and over", + "LD08B": "Satellite Haemodialysis or Filtration, with Access via Arteriovenous Fistula or Graft, with Blood-Borne Virus, 18 years and under", + "LD09A": "Home Haemodialysis or Filtration, with Access via Haemodialysis Catheter, 19 years and over", + "LD09B": "Home Haemodialysis or Filtration, with Access via Haemodialysis Catheter, 18 years and under", + "LD10A": "Home Haemodialysis or Filtration, with Access via Arteriovenous Fistula or Graft, 19 years and over", + "LD10B": "Home Haemodialysis or Filtration, with Access via Arteriovenous Fistula or Graft, 18 years and under", + "LD11A": "Continuous Ambulatory Peritoneal Dialysis, 19 years and over", + "LD11B": "Continuous Ambulatory Peritoneal Dialysis, 18 years and under", + "LD12A": "Automated Peritoneal Dialysis, 19 years and over", + "LD12B": "Automated Peritoneal Dialysis, 18 years and under", + "LD13A": "Assisted Automated Peritoneal Dialysis, 19 years and over", + "LD13B": "Assisted Automated Peritoneal Dialysis, 18 years and under" + } + }, + "E": { + "description": "Renal Dialysis for Acute Kidney Injury", + "hrgs": { + "LE01A": "Haemodialysis for Acute Kidney Injury, 19 years and over", + "LE01B": "Haemodialysis for Acute Kidney Injury, 18 years and under", + "LE02A": "Peritoneal Dialysis for Acute Kidney Injury, 19 years and over", + "LE02B": "Peritoneal Dialysis for Acute Kidney Injury, 18 years and under" + } + } + } + }, + "M": { + "description": "Female Reproductive System and Assisted Reproduction", + "subchapters": { + "A": { + "description": "Female Reproductive System Procedures", + "hrgs": { + "MA01Z": "Complex Open, Upper or Lower Genital Tract Procedures", + "MA02A": "Very Major Open, Upper or Lower Genital Tract Procedures, with CC Score 4+", + "MA02B": "Very Major Open, Upper or Lower Genital Tract Procedures, with CC Score 2-3", + "MA02C": "Very Major Open, Upper or Lower Genital Tract Procedures, with CC Score 0-1", + "MA02Z": "Very Major Open Upper or Lower Genital Tract Procedures", + "MA03A": "Major Open Lower Genital Tract Procedures with CC", + "MA03B": "Major Open Lower Genital Tract Procedures without CC", + "MA03C": "Major Open Lower Genital Tract Procedures with CC Score 3+", + "MA03D": "Major Open Lower Genital Tract Procedures with CC Score 0-2", + "MA04A": "Intermediate Open Lower Genital Tract Procedures with CC", + "MA04B": "Intermediate Open Lower Genital Tract Procedures without CC", + "MA04C": "Intermediate Open Lower Genital Tract Procedures with CC Score 3+", + "MA04D": "Intermediate Open Lower Genital Tract Procedures with CC Score 0-2", + "MA05A": "Lower Genital Tract Minor Procedures with CC", + "MA05B": "Lower Genital Tract Minor Procedures without CC", + "MA06A": "Major, Open or Laparoscopic, Upper or Lower Genital Tract Procedures for Malignancy, with CC Score 4+", + "MA06B": "Major, Open or Laparoscopic, Upper or Lower Genital Tract Procedures for Malignancy, with CC Score 2-3", + "MA06C": "Major, Open or Laparoscopic, Upper or Lower Genital Tract Procedures for Malignancy, with CC Score 0-1", + "MA06Z": "Major Open or Laparoscopic, Upper or Lower Genital Tract Procedures for Malignancy", + "MA07A": "Upper Genital Tract Major Procedures without malignancy with CC", + "MA07B": "Upper Genital Tract Major Procedures without malignancy without CC", + "MA07C": "Major Open Upper Genital Tract Procedures with Major CC", + "MA07D": "Major Open Upper Genital Tract Procedures without Major CC", + "MA07E": "Major Open Upper Genital Tract Procedures with CC Score 5+", + "MA07F": "Major Open Upper Genital Tract Procedures with CC Score 3-4", + "MA07G": "Major Open Upper Genital Tract Procedures with CC Score 0-2", + "MA08A": "Major, Laparoscopic or Endoscopic, Upper Genital Tract Procedures, with CC Score 2+", + "MA08B": "Major, Laparoscopic or Endoscopic, Upper Genital Tract Procedures, with CC Score 0-1", + "MA08Z": "Major Laparoscopic or Endoscopic, Upper Genital Tract Procedures", + "MA09A": "Intermediate, Laparoscopic or Endoscopic, Upper Genital Tract Procedures, with CC Score 2+", + "MA09B": "Intermediate, Laparoscopic or Endoscopic, Upper Genital Tract Procedures, with CC Score 0-1", + "MA09Z": "Intermediate, Laparoscopic or Endoscopic, Upper Genital Tract Procedures", + "MA10Z": "Minor, Laparoscopic or Endoscopic, Upper Genital Tract Procedures", + "MA11A": "Upper Genital Tract Intermediate Procedures with CC", + "MA11B": "Upper Genital Tract Intermediate Procedures without CC", + "MA11Z": "Intermediate Open Upper Genital Tract Procedures", + "MA12A": "Resection and ablation procedures for intra-uterine lesions with CC", + "MA12B": "Resection and ablation procedures for intra-uterine lesions without CC", + "MA12Z": "Resection or Ablation Procedures for Intrauterine Lesions", + "MA13A": "Upper Genital Tract Minor Procedures 19 years and over with CC", + "MA13B": "Upper Genital Tract Minor Procedures 19 years and over without CC", + "MA13C": "Upper Genital Tract Minor Procedures 18 years and under", + "MA15A": "Vacuum Aspiration with Rigid Cannula for 9 weeks gestation or more", + "MA15B": "Vacuum Aspiration with Rigid Cannula for less than 9 weeks gestation", + "MA16Z": "Vacuum Aspiration with Flexible Cannula", + "MA17A": "Dilation and evacuation 20 weeks or more", + "MA17B": "Dilation and evacuation less than 20 weeks", + "MA17C": "Dilation and Evacuation, less than 14 weeks gestation", + "MA17D": "Dilation and Evacuation, 14 to 20 weeks gestation", + "MA18C": "Medical Termination of Pregnancy, less than 14 weeks gestation", + "MA18D": "Medical Termination of Pregnancy, 14 to 20 weeks gestation", + "MA18Z": "Medical Termination of Pregnancy", + "MA19A": "Vacuum Aspiration with Cannula, less than 14 weeks gestation", + "MA19B": "Vacuum Aspiration with Cannula, 14 to 20 weeks gestation", + "MA20Z": "Medical or Surgical Termination of Pregnancy, over 20 weeks gestation", + "MA21Z": "Diagnostic Hysteroscopy", + "MA22Z": "Minor Lower Genital Tract Procedures", + "MA23Z": "Minimal Lower Genital Tract Procedures", + "MA24Z": "Minor Upper Genital Tract Procedures", + "MA25Z": "Minimal Upper Genital Tract Procedures", + "MA26A": "Complex, Open or Laparoscopic, Upper or Lower Genital Tract Procedures for Malignancy, with CC Score 5+", + "MA26B": "Complex, Open or Laparoscopic, Upper or Lower Genital Tract Procedures for Malignancy, with CC Score 2-4", + "MA26C": "Complex, Open or Laparoscopic, Upper or Lower Genital Tract Procedures for Malignancy, with CC Score 0-1", + "MA26Z": "Complex Open or Laparoscopic, Upper or Lower Genital Tract Procedures for Malignancy", + "MA27Z": "Minor, Upper or Lower Genital Tract Procedures for Malignancy", + "MA28Z": "Complex, Laparoscopic or Endoscopic, Upper Genital Tract Procedures", + "MA29Z": "Major Female Pelvic Peritoneum Adhesion Procedures", + "MA30Z": "Intermediate Female Pelvic Peritoneum Adhesion Procedures", + "MA31Z": "Diagnostic Hysteroscopy", + "MA32Z": "Diagnostic Hysteroscopy with Biopsy", + "MA33Z": "Diagnostic Hysteroscopy with Biopsy and Implantation of Intrauterine Device", + "MA34Z": "Diagnostic Hysteroscopy with Implantation of Intrauterine Device", + "MA35Z": "Implantation of Intrauterine Device", + "MA36Z": "Transvaginal Ultrasound", + "MA37Z": "Transvaginal Ultrasound with Biopsy", + "MA38Z": "Diagnostic Colposcopy", + "MA39Z": "Diagnostic Colposcopy with Biopsy", + "MA40Z": "Therapeutic Colposcopy", + "MA41Z": "Transvaginal Ultrasound with Biopsy and Implantation of Intrauterine Device", + "MA42Z": "Transvaginal Ultrasound with Implantation of Intrauterine Device", + "MA43Z": "Transvaginal Ultrasound with Salpingography", + "MA44Z": "Salpingography", + "MA45Z": "Diagnostic Hysteroscopy with Transvaginal Ultrasound", + "MA46Z": "Diagnostic Hysteroscopy with Transvaginal Ultrasound, with Biopsy", + "MA47Z": "Diagnostic Hysteroscopy with Transvaginal Ultrasound and Implantation of Intrauterine Device", + "MA48Z": "Medical Treatment of Ectopic Pregnancy", + "MA50Z": "Surgical, Abortion or Miscarriage Care, over 20 weeks Gestation", + "MA51Z": "Surgical, Abortion or Miscarriage Care, from 14 to 20 weeks Gestation", + "MA52A": "Surgical, Abortion or Miscarriage Care, under 14 weeks Gestation, with Insertion of Long-Acting Contraceptive", + "MA52B": "Surgical, Abortion or Miscarriage Care, under 14 weeks Gestation, without Insertion of Long-Acting Contraceptive", + "MA53Z": "Medical, Abortion or Miscarriage Care, over 20 weeks Gestation", + "MA54Z": "Medical, Abortion or Miscarriage Care, from 14 to 20 weeks Gestation", + "MA55A": "Medical, Abortion or Miscarriage Care, from 9 to under 14 weeks Gestation, with Insertion of Long-Acting Contraceptive", + "MA55B": "Medical, Abortion or Miscarriage Care, from 9 to under 14 weeks Gestation, without Insertion of Long-Acting Contraceptive", + "MA56A": "Medical, Abortion or Miscarriage Care, under 9 weeks Gestation, with Insertion of Long-Acting Contraceptive", + "MA56B": "Medical, Abortion or Miscarriage Care, under 9 weeks Gestation, without Insertion of Long-Acting Contraceptive" + } + }, + "B": { + "description": "Female Reproductive System Disorders", + "hrgs": { + "MB01A": "Lower Genital Tract Disorders with CC", + "MB01B": "Lower Genital Tract Disorders without CC", + "MB01Z": "Lower Genital Tract Disorders", + "MB02Z": "Genital Prolapse or Incontinence", + "MB03A": "Uterus Disorders (including Fibroids), Menstrual Disorders or Endometriosis, with CC", + "MB03B": "Uterus Disorders (including Fibroids), Menstrual Disorders or Endometriosis, without CC", + "MB04A": "Ovary, Fallopian Tube or Pelvic Disorders, with CC", + "MB04B": "Ovary, Fallopian Tube or Pelvic Disorders, without CC", + "MB05A": "Gynaecological Malignancy with length of stay 1 day or more", + "MB05B": "Gynaecological Malignancy with length of stay 0 days", + "MB05C": "Malignant Gynaecological Disorders with Interventions, with CC Score 9+", + "MB05D": "Malignant Gynaecological Disorders with Interventions, with CC Score 6-8", + "MB05E": "Malignant Gynaecological Disorders with Interventions, with CC Score 3-5", + "MB05F": "Malignant Gynaecological Disorders with Interventions, with CC Score 0-2", + "MB05G": "Malignant Gynaecological Disorders without Interventions, with CC Score 10+", + "MB05H": "Malignant Gynaecological Disorders without Interventions, with CC Score 7-9", + "MB05J": "Malignant Gynaecological Disorders without Interventions, with CC Score 4-6", + "MB05K": "Malignant Gynaecological Disorders without Interventions, with CC Score 2-3", + "MB05L": "Malignant Gynaecological Disorders without Interventions, with CC Score 0-1", + "MB05Z": "Gynaecological Malignancy", + "MB06A": "Other Gynaecological Conditions with CC", + "MB06B": "Other Gynaecological Conditions without CC", + "MB06Z": "Other Gynaecological Conditions", + "MB07Z": "Gynaecological Fistula Conditions", + "MB08A": "Threatened or Spontaneous Miscarriage, with Interventions", + "MB08B": "Threatened or Spontaneous Miscarriage, without Interventions", + "MB08Z": "Threatened or Spontaneous Miscarriage", + "MB09A": "Non-Malignant Gynaecological Disorders with Interventions, with CC Score 6+", + "MB09B": "Non-Malignant Gynaecological Disorders with Interventions, with CC Score 3-5", + "MB09C": "Non-Malignant Gynaecological Disorders with Interventions, with CC Score 0-2", + "MB09D": "Non-Malignant Gynaecological Disorders without Interventions, with CC Score 6+", + "MB09E": "Non-Malignant Gynaecological Disorders without Interventions, with CC Score 3-5", + "MB09F": "Non-Malignant Gynaecological Disorders without Interventions, with CC Score 0-2" + } + }, + "C": { + "description": "Assisted Reproduction Medicine", + "hrgs": { + "MC01Z": "Intra-uterine insemination with super ovulation", + "MC02Z": "Intra-uterine insemination without super ovulation", + "MC03Z": "IVF Treatment", + "MC04Z": "IVF Treatment with donor", + "MC05Z": "IVF Treatment with Intra Cytoplasmatic Sperm Injection", + "MC06Z": "Collection of Sperm", + "MC07Z": "Intrauterine Insemination with Superovulation", + "MC08Z": "Intrauterine Insemination with Superovulation, with Donor", + "MC09Z": "Intrauterine Insemination without Superovulation", + "MC10Z": "Intrauterine Insemination without Superovulation, with Donor", + "MC11Z": "Implantation of Embryo", + "MC12Z": "Oocyte Recovery", + "MC13Z": "Donor Oocyte Recovery", + "MC14Z": "Oocyte Recovery with Intracytoplasmic Sperm Injection", + "MC15Z": "Oocyte Recovery with Pre-Implantation Genetic Diagnosis", + "MC20Z": "Surgical Extraction of Sperm", + "MC21Z": "Collection of Sperm" + } + } + } + }, + "N": { + "description": "Obstetrics", + "subchapters": { + "Z": { + "description": "Obstetric Medicine", + "hrgs": { + "NZ01A": "Normal delivery 19 years and over with CC", + "NZ01B": "Normal delivery 19 years and over without CC", + "NZ01C": "Normal delivery 18 years and under with CC", + "NZ01D": "Normal delivery 18 years and under without CC", + "NZ01E": "Normal delivery between 16 and 40 years with CC", + "NZ01F": "Normal delivery between 16 and 40 years without CC", + "NZ01G": "Normal delivery under 16 or over 40 years with CC", + "NZ01H": "Normal delivery under 16 or over 40 years without CC", + "NZ02A": "Assisted delivery with CC", + "NZ02B": "Assisted delivery without CC", + "NZ03A": "Caesarean Section 19 years and over", + "NZ03B": "Caesarean Section 18 years and under", + "NZ03C": "Caesarean Section with complications", + "NZ03D": "Caesarean Section between 16 and 40 years", + "NZ03E": "Caesarean Section under 16 or over 40 years", + "NZ04A": "Clinical contact for observation (ante- or post-natal) 19 years and over", + "NZ04B": "Clinical contact for observation (ante- or post-natal) 18 years and under", + "NZ04C": "Ante-natal or Post-natal Observation age between 16 and 40 years with length of stay 0 days", + "NZ04D": "Ante-natal or Post-natal Observation age under 16 or over 40 years with length of stay 0 days", + "NZ05A": "Clinical contact with investigation (ante- or post-natal) 19 years and over", + "NZ05B": "Clinical contact with investigation (ante- or post-natal) 18 years and under", + "NZ05C": "Ante-natal or Post-natal Investigation age between 16 and 40 years with length of stay 0 days", + "NZ05D": "Ante-natal or Post-natal Investigation age under 16 or over 40 years with length of stay 0 days", + "NZ06Z": "Ante-natal or Post-natal Full Investigation with length of stay 0 days", + "NZ07A": "Admission for observation only 19 years and over", + "NZ07B": "Admission for observation only 18 years and under", + "NZ07C": "Ante-natal or Post-natal Observation age between 16 and 40 years with length of stay 1 day or more", + "NZ07D": "Ante-natal or Post-natal Observation age under 16 or over 40 years with length of stay 1 day or more", + "NZ08A": "Admission with investigation 19 years and over", + "NZ08B": "Admission with investigation 18 years or under", + "NZ08C": "Ante-natal or Post-natal Investigation age between 16 and 40 years with length of stay 1 day or more", + "NZ08D": "Ante-natal or Post-natal Investigation age under 16 or over 40 years with length of stay 1 day or more", + "NZ09Z": "Ante-natal or Post-natal Full Investigation with length of stay 1 day or more", + "NZ10Z": "Diagnostic or Therapeutic Procedures on Fetus", + "NZ11A": "Normal Delivery with CC", + "NZ11B": "Normal Delivery without CC", + "NZ11C": "Normal Delivery with Epidural, with CC", + "NZ11D": "Normal Delivery with Epidural, without CC", + "NZ11E": "Normal Delivery with Induction, with CC", + "NZ11F": "Normal Delivery with Induction, without CC", + "NZ11G": "Normal Delivery with Post-partum Surgical Intervention", + "NZ12A": "Assisted Delivery with CC", + "NZ12B": "Assisted Delivery without CC", + "NZ12C": "Assisted Delivery with Epidural, with CC", + "NZ12D": "Assisted Delivery with Epidural, without CC", + "NZ12E": "Assisted Delivery with Induction, with CC", + "NZ12F": "Assisted Delivery with Induction, without CC", + "NZ12G": "Assisted Delivery with Post-partum Surgical Intervention", + "NZ13A": "Planned Lower Uterine Caesarean Section with CC", + "NZ13B": "Planned Lower Uterine Caesarean Section without CC", + "NZ14A": "Emergency or Upper Uterine Caesarean Section, with CC", + "NZ14B": "Emergency or Upper Uterine Caesarean Section, without CC", + "NZ15Z": "Caesarean Section with Eclampsia, Pre-eclampsia or Placenta Praevia", + "NZ16Z": "Ante-Natal Routine Observation", + "NZ17A": "Ante-Natal False Labour, including Premature Rupture of Membranes, with CC Score 2+", + "NZ17B": "Ante-Natal False Labour, including Premature Rupture of Membranes, with CC Score 0-1", + "NZ17Z": "Ante-natal False Labour including Premature Rupture of Membranes", + "NZ18A": "Ante-Natal Complex Disorders with CC Score 2+", + "NZ18B": "Ante-Natal Complex Disorders with CC Score 0-1", + "NZ18Z": "Ante-natal Complex Disorders", + "NZ19A": "Ante-Natal Major Disorders with CC Score 2+", + "NZ19B": "Ante-Natal Major Disorders with CC Score 0-1", + "NZ19Z": "Ante-natal Major Disorders", + "NZ20A": "Ante-Natal Other Disorders with CC Score 2+", + "NZ20B": "Ante-Natal Other Disorders with CC Score 0-1", + "NZ20Z": "Ante-natal Other Disorders", + "NZ21Z": "Ante-Natal Standard Ultrasound Scan", + "NZ22Z": "Ante-Natal Specialised Ultrasound Scan", + "NZ23Z": "Ante-natal Diagnostic Procedures", + "NZ24A": "Ante-Natal Therapeutic Procedures, including Induction, with CC Score 2+", + "NZ24B": "Ante-Natal Therapeutic Procedures, including Induction, with CC Score 0-1", + "NZ24Z": "Ante-natal Therapeutic Procedures including Induction", + "NZ25Z": "Labour without Specified Delivery", + "NZ26A": "Post-Natal Disorders with CC Score 2+", + "NZ26B": "Post-Natal Disorders with CC Score 0-1", + "NZ26Z": "Post-natal Disorders", + "NZ27Z": "Post-Natal Therapeutic Procedures", + "NZ30A": "Normal Delivery with CC Score 2+", + "NZ30B": "Normal Delivery with CC Score 1", + "NZ30C": "Normal Delivery with CC Score 0", + "NZ31A": "Normal Delivery, with Epidural or Induction, with CC Score 2+", + "NZ31B": "Normal Delivery, with Epidural or Induction, with CC Score 1", + "NZ31C": "Normal Delivery, with Epidural or Induction, with CC Score 0", + "NZ32A": "Normal Delivery, with Epidural and Induction, or with Post-Partum Surgical Intervention, with CC Score 2+", + "NZ32B": "Normal Delivery, with Epidural and Induction, or with Post-Partum Surgical Intervention, with CC Score 1", + "NZ32C": "Normal Delivery, with Epidural and Induction, or with Post-Partum Surgical Intervention, with CC Score 0", + "NZ33A": "Normal Delivery, with Epidural or Induction, and with Post-Partum Surgical Intervention, with CC Score 2+", + "NZ33B": "Normal Delivery, with Epidural or Induction, and with Post-Partum Surgical Intervention, with CC Score 1", + "NZ33C": "Normal Delivery, with Epidural or Induction, and with Post-Partum Surgical Intervention, with CC Score 0", + "NZ34A": "Normal Delivery, with Epidural, Induction and Post-Partum Surgical Intervention, with CC Score 2+", + "NZ34B": "Normal Delivery, with Epidural, Induction and Post-Partum Surgical Intervention, with CC Score 1", + "NZ34C": "Normal Delivery, with Epidural, Induction and Post-Partum Surgical Intervention, with CC Score 0", + "NZ40A": "Assisted Delivery with CC Score 2+", + "NZ40B": "Assisted Delivery with CC Score 1", + "NZ40C": "Assisted Delivery with CC Score 0", + "NZ41A": "Assisted Delivery, with Epidural or Induction, with CC Score 2+", + "NZ41B": "Assisted Delivery, with Epidural or Induction, with CC Score 1", + "NZ41C": "Assisted Delivery, with Epidural or Induction, with CC Score 0", + "NZ42A": "Assisted Delivery, with Epidural and Induction, or with Post-Partum Surgical Intervention, with CC Score 2+", + "NZ42B": "Assisted Delivery, with Epidural and Induction, or with Post-Partum Surgical Intervention, with CC Score 1", + "NZ42C": "Assisted Delivery, with Epidural and Induction, or with Post-Partum Surgical Intervention, with CC Score 0", + "NZ43A": "Assisted Delivery, with Epidural or Induction, and with Post-Partum Surgical Intervention, with CC Score 2+", + "NZ43B": "Assisted Delivery, with Epidural or Induction, and with Post-Partum Surgical Intervention, with CC Score 1", + "NZ43C": "Assisted Delivery, with Epidural or Induction, and with Post-Partum Surgical Intervention, with CC Score 0", + "NZ44A": "Assisted Delivery, with Epidural, Induction and Post-Partum Surgical Intervention, with CC Score 2+", + "NZ44B": "Assisted Delivery, with Epidural, Induction and Post-Partum Surgical Intervention, with CC Score 1", + "NZ44C": "Assisted Delivery, with Epidural, Induction and Post-Partum Surgical Intervention, with CC Score 0", + "NZ50A": "Planned Caesarean Section with CC Score 4+", + "NZ50B": "Planned Caesarean Section with CC Score 2-3", + "NZ50C": "Planned Caesarean Section with CC Score 0-1", + "NZ51A": "Emergency Caesarean Section with CC Score 4+", + "NZ51B": "Emergency Caesarean Section with CC Score 2-3", + "NZ51C": "Emergency Caesarean Section with CC Score 0-1", + "NZ71Z": "Specialised Fetal Therapeutic Procedures", + "NZ72Z": "Specialised Fetal Invasive Diagnostic Procedures", + "NZ73Z": "Fetal Ultrasound or Other Related Fetal Interventions" + } + } + } + }, + "P": { + "description": "Diseases of Childhood and Neonates", + "subchapters": { + "A": { + "description": "Paediatric Medicine", + "hrgs": { + "PA01A": "Nervous System Disorders with CC", + "PA01B": "Nervous System Disorders without CC", + "PA02A": "Epilepsy Syndrome with CC", + "PA02B": "Epilepsy Syndrome without CC", + "PA02Z": "Epilepsy Syndrome", + "PA03A": "Febrile Convulsions, under 1 year", + "PA03B": "Febrile Convulsions, 1 year and over", + "PA03Z": "Febrile Convulsions", + "PA04A": "Headaches and Migraines, with CC", + "PA04B": "Headaches and Migraines, without CC", + "PA05A": "Developmental Disorders with length of stay 1 day or less", + "PA05B": "Developmental Disorders with length of stay between 2 and 7 days", + "PA05C": "Developmental Disorders with length of stay 8 days or more", + "PA05Z": "Developmental Disorders", + "PA06Z": "Head Injury with Intracranial Injury", + "PA07A": "Head Injury without Intracranial Injury, with CC", + "PA07B": "Head Injury without Intracranial Injury, without CC", + "PA08A": "Intermediate Injury without Intracranial Injury, with CC", + "PA08B": "Intermediate Injury without Intracranial Injury, without CC", + "PA09A": "Major Upper Respiratory Tract Disorders with CC", + "PA09B": "Major Upper Respiratory Tract Disorders without CC", + "PA10A": "Minor Upper Respiratory Tract Disorders with CC", + "PA10B": "Minor Upper Respiratory Tract Disorders without CC", + "PA11Z": "Acute Upper Respiratory Tract Infection and Common Cold", + "PA12Z": "Asthma or Wheezing", + "PA13A": "Cystic Fibrosis with CC", + "PA13B": "Cystic Fibrosis without CC", + "PA13C": "Cystic Fibrosis with length of stay 0 days", + "PA13D": "Cystic Fibrosis with length of stay between 1 and 7 days", + "PA13E": "Cystic Fibrosis with length of stay between 8 and 14 days", + "PA13F": "Cystic Fibrosis with length of stay 15 days or more", + "PA14A": "Lower Respiratory Tract Disorders without Acute Bronchiolitis with CC", + "PA14B": "Lower Respiratory Tract Disorders without Acute Bronchiolitis without CC", + "PA14C": "Lower Respiratory Tract Disorders without Acute Bronchiolitis, with length of stay 1 day or more, with CC", + "PA14D": "Lower Respiratory Tract Disorders without Acute Bronchiolitis, with length of stay 1 day or more, without CC", + "PA14E": "Lower Respiratory Tract Disorders without Acute Bronchiolitis, with length of stay 0 days", + "PA15A": "Acute Bronchiolitis with CC", + "PA15B": "Acute Bronchiolitis without CC", + "PA16A": "Major Infections with CC", + "PA16B": "Major Infections without CC", + "PA17A": "Intermediate Infections with CC", + "PA17B": "Intermediate Infections without CC", + "PA18A": "Minor Infections with CC", + "PA18B": "Minor Infections without CC", + "PA19A": "Viral Infections with length of stay 1 day or less", + "PA19B": "Viral Infections with length of stay 2 days or more", + "PA19Z": "Viral Infections", + "PA20A": "Fever Unspecified with CC", + "PA20B": "Fever Unspecified without CC", + "PA20Z": "Pyrexia of Unknown Origin", + "PA21A": "Infectious or Non-Infectious Gastroenteritis, with CC", + "PA21B": "Infectious or Non-Infectious Gastroenteritis, without CC", + "PA22Z": "Chest Pain", + "PA23A": "Cardiac Conditions with CC", + "PA23B": "Cardiac Conditions without CC", + "PA24Z": "Arrhythmia or Conduction Disorders", + "PA25A": "Major Gastrointestinal Disorders with CC", + "PA25B": "Major Gastrointestinal Disorders without CC", + "PA26A": "Other Gastrointestinal Disorders with CC", + "PA26B": "Other Gastrointestinal Disorders without CC", + "PA27Z": "Inflammatory Bowel Disease", + "PA28A": "Feeding Difficulties and Vomiting, with CC", + "PA28B": "Feeding Difficulties and Vomiting, without CC", + "PA29Z": "Abdominal Pain", + "PA30A": "Faltering Growth (Failure to Thrive) with CC", + "PA30B": "Faltering Growth (Failure to Thrive) without CC", + "PA31Z": "Major Injury without Intracranial Injury", + "PA32A": "Minor Injury without Intracranial Injury, with CC", + "PA32B": "Minor Injury without Intracranial Injury, without CC", + "PA33A": "Intermediate Upper Respiratory Tract Disorders with CC", + "PA33B": "Intermediate Upper Respiratory Tract Disorders without CC", + "PA34A": "Musculoskeletal or Connective Tissue Disorders, with CC", + "PA34B": "Musculoskeletal or Connective Tissue Disorders, without CC", + "PA35A": "Skin Disorders with CC", + "PA35B": "Skin Disorders without CC", + "PA36Z": "Endocrine Disorders, excluding Diabetes Mellitus", + "PA37Z": "Diabetes Mellitus", + "PA38A": "Renal Disease with Renal Failure with CC", + "PA38B": "Renal Disease with Renal Failure without CC", + "PA38C": "Renal Disease with Renal Failure, with length of stay 0 days", + "PA38D": "Renal Disease with Renal Failure, with length of stay 1 day or more", + "PA39Z": "Renal Diseases", + "PA40A": "Acute Lymphoblastic Leukaemia with length of stay 1 day or more, with CC", + "PA40B": "Acute Lymphoblastic Leukaemia with length of stay 1 day or more, without CC", + "PA41Z": "Other Haematological Malignancies with length of stay 1 day or more", + "PA42Z": "Brain Tumours with length of stay 1 day or more", + "PA43A": "Other Neoplasms with length of stay 1 day or more, with CC", + "PA43B": "Other Neoplasms with length of stay 1 day or more, without CC", + "PA44Z": "Neoplasm Diagnoses with length of stay 0 days", + "PA45Z": "Febrile Neutropenia with Malignancy", + "PA46Z": "Paediatric Thalassaemia", + "PA47Z": "Sickle-cell Anaemia with Crisis", + "PA48A": "Blood Cell Disorders with CC", + "PA48B": "Blood Cell Disorders without CC", + "PA49Z": "Coagulation Disorders", + "PA50Z": "Ingestion Poisoning or Allergies", + "PA51Z": "Child Safeguarding (welfare and protection)", + "PA52A": "Behavioural Disorders with length of stay 1 day or less", + "PA52B": "Behavioural Disorders with length of stay between 2 and 7 days", + "PA52C": "Behavioural Disorders with length of stay 8 days or more", + "PA52Z": "Behavioural Disorders", + "PA53A": "Eating Disorders with length of stay less than 8 days", + "PA53B": "Eating Disorders with length of stay 8 days or more", + "PA53Z": "Eating Disorders", + "PA54Z": "Convalescent or other Relief Care", + "PA55Z": "Respite Care", + "PA56A": "Paediatric Admission for Unexplained Symptoms, with CC", + "PA56B": "Paediatric Admission for Unexplained Symptoms, without CC", + "PA57Z": "Examination, Follow-up, Special Screening or other Admissions, with length of stay 1 day or more", + "PA58Z": "Examination, Follow-up, Special Screening or other Admissions, with length of stay 0 days", + "PA59A": "Major Congenital Conditions with CC", + "PA59B": "Major Congenital Conditions without CC", + "PA59C": "Major Congenital Conditions, under 1 year, with CC", + "PA59D": "Major Congenital Conditions, under 1 year, without CC", + "PA59E": "Major Congenital Conditions, 1 year and over, with CC", + "PA59F": "Major Congenital Conditions, 1 year and over, without CC", + "PA60A": "Other Congenital Conditions with CC", + "PA60B": "Other Congenital Conditions without CC", + "PA60C": "Other Congenital Conditions, under 1 year, with CC", + "PA60D": "Other Congenital Conditions, under 1 year, without CC", + "PA60E": "Other Congenital Conditions, 1 year and over, with CC", + "PA60F": "Other Congenital Conditions, 1 year and over, without CC", + "PA62Z": "Syncope and Collapse", + "PA63A": "Head, Neck and Ear Disorders with length of stay 0 days", + "PA63B": "Head, Neck and Ear Disorders with length of stay 1 day or more, with CC", + "PA63C": "Head, Neck and Ear Disorders with length of stay 1 day or more, without CC", + "PA64A": "Non-Surgical Ophthalmology with length of stay 0 days", + "PA64B": "Non-Surgical Ophthalmology with length of stay 1 day or more, with CC", + "PA64C": "Non-Surgical Ophthalmology with length of stay 1 day or more, without CC", + "PA65A": "Upper Respiratory Tract Disorders with length of stay 0 days", + "PA65B": "Upper Respiratory Tract Disorders with length of stay 1 day or more, with CC", + "PA65C": "Upper Respiratory Tract Disorders with length of stay 1 day or more, without CC", + "PA66Z": "Rash or Other Non-Specific Skin Eruption", + "PA67Z": "Diabetes Mellitus, with Ketoacidosis or Coma", + "PA68Z": "Diabetes Mellitus, without Ketoacidosis or Coma", + "PA69Z": "Nephritic and Nephrotic Renal Diseases", + "PA70Z": "Other Renal Diseases", + "PA71Z": "Paediatric Hepatobiliary or Pancreatic Disorders", + "PA72Z": "Metabolic Disorders" + } + }, + "B": { + "description": "Neonatal Disorders", + "hrgs": { + "PB01Z": "Major Neonatal Diagnoses", + "PB02Z": "Minor Neonatal Diagnoses", + "PB03Z": "Healthy Baby", + "PB04A": "Neonatal Diagnoses, Admitted from Other Location or Born in Hospital, with CC Score 6+", + "PB04B": "Neonatal Diagnoses, Admitted from Other Location or Born in Hospital, with CC Score 4-5", + "PB04C": "Neonatal Diagnoses, Admitted from Other Location or Born in Hospital, with CC Score 1-3", + "PB04D": "Neonatal Diagnoses, Admitted from Other Location or Born in Hospital, with CC Score 0", + "PB05A": "Neonatal Diagnoses, Admitted from Other Hospital Provider, with CC Score 6+", + "PB05B": "Neonatal Diagnoses, Admitted from Other Hospital Provider, with CC Score 1-5", + "PB05C": "Neonatal Diagnoses, Admitted from Other Hospital Provider, with CC Score 0", + "PB06A": "Neonatal Diagnoses, Admitted from Home, with Interventions, with CC Score 6+", + "PB06B": "Neonatal Diagnoses, Admitted from Home, with Interventions, with CC Score 4-5", + "PB06C": "Neonatal Diagnoses, Admitted from Home, with Interventions, with CC Score 3", + "PB06D": "Neonatal Diagnoses, Admitted from Home, with Interventions, with CC Score 2", + "PB06E": "Neonatal Diagnoses, Admitted from Home, with Interventions, with CC Score 1", + "PB06F": "Neonatal Diagnoses, Admitted from Home, with Interventions, with CC Score 0", + "PB06G": "Neonatal Diagnoses, Admitted from Home, without Interventions, with CC Score 6+", + "PB06H": "Neonatal Diagnoses, Admitted from Home, without Interventions, with CC Score 4-5", + "PB06J": "Neonatal Diagnoses, Admitted from Home, without Interventions, with CC Score 3", + "PB06K": "Neonatal Diagnoses, Admitted from Home, without Interventions, with CC Score 2", + "PB06L": "Neonatal Diagnoses, Admitted from Home, without Interventions, with CC Score 1", + "PB06M": "Neonatal Diagnoses, Admitted from Home, without Interventions, with CC Score 0" + } + }, + "C": { + "description": "Paediatric Ear, Nose, Mouth and Throat Disorders", + "hrgs": { + "PC63A": "Paediatric, Head, Neck or Ear Disorders, with CC Score 6+", + "PC63B": "Paediatric, Head, Neck or Ear Disorders, with CC Score 3-5", + "PC63C": "Paediatric, Head, Neck or Ear Disorders, with CC Score 1-2", + "PC63D": "Paediatric, Head, Neck or Ear Disorders, with CC Score 0" + } + }, + "D": { + "description": "Paediatric Respiratory Disorders", + "hrgs": { + "PD11A": "Paediatric, Acute Upper Respiratory Tract Infection or Common Cold, with CC Score 4+", + "PD11B": "Paediatric, Acute Upper Respiratory Tract Infection or Common Cold, with CC Score 1-3", + "PD11C": "Paediatric, Acute Upper Respiratory Tract Infection or Common Cold, with CC Score 0", + "PD12A": "Paediatric, Asthma or Wheezing, with CC Score 4+", + "PD12B": "Paediatric, Asthma or Wheezing, with CC Score 1-3", + "PD12C": "Paediatric, Asthma or Wheezing, with CC Score 0", + "PD13A": "Paediatric Cystic Fibrosis with CC Score 5+", + "PD13B": "Paediatric Cystic Fibrosis with CC Score 2-4", + "PD13C": "Paediatric Cystic Fibrosis with CC Score 1", + "PD13D": "Paediatric Cystic Fibrosis with CC Score 0", + "PD14A": "Paediatric Lower Respiratory Tract Disorders without Acute Bronchiolitis, with CC Score 11+", + "PD14B": "Paediatric Lower Respiratory Tract Disorders without Acute Bronchiolitis, with CC Score 8-10", + "PD14C": "Paediatric Lower Respiratory Tract Disorders without Acute Bronchiolitis, with CC Score 4-7", + "PD14D": "Paediatric Lower Respiratory Tract Disorders without Acute Bronchiolitis, with CC Score 2-3", + "PD14E": "Paediatric Lower Respiratory Tract Disorders without Acute Bronchiolitis, with CC Score 1", + "PD14F": "Paediatric Lower Respiratory Tract Disorders without Acute Bronchiolitis, with CC Score 0", + "PD15A": "Paediatric Acute Bronchiolitis with CC Score 5+", + "PD15B": "Paediatric Acute Bronchiolitis with CC Score 2-4", + "PD15C": "Paediatric Acute Bronchiolitis with CC Score 1", + "PD15D": "Paediatric Acute Bronchiolitis with CC Score 0", + "PD65A": "Paediatric Upper Respiratory Tract Disorders with CC Score 5+", + "PD65B": "Paediatric Upper Respiratory Tract Disorders with CC Score 2-4", + "PD65C": "Paediatric Upper Respiratory Tract Disorders with CC Score 1", + "PD65D": "Paediatric Upper Respiratory Tract Disorders with CC Score 0" + } + }, + "E": { + "description": "Paediatric Cardiology Disorders", + "hrgs": { + "PE23A": "Paediatric Cardiac Conditions with CC Score 13+", + "PE23B": "Paediatric Cardiac Conditions with CC Score 10-12", + "PE23C": "Paediatric Cardiac Conditions with CC Score 6-9", + "PE23D": "Paediatric Cardiac Conditions with CC Score 3-5", + "PE23E": "Paediatric Cardiac Conditions with CC Score 1-2", + "PE23F": "Paediatric Cardiac Conditions with CC Score 0", + "PE24A": "Paediatric, Arrhythmia or Conduction Disorders, with CC Score 2+", + "PE24B": "Paediatric, Arrhythmia or Conduction Disorders, with CC Score 1", + "PE24C": "Paediatric, Arrhythmia or Conduction Disorders, with CC Score 0", + "PE62A": "Paediatric, Syncope and Collapse, with CC Score 2+", + "PE62B": "Paediatric, Syncope and Collapse, with CC Score 1", + "PE62C": "Paediatric, Syncope and Collapse, with CC Score 0" + } + }, + "F": { + "description": "Paediatric Gastroenterology Disorders", + "hrgs": { + "PF21A": "Paediatric, Infectious or Non-Infectious Gastroenteritis, with CC Score 1+", + "PF21B": "Paediatric, Infectious or Non-Infectious Gastroenteritis, with CC Score 0", + "PF25A": "Paediatric Major Gastrointestinal Disorders with CC Score 7+", + "PF25B": "Paediatric Major Gastrointestinal Disorders with CC Score 5-6", + "PF25C": "Paediatric Major Gastrointestinal Disorders with CC Score 3-4", + "PF25D": "Paediatric Major Gastrointestinal Disorders with CC Score 1-2", + "PF25E": "Paediatric Major Gastrointestinal Disorders with CC Score 0", + "PF26A": "Paediatric Other Gastrointestinal Disorders with CC Score 4+", + "PF26B": "Paediatric Other Gastrointestinal Disorders with CC Score 1-3", + "PF26C": "Paediatric Other Gastrointestinal Disorders with CC Score 0", + "PF27A": "Paediatric Inflammatory Bowel Disease with CC Score 1+", + "PF27B": "Paediatric Inflammatory Bowel Disease with CC Score 0", + "PF28A": "Paediatric, Feeding Difficulties or Vomiting, with CC Score 6+", + "PF28B": "Paediatric, Feeding Difficulties or Vomiting, with CC Score 4-5", + "PF28C": "Paediatric, Feeding Difficulties or Vomiting, with CC Score 2-3", + "PF28D": "Paediatric, Feeding Difficulties or Vomiting, with CC Score 1", + "PF28E": "Paediatric, Feeding Difficulties or Vomiting, with CC Score 0" + } + }, + "G": { + "description": "Paediatric Hepatobiliary Disorders", + "hrgs": { + "PG71A": "Paediatric, Hepatobiliary or Pancreatic Disorders, with CC Score 2+", + "PG71B": "Paediatric, Hepatobiliary or Pancreatic Disorders, with CC Score 1", + "PG71C": "Paediatric, Hepatobiliary or Pancreatic Disorders, with CC Score 0" + } + }, + "H": { + "description": "Paediatric Rheumatology Disorders", + "hrgs": { + "PH34A": "Paediatric, Musculoskeletal or Connective Tissue Disorders, with CC Score 5+", + "PH34B": "Paediatric, Musculoskeletal or Connective Tissue Disorders, with CC Score 3-4", + "PH34C": "Paediatric, Musculoskeletal or Connective Tissue Disorders, with CC Score 1-2", + "PH34D": "Paediatric, Musculoskeletal or Connective Tissue Disorders, with CC Score 0" + } + }, + "J": { + "description": "Paediatric Dermatology Disorders", + "hrgs": { + "PJ35A": "Paediatric Skin Disorders with CC Score 4+", + "PJ35B": "Paediatric Skin Disorders with CC Score 2-3", + "PJ35C": "Paediatric Skin Disorders with CC Score 1", + "PJ35D": "Paediatric Skin Disorders with CC Score 0", + "PJ66A": "Paediatric, Rash or Other Non-Specific Skin Eruption, with CC Score 3+", + "PJ66B": "Paediatric, Rash or Other Non-Specific Skin Eruption, with CC Score 1-2", + "PJ66C": "Paediatric, Rash or Other Non-Specific Skin Eruption, with CC Score 0" + } + }, + "K": { + "description": "Paediatric Diabetology, Endocrinology and Metabolic Disorders", + "hrgs": { + "PK36A": "Paediatric Endocrine Disorders, excluding Diabetes Mellitus, with CC Score 4+", + "PK36B": "Paediatric Endocrine Disorders, excluding Diabetes Mellitus, with CC Score 1-3", + "PK36C": "Paediatric Endocrine Disorders, excluding Diabetes Mellitus, with CC Score 0", + "PK67A": "Paediatric Diabetes Mellitus, with Ketoacidosis or Coma, with CC Score 1+", + "PK67B": "Paediatric Diabetes Mellitus, with Ketoacidosis or Coma, with CC Score 0", + "PK68A": "Paediatric Diabetes Mellitus, without Ketoacidosis or Coma, with CC Score 3+", + "PK68B": "Paediatric Diabetes Mellitus, without Ketoacidosis or Coma, with CC Score 1-2", + "PK68C": "Paediatric Diabetes Mellitus, without Ketoacidosis or Coma, with CC Score 0", + "PK72A": "Paediatric Metabolic Disorders with CC Score 4+", + "PK72B": "Paediatric Metabolic Disorders with CC Score 1-3", + "PK72C": "Paediatric Metabolic Disorders with CC Score 0" + } + }, + "L": { + "description": "Paediatric Renal Disorders", + "hrgs": { + "PL38A": "Paediatric Renal Disease with Renal Failure, with CC Score 3+", + "PL38B": "Paediatric Renal Disease with Renal Failure, with CC Score 1-2", + "PL38C": "Paediatric Renal Disease with Renal Failure, with CC Score 0", + "PL69A": "Paediatric, Nephritic or Nephrotic Renal Diseases, with CC Score 2+", + "PL69B": "Paediatric, Nephritic or Nephrotic Renal Diseases, with CC Score 1", + "PL69C": "Paediatric, Nephritic or Nephrotic Renal Diseases, with CC Score 0", + "PL70A": "Paediatric Other Renal Diseases with CC Score 4+", + "PL70B": "Paediatric Other Renal Diseases with CC Score 2-3", + "PL70C": "Paediatric Other Renal Diseases with CC Score 1", + "PL70D": "Paediatric Other Renal Diseases with CC Score 0" + } + }, + "M": { + "description": "Paediatric Haematological-Oncology Disorders", + "hrgs": { + "PM40A": "Paediatric Acute Lymphoblastic Leukaemia with length of stay 1 day or more, with CC Score 3+", + "PM40B": "Paediatric Acute Lymphoblastic Leukaemia with length of stay 1 day or more, with CC Score 1-2", + "PM40C": "Paediatric Acute Lymphoblastic Leukaemia with length of stay 1 day or more, with CC Score 0", + "PM41Z": "Paediatric Other Haematological Malignancies with length of stay 1 day or more", + "PM42A": "Paediatric Brain Tumours with length of stay 1 day or more, with CC Score 1+", + "PM42B": "Paediatric Brain Tumours with length of stay 1 day or more, with CC Score 0", + "PM43A": "Paediatric Other Neoplasms with length of stay 1 day or more, with CC Score 5+", + "PM43B": "Paediatric Other Neoplasms with length of stay 1 day or more, with CC Score 1-4", + "PM43C": "Paediatric Other Neoplasms with length of stay 1 day or more, with CC Score 0", + "PM44Z": "Paediatric Neoplasm Diagnoses with length of stay 0 days", + "PM45A": "Paediatric Febrile Neutropenia with Malignancy, with CC Score 6+", + "PM45B": "Paediatric Febrile Neutropenia with Malignancy, with CC Score 3-5", + "PM45C": "Paediatric Febrile Neutropenia with Malignancy, with CC Score 1-2", + "PM45D": "Paediatric Febrile Neutropenia with Malignancy, with CC Score 0" + } + }, + "N": { + "description": "Paediatric Non-Malignant Haematological Disorders", + "hrgs": { + "PN46A": "Paediatric Thalassaemia with CC Score 1+", + "PN46B": "Paediatric Thalassaemia with CC Score 0", + "PN47A": "Paediatric Sickle-Cell Anaemia with Crisis, with CC Score 1+", + "PN47B": "Paediatric Sickle-Cell Anaemia with Crisis, with CC Score 0", + "PN48A": "Paediatric Blood Cell Disorders with CC Score 5+", + "PN48B": "Paediatric Blood Cell Disorders with CC Score 1-4", + "PN48C": "Paediatric Blood Cell Disorders with CC Score 0", + "PN49A": "Paediatric Coagulation Disorders with CC Score 1+", + "PN49B": "Paediatric Coagulation Disorders with CC Score 0" + } + }, + "P": { + "description": "Paediatric Ophthalmic Disorders", + "hrgs": { + "PP64A": "Paediatric Non-Surgical Ophthalmology with CC Score 1+", + "PP64B": "Paediatric Non-Surgical Ophthalmology with CC Score 0" + } + }, + "Q": { + "description": "Paediatric Immune System Disorders", + "hrgs": { + "PQ01A": "Paediatric Disorders of Immunity with CC Score 1+", + "PQ01B": "Paediatric Disorders of Immunity with CC Score 0" + } + }, + "R": { + "description": "Paediatric Nervous System Disorders", + "hrgs": { + "PR01A": "Paediatric Nervous System Disorders with CC Score 8+", + "PR01B": "Paediatric Nervous System Disorders with CC Score 5-7", + "PR01C": "Paediatric Nervous System Disorders with CC Score 2-4", + "PR01D": "Paediatric Nervous System Disorders with CC Score 1", + "PR01E": "Paediatric Nervous System Disorders with CC Score 0", + "PR02A": "Paediatric Epilepsy Syndrome with CC Score 6+", + "PR02B": "Paediatric Epilepsy Syndrome with CC Score 1-5", + "PR02C": "Paediatric Epilepsy Syndrome with CC Score 0", + "PR03A": "Paediatric Febrile Convulsions with CC Score 4+", + "PR03B": "Paediatric Febrile Convulsions with CC Score 1-3", + "PR03C": "Paediatric Febrile Convulsions with CC Score 0", + "PR04A": "Paediatric, Headaches or Migraines, with CC Score 4+", + "PR04B": "Paediatric, Headaches or Migraines, with CC Score 1-3", + "PR04C": "Paediatric, Headaches or Migraines, with CC Score 0", + "PR05A": "Paediatric Developmental Disorders with CC Score 2+", + "PR05B": "Paediatric Developmental Disorders with CC Score 1", + "PR05C": "Paediatric Developmental Disorders with CC Score 0", + "PR06A": "Paediatric Intracranial Injury with CC Score 3+", + "PR06B": "Paediatric Intracranial Injury with CC Score 1-2", + "PR06C": "Paediatric Intracranial Injury with CC Score 0", + "PR07A": "Paediatric Non-Intracranial Head Injury with CC Score 1+", + "PR07B": "Paediatric Non-Intracranial Head Injury with CC Score 0" + } + }, + "T": { + "description": "Paediatric Mental Health Disorders", + "hrgs": { + "PT52A": "Paediatric Behavioural Disorders with CC Score 1+", + "PT52B": "Paediatric Behavioural Disorders with CC Score 0", + "PT53A": "Paediatric Eating Disorders with CC Score 1+", + "PT53B": "Paediatric Eating Disorders with CC Score 0" + } + }, + "V": { + "description": "Paediatric Trauma Medicine", + "hrgs": { + "PV08A": "Paediatric Intermediate Injury without Intracranial Injury, with CC Score 1+", + "PV08B": "Paediatric Intermediate Injury without Intracranial Injury, with CC Score 0", + "PV31A": "Paediatric Major Injury without Intracranial Injury, with CC Score 1+", + "PV31B": "Paediatric Major Injury without Intracranial Injury, with CC Score 0", + "PV32A": "Paediatric Minor Injury without Intracranial Injury, with CC Score 3+", + "PV32B": "Paediatric Minor Injury without Intracranial Injury, with CC Score 1-2", + "PV32C": "Paediatric Minor Injury without Intracranial Injury, with CC Score 0" + } + }, + "W": { + "description": "Paediatric Infectious Diseases", + "hrgs": { + "PW01A": "Paediatric Minor Infections with CC Score 4+", + "PW01B": "Paediatric Minor Infections with CC Score 1-3", + "PW01C": "Paediatric Minor Infections with CC Score 0", + "PW16A": "Paediatric Major Infections with CC Score 7+", + "PW16B": "Paediatric Major Infections with CC Score 5-6", + "PW16C": "Paediatric Major Infections with CC Score 2-4", + "PW16D": "Paediatric Major Infections with CC Score 1", + "PW16E": "Paediatric Major Infections with CC Score 0", + "PW17A": "Paediatric Intermediate Infections with CC Score 6+", + "PW17B": "Paediatric Intermediate Infections with CC Score 3-5", + "PW17C": "Paediatric Intermediate Infections with CC Score 1-2", + "PW17D": "Paediatric Intermediate Infections with CC Score 0", + "PW17E": "Paediatric Intermediate Infections with CC Score 5+", + "PW17F": "Paediatric Intermediate Infections with CC Score 2-4", + "PW17G": "Paediatric Intermediate Infections with CC Score 1", + "PW18A": "Paediatric Minor Infections with CC Score 2+", + "PW18B": "Paediatric Minor Infections with CC Score 1", + "PW18C": "Paediatric Minor Infections with CC Score 0", + "PW19A": "Paediatric Viral Infections with CC Score 3+", + "PW19B": "Paediatric Viral Infections with CC Score 1-2", + "PW19C": "Paediatric Viral Infections with CC Score 0", + "PW20A": "Paediatric Fever of Unknown Origin with CC Score 3+", + "PW20B": "Paediatric Fever of Unknown Origin with CC Score 1-2", + "PW20C": "Paediatric Fever of Unknown Origin with CC Score 0" + } + }, + "X": { + "description": "Paediatric Medicine", + "hrgs": { + "PX01A": "Paediatric Congenital Nervous System Conditions with CC Score 4+", + "PX01B": "Paediatric Congenital Nervous System Conditions with CC Score 2-3", + "PX01C": "Paediatric Congenital Nervous System Conditions with CC Score 1", + "PX01D": "Paediatric Congenital Nervous System Conditions with CC Score 0", + "PX02A": "Paediatric Congenital, Ear, Nose, Mouth or Throat Conditions, with CC Score 3+", + "PX02B": "Paediatric Congenital, Ear, Nose, Mouth or Throat Conditions, with CC Score 1-2", + "PX02C": "Paediatric Congenital, Ear, Nose, Mouth or Throat Conditions, with CC Score 0", + "PX03A": "Paediatric Congenital Respiratory Tract Conditions with CC Score 1+", + "PX03B": "Paediatric Congenital Respiratory Tract Conditions with CC Score 0", + "PX04A": "Paediatric Congenital Spinal Conditions with CC Score 1+", + "PX04B": "Paediatric Congenital Spinal Conditions with CC Score 0", + "PX05A": "Paediatric Congenital Other Musculoskeletal Conditions with CC Score 2+", + "PX05B": "Paediatric Congenital Other Musculoskeletal Conditions with CC Score 1", + "PX05C": "Paediatric Congenital Other Musculoskeletal Conditions with CC Score 0", + "PX06A": "Paediatric Congenital Skin Conditions with CC Score 1+", + "PX06B": "Paediatric Congenital Skin Conditions with CC Score 0", + "PX07A": "Paediatric Congenital Renal Conditions with CC Score 2+", + "PX07B": "Paediatric Congenital Renal Conditions with CC Score 1", + "PX07C": "Paediatric Congenital Renal Conditions with CC Score 0", + "PX08A": "Paediatric Congenital, Urological or Male Reproductive System Conditions, with CC Score 2+", + "PX08B": "Paediatric Congenital, Urological or Male Reproductive System Conditions, with CC Score 1", + "PX08C": "Paediatric Congenital, Urological or Male Reproductive System Conditions, with CC Score 0", + "PX09A": "Paediatric Congenital Mental Health Conditions with CC Score 3+", + "PX09B": "Paediatric Congenital Mental Health Conditions with CC Score 1-2", + "PX09C": "Paediatric Congenital Mental Health Conditions with CC Score 0", + "PX10A": "Paediatric Congenital Other Conditions with CC Score 1+", + "PX10B": "Paediatric Congenital Other Conditions with CC Score 0", + "PX22A": "Paediatric Chest Pain with CC Score 1+", + "PX22B": "Paediatric Chest Pain with CC Score 0", + "PX29A": "Paediatric Abdominal Pain with CC Score 3+", + "PX29B": "Paediatric Abdominal Pain with CC Score 1-2", + "PX29C": "Paediatric Abdominal Pain with CC Score 0", + "PX30A": "Paediatric Faltering Growth (Failure to Thrive) with CC Score 2+", + "PX30B": "Paediatric Faltering Growth (Failure to Thrive) with CC Score 1", + "PX30C": "Paediatric Faltering Growth (Failure to Thrive) with CC Score 0", + "PX50A": "Paediatric, Ingestion Poisoning or Allergies, with CC Score 4+", + "PX50B": "Paediatric, Ingestion Poisoning or Allergies, with CC Score 1-3", + "PX50C": "Paediatric, Ingestion Poisoning or Allergies, with CC Score 0", + "PX51Z": "Paediatric Child Safeguarding (Welfare and Protection)", + "PX54Z": "Paediatric, Convalescent or Other Relief Care", + "PX55Z": "Paediatric Respite Care", + "PX56A": "Paediatric Admission for Unexplained Symptoms, with CC Score 1+", + "PX56B": "Paediatric Admission for Unexplained Symptoms, with CC Score 0", + "PX57A": "Paediatric, Examination, Follow-up, Special Screening or Other Admissions, with CC Score 4+", + "PX57B": "Paediatric, Examination, Follow-up, Special Screening or Other Admissions, with CC Score 1-3", + "PX57C": "Paediatric, Examination, Follow-up, Special Screening or Other Admissions, with CC Score 0", + "PX59A": "Paediatric Major Congenital Conditions with CC Score 6+", + "PX59B": "Paediatric Major Congenital Conditions with CC Score 3-5", + "PX59C": "Paediatric Major Congenital Conditions with CC Score 1-2", + "PX59D": "Paediatric Major Congenital Conditions with CC Score 0", + "PX60A": "Paediatric Other Congenital Conditions with CC Score 3+", + "PX60B": "Paediatric Other Congenital Conditions with CC Score 1-2", + "PX60C": "Paediatric Other Congenital Conditions with CC Score 0" + } + } + } + }, + "Q": { + "description": "Vascular System", + "subchapters": { + "Z": { + "description": "Vascular Procedures and Disorders", + "hrgs": { + "QZ01A": "Aortic or Abdominal Surgery, with CC", + "QZ01B": "Aortic or Abdominal Surgery, without CC", + "QZ02A": "Lower Limb Arterial Surgery with CC", + "QZ02B": "Lower Limb Arterial Surgery without CC", + "QZ03Z": "Bypasses to Tibial Arteries", + "QZ04Z": "Extracranial or Upper Limb Arterial Surgery", + "QZ05A": "Miscellaneous Vascular Procedures with CC", + "QZ05B": "Miscellaneous Vascular Procedures without CC", + "QZ06Z": "Varicose veins with ulcer or with CC", + "QZ07A": "Redo Bilateral Varicose Vein Procedures with CC (includes Ulceration)", + "QZ07B": "Redo Bilateral Varicose Vein Procedures without CC", + "QZ08A": "Redo Unilateral Varicose Vein Procedures with CC (includes Ulceration)", + "QZ08B": "Redo Unilateral Varicose Vein Procedures without CC", + "QZ09A": "Primary Bilateral Varicose Vein Procedures with CC (includes Ulceration)", + "QZ09B": "Primary Bilateral Varicose Vein Procedures without CC", + "QZ10A": "Primary Unilateral Varicose Vein Procedures with CC (includes Ulceration)", + "QZ10B": "Primary Unilateral Varicose Vein Procedures without CC", + "QZ11A": "Amputations with Major CC", + "QZ11B": "Amputations without Major CC", + "QZ12Z": "Foot Procedures for Diabetes or Arterial Disease, or Procedures to Amputation Stumps", + "QZ13A": "Vascular Access for Renal Replacement Therapy, with CC", + "QZ13B": "Vascular Access for Renal Replacement Therapy, without CC", + "QZ14A": "Vascular Access except for Renal Replacement Therapy, with CC", + "QZ14B": "Vascular Access except for Renal Replacement Therapy, without CC", + "QZ15A": "Therapeutic Endovascular Procedures with Major CC", + "QZ15B": "Therapeutic Endovascular Procedures with Intermediate CC", + "QZ15C": "Therapeutic Endovascular Procedures without CC", + "QZ16A": "Diagnostic Vascular Radiology or other Transluminal Diagnostic Procedures, with Major CC", + "QZ16B": "Diagnostic Vascular Radiology or other Transluminal Diagnostic Procedures, with Intermediate CC", + "QZ16C": "Diagnostic Vascular Radiology or other Transluminal Diagnostic Procedures, without CC", + "QZ17A": "Non-Surgical Peripheral Vascular Disease with Major CC", + "QZ17B": "Non-Surgical Peripheral Vascular Disease with Intermediate CC", + "QZ17C": "Non-Surgical Peripheral Vascular Disease without CC", + "QZ18Z": "Procedures on the Lymphatic System", + "QZ19Z": "Blood Vessel Injury with No Significant Procedure", + "QZ20Z": "Deep Vein Thrombosis", + "QZ21A": "Re-do Varicose Vein Procedures with CC (includes Ulceration)", + "QZ21B": "Re-do Varicose Vein Procedures, without CC", + "QZ22A": "Primary Varicose Vein Procedures with CC (includes Ulceration)", + "QZ22B": "Primary Varicose Vein Procedures, without CC", + "QZ23Z": "Thoracoabdominal Aneurysm Repair" + } + } + } + }, + "R": { + "description": "Diagnostic Imaging and Nuclear Medicine", + "subchapters": { + "A": { + "description": "Diagnostic Imaging Procedures", + "hrgs": { + "RA01A": "Magnetic Resonance Imaging Scan, one area, no contrast, 19 years and over", + "RA01B": "Magnetic Resonance Imaging Scan, one area, no contrast, 6 to 18 years", + "RA01C": "Magnetic Resonance Imaging Scan, one area, no contrast, 5 years and under", + "RA01Z": "Magnetic Resonance Imaging Scan, one area, no contrast", + "RA02A": "Magnetic Resonance Imaging Scan, one area, post contrast only, 19 years and over", + "RA02B": "Magnetic Resonance Imaging Scan, one area, post contrast only, 6 to 18 years", + "RA02C": "Magnetic Resonance Imaging Scan, one area, post contrast only, 5 years and under", + "RA02Z": "Magnetic Resonance Imaging Scan, one area, post contrast only", + "RA03Z": "Magnetic Resonance Imaging Scan, one area, pre and post contrast", + "RA04Z": "Magnetic Resonance Imaging Scan, two to three areas, no contrast", + "RA05Z": "Magnetic Resonance Imaging Scan, two to three areas, with contrast", + "RA06Z": "Magnetic Resonance Imaging Scan, more than three areas", + "RA07Z": "Magnetic Resonance Imaging Scan, requiring extensive patient repositioning and/or more than one contrast agent", + "RA08A": "Computerised Tomography Scan, one area, no contrast, 19 years and over", + "RA08B": "Computerised Tomography Scan, one area, no contrast, 6 to 18 years", + "RA08C": "Computerised Tomography Scan, one area, no contrast, 5 years and under", + "RA08Z": "Computerised Tomography Scan, one area, no contrast", + "RA09A": "Computerised Tomography Scan, one area, with post contrast only, 19 years and over", + "RA09B": "Computerised Tomography Scan, one area, with post contrast only, 6 to 18 years", + "RA09C": "Computerised Tomography Scan, one area, with post contrast only, 5 years and under", + "RA09Z": "Computerised Tomography Scan, one area with post contrast only", + "RA10Z": "Computerised Tomography Scan, one area, pre and post contrast", + "RA11Z": "Computerised Tomography Scan, two areas without contrast", + "RA12Z": "Computerised Tomography Scan, two areas with contrast", + "RA13Z": "Computerised Tomography Scan, three areas with contrast", + "RA14Z": "Computerised Tomography Scan, more than three areas", + "RA15Z": "Dexa Scan", + "RA16Z": "Contrast Fluoroscopy Procedures, less than 20 minutes", + "RA17Z": "Contrast Fluoroscopy Procedures, 20 to 40 minutes", + "RA18Z": "Contrast Fluoroscopy Procedures, more than 40 minutes", + "RA19Z": "Mobile or Intraoperative, Contrast Fluoroscopy Procedures, less than 20 minutes", + "RA20Z": "Mobile or Intraoperative, Contrast Fluoroscopy Procedures, 20 to 40 minutes", + "RA21Z": "Mobile or Intraoperative, Contrast Fluoroscopy Procedures, more than 40 minutes", + "RA23Z": "Ultrasound Scan, less than 20 minutes", + "RA24Z": "Ultrasound Scan, 20 minutes and over", + "RA25Z": "Ultrasound Mobile Scan or Intraoperative Procedures, less than 20 minutes", + "RA26Z": "Ultrasound Mobile Scan or Intraoperative Procedures, 20 to 40 minutes", + "RA27Z": "Ultrasound Mobile Scan or Intraoperative Procedures, more than 40 minutes", + "RA35Z": "Nuclear Medicine, Category 1", + "RA36Z": "Nuclear Medicine, Category 2", + "RA37Z": "Nuclear Medicine, Category 3", + "RA38Z": "Nuclear Medicine, Category 4", + "RA39Z": "Nuclear Medicine, Category 5", + "RA40Z": "Nuclear Medicine, Category 6", + "RA42Z": "Nuclear Medicine, Category 8 (PET-CT)", + "RA50Z": "Computerised Tomography Scan, three areas without contrast", + "RA60A": "Simple Echocardiogram, 19 years and over", + "RA60B": "Simple Echocardiogram, 6 to 18 years", + "RA60C": "Simple Echocardiogram, 5 years and under", + "RA60Z": "Simple Echocardiogram", + "RA65Z": "Cardiac Magnetic Resonance Imaging Scan, no contrast", + "RA66Z": "Cardiac Magnetic Resonance Imaging Scan, post contrast only", + "RA67Z": "Cardiac Magnetic Resonance Imaging Scan, pre and post contrast", + "RA68Z": "Cardiac Computerised Tomography Scan", + "RA69Z": "Complex Computerised Tomography Scan" + } + }, + "C": { + "description": "Interventional Radiology", + "hrgs": { + "RC01Z": "Major Uroradiology Interventional Radiology Procedures", + "RC02Z": "Intermediate Uroradiology Interventional Radiology Procedures", + "RC03Z": "Minor Uroradiology Interventional Radiology Procedures", + "RC11A": "Endovascular Stent Graft for Ruptured Abdominal Aortic Aneurysm, One Branched Stent Graft", + "RC11B": "Endovascular Stent Graft for Ruptured Abdominal Aortic Aneurysm, One Fenestrated Stent Graft", + "RC11C": "Endovascular Stent Graft for Ruptured Abdominal Aortic Aneurysm, One Stent Graft", + "RC11D": "Endovascular Stent Graft for Ruptured Abdominal Aortic Aneurysm, Two Stent Grafts", + "RC11E": "Endovascular Stent Graft for Ruptured Abdominal Aortic Aneurysm, Three or more Stent Grafts", + "RC12A": "Infrarenal or Aorto-Uni-Iliac Endovascular Stent Graft for Non-Ruptured Abdominal Aortic Aneurysm, One Branched Stent Graft", + "RC12B": "Infrarenal or Aorto-Uni-Iliac Endovascular Stent Graft for Non-Ruptured Abdominal Aortic Aneurysm, One Fenestrated Stent Graft", + "RC12C": "Infrarenal or Aorto-Uni-Iliac Endovascular Stent Graft for Non-Ruptured Abdominal Aortic Aneurysm, One Stent Graft", + "RC12D": "Infrarenal or Aorto-Uni-Iliac Endovascular Stent Graft for Non-Ruptured Abdominal Aortic Aneurysm, Two Stent Grafts", + "RC12E": "Infrarenal or Aorto-Uni-Iliac Endovascular Stent Graft for Non-Ruptured Abdominal Aortic Aneurysm, Three or more Stent Grafts", + "RC13A": "Other Endovascular Stent Graft for Non-Ruptured Abdominal Aortic Aneurysm, One Branched Stent Graft", + "RC13B": "Other Endovascular Stent Graft for Non-Ruptured Abdominal Aortic Aneurysm, One Fenestrated Stent Graft", + "RC13C": "Other Endovascular Stent Graft for Non-Ruptured Abdominal Aortic Aneurysm, One Stent Graft", + "RC13D": "Other Endovascular Stent Graft for Non-Ruptured Abdominal Aortic Aneurysm, Two Stent Grafts", + "RC13E": "Other Endovascular Stent Graft for Non-Ruptured Abdominal Aortic Aneurysm, Three or more Stent Grafts", + "RC14Z": "Major Vascular Interventional Radiology Procedures", + "RC15Z": "Intermediate Vascular Interventional Radiology Procedures", + "RC16Z": "Minor Vascular Interventional Radiology Procedures", + "RC31Z": "Major Hepatobiliary Interventional Radiology Procedures", + "RC32Z": "Intermediate Hepatobiliary Interventional Radiology Procedures", + "RC33Z": "Minor Hepatobiliary Interventional Radiology Procedures", + "RC41Z": "Uterine Fibroid Embolisation", + "RC42Z": "Major Obstetric or Gynaecology, Interventional Radiology Procedures", + "RC51Z": "Major Neurology Interventional Radiology Procedures" + } + }, + "D": { + "description": "Diagnostic Imaging Procedures", + "hrgs": { + "RD01A": "Magnetic Resonance Imaging Scan of One Area, without Contrast, 19 years and over", + "RD01B": "Magnetic Resonance Imaging Scan of One Area, without Contrast, between 6 and 18 years", + "RD01C": "Magnetic Resonance Imaging Scan of One Area, without Contrast, 5 years and under", + "RD02A": "Magnetic Resonance Imaging Scan of One Area, with Post-Contrast Only, 19 years and over", + "RD02B": "Magnetic Resonance Imaging Scan of One Area, with Post-Contrast Only, between 6 and 18 years", + "RD02C": "Magnetic Resonance Imaging Scan of One Area, with Post-Contrast Only, 5 years and under", + "RD03Z": "Magnetic Resonance Imaging Scan of One Area, with Pre- and Post-Contrast", + "RD04Z": "Magnetic Resonance Imaging Scan of Two or Three Areas, without Contrast", + "RD05Z": "Magnetic Resonance Imaging Scan of Two or Three Areas, with Contrast", + "RD06Z": "Magnetic Resonance Imaging Scan of more than Three Areas", + "RD07Z": "Magnetic Resonance Imaging Scan Requiring Extensive Patient Repositioning", + "RD08Z": "Cardiac Magnetic Resonance Imaging Scan without Contrast", + "RD09Z": "Cardiac Magnetic Resonance Imaging Scan with Post-Contrast Only", + "RD10Z": "Cardiac Magnetic Resonance Imaging Scan with Pre- and Post-Contrast", + "RD20A": "Computerised Tomography Scan of One Area, without Contrast, 19 years and over", + "RD20B": "Computerised Tomography Scan of One Area, without Contrast, between 6 and 18 years", + "RD20C": "Computerised Tomography Scan of One Area, without Contrast, 5 years and under", + "RD21A": "Computerised Tomography Scan of One Area, with Post-Contrast Only, 19 years and over", + "RD21B": "Computerised Tomography Scan of One Area, with Post-Contrast Only, between 6 and 18 years", + "RD21C": "Computerised Tomography Scan of One Area, with Post-Contrast Only, 5 years and under", + "RD22Z": "Computerised Tomography Scan of One Area, with Pre- and Post-Contrast", + "RD23Z": "Computerised Tomography Scan of Two Areas, without Contrast", + "RD24Z": "Computerised Tomography Scan of Two Areas, with Contrast", + "RD25Z": "Computerised Tomography Scan of Three Areas, without Contrast", + "RD26Z": "Computerised Tomography Scan of Three Areas, with Contrast", + "RD27Z": "Computerised Tomography Scan of more than Three Areas", + "RD28Z": "Complex Computerised Tomography Scan", + "RD30Z": "Contrast Fluoroscopy Procedures with duration of less than 20 minutes", + "RD31Z": "Contrast Fluoroscopy Procedures with duration of 20 to 40 minutes", + "RD32Z": "Contrast Fluoroscopy Procedures with duration of more than 40 minutes", + "RD33Z": "Contrast Fluoroscopy, Mobile or Intraoperative Procedures, with duration of less than 20 minutes", + "RD34Z": "Contrast Fluoroscopy, Mobile or Intraoperative Procedures, with duration of 20 to 40 minutes", + "RD35Z": "Contrast Fluoroscopy, Mobile or Intraoperative Procedures, with duration of more than 40 minutes", + "RD40Z": "Ultrasound Scan with duration of less than 20 minutes, without Contrast", + "RD41Z": "Ultrasound Scan with duration of less than 20 minutes, with Contrast", + "RD42Z": "Ultrasound Scan with duration of 20 minutes and over, without Contrast", + "RD43Z": "Ultrasound Scan with duration of 20 minutes and over, with Contrast", + "RD44Z": "Ultrasound Scan, Mobile or Intraoperative Procedures, with duration of less than 20 minutes", + "RD45Z": "Ultrasound Scan, Mobile or Intraoperative Procedures, with duration of 20 to 40 minutes", + "RD46Z": "Ultrasound Scan, Mobile or Intraoperative Procedures, with duration of more than 40 minutes", + "RD47Z": "Vascular Ultrasound Scan", + "RD48Z": "Ultrasound Elastography", + "RD50Z": "Dexa Scan", + "RD51A": "Simple Echocardiogram, 19 years and over", + "RD51B": "Simple Echocardiogram, between 6 and 18 years", + "RD51C": "Simple Echocardiogram, 5 years and under", + "RD60Z": "Cardiac Computerised Tomography Scan", + "RD61Z": "Colon Computerised Tomography Scan", + "RD97Z": "Same Day Diagnostic Imaging Admission or Attendance", + "RD98Z": "Admission or Attendance for Diagnostic Imaging under General Anaesthetic" + } + }, + "N": { + "description": "Nuclear Medicine Procedures", + "hrgs": { + "RN01A": "Positron Emission Tomography with Computed Tomography (PET-CT) of One Area, 19 years and over", + "RN01B": "Positron Emission Tomography with Computed Tomography (PET-CT) of One Area, between 6 and 18 years", + "RN01C": "Positron Emission Tomography with Computed Tomography (PET-CT) of One Area, 5 years and under", + "RN02A": "Positron Emission Tomography with Computed Tomography (PET-CT) of Two or Three Areas, 19 years and over", + "RN02B": "Positron Emission Tomography with Computed Tomography (PET-CT) of Two or Three Areas, 18 years and under", + "RN03A": "Positron Emission Tomography with Computed Tomography (PET-CT) of more than Three Areas, 19 years and over", + "RN03B": "Positron Emission Tomography with Computed Tomography (PET-CT) of more than Three Areas, 18 years and under", + "RN04A": "Single Photon Emission Computed Tomography with Computed Tomography (SPECT-CT) of One Area, 19 years and over", + "RN04B": "Single Photon Emission Computed Tomography with Computed Tomography (SPECT-CT) of One Area, between 6 and 18 years", + "RN04C": "Single Photon Emission Computed Tomography with Computed Tomography (SPECT-CT) of One Area, 5 years and under", + "RN05A": "Single Photon Emission Computed Tomography with Computed Tomography (SPECT-CT) of Two or Three Areas, 19 years and over", + "RN05B": "Single Photon Emission Computed Tomography with Computed Tomography (SPECT-CT) of Two or Three Areas, 18 years and under", + "RN06A": "Single Photon Emission Computed Tomography with Computed Tomography (SPECT-CT) of more than Three Areas, 19 years and over", + "RN06B": "Single Photon Emission Computed Tomography with Computed Tomography (SPECT-CT) of more than Three Areas, 18 years and under", + "RN07A": "Positron Emission Tomography (PET), 19 years and over", + "RN07B": "Positron Emission Tomography (PET), between 6 and 18 years", + "RN07C": "Positron Emission Tomography (PET), 5 years and under", + "RN08A": "Single Photon Emission Computed Tomography (SPECT), 19 years and over", + "RN08B": "Single Photon Emission Computed Tomography (SPECT), between 6 and 18 years", + "RN08C": "Single Photon Emission Computed Tomography (SPECT), 5 years and under", + "RN09Z": "Myocardial Positron Emission Tomography", + "RN10Z": "Octreotide Scan", + "RN11Z": "Dopamine Transporter Scan", + "RN12A": "Metaiodobenzylguanidine (MIBG) Scan, 19 years and over", + "RN12B": "Metaiodobenzylguanidine (MIBG) Scan, 18 years and under", + "RN13Z": "Nuclear Medicine Infection Scan or White Cell Scan", + "RN14Z": "Tauroselcholic Acid (SeHCAT) Scan", + "RN15A": "Nuclear Bone Scan of Two or Three Phases, 19 years and over", + "RN15B": "Nuclear Bone Scan of Two or Three Phases, 18 years and under", + "RN16A": "Nuclear Bone Scan of Other Phases, 19 years and over", + "RN16B": "Nuclear Bone Scan of Other Phases, between 6 and 18 years", + "RN16C": "Nuclear Bone Scan of Other Phases, 5 years and under", + "RN17A": "Hepatobiliary Nuclear Scan, 19 years and over", + "RN17B": "Hepatobiliary Nuclear Scan, 18 years and under", + "RN18A": "Lung Ventilation or Perfusion Scan, 19 years and over", + "RN18B": "Lung Ventilation or Perfusion Scan, 18 years and under", + "RN19Z": "Sentinel Lymph Node Scan", + "RN20Z": "Myocardial Perfusion Scan", + "RN21Z": "Myocardial Perfusion Scan, Stress Only", + "RN22Z": "Multi-Gated Acquisition (MUGA) Scan", + "RN23A": "Nuclear Cystography, 19 years and over", + "RN23B": "Nuclear Cystography, between 6 and 18 years", + "RN23C": "Nuclear Cystography, 5 years and under", + "RN24Z": "Parathyroid Scan", + "RN25A": "Renogram, 19 years and over", + "RN25B": "Renogram, between 6 and 18 years", + "RN25C": "Renogram, 5 years and under", + "RN26Z": "Red Cell Mass Studies", + "RN27A": "Glomerular Filtration Rate Testing, 19 years and over", + "RN27B": "Glomerular Filtration Rate Testing, between 6 and 18 years", + "RN27C": "Glomerular Filtration Rate Testing, 5 years and under", + "RN28Z": "Breath Test", + "RN29A": "Meckel's Scan, 19 years and over", + "RN29B": "Meckel's Scan, between 6 and 18 years", + "RN29C": "Meckel's Scan, 5 years and under", + "RN30A": "Dimercaptosuccinic Acid (DMSA) Scan, 19 years and over", + "RN30B": "Dimercaptosuccinic Acid (DMSA) Scan, between 6 and 18 years", + "RN30C": "Dimercaptosuccinic Acid (DMSA) Scan, 5 years and under", + "RN31Z": "Dacryoscintigraphy", + "RN32A": "Thyroid Gland Scan, 19 years and over", + "RN32B": "Thyroid Gland Scan, 18 years and under", + "RN33Z": "Other Specified Diagnostic Imaging of Digestive Tract", + "RN34A": "Other Specified Diagnostic Imaging of Other Sites, 19 years and over", + "RN34B": "Other Specified Diagnostic Imaging of Other Sites, between 6 and 18 years", + "RN34C": "Other Specified Diagnostic Imaging of Other Sites, 5 years and under", + "RN50Z": "Radiation Synovectomy", + "RN51Z": "Oral Delivery of Radiotherapy for Thyroid Ablation", + "RN52Z": "Delivery of Other Radionuclide Therapy", + "RN97Z": "Same Day Nuclear Medicine Admission or Attendance" + } + } + } + }, + "S": { + "description": "Haematology, Chemotherapy, Radiotherapy and Specialist Palliative Care", + "subchapters": { + "A": { + "description": "Haematological Procedures and Disorders", + "hrgs": { + "SA01C": "Aplastic Anaemia with Major CC", + "SA01D": "Aplastic Anaemia with CC", + "SA01E": "Aplastic Anaemia with Intermediate CC", + "SA01F": "Aplastic Anaemia without CC", + "SA01G": "Acquired Pure Red Cell Aplasia or Other Aplastic Anaemia, with CC Score 8+", + "SA01H": "Acquired Pure Red Cell Aplasia or Other Aplastic Anaemia, with CC Score 5-7", + "SA01J": "Acquired Pure Red Cell Aplasia or Other Aplastic Anaemia, with CC Score 2-4", + "SA01K": "Acquired Pure Red Cell Aplasia or Other Aplastic Anaemia, with CC Score 0-1", + "SA02D": "Coagulation Defect with CC", + "SA02F": "Coagulation Defect without CC", + "SA02G": "Coagulation Defect with CC Score 5+", + "SA02H": "Coagulation Defect with CC Score 2-4", + "SA02J": "Coagulation Defect with CC Score 0-1", + "SA03D": "Haemolytic Anaemia with CC", + "SA03F": "Haemolytic Anaemia without CC", + "SA03G": "Haemolytic Anaemia with CC Score 3+", + "SA03H": "Haemolytic Anaemia with CC Score 0-2", + "SA04C": "Iron Deficiency Anaemia with Major CC", + "SA04D": "Iron Deficiency Anaemia with CC", + "SA04E": "Iron Deficiency Anaemia with Intermediate CC", + "SA04F": "Iron Deficiency Anaemia without CC", + "SA04G": "Iron Deficiency Anaemia with CC Score 14+", + "SA04H": "Iron Deficiency Anaemia with CC Score 10-13", + "SA04J": "Iron Deficiency Anaemia with CC Score 6-9", + "SA04K": "Iron Deficiency Anaemia with CC Score 2-5", + "SA04L": "Iron Deficiency Anaemia with CC Score 0-1", + "SA05D": "Megaloblastic Anaemia with CC", + "SA05F": "Megaloblastic Anaemia without CC", + "SA05G": "Megaloblastic Anaemia with CC Score 8+", + "SA05H": "Megaloblastic Anaemia with CC Score 4-7", + "SA05J": "Megaloblastic Anaemia with CC Score 0-3", + "SA06D": "Myelodysplastic Syndrome with CC", + "SA06F": "Myelodysplastic Syndrome without CC", + "SA06G": "Myelodysplastic Syndrome with CC Score 8+", + "SA06H": "Myelodysplastic Syndrome with CC Score 5-7", + "SA06J": "Myelodysplastic Syndrome with CC Score 2-4", + "SA06K": "Myelodysplastic Syndrome with CC Score 0-1", + "SA07D": "Myeloproliferative Disorder with CC", + "SA07F": "Myeloproliferative Disorder without CC", + "SA07G": "Myeloproliferative Disorder with CC Score 7+", + "SA07H": "Myeloproliferative Disorder with CC Score 4-6", + "SA07J": "Myeloproliferative Disorder with CC Score 0-3", + "SA08C": "Other Haematological or Splenic Disorders with Major CC", + "SA08D": "Other Haematological or Splenic Disorders, with CC", + "SA08E": "Other Haematological or Splenic Disorders with Intermediate CC", + "SA08F": "Other Haematological or Splenic Disorders, without CC", + "SA08G": "Other Haematological or Splenic Disorders, with CC Score 6+", + "SA08H": "Other Haematological or Splenic Disorders, with CC Score 3-5", + "SA08J": "Other Haematological or Splenic Disorders, with CC Score 0-2", + "SA09C": "Other Red Blood Cell Disorders with Major CC", + "SA09D": "Other Red Blood Cell Disorders with CC", + "SA09E": "Other Red Blood Cell Disorders with Intermediate CC", + "SA09F": "Other Red Blood Cell Disorders without CC", + "SA09G": "Other Red Blood Cell Disorders with CC Score 14+", + "SA09H": "Other Red Blood Cell Disorders with CC Score 10-13", + "SA09J": "Other Red Blood Cell Disorders with CC Score 6-9", + "SA09K": "Other Red Blood Cell Disorders with CC Score 2-5", + "SA09L": "Other Red Blood Cell Disorders with CC Score 0-1", + "SA10D": "Sickle Cell Anaemia with CC", + "SA10E": "Sickle Cell Anaemia with Crisis, or with CC", + "SA10F": "Sickle Cell Anaemia without CC", + "SA11Z": "Thalassaemia", + "SA12D": "Thrombocytopenia with CC", + "SA12F": "Thrombocytopenia without CC", + "SA12G": "Thrombocytopenia with CC Score 8+", + "SA12H": "Thrombocytopenia with CC Score 5-7", + "SA12J": "Thrombocytopenia with CC Score 2-4", + "SA12K": "Thrombocytopenia with CC Score 0-1", + "SA13A": "Single Plasma Exchange, Leucophoresis or Red Cell Exchange, 19 years and over", + "SA13B": "Single Plasma Exchange, Leucophoresis or Red Cell Exchange, 18 years and under", + "SA13Z": "Single Plasma Exchange, Leucophoresis or Red Cell Exchange", + "SA14Z": "Plasma Exchanges, 2 to 9", + "SA15Z": "Plasma Exchanges, 10 to 19", + "SA16Z": "Plasma Exchanges, 20 or more", + "SA17C": "Malignant Disorders of Lymphatic/Haematological Systems with Major CC", + "SA17D": "Malignant Disorders of Lymphatic or Haematological Systems, with CC", + "SA17E": "Malignant Disorders of Lymphatic/Haematological systems with Intermediate CC", + "SA17F": "Malignant Disorders of Lymphatic or Haematological Systems, without CC", + "SA17G": "Malignant Disorders of Lymphatic or Haematological Systems, with CC Score 3+", + "SA17H": "Malignant Disorders of Lymphatic or Haematological Systems, with CC Score 0-2", + "SA18Z": "Bone Marrow Harvest", + "SA19A": "Bone Marrow Transplant, Autograft, 19 years and over", + "SA19B": "Bone Marrow Transplant, Autograft, 18 years and under", + "SA20A": "Bone Marrow Transplant, Allogeneic Graft (Sibling), 19 years and over", + "SA20B": "Bone Marrow Transplant, Allogeneic Graft (Sibling), 18 years and under", + "SA21A": "Bone Marrow Transplant, Allogeneic Graft (Volunteer Unrelated Donor), 19 years and over", + "SA21B": "Bone Marrow Transplant, Allogeneic Graft (Volunteer Unrelated Donor), 18 years and under", + "SA22A": "Bone Marrow Transplant, Allogeneic Graft (Cord Blood), 19 years and over", + "SA22B": "Bone Marrow Transplant, Allogeneic Graft (Cord Blood), 18 years and under", + "SA23A": "Bone Marrow Transplant, Allogeneic Graft (Haplo-Identical), 19 years and over", + "SA23B": "Bone Marrow Transplant, Allogeneic Graft (Haplo-Identical), 18 years and under", + "SA24C": "Acute Lymphoblastic Leukaemia with Major CC", + "SA24D": "Acute Lymphoblastic Leukaemia with CC", + "SA24E": "Acute Lymphoblastic Leukaemia with Intermediate CC", + "SA24F": "Acute Lymphoblastic Leukaemia without CC", + "SA24G": "Acute Lymphoblastic Leukaemia with CC Score 5+", + "SA24H": "Acute Lymphoblastic Leukaemia with CC Score 2-4", + "SA24J": "Acute Lymphoblastic Leukaemia with CC Score 0-1", + "SA25C": "Acute Myeloid Leukaemia with Major CC", + "SA25D": "Acute Myeloid Leukaemia with CC", + "SA25E": "Acute Myeloid Leukaemia with Intermediate CC", + "SA25F": "Acute Myeloid Leukaemia without CC", + "SA25G": "Acute Myeloid Leukaemia with CC Score 12+", + "SA25H": "Acute Myeloid Leukaemia with CC Score 9-11", + "SA25J": "Acute Myeloid Leukaemia with CC Score 6-8", + "SA25K": "Acute Myeloid Leukaemia with CC Score 4-5", + "SA25L": "Acute Myeloid Leukaemia with CC Score 2-3", + "SA25M": "Acute Myeloid Leukaemia with CC Score 0-1", + "SA26A": "Peripheral Blood Stem Cell Transplant, Autologous, 19 years and over", + "SA26B": "Peripheral Blood Stem Cell Transplant, Autologous, 18 years and under", + "SA27A": "Peripheral Blood Stem Cell Transplant, Syngeneic, 19 years and over", + "SA27B": "Peripheral Blood Stem Cell Transplant, Syngeneic, 18 years and under", + "SA28A": "Peripheral Blood Stem Cell Transplant, Allogeneic, 19 years and over", + "SA28B": "Peripheral Blood Stem Cell Transplant, Allogeneic, 18 years and under", + "SA30A": "Plasma Cell Disorders with CC Score 11+", + "SA30B": "Plasma Cell Disorders with CC Score 8-10", + "SA30C": "Plasma Cell Disorders with CC Score 5-7", + "SA30D": "Plasma Cell Disorders with CC Score 2-4", + "SA30E": "Plasma Cell Disorders with CC Score 0-1", + "SA30Z": "Plasma Cell Disorders", + "SA31A": "Malignant Lymphoma, including Hodgkin's and Non-Hodgkin's, with CC Score 15+", + "SA31B": "Malignant Lymphoma, including Hodgkin's and Non-Hodgkin's, with CC Score 10-14", + "SA31C": "Malignant Lymphoma, including Hodgkin's and Non-Hodgkin's, with CC Score 6-9", + "SA31D": "Malignant Lymphoma, including Hodgkin's and Non-Hodgkin's, with CC Score 4-5", + "SA31E": "Malignant Lymphoma, including Hodgkin's and Non-Hodgkin's, with CC Score 2-3", + "SA31F": "Malignant Lymphoma, including Hodgkin's and Non-Hodgkin's, with CC Score 0-1", + "SA31Z": "Malignant Lymphoma, including Hodgkin's and non-Hodgkin's", + "SA32A": "Chronic Lymphocytic Leukaemia, including Related Disorders, with CC Score 7+", + "SA32B": "Chronic Lymphocytic Leukaemia, including Related Disorders, with CC Score 5-6", + "SA32C": "Chronic Lymphocytic Leukaemia, including Related Disorders, with CC Score 3-4", + "SA32D": "Chronic Lymphocytic Leukaemia, including Related Disorders, with CC Score 0-2", + "SA32Z": "Chronic Lymphocytic Leukaemia and Related Disorders", + "SA33Z": "Diagnostic Bone Marrow Extraction", + "SA34Z": "Peripheral Blood Stem Cell Harvest", + "SA35A": "Agranulocytosis with CC Score 13+", + "SA35B": "Agranulocytosis with CC Score 9-12", + "SA35C": "Agranulocytosis with CC Score 5-8", + "SA35D": "Agranulocytosis with CC Score 2-4", + "SA35E": "Agranulocytosis with CC Score 0-1", + "SA36A": "Sickle-Cell Anaemia with Crisis, with CC Score 6+", + "SA36B": "Sickle-Cell Anaemia with Crisis, with CC Score 2-5", + "SA36C": "Sickle-Cell Anaemia with Crisis, with CC Score 0-1", + "SA37Z": "Sickle-Cell Anaemia without Crisis", + "SA38A": "Peripheral Blood Stem Cell Transplant, Allogeneic (Sibling), 19 years and over", + "SA38B": "Peripheral Blood Stem Cell Transplant, Allogeneic (Sibling), 18 years and under", + "SA39A": "Peripheral Blood Stem Cell Transplant, Allogeneic (Volunteer Unrelated Donor), 19 years and over", + "SA39B": "Peripheral Blood Stem Cell Transplant, Allogeneic (Volunteer Unrelated Donor), 18 years and under", + "SA40Z": "Peripheral Blood Stem Cell Transplant, Allogeneic (Donor Type Not Specified)", + "SA41Z": "Automated Red Cell Exchange", + "SA42Z": "Manual Red Cell Exchange", + "SA43Z": "Leucopheresis", + "SA44A": "Single Plasma Exchange or Other Intravenous Blood Transfusion, 19 years and over", + "SA44B": "Single Plasma Exchange or Other Intravenous Blood Transfusion, 18 years and under", + "SA45A": "Injection of Rh Immune Globulin or Other Blood Transfusion, 19 years and over", + "SA45B": "Injection of Rh Immune Globulin or Other Blood Transfusion, 18 years and under" + } + }, + "B": { + "description": "Chemotherapy", + "hrgs": { + "SB01Z": "Procure Chemotherapy Drugs for Regimens in Band 1", + "SB02Z": "Procure Chemotherapy Drugs for Regimens in Band 2", + "SB03Z": "Procure Chemotherapy Drugs for Regimens in Band 3", + "SB04Z": "Procure Chemotherapy Drugs for Regimens in Band 4", + "SB05Z": "Procure Chemotherapy Drugs for Regimens in Band 5", + "SB06Z": "Procure Chemotherapy Drugs for Regimens in Band 6", + "SB07Z": "Procure Chemotherapy Drugs for Regimens in Band 7", + "SB08Z": "Procure Chemotherapy Drugs for Regimens in Band 8", + "SB09Z": "Procure Chemotherapy Drugs for Regimens in Band 9", + "SB10Z": "Procure Chemotherapy Drugs for Regimens in Band 10", + "SB11Z": "Deliver Exclusively Oral Chemotherapy", + "SB12Z": "Deliver Simple Parenteral Chemotherapy at First Attendance", + "SB13Z": "Deliver more Complex Parenteral Chemotherapy at First Attendance", + "SB14Z": "Deliver Complex Chemotherapy, including Prolonged Infusional Treatment, at First Attendance", + "SB15Z": "Deliver Subsequent Elements of a Chemotherapy Cycle", + "SB16Z": "Procure Chemotherapy Drugs for Regimens not on the National List", + "SB17Z": "Deliver Chemotherapy for Regimens not on the National List", + "SB97Z": "Same Day Chemotherapy Admission or Attendance" + } + }, + "C": { + "description": "Radiotherapy", + "hrgs": { + "SC01Z": "Define volume for SXR, DXR, electron or Megavoltage Radiotherapy without imaging and with simple calculation", + "SC02Z": "Define volume for simple Radiation Therapy with imaging (Simulator, CT scanner etc) but with simple calculation and without Dosimetry", + "SC03Z": "Define volume for simple Radiation Therapy with imaging and Dosimetry", + "SC04Z": "Define volume for multiple phases of complex Radiation Therapy with imaging and Dosimetry", + "SC05Z": "Define volume for Radiation Therapy with imaging, Dosimetry and technical support e.g. mould room", + "SC06Z": "Define volume for Radiation Therapy with imaging and Intensity-modulated Radiation Therapy Dosimetry or equivalent", + "SC07Z": "Prepare for Total Body Irradiation", + "SC08Z": "Prepare for Intracavitary Radiotherapy", + "SC09Z": "Prepare for Interstitial Radiotherapy", + "SC10Z": "Other Radiotherapy Planning", + "SC21Z": "Deliver a Fraction of Treatment on a Superficial or Orthovoltage Machine", + "SC22Z": "Deliver a Fraction of Treatment on a Megavoltage Machine", + "SC23Z": "Deliver a Fraction of Complex Treatment on a Megavoltage Machine", + "SC24Z": "Deliver a Fraction of Radiotherapy on a Megavoltage Machine using General Anaesthetic", + "SC25Z": "Deliver a Fraction of Total Body Irradiation", + "SC26Z": "Deliver a Fraction of Intracavitary Radiotherapy without General Anaesthetic", + "SC27Z": "Deliver a Fraction of Intracavitary Radiotherapy with General Anaesthetic", + "SC28Z": "Deliver a Fraction of Interstitial Radiotherapy", + "SC29Z": "Other Radiotherapy Treatment", + "SC30Z": "Deliver a Fraction of Intraluminal Brachytherapy", + "SC31Z": "Deliver a Fraction of Adaptive Radiotherapy on a Megavoltage Machine", + "SC40Z": "Preparation for Intensity Modulated Radiation Therapy", + "SC41Z": "Preparation for Intensity Modulated Radiation Therapy, with Technical Support", + "SC42Z": "Preparation for Total Body Irradiation", + "SC43Z": "Preparation for Total Body Irradiation, with Technical Support", + "SC44Z": "Preparation for Hemi-Body Irradiation", + "SC45Z": "Preparation for Simple Radiotherapy with Imaging and Dosimetry", + "SC46Z": "Preparation for Simple Radiotherapy with Imaging and Dosimetry, with Technical Support", + "SC47Z": "Preparation for Simple Radiotherapy with Imaging and Simple Calculation", + "SC48Z": "Preparation for Simple Radiotherapy with Imaging and Simple Calculation, with Technical Support", + "SC49Z": "Preparation for Superficial Radiotherapy with Simple Calculation", + "SC50Z": "Preparation for Superficial Radiotherapy with Simple Calculation, with Technical Support", + "SC51Z": "Preparation for Complex Conformal Radiotherapy", + "SC52Z": "Preparation for Complex Conformal Radiotherapy, with Technical Support", + "SC53Z": "Preparation for Intraluminal Brachytherapy", + "SC54Z": "Preparation for Intracavitary Brachytherapy", + "SC55Z": "Preparation for Interstitial Brachytherapy", + "SC56Z": "Other External Beam Radiotherapy Preparation", + "SC57Z": "Other Brachytherapy Preparation", + "SC97Z": "Same Day Radiotherapy Admission or Attendance (excluding Brachytherapy)" + } + }, + "D": { + "description": "Specialist Palliative Care", + "hrgs": { + "SD01A": "Inpatient Specialist Palliative Care, 19 years and over", + "SD01B": "Inpatient Specialist Palliative Care, 18 years and under", + "SD02A": "Inpatient Specialist Palliative Care, Same Day, 19 years and over", + "SD02B": "Inpatient Specialist Palliative Care, Same Day, 18 years and under", + "SD03A": "Hospital Specialist Palliative Care Support, 19 years and over", + "SD03B": "Hospital Specialist Palliative Care Support, 18 years and under", + "SD04A": "Medical Specialist Palliative Care Attendance, 19 years and over", + "SD04B": "Medical Specialist Palliative Care Attendance, 18 years and under", + "SD05A": "Non-Medical Specialist Palliative Care Attendance, 19 years and over", + "SD05B": "Non-Medical Specialist Palliative Care Attendance, 18 years and under" + } + } + } + }, + "U": { + "description": "Undefined Groups", + "subchapters": { + "Z": { + "description": "Undefined Groups", + "hrgs": { + "UZ01Z": "Data Invalid for Grouping" + } + } + } + }, + "V": { + "description": "Multiple Trauma, Emergency Medicine and Rehabilitation", + "subchapters": { + "A": { + "description": "Multiple Trauma", + "hrgs": { + "VA01Z": "Craniotomy for Multiple Significant Trauma with Major Non-Traumatic CC", + "VA02Z": "Craniotomy for Multiple Significant Trauma", + "VA03Z": "Procedures for Multiple Significant Trauma (excl. Craniotomy) with Major Non-Traumatic CC", + "VA04Z": "Spine, Hip, Femur or Limb Procedures for Multiple Significant Trauma", + "VA05Z": "Other Procedures for Multiple Significant Trauma", + "VA06Z": "Diagnoses of Multiple Significant Trauma with Major Non-Traumatic CC", + "VA07Z": "Head, Chest and Lower Limb Diagnoses of Multiple Significant Trauma", + "VA08Z": "Other Diagnoses of Multiple Significant Trauma", + "VA10A": "Multiple Trauma with Diagnosis Score <=23, with No Interventions", + "VA10B": "Multiple Trauma with Diagnosis Score 24-32, with No Interventions", + "VA10C": "Multiple Trauma with Diagnosis Score 33-50, with No Interventions", + "VA10D": "Multiple Trauma with Diagnosis Score >=51, with No Interventions", + "VA11A": "Multiple Trauma with Diagnosis Score <=23, with Intervention Score 1-8", + "VA11B": "Multiple Trauma with Diagnosis Score 24-32, with Intervention Score 1-8", + "VA11C": "Multiple Trauma with Diagnosis Score 33-50, with Intervention Score 1-8", + "VA11D": "Multiple Trauma with Diagnosis Score >=51, with Intervention Score 1-8", + "VA12A": "Multiple Trauma with Diagnosis Score <=23, with Intervention Score 9-18", + "VA12B": "Multiple Trauma with Diagnosis Score 24-32, with Intervention Score 9-18", + "VA12C": "Multiple Trauma with Diagnosis Score 33-50, with Intervention Score 9-18", + "VA12D": "Multiple Trauma with Diagnosis Score >=51, with Intervention Score 9-18", + "VA13A": "Multiple Trauma with Diagnosis Score <=23, with Intervention Score 19-29", + "VA13B": "Multiple Trauma with Diagnosis Score 24-32, with Intervention Score 19-29", + "VA13C": "Multiple Trauma with Diagnosis Score 33-50, with Intervention Score 19-29", + "VA13D": "Multiple Trauma with Diagnosis Score >=51, with Intervention Score 19-29", + "VA14A": "Multiple Trauma with Diagnosis Score <=23, with Intervention Score 30-44", + "VA14B": "Multiple Trauma with Diagnosis Score 24-32, with Intervention Score 30-44", + "VA14C": "Multiple Trauma with Diagnosis Score 33-50, with Intervention Score 30-44", + "VA14D": "Multiple Trauma with Diagnosis Score >=51, with Intervention Score 30-44", + "VA15A": "Multiple Trauma with Diagnosis Score <=23, with Intervention Score >=45", + "VA15B": "Multiple Trauma with Diagnosis Score 24-32, with Intervention Score >=45", + "VA15C": "Multiple Trauma with Diagnosis Score 33-50, with Intervention Score >=45", + "VA15D": "Multiple Trauma with Diagnosis Score >=51, with Intervention Score >=45" + } + }, + "B": { + "description": "Emergency Medicine", + "hrgs": { + "VB01Z": "Emergency Medicine, Any Investigation with Category 5 Treatment", + "VB02Z": "Emergency Medicine, Category 3 Investigation with Category 4 Treatment", + "VB03Z": "Emergency Medicine, Category 3 Investigation with Category 1-3 Treatment", + "VB04Z": "Emergency Medicine, Category 2 Investigation with Category 4 Treatment", + "VB05Z": "Emergency Medicine, Category 2 Investigation with Category 3 Treatment", + "VB06Z": "Emergency Medicine, Category 1 Investigation with Category 3-4 Treatment", + "VB07Z": "Emergency Medicine, Category 2 Investigation with Category 2 Treatment", + "VB08Z": "Emergency Medicine, Category 2 Investigation with Category 1 Treatment", + "VB09Z": "Emergency Medicine, Category 1 Investigation with Category 1-2 Treatment", + "VB10Z": "Emergency Medicine, Dental Care", + "VB11Z": "Emergency Medicine, No Investigation with No Significant Treatment", + "VB99Z": "Emergency Medicine, Patient Dead On Arrival" + } + }, + "C": { + "description": "Rehabilitation", + "hrgs": { + "VC01Z": "Assessment for Rehabilitation, Unidisciplinary", + "VC02Z": "Assessment for Rehabilitation, Multidisciplinary, Non-Specialist", + "VC03Z": "Assessment for Rehabilitation, Multidisciplinary, Specialist", + "VC04Z": "Rehabilitation for Stroke", + "VC06Z": "Rehabilitation for Brain Injuries", + "VC08Z": "Rehabilitation for Spinal Cord Injuries", + "VC10Z": "Rehabilitation for Pain Syndromes", + "VC12Z": "Rehabilitation for Other Neurological Disorders", + "VC14Z": "Rehabilitation for Amputation of Limb", + "VC16Z": "Rehabilitation for Hip Fracture", + "VC18Z": "Rehabilitation for Joint Replacement", + "VC20Z": "Rehabilitation for Inflammatory Arthritis", + "VC22Z": "Rehabilitation for Non-Inflammatory Arthritis", + "VC24Z": "Rehabilitation for Other Musculoskeletal Disorders", + "VC26Z": "Rehabilitation for Drug or Alcohol Addiction", + "VC28Z": "Rehabilitation for Other Psychiatric Disorders", + "VC30Z": "Rehabilitation for Burns", + "VC32Z": "Rehabilitation following Head and Neck Reconstructive Surgery", + "VC34Z": "Rehabilitation following Other Reconstructive Surgery", + "VC36Z": "Rehabilitation for Other Trauma", + "VC38Z": "Rehabilitation for Acute Myocardial Infarction or Other Cardiac Disorders", + "VC40Z": "Rehabilitation for Respiratory Disorders", + "VC42Z": "Rehabilitation for Other Disorders" + } + } + } + }, + "W": { + "description": "Immunology, Infectious Diseases and other contacts with Health Services", + "subchapters": { + "A": { + "description": "Immunology, Infectious Diseases, Poisoning, Shock, Special Examinations, Screening and Other Healthcare Contacts", + "hrgs": { + "WA01W": "Manifestations of HIV or AIDS, with CC Score of 1+", + "WA01Y": "Manifestations of HIV or AIDS, with CC Score of 0", + "WA02W": "Disorders of Immunity without HIV or AIDS, with CC", + "WA02Y": "Disorders of Immunity without HIV or AIDS, without CC", + "WA02Z": "Disorders of Immunity without HIV or AIDS", + "WA03A": "Septicaemia with CC Score 4+", + "WA03B": "Septicaemia with CC Score 2-3", + "WA03C": "Septicaemia with CC Score 0-1", + "WA03V": "Septicaemia with Major CC", + "WA03X": "Septicaemia with Intermediate CC", + "WA03Y": "Septicaemia without CC", + "WA04S": "Acute Febrile Illness with length of stay 4 days or less, with Major CC", + "WA04T": "Acute Febrile Illness with length of stay 4 days or less, with Intermediate CC", + "WA04U": "Acute Febrile Illness with length of stay 4 days or less, without CC", + "WA04Z": "Acute Febrile Illness with length of stay 4 days or less", + "WA05Q": "Pyrexia of Unknown Origin with length of stay 5 days or more, with CC", + "WA05R": "Pyrexia of Unknown Origin with length of stay 5 days or more, without CC", + "WA05Z": "Pyrexia of Unknown Origin with length of stay 5 days or more", + "WA06A": "Other Viral Illness with CC Score 2+", + "WA06B": "Other Viral Illness with CC Score 1", + "WA06C": "Other Viral Illness with CC Score 0", + "WA06W": "Other Viral Illness with CC", + "WA06Y": "Other Viral Illness without CC", + "WA07Z": "Complex Infectious Diseases", + "WA08Z": "Malaria", + "WA09A": "Other Non-Viral Infections with CC Score 3+", + "WA09B": "Other Non-Viral Infections with CC Score 1-2", + "WA09C": "Other Non-Viral Infections with CC Score 0", + "WA09W": "Other Non-Viral Infection with CC", + "WA09Y": "Other Non-Viral Infection without CC", + "WA10Z": "Other Infections (Genito-Urinary Medicine)", + "WA11A": "Poisoning, Toxic, Environmental or Unspecified Effects, with CC Score 4+", + "WA11B": "Poisoning, Toxic, Environmental or Unspecified Effects, with CC Score 2-3", + "WA11C": "Poisoning, Toxic, Environmental or Unspecified Effects, with CC Score 0-1", + "WA11V": "Poisoning, Toxic, Environmental and Unspecified Effects, with Major CC", + "WA11X": "Poisoning, Toxic, Environmental and Unspecified Effects, with Intermediate CC", + "WA11Y": "Poisoning, Toxic, Environmental and Unspecified Effects, without CC", + "WA12A": "Complications of Procedures, with CC Score 3+", + "WA12B": "Complications of Procedures, with CC Score 2", + "WA12C": "Complications of Procedures, with CC Score 1", + "WA12D": "Complications of Procedures, with CC Score 0", + "WA12V": "Complications of Procedures with Major CC", + "WA12X": "Complications of Procedures with Intermediate CC", + "WA12Y": "Complications of Procedures without CC", + "WA13V": "Convalescent or other relief care with Major CC", + "WA13X": "Convalescent or other relief care with Intermediate CC", + "WA13Y": "Convalescent or other relief care without CC", + "WA14A": "Procedure Not Carried Out for Medical or Patient Reasons", + "WA14B": "Procedure Not Carried Out for Other or Unspecified Reasons", + "WA14Z": "Planned Procedures Not Carried Out", + "WA15A": "Respite Care with length of stay 9 days or more", + "WA15B": "Respite Care with length of stay between 5 and 8 days", + "WA15K": "Respite Care with length of stay 9 days or more, with Major CC", + "WA15L": "Respite Care with length of stay 9 days or more, with Intermediate CC", + "WA15M": "Respite Care with length of stay 9 days or more, without CC", + "WA15N": "Respite Care with length of stay between 5 and 8 days, with Major CC", + "WA15O": "Respite Care with length of stay between 5 and 8 days, with Intermediate CC", + "WA15P": "Respite Care with length of stay between 5 and 8 days, without CC", + "WA15S": "Respite Care length of stay 4 days or less with Major CC", + "WA15T": "Respite Care length of stay 4 days or less with Intermediate CC", + "WA15U": "Respite Care length of stay 4 days or less without CC", + "WA15V": "Respite Care with length of stay 4 days or less", + "WA16W": "Shock or Anaphylaxis, with CC Score of 1+", + "WA16Y": "Shock or Anaphylaxis, with CC Score of 0", + "WA17A": "Neoplasm Related Admission with CC Score 3+", + "WA17B": "Neoplasm Related Admission with CC Score 2", + "WA17C": "Neoplasm Related Admission with CC Score 1", + "WA17D": "Neoplasm Related Admission with CC Score 0", + "WA17V": "Other Admissions Related to Neoplasms with Major CC", + "WA17X": "Other Admissions Related to Neoplasms with Intermediate CC", + "WA17Y": "Other Admissions Related to Neoplasms without CC", + "WA18A": "Admission for Unexplained Symptoms with Interventions, with CC Score 2+", + "WA18B": "Admission for Unexplained Symptoms with Interventions, with CC Score 0-1", + "WA18C": "Admission for Unexplained Symptoms without Interventions, with CC Score 5+", + "WA18D": "Admission for Unexplained Symptoms without Interventions, with CC Score 3-4", + "WA18E": "Admission for Unexplained Symptoms without Interventions, with CC Score 1-2", + "WA18F": "Admission for Unexplained Symptoms without Interventions, with CC Score 0", + "WA18V": "Admission for Unexplained Symptoms with Major CC", + "WA18X": "Admission for Unexplained Symptoms with Intermediate CC", + "WA18Y": "Admission for Unexplained Symptoms without CC", + "WA19W": "Abnormal Findings without Diagnosis, with CC", + "WA19Y": "Abnormal Findings without Diagnosis, without CC", + "WA19Z": "Abnormal Findings without Diagnosis", + "WA20W": "Examination, Follow-up or Special Screening, with CC", + "WA20Y": "Examination, Follow-up or Special Screening, without CC", + "WA20Z": "Examination, Follow-Up or Special Screening", + "WA21W": "Other Procedures or Health Care Problems, with CC", + "WA21Y": "Other Procedures or Health Care Problems, without CC", + "WA21Z": "Other Procedures or Health Care Problems", + "WA22A": "Other Specified Admissions or Counselling, with CC Score 4+", + "WA22B": "Other Specified Admissions or Counselling, with CC Score 2-3", + "WA22C": "Other Specified Admissions or Counselling, with CC Score 0-1", + "WA22V": "Other Specified Admissions or Counselling, with Major CC", + "WA22X": "Other Specified Admissions or Counselling, with Intermediate CC", + "WA22Y": "Other Specified Admissions or Counselling, without CC", + "WA23A": "Falls without Specific Cause, with CC Score 4+", + "WA23B": "Falls without Specific Cause, with CC Score 2-3", + "WA23C": "Falls without Specific Cause, with CC Score 0-1", + "WA23V": "Falls without Specific Cause, with Major CC", + "WA23X": "Falls without Specific Cause, with Intermediate CC", + "WA23Y": "Falls without Specific Cause, without CC", + "WA24A": "Procedures on the Lymphatic System with CC Score 1+", + "WA24B": "Procedures on the Lymphatic System with CC Score 0", + "WA24Z": "Procedures on the Lymphatic System" + } + }, + "D": { + "description": "Treatment of Mental Health Patients by Non-Mental Health Service Providers", + "hrgs": { + "WD01Z": "Delirium, treated by a Non-Specialist Mental Health Service Provider", + "WD02Z": "Alzheimers Disease or Dementia, treated by a Non-Specialist Mental Health Service Provider", + "WD03Z": "Personality Disorders, treated by a Non-Specialist Mental Health Service Provider", + "WD04Z": "Behavioural Syndromes, treated by a Non-Specialist Mental Health Service Provider", + "WD05Z": "Neurotic, Stress-Related or Somatoform Disorders, treated by a Non-Specialist Mental Health Service Provider", + "WD06Z": "Mood Affective Disorders, treated by a Non-Specialist Mental Health Service Provider", + "WD07Z": "Schizophrenia, Schizotypal or Delusional Disorders, treated by a Non-Specialist Mental Health Service Provider", + "WD08Z": "Mental and Behavioural Disorders Due to Drug or Alcohol Use, treated by a Non-Specialist Mental Health Service Provider", + "WD09Z": "Other Mental Health Disorders, treated by a Non-Specialist Mental Health Service Provider", + "WD11Z": "All patients 70 years and older with a Mental Health Primary Diagnosis, treated by a Non-Specialist Mental Health Service Provider", + "WD22Z": "All patients between 19 and 69 years with a Mental Health Primary Diagnosis, treated by a Non-Specialist Mental Health Service Provider", + "WD33Z": "All patients 18 years and younger with a Mental Health Primary Diagnosis, treated by a Non-Specialist Mental Health Service Provider" + } + }, + "F": { + "description": "Non-admitted Consultations", + "hrgs": { + "WF01A": "Non-Admitted Face-to-Face Attendance, Follow-up", + "WF01B": "Non-Admitted Face-to-Face Attendance, First", + "WF01C": "Non-Admitted Non-Face-to-Face Attendance, Follow-up", + "WF01D": "Non-Admitted Non-Face-to-Face Attendance, First", + "WF02A": "Multiprofessional Non-Admitted Face-to-Face Attendance, Follow-up", + "WF02B": "Multiprofessional Non-Admitted Face-to-Face Attendance, First", + "WF02C": "Multiprofessional Non-Admitted Non-Face-to-Face Attendance, Follow-up", + "WF02D": "Multiprofessional Non-Admitted Non-Face-to-Face Attendance, First" + } + }, + "H": { + "description": "Poisoning, Toxic Effects, Special Examinations, Screening and Other Healthcare Contacts", + "hrgs": { + "WH01A": "Transplant Failure and Rejection, with Multiple Interventions", + "WH01B": "Transplant Failure and Rejection, with Single Intervention", + "WH01C": "Transplant Failure and Rejection, without Interventions, with CC Score 2+", + "WH01D": "Transplant Failure and Rejection, without Interventions, with CC Score 0-1", + "WH02Z": "Toxic Effect of Contact with Venomous Animal", + "WH03A": "Toxic Effect of Other Substance with CC Score 2+", + "WH03B": "Toxic Effect of Other Substance with CC Score 0-1", + "WH04A": "Poisoning Diagnosis with Multiple Interventions", + "WH04B": "Poisoning Diagnosis with Single Intervention, with CC Score 2+", + "WH04C": "Poisoning Diagnosis with Single Intervention, with CC Score 0-1", + "WH04D": "Poisoning Diagnosis without Interventions, with CC Score 2+", + "WH04E": "Poisoning Diagnosis without Interventions, with CC Score 0-1", + "WH05Z": "Allergy or Adverse Allergic Reaction", + "WH06Z": "Environmental Effects", + "WH07A": "Infections or Other Complications of Procedures, with Multiple Interventions, with CC Score 2+", + "WH07B": "Infections or Other Complications of Procedures, with Multiple Interventions, with CC Score 0-1", + "WH07C": "Infections or Other Complications of Procedures, with Single Intervention, with CC Score 2+", + "WH07D": "Infections or Other Complications of Procedures, with Single Intervention, with CC Score 0-1", + "WH07E": "Infections or Other Complications of Procedures, without Interventions, with CC Score 4+", + "WH07F": "Infections or Other Complications of Procedures, without Interventions, with CC Score 2-3", + "WH07G": "Infections or Other Complications of Procedures, without Interventions, with CC Score 0-1", + "WH08A": "Unspecified Pain with CC Score 1+", + "WH08B": "Unspecified Pain with CC Score 0", + "WH09A": "Tendency to Fall, Senility or Other Conditions Affecting Cognitive Functions, with Multiple Interventions", + "WH09B": "Tendency to Fall, Senility or Other Conditions Affecting Cognitive Functions, with Single Intervention, with CC Score 3+", + "WH09C": "Tendency to Fall, Senility or Other Conditions Affecting Cognitive Functions, with Single Intervention, with CC Score 0-2", + "WH09D": "Tendency to Fall, Senility or Other Conditions Affecting Cognitive Functions, without Interventions, with CC Score 6+", + "WH09E": "Tendency to Fall, Senility or Other Conditions Affecting Cognitive Functions, without Interventions, with CC Score 4-5", + "WH09F": "Tendency to Fall, Senility or Other Conditions Affecting Cognitive Functions, without Interventions, with CC Score 2-3", + "WH09G": "Tendency to Fall, Senility or Other Conditions Affecting Cognitive Functions, without Interventions, with CC Score 0-1", + "WH10A": "Unspecified Oedema with CC Score 2+", + "WH10B": "Unspecified Oedema with CC Score 0-1", + "WH11A": "Hypothermia, Frostbite or Other Effects of Reduced Temperature, with CC Score 2+", + "WH11B": "Hypothermia, Frostbite or Other Effects of Reduced Temperature, with CC Score 0-1", + "WH12A": "Signs or Symptoms, Involving Appearance or Behaviour, with CC Score 2+", + "WH12B": "Signs or Symptoms, Involving Appearance or Behaviour, with CC Score 0-1", + "WH13A": "Abnormal Findings without Diagnosis, with Interventions", + "WH13B": "Abnormal Findings without Diagnosis, without Interventions, with CC Score 1+", + "WH13C": "Abnormal Findings without Diagnosis, without Interventions, with CC Score 0", + "WH14A": "Other or Unspecified Neoplasm, with Interventions, with CC Score 2+", + "WH14B": "Other or Unspecified Neoplasm, with Interventions, with CC Score 0-1", + "WH14C": "Other or Unspecified Neoplasm, without Interventions, with CC Score 2+", + "WH14D": "Other or Unspecified Neoplasm, without Interventions, with CC Score 0-1", + "WH15Z": "Special Screening, Examinations or Other Genetic Disorders", + "WH16A": "Observation or Counselling, with CC Score 1+", + "WH16B": "Observation or Counselling, with CC Score 0", + "WH17A": "Admission Related to Social Factors with Interventions", + "WH17B": "Admission Related to Social Factors without Interventions, with CC Score 1+", + "WH17C": "Admission Related to Social Factors without Interventions, with CC Score 0", + "WH18A": "Admission Related to the, Fitting, Adjustment or Management of Device, with Interventions", + "WH18B": "Admission Related to the, Fitting, Adjustment or Management of Device, without Interventions", + "WH19Z": "Potential Health Hazard Related to Communicable Diseases", + "WH20A": "Respite Care with length of stay 9 days or more", + "WH20B": "Respite Care with length of stay between 5 and 8 days", + "WH20C": "Respite Care with length of stay 4 days or less", + "WH21A": "Acute Alcohol Intoxication with CC Score 3+", + "WH21B": "Acute Alcohol Intoxication with CC Score 0-2", + "WH22Z": "Acute Drug Intoxication", + "WH23Z": "Acute Combined Drug Intoxication", + "WH50A": "Procedure Not Carried Out, for Medical or Patient Reasons", + "WH50B": "Procedure Not Carried Out, for Other or Unspecified Reasons", + "WH51Z": "Admission Related to Donation, of Organ or Tissue", + "WH52A": "Follow-up Examination for Malignant Neoplasm, with Interventions", + "WH52B": "Follow-up Examination for Malignant Neoplasm, without Interventions", + "WH53A": "Follow-up Examination for Other Conditions, with Interventions", + "WH53B": "Follow-up Examination for Other Conditions, without Interventions", + "WH54A": "Procedures on the Lymphatic System with CC Score 1+", + "WH54B": "Procedures on the Lymphatic System with CC Score 0" + } + }, + "J": { + "description": "Infectious Diseases and Immune System Disorders", + "hrgs": { + "WJ01A": "Complex Infectious Diseases with Multiple Interventions", + "WJ01B": "Complex Infectious Diseases with Single Intervention", + "WJ01C": "Complex Infectious Diseases without Interventions, with CC Score 6+", + "WJ01D": "Complex Infectious Diseases without Interventions, with CC Score 3-5", + "WJ01E": "Complex Infectious Diseases without Interventions, with CC Score 0-2", + "WJ02A": "Major Infectious Diseases with Multiple Interventions", + "WJ02B": "Major Infectious Diseases with Single Intervention", + "WJ02C": "Major Infectious Diseases without Interventions, with CC Score 6+", + "WJ02D": "Major Infectious Diseases without Interventions, with CC Score 3-5", + "WJ02E": "Major Infectious Diseases without Interventions, with CC Score 0-2", + "WJ03A": "Standard Infectious Diseases with Multiple Interventions", + "WJ03B": "Standard Infectious Diseases with Single Intervention, with CC Score 4+", + "WJ03C": "Standard Infectious Diseases with Single Intervention, with CC Score 0-3", + "WJ03D": "Standard Infectious Diseases without Interventions, with CC Score 7+", + "WJ03E": "Standard Infectious Diseases without Interventions, with CC Score 4-6", + "WJ03F": "Standard Infectious Diseases without Interventions, with CC Score 2-3", + "WJ03G": "Standard Infectious Diseases without Interventions, with CC Score 0-1", + "WJ04Z": "Genito-Urinary Medicine (GUM) Infections", + "WJ05A": "Septic Shock with CC Score 5+", + "WJ05B": "Septic Shock with CC Score 0-4", + "WJ06A": "Sepsis with Multiple Interventions, with CC Score 9+", + "WJ06B": "Sepsis with Multiple Interventions, with CC Score 5-8", + "WJ06C": "Sepsis with Multiple Interventions, with CC Score 0-4", + "WJ06D": "Sepsis with Single Intervention, with CC Score 9+", + "WJ06E": "Sepsis with Single Intervention, with CC Score 5-8", + "WJ06F": "Sepsis with Single Intervention, with CC Score 0-4", + "WJ06G": "Sepsis without Interventions, with CC Score 9+", + "WJ06H": "Sepsis without Interventions, with CC Score 5-8", + "WJ06J": "Sepsis without Interventions, with CC Score 0-4", + "WJ07A": "Fever of Unknown Origin with Interventions, with CC Score 4+", + "WJ07B": "Fever of Unknown Origin with Interventions, with CC Score 0-3", + "WJ07C": "Fever of Unknown Origin without Interventions, with CC Score 4+", + "WJ07D": "Fever of Unknown Origin without Interventions, with CC Score 0-3", + "WJ10A": "HIV Disease with Multiple Interventions", + "WJ10B": "HIV Disease with Single Intervention, with CC Score 5+", + "WJ10C": "HIV Disease with Single Intervention, with CC Score 0-4", + "WJ10D": "HIV Disease without Interventions, with CC Score 5+", + "WJ10E": "HIV Disease without Interventions, with CC Score 2-4", + "WJ10F": "HIV Disease without Interventions, with CC Score 0-1", + "WJ11Z": "Other Disorders of Immunity" + } + } + } + }, + "X": { + "description": "Critical Care and High Cost Drugs", + "subchapters": { + "A": { + "description": "Neonatal Critical Care", + "hrgs": { + "XA01Z": "Neonatal Critical Care, Intensive Care", + "XA02Z": "Neonatal Critical Care, High Dependency", + "XA03Z": "Neonatal Critical Care, Special Care, without External Carer", + "XA04Z": "Neonatal Critical Care, Special Care, with External Carer", + "XA05Z": "Neonatal Critical Care, Normal Care", + "XA06Z": "Neonatal Critical Care, Transportation" + } + }, + "B": { + "description": "Paediatric Critical Care", + "hrgs": { + "XB01Z": "Paediatric Critical Care, Advanced Critical Care 5", + "XB02Z": "Paediatric Critical Care, Advanced Critical Care 4", + "XB03Z": "Paediatric Critical Care, Advanced Critical Care 3", + "XB04Z": "Paediatric Critical Care, Advanced Critical Care 2", + "XB05Z": "Paediatric Critical Care, Advanced Critical Care 1", + "XB06Z": "Paediatric Critical Care, Intermediate Critical Care", + "XB07Z": "Paediatric Critical Care, Basic Critical Care", + "XB08Z": "Paediatric Critical Care, Transportation", + "XB09Z": "Paediatric Critical Care, Enhanced Care" + } + }, + "C": { + "description": "Adult Critical Care", + "hrgs": { + "XC01Z": "Adult Critical Care, 6 or more Organs Supported", + "XC02Z": "Adult Critical Care, 5 Organs Supported", + "XC03Z": "Adult Critical Care, 4 Organs Supported", + "XC04Z": "Adult Critical Care, 3 Organs Supported", + "XC05Z": "Adult Critical Care, 2 Organs Supported", + "XC06Z": "Adult Critical Care, 1 Organ Supported", + "XC07Z": "Adult Critical Care, 0 Organs Supported" + } + }, + "D": { + "description": "High Cost Drugs", + "hrgs": { + "XD01Z": "Pulmonary Arterial Hypertension Drugs, Band 1", + "XD02Z": "Pulmonary Arterial Hypertension Drugs, Band 2", + "XD03Z": "Pulmonary Arterial Hypertension Drugs, Band 3", + "XD04Z": "Pulmonary Arterial Hypertension Drugs, Band 4", + "XD05Z": "Blood Products, Band 1", + "XD06Z": "Blood Products, Band 2", + "XD07Z": "Fibrinolytic Drugs, Band 1", + "XD08Z": "Medical Gases, Band 1", + "XD09Z": "Torsion Dystonias and Other Involuntary Movements Drugs, Band 1", + "XD10Z": "Amyotrophic Lateral Sclerosis Drugs, Band 1", + "XD11Z": "Antifungal Drugs, Band 1", + "XD12Z": "Antifungal Drugs, Band 2", + "XD13Z": "Hepatitis B Treatment Drugs, Band 1", + "XD14Z": "Respiratory Syncytial Virus Treatment and Hepatitis C Treatment Drugs, Band 1", + "XD15Z": "Respiratory Syncytial Virus Prevention Drugs, Band 1", + "XD16Z": "Growth Hormone Receptor Antagonist Drugs, Band 1", + "XD17Z": "Growth Hormone Analogue Drugs, Band 1", + "XD18Z": "Bone Metabolism Drugs, Band 1", + "XD19Z": "Monoclonal Antibodies, Band 1", + "XD20Z": "Monoclonal Antibodies, Band 2", + "XD21Z": "Immunomodulating Drugs, Band 1", + "XD22Z": "Somatostatin Analogues, Band 1", + "XD23Z": "Hypoplastic Haemolytic and Renal Anaemia Drugs, Band 1", + "XD24Z": "Hypoplastic Haemolytic and Renal Anaemia Drugs, Band 2", + "XD25Z": "Neutropenia Drugs, Band 1", + "XD26Z": "Intravenous Nutrition, Band 1", + "XD27Z": "Metabolic Disorder Drugs, Band 1", + "XD28Z": "Metabolic Disorder Drugs, Band 2", + "XD29Z": "Metabolic Disorder Drugs, Band 3", + "XD30Z": "Metabolic Disorder Drugs, Band 4", + "XD31Z": "Cytokine Inhibitor Drugs, Band 1", + "XD32Z": "Hyperuricaemia Drugs, Band 1", + "XD33Z": "Immune Response Drugs, Band 1", + "XD34Z": "Immunoglobulins, Band 1", + "XD35Z": "Other specified high cost drugs", + "XD36Z": "Unspecified high cost drugs", + "XD37Z": "Pulmonary Surfactant Drugs, Band 1", + "XD38Z": "Antiretroviral Drugs, Band 1", + "XD39Z": "Mucolytic Drugs, Band 1", + "XD40Z": "Hypnotic Drugs, Band 1", + "XD41Z": "Analgesic Drugs, Band 1", + "XD42Z": "Cytomegalovirus Drugs, Band 1", + "XD43Z": "Platelet Disorder Drugs, Band 1", + "XD44Z": "Protein Tyrosine Kinase Inhibitors, Band 1", + "XD45Z": "Bone Morphogenetic Proteins, Band 1", + "XD46Z": "Subfoveal Choroidal Neovascularisation Drugs, Band 1", + "XD47Z": "Neurodegenerative Condition Drugs, Band 1", + "XD48Z": "Vasopressin Antagonist Drugs, Band 1", + "XD49Z": "Allergic Emergency Drugs, Band 1", + "XD50Z": "Myelodysplastic Syndrome Drugs, Band 1", + "XD51Z": "Allergen Immunotherapy Drugs, Band 1", + "XD52Z": "Poison Management Drugs, Band 1", + "XD53Z": "Neuromuscular Disorder Drugs, Band 1", + "XD54Z": "Soft Tissue Disorder Drugs, Band 1", + "XD55Z": "Macular Oedema Drugs, Band 1", + "XD56Z": "Retinal Disorder Drugs, Band 1", + "XD57Z": "Skin Condition Drugs, Band 1", + "XD58Z": "Antibacterial Drugs, Band 1", + "XD90Z": "Cancer Hormonal Treatment Drugs, Band 1", + "XD91Z": "Cancer Supportive Drugs, Band 1" + } + } + } + }, + "Y": { + "description": "Vascular Procedures and Disorders and Imaging Interventions", + "subchapters": { + "A": { + "description": "Neurological Imaging Interventions", + "hrgs": { + "YA01Z": "Percutaneous Transluminal Embolisation of, Single Giant or Three or more Other, Intracranial or Extracranial Aneurysms", + "YA02A": "Percutaneous Transluminal Embolisation of, Single Large or Two Other, Intracranial or Extracranial Aneurysms, with CC Score 4+", + "YA02B": "Percutaneous Transluminal Embolisation of, Single Large or Two Other, Intracranial or Extracranial Aneurysms, with CC Score 0-3", + "YA03A": "Percutaneous Transluminal Embolisation of, Single Small or Medium, Intracranial or Extracranial Aneurysm, with CC Score 8+", + "YA03B": "Percutaneous Transluminal Embolisation of, Single Small or Medium, Intracranial or Extracranial Aneurysm, with CC Score 4-7", + "YA03C": "Percutaneous Transluminal Embolisation of, Single Small or Medium, Intracranial or Extracranial Aneurysm, with CC Score 0-3", + "YA04Z": "Percutaneous Transluminal Embolisation of Intracranial Arteriovenous Malformation", + "YA10Z": "Percutaneous Transluminal Angioplasty, including Stenting, of Intracranial or Extracranial Blood Vessel", + "YA11Z": "Percutaneous Transluminal Arteriography, of Intracranial or Extracranial Blood Vessel", + "YA12Z": "Percutaneous Transluminal Other Procedures on, Intracranial or Extracranial Blood Vessel", + "YA13Z": "Percutaneous Transluminal, Embolectomy or Thrombolysis, of Intracranial or Extracranial Blood Vessel" + } + }, + "C": { + "description": "Head and Neck Imaging Interventions", + "hrgs": { + "YC01Z": "Image Guided Core Needle Biopsy of Lesion of Neck", + "YC02Z": "Image Guided Fine Needle Aspiration of Lesion of Neck", + "YC10Z": "Percutaneous Therapeutic Neck Procedures" + } + }, + "D": { + "description": "Thoracic Imaging Interventions", + "hrgs": { + "YD01Z": "Percutaneous Ablation of Lesion of Respiratory Tract", + "YD02Z": "Percutaneous Biopsy of Lesion of Pleura", + "YD03Z": "Percutaneous Biopsy of Lesion of, Lung or Mediastinum", + "YD04Z": "Percutaneous Drainage of Pleural Cavity", + "YD05Z": "Percutaneous Aspiration of Pleural Cavity" + } + }, + "F": { + "description": "Gastrointestinal Imaging Interventions", + "hrgs": { + "YF01A": "Radiological Insertion of Gastrostomy Tube, 19 years and over", + "YF01B": "Radiological Insertion of Gastrostomy Tube, 18 years and under", + "YF02Z": "Radiological Insertion of, Gastrojejunostomy or Jejunostomy Tube", + "YF03A": "Percutaneous Multiple Drainage of Abdominal Abscess, with CC Score 5+", + "YF03B": "Percutaneous Multiple Drainage of Abdominal Abscess, with CC Score 0-4", + "YF04A": "Percutaneous Single Drainage of Abdominal Abscess, with CC Score 5+", + "YF04B": "Percutaneous Single Drainage of Abdominal Abscess, with CC Score 2-4", + "YF04C": "Percutaneous Single Drainage of Abdominal Abscess, with CC Score 0-1", + "YF05Z": "Percutaneous Biopsy of Abdominal Cavity" + } + }, + "G": { + "description": "Hepatobiliary and Pancreatic Imaging Interventions", + "hrgs": { + "YG01A": "Percutaneous Ablation of Lesion of, Liver or Pancreas, with CC Score 2+", + "YG01B": "Percutaneous Ablation of Lesion of, Liver or Pancreas, with CC Score 0-1", + "YG02Z": "Percutaneous Insertion of Multiple Stents, into Hepatic or Bile Ducts", + "YG03A": "Percutaneous Insertion of Single Stent, into Hepatic or Bile Duct, with Drainage, with CC Score 4+", + "YG03B": "Percutaneous Insertion of Single Stent, into Hepatic or Bile Duct, with Drainage, with CC Score 0-3", + "YG04A": "Percutaneous Insertion of Single Metal Stent, into Hepatic or Bile Duct, With CC Score 4+", + "YG04B": "Percutaneous Insertion of Single Metal Stent, into Hepatic or Bile Duct, With CC Score 0-3", + "YG05A": "Percutaneous Insertion of Single Other Stent, into Hepatic or Bile Duct, With CC Score 4+", + "YG05B": "Percutaneous Insertion of Single Other Stent, into Hepatic or Bile Duct, With CC Score 0-3", + "YG06Z": "Percutaneous Drainage of Hepatobiliary System", + "YG07A": "Other Percutaneous Therapeutic, Hepatobiliary or Pancreatic Procedures, with CC Score 3+", + "YG07B": "Other Percutaneous Therapeutic, Hepatobiliary or Pancreatic Procedures, with CC Score 0-2", + "YG10Z": "Percutaneous Transvascular Biopsy of Lesion of Liver", + "YG11A": "Percutaneous Punch Biopsy of Lesion of Liver, 19 years and over", + "YG11B": "Percutaneous Punch Biopsy of Lesion of Liver, 18 years and under", + "YG12Z": "Other Percutaneous Diagnostic, Hepatobiliary or Pancreatic Procedures" + } + }, + "H": { + "description": "Musculoskeletal Imaging Interventions", + "hrgs": { + "YH01Z": "Percutaneous Vertebroplasty of, Three or More Levels of Spine", + "YH02Z": "Percutaneous Vertebroplasty of Two Levels of Spine", + "YH03Z": "Percutaneous Vertebroplasty of One Level of Spine", + "YH10Z": "Image Guided Biopsy of Extradural Spinal Lesion", + "YH20Z": "Percutaneous Ablation of Lesion of Bone", + "YH30A": "Percutaneous Aspiration of Joint, 19 years and over", + "YH30B": "Percutaneous Aspiration of Joint, 18 years and under", + "YH30Z": "Image Guided Aspiration of Joint", + "YH31A": "Percutaneous Biopsy of Lesion of Bone, 19 years and over", + "YH31B": "Percutaneous Biopsy of Lesion of Bone, 18 years and under", + "YH31Z": "Image Guided Biopsy of Lesion of Bone", + "YH32A": "Percutaneous Biopsy of, Lesion of Muscle or Connective Tissue, 19 years and over", + "YH32B": "Percutaneous Biopsy of, Lesion of Muscle or Connective Tissue, 18 years and under", + "YH32Z": "Image Guided Biopsy of, Lesion of Muscle or Connective Tissue" + } + }, + "J": { + "description": "Breast Imaging Interventions", + "hrgs": { + "YJ01Z": "Bilateral Core Needle Biopsy of Lesions of Breasts", + "YJ02Z": "Unilateral Core Needle Biopsy of Lesion of Breast", + "YJ03Z": "Core Needle Biopsy of Lesion of Breast and Associated Lymph Nodes", + "YJ04Z": "Core Needle Biopsy of Axillary Lymph Nodes", + "YJ05Z": "Bilateral Fine Needle Aspiration of Lesions of Breasts", + "YJ06Z": "Unilateral Fine Needle Aspiration of Lesion of Breast", + "YJ07Z": "Fine Needle Aspiration of Lesion of Breast and Associated Lymph Nodes", + "YJ08Z": "Fine Needle Aspiration Cytology of Axillary Lymph Nodes", + "YJ09Z": "Vacuum Assisted Biopsy of Lesion of Breast", + "YJ10Z": "Wire Guided Biopsy of Lesion of Breast", + "YJ11Z": "Drainage of Lesion of Breast, including Associated Lymph Nodes", + "YJ12Z": "Insertion of, Wire or Marker, for Localisation of Breast Lesion", + "YJ13Z": "Ultrasound Guided Core Needle Biopsy of Lesion of Breast", + "YJ14Z": "Stereotactic Core Needle Biopsy of Lesion of Breast", + "YJ15Z": "Fine Needle Aspiration of Lesion of Breast" + } + }, + "L": { + "description": "Urological Imaging Interventions", + "hrgs": { + "YL01Z": "Percutaneous Cryoablation of Lesion of Kidney", + "YL02Z": "Percutaneous, Microwave or Radiofrequency Ablation, of Lesion of Kidney", + "YL10Z": "Bilateral or Multiple, Percutaneous Insertion of, Ureteric Stent or Nephrostomy", + "YL11Z": "Unilateral, Percutaneous Insertion of, Ureteric Stent or Nephrostomy", + "YL12Z": "Percutaneous, Attention to or Removal of, Ureteric Stent or Nephrostomy", + "YL20A": "Percutaneous Needle Biopsy of Lesion of Kidney, 19 years and over", + "YL20B": "Percutaneous Needle Biopsy of Lesion of Kidney, 18 years and under", + "YL21Z": "Other Percutaneous Urinary Tract Procedures", + "YL30Z": "Percutaneous Ablation of Lesion of Prostate" + } + }, + "Q": { + "description": "Vascular Open Procedures and Disorders", + "hrgs": { + "YQ01A": "Multiple or Revisional, Open Repair of, Abdominal or Thoracoabdominal Aortic Aneurysm, with CC Score 6+", + "YQ01B": "Multiple or Revisional, Open Repair of, Abdominal or Thoracoabdominal Aortic Aneurysm, with CC Score 0-5", + "YQ02Z": "Open Repair of Thoracoabdominal Aortic Aneurysm", + "YQ03A": "Open Repair of Abdominal Aortic Aneurysm with CC Score 6+", + "YQ03B": "Open Repair of Abdominal Aortic Aneurysm with CC Score 0-5", + "YQ04A": "Multiple Open Procedures, on Aorta or Abdominal Blood Vessels, with CC Score 4+", + "YQ04B": "Multiple Open Procedures, on Aorta or Abdominal Blood Vessels, with CC Score 0-3", + "YQ05A": "Single Open Procedure, on Aorta or Abdominal Blood Vessel, with CC Score 4+", + "YQ05B": "Single Open Procedure, on Aorta or Abdominal Blood Vessel, with CC Score 0-3", + "YQ06Z": "Open Repair of Thoracoabdominal Aortic Aneurysm", + "YQ07A": "Open Repair of Suprarenal Aortic Aneurysm, with CC Score 7+", + "YQ07B": "Open Repair of Suprarenal Aortic Aneurysm, with CC Score 0-6", + "YQ08A": "Complex Open Repair of Abdominal Aortic Aneurysm with CC Score 7+", + "YQ08B": "Complex Open Repair of Abdominal Aortic Aneurysm with CC Score 0-6", + "YQ09A": "Standard Open Repair of Abdominal Aortic Aneurysm with CC Score 7+", + "YQ09B": "Standard Open Repair of Abdominal Aortic Aneurysm with CC Score 4-6", + "YQ09C": "Standard Open Repair of Abdominal Aortic Aneurysm with CC Score 0-3", + "YQ10A": "Multiple Open Procedures on Blood Vessels of Lower Limbs with CC Score 11+", + "YQ10B": "Multiple Open Procedures on Blood Vessels of Lower Limbs with CC Score 7-10", + "YQ10C": "Multiple Open Procedures on Blood Vessels of Lower Limbs with CC Score 4-6", + "YQ10D": "Multiple Open Procedures on Blood Vessels of Lower Limbs with CC Score 0-3", + "YQ11A": "Single Open Procedure on Blood Vessel of Lower Limb with Imaging Intervention, with CC Score 7+", + "YQ11B": "Single Open Procedure on Blood Vessel of Lower Limb with Imaging Intervention, with CC Score 4-6", + "YQ11C": "Single Open Procedure on Blood Vessel of Lower Limb with Imaging Intervention, with CC Score 0-3", + "YQ12A": "Single Open Procedure on Blood Vessel of Lower Limb with CC Score 11+", + "YQ12B": "Single Open Procedure on Blood Vessel of Lower Limb with CC Score 7-10", + "YQ12C": "Single Open Procedure on Blood Vessel of Lower Limb with CC Score 4-6", + "YQ12D": "Single Open Procedure on Blood Vessel of Lower Limb with CC Score 0-3", + "YQ13A": "Bypass to Tibial Arteries with CC Score 7+", + "YQ13B": "Bypass to Tibial Arteries with CC Score 0-6", + "YQ14Z": "Open Treatment of, Primary or Recurrent, Bilateral Varicose Veins", + "YQ15Z": "Open Treatment of Recurrent Unilateral Varicose Veins", + "YQ16Z": "Open Treatment of Primary Unilateral Varicose Veins", + "YQ20A": "Amputation of Multiple Limbs with CC Score 10+", + "YQ20B": "Amputation of Multiple Limbs with CC Score 0-9", + "YQ21A": "Amputation of Single Limb with Other Blood Vessel Procedure, with CC Score 10+", + "YQ21B": "Amputation of Single Limb with Other Blood Vessel Procedure, with CC Score 0-9", + "YQ22A": "Amputation of Single Limb with CC Score 10+", + "YQ22B": "Amputation of Single Limb with CC Score 0-9", + "YQ23A": "Multiple, Amputation Stump or Partial Foot Amputation Procedures, for Diabetes or Arterial Disease, with CC Score 8+", + "YQ23B": "Multiple, Amputation Stump or Partial Foot Amputation Procedures, for Diabetes or Arterial Disease, with CC Score 0-7", + "YQ24A": "Single, Amputation Stump or Partial Foot Amputation Procedure, for Diabetes or Arterial Disease, with Other Open Blood Vessel Procedure, with CC Score 8+", + "YQ24B": "Single, Amputation Stump or Partial Foot Amputation Procedure, for Diabetes or Arterial Disease, with Other Open Blood Vessel Procedure, with CC Score 0-7", + "YQ25A": "Single, Amputation Stump or Partial Foot Amputation Procedure, for Diabetes or Arterial Disease, with Imaging Intervention, with CC Score 8+", + "YQ25B": "Single, Amputation Stump or Partial Foot Amputation Procedure, for Diabetes or Arterial Disease, with Imaging Intervention, with CC Score 0-7", + "YQ26A": "Single, Amputation Stump or Partial Foot Amputation Procedure, for Diabetes or Arterial Disease, with CC Score 8+", + "YQ26B": "Single, Amputation Stump or Partial Foot Amputation Procedure, for Diabetes or Arterial Disease, with CC Score 5-7", + "YQ26C": "Single, Amputation Stump or Partial Foot Amputation Procedure, for Diabetes or Arterial Disease, with CC Score 0-4", + "YQ30Z": "Multiple Open Procedures, on Carotid Artery or Blood Vessels of Upper Limbs", + "YQ31A": "Single Open Procedure on Carotid Artery with CC Score 5+", + "YQ31B": "Single Open Procedure on Carotid Artery with CC Score 0-4", + "YQ32A": "Single Open Procedure, on Blood Vessel or Upper Limb with CC Score 5+", + "YQ32B": "Single Open Procedure, on Blood Vessel or Upper Limb with CC Score 0-4", + "YQ40Z": "Sympathectomy", + "YQ41A": "Open Operations, on Other or Unspecified Blood Vessels, with CC Score 2+", + "YQ41B": "Open Operations, on Other or Unspecified Blood Vessels, with CC Score 0-1", + "YQ41Z": "Open Operations on Other or Unspecified Blood Vessels", + "YQ42Z": "Open Arteriovenous Fistula, Graft or Shunt Procedures", + "YQ43Z": "Biopsy of Temporal Artery", + "YQ50A": "Peripheral Vascular Disorders with CC Score 15+", + "YQ50B": "Peripheral Vascular Disorders with CC Score 11-14", + "YQ50C": "Peripheral Vascular Disorders with CC Score 8-10", + "YQ50D": "Peripheral Vascular Disorders with CC Score 5-7", + "YQ50E": "Peripheral Vascular Disorders with CC Score 2-4", + "YQ50F": "Peripheral Vascular Disorders with CC Score 0-1", + "YQ51A": "Deep Vein Thrombosis with CC Score 12+", + "YQ51B": "Deep Vein Thrombosis with CC Score 9-11", + "YQ51C": "Deep Vein Thrombosis with CC Score 6-8", + "YQ51D": "Deep Vein Thrombosis with CC Score 3-5", + "YQ51E": "Deep Vein Thrombosis with CC Score 0-2" + } + }, + "R": { + "description": "Vascular Imaging Interventions", + "hrgs": { + "YR01Z": "Complex Endovascular Repair of, Thoracic or Thoracoabdominal Aortic Aneurysm", + "YR02Z": "Endovascular Repair of, Thoracic or Thoracoabdominal Aortic Aneurysm", + "YR03Z": "Complex Endovascular Repair of Abdominal Aortic Aneurysm", + "YR04Z": "Endovascular Repair of Abdominal Aortic Aneurysm", + "YR10A": "Percutaneous Transluminal Angioplasty of Multiple Blood Vessels with CC Score 6+", + "YR10B": "Percutaneous Transluminal Angioplasty of Multiple Blood Vessels with CC Score 3-5", + "YR10C": "Percutaneous Transluminal Angioplasty of Multiple Blood Vessels with CC Score 0-2", + "YR11A": "Percutaneous Transluminal Angioplasty of Single Blood Vessel with CC Score 9+", + "YR11B": "Percutaneous Transluminal Angioplasty of Single Blood Vessel with CC Score 6-8", + "YR11C": "Percutaneous Transluminal Angioplasty of Single Blood Vessel with CC Score 3-5", + "YR11D": "Percutaneous Transluminal Angioplasty of Single Blood Vessel with CC Score 0-2", + "YR12Z": "Percutaneous Transluminal Angioplasty with Insertion of Stent Graft into Peripheral Blood Vessel", + "YR13Z": "Percutaneous Transluminal Angioplasty with Insertion of, Drug-Eluting, Coated or Embolic Protection Stent, into Peripheral Blood Vessel", + "YR14A": "Percutaneous Transluminal Angioplasty with Insertion of Multiple Metal Stents into Peripheral Blood Vessels, with CC Score 3+", + "YR14B": "Percutaneous Transluminal Angioplasty with Insertion of Multiple Metal Stents into Peripheral Blood Vessels, with CC Score 0-2", + "YR15A": "Percutaneous Transluminal Angioplasty with Insertion of Single Metal Stent into Peripheral Blood Vessel, with CC Score 6+", + "YR15B": "Percutaneous Transluminal Angioplasty with Insertion of Single Metal Stent into Peripheral Blood Vessel, with CC Score 3-5", + "YR15C": "Percutaneous Transluminal Angioplasty with Insertion of Single Metal Stent into Peripheral Blood Vessel, with CC Score 0-2", + "YR16A": "Transjugular Intrahepatic Creation of Portosystemic Shunt with CC Score 6+", + "YR16B": "Transjugular Intrahepatic Creation of Portosystemic Shunt with CC Score 0-5", + "YR20Z": "Percutaneous Transluminal Embolisation of Aneurysm of Blood Vessel", + "YR21A": "Percutaneous Transluminal Embolisation of Blood Vessel with CC Score 3+", + "YR21B": "Percutaneous Transluminal Embolisation of Blood Vessel with CC Score 0-2", + "YR22A": "Inferior Vena Cava Filter Procedures with CC Score 7+", + "YR22B": "Inferior Vena Cava Filter Procedures with CC Score 3-6", + "YR22C": "Inferior Vena Cava Filter Procedures with CC Score 0-2", + "YR23A": "Percutaneous Transluminal, Embolectomy or Thrombolysis, of Blood Vessel, with CC Score 5+", + "YR23B": "Percutaneous Transluminal, Embolectomy or Thrombolysis, of Blood Vessel, with CC Score 0-4", + "YR24A": "Percutaneous Transluminal Other Procedures on Blood Vessel with CC Score 2+", + "YR24B": "Percutaneous Transluminal Other Procedures on Blood Vessel with CC Score 0-1", + "YR24C": "Percutaneous Transluminal Other Procedures on Blood Vessel with CC Score 4+", + "YR24D": "Percutaneous Transluminal Other Procedures on Blood Vessel with CC Score 0-3", + "YR25Z": "Arteriography", + "YR26Z": "Venography", + "YR30Z": "Percutaneous Transluminal, Laser or Radiofrequency Ablation, of Bilateral Varicose Veins", + "YR31Z": "Percutaneous Transluminal, Laser or Radiofrequency Ablation, of Unilateral Varicose Veins", + "YR32Z": "Sclerotherapy of Bilateral Varicose Veins", + "YR33Z": "Sclerotherapy of Unilateral Varicose Veins", + "YR40A": "Insertion of Non-Tunnelled Central Venous Catheter, 19 years and over", + "YR40B": "Insertion of Non-Tunnelled Central Venous Catheter, 18 years and under", + "YR40C": "Insertion of Non-Tunnelled Central Venous Catheter, between 6 and 18 years", + "YR40D": "Insertion of Non-Tunnelled Central Venous Catheter, 5 years and under", + "YR41A": "Insertion of Tunnelled Central Venous Catheter, 19 years and over", + "YR41B": "Insertion of Tunnelled Central Venous Catheter, 18 years and under", + "YR42A": "Peripheral Insertion of Central Venous Catheter, 19 years and over", + "YR42B": "Peripheral Insertion of Central Venous Catheter, 18 years and under", + "YR42C": "Peripheral Insertion of Central Venous Catheter, between 6 and 18 years", + "YR42D": "Peripheral Insertion of Central Venous Catheter, 5 years and under", + "YR43A": "Attention to Central Venous Catheter, 19 years and over", + "YR43B": "Attention to Central Venous Catheter, 18 years and under", + "YR43C": "Attention to Central Venous Catheter, between 6 and 18 years", + "YR43D": "Attention to Central Venous Catheter, 5 years and under", + "YR44A": "Removal of Central Venous Catheter, 19 years and over", + "YR44B": "Removal of Central Venous Catheter, 18 years and under", + "YR44C": "Removal of Central Venous Catheter, between 6 and 18 years", + "YR44D": "Removal of Central Venous Catheter, 5 years and under", + "YR45A": "Insertion of Subcutaneous Port, 19 years and over", + "YR45B": "Insertion of Subcutaneous Port, 18 years and under", + "YR45Z": "Insertion of Subcutaneous Port", + "YR46Z": "Attention to Subcutaneous Port", + "YR47Z": "Removal of Subcutaneous Port", + "YR48Z": "Attention to Arteriovenous Fistula, Graft or Shunt", + "YR50Z": "Percutaneous Transluminal Embolisation of, Single Giant or Three or more Other, Peripheral Aneurysms", + "YR51Z": "Percutaneous Transluminal Embolisation of, Single Large or Two Other, Peripheral Aneurysms", + "YR52A": "Percutaneous Transluminal Embolisation of, Single Small or Medium, Peripheral Aneurysm, with CC Score 4+", + "YR52B": "Percutaneous Transluminal Embolisation of, Single Small or Medium, Peripheral Aneurysm, with CC Score 0-3", + "YR53Z": "Percutaneous Transluminal Embolisation of Peripheral Arteriovenous Malformation", + "YR54A": "Percutaneous Transluminal Embolisation of Peripheral Blood Vessel with CC Score 6+", + "YR54B": "Percutaneous Transluminal Embolisation of Peripheral Blood Vessel with CC Score 3-5", + "YR54C": "Percutaneous Transluminal Embolisation of Peripheral Blood Vessel with CC Score 0-2", + "YR55Z": "Uterine Artery Embolisation", + "YR56Z": "Varicocele Embolisation", + "YR57Z": "Percutaneous, Chemoembolisation or Radioembolisation, of Lesion of Liver", + "YR58Z": "Injection Sclerotherapy of Peripheral Arteriovenous Malformation", + "YR59Z": "Prostate Artery Embolisation", + "YR60Z": "Complex Endovascular Repair of Thoracoabdominal Aortic Aneurysm using Branched Stent Graft", + "YR61Z": "Standard Endovascular Repair of Thoracoabdominal Aortic Aneurysm using Branched Stent Graft", + "YR62A": "Complex Endovascular Repair of Thoracoabdominal Aortic Aneurysm using Fenestrated Stent Graft, with CC Score 6+", + "YR62B": "Complex Endovascular Repair of Thoracoabdominal Aortic Aneurysm using Fenestrated Stent Graft, with CC Score 0-5", + "YR63A": "Standard Endovascular Repair of Thoracoabdominal Aortic Aneurysm using Fenestrated Stent Graft, with CC Score 6+", + "YR63B": "Standard Endovascular Repair of Thoracoabdominal Aortic Aneurysm using Fenestrated Stent Graft, with CC Score 0-5", + "YR64A": "Complex Endovascular Repair of Thoracic Aortic Aneurysm, with CC Score 6+", + "YR64B": "Complex Endovascular Repair of Thoracic Aortic Aneurysm, with CC Score 0-5", + "YR65A": "Standard Endovascular Repair of Thoracic Aortic Aneurysm, with CC Score 6+", + "YR65B": "Standard Endovascular Repair of Thoracic Aortic Aneurysm, with CC Score 0-5", + "YR66A": "Complex Endovascular Repair of Abdominal Aortic Aneurysm, with CC Score 6+", + "YR66B": "Complex Endovascular Repair of Abdominal Aortic Aneurysm, with CC Score 0-5", + "YR67A": "Standard Endovascular Repair of Abdominal Aortic Aneurysm, with CC Score 6+", + "YR67B": "Standard Endovascular Repair of Abdominal Aortic Aneurysm, with CC Score 0-5" + } + }, + "Z": { + "description": "Other Imaging Interventions", + "hrgs": { + "YZ01Z": "Urological Imaging Interventions", + "YZ02Z": "Hepatobiliary Imaging Interventions", + "YZ03Z": "Gastrointestinal Imaging Interventions", + "YZ04Z": "Thoracic Imaging Interventions", + "YZ05Z": "Lymphatic Imaging Interventions", + "YZ06Z": "Neurological Imaging Interventions", + "YZ07Z": "Obstetric or Gynaecological Imaging Interventions", + "YZ08Z": "Uterine Fibroid Embolisation" + } + } + } + } +} \ No newline at end of file diff --git a/src/nhp/data/raw_data/outpatients.py b/src/nhp/data/raw_data/outpatients.py index a639572..217bacb 100644 --- a/src/nhp/data/raw_data/outpatients.py +++ b/src/nhp/data/raw_data/outpatients.py @@ -1,19 +1,20 @@ """Generate outpatients data""" -from databricks.connect import DatabricksSession +from pyspark.sql import DataFrame, SparkSession +from pyspark.sql import functions as F +from pyspark.sql.types import * # noqa: F403 +from nhp.data.get_spark import get_spark from nhp.data.nhp_datasets.icbs import add_main_icb, icb_mapping from nhp.data.nhp_datasets.local_authorities import local_authority_successors from nhp.data.nhp_datasets.providers import read_data_with_provider from nhp.data.raw_data.helpers import add_age_group_column, add_tretspef_grouped_column -from pyspark.sql import DataFrame, SparkSession -from pyspark.sql import functions as F -from pyspark.sql.types import * # noqa: F403 +from nhp.data.table_names import table_names def get_outpatients_data(spark: SparkSession) -> DataFrame: """Get Outpatients Data""" - df = read_data_with_provider(spark, "hes.silver.opa") + df = read_data_with_provider(spark, table_names.hes_opa) # Calculate icb column df = df.withColumn( @@ -40,11 +41,11 @@ def get_outpatients_data(spark: SparkSession) -> DataFrame: # convert local authorities to current df = local_authority_successors(spark, df, "resladst_ons") - df_primary_diagnosis = spark.read.table("hes.silver.opa_diagnoses").filter( + df_primary_diagnosis = spark.read.table(table_names.hes_opa_diagnoses).filter( F.col("diag_order") == 1 ) - df_primary_procedure = spark.read.table("hes.silver.opa_procedures").filter( + df_primary_procedure = spark.read.table(table_names.hes_opa_procedures).filter( F.col("procedure_order") == 1 ) @@ -159,11 +160,11 @@ def generate_outpatients_data(spark: SparkSession) -> None: hes_opa_ungrouped.write.partitionBy("fyear", "provider") .mode("overwrite") .option("mergeSchema", "true") - .saveAsTable("nhp.raw_data.opa") + .saveAsTable(table_names.raw_data_opa) ) def main() -> None: """main method""" - spark = DatabricksSession.builder.getOrCreate() + spark = get_spark() generate_outpatients_data(spark) diff --git a/src/nhp/data/raw_data/outpatients_mitigators.py b/src/nhp/data/raw_data/outpatients_mitigators.py index 3497827..4f9a5b3 100644 --- a/src/nhp/data/raw_data/outpatients_mitigators.py +++ b/src/nhp/data/raw_data/outpatients_mitigators.py @@ -2,15 +2,16 @@ from functools import reduce -from databricks.connect import DatabricksSession - from pyspark.sql import DataFrame, SparkSession from pyspark.sql import functions as F from pyspark.sql.types import * # noqa: F403 +from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names + def get_outpatients_mitigators(spark: SparkSession) -> DataFrame: - df = spark.read.table("nhp.raw_data.opa") + df = spark.read.table(table_names.raw_data_opa) op_strategies = [ # Follow-up reduction @@ -52,11 +53,11 @@ def generate_outpatients_mitigators(spark: SparkSession) -> None: .write.partitionBy("fyear", "provider") .mode("overwrite") .option("mergeSchema", "true") - .saveAsTable("nhp.raw_data.opa_mitigators") + .saveAsTable(table_names.raw_data_opa_mitigators) ) def main() -> None: """main method""" - spark = DatabricksSession.builder.getOrCreate() + spark = get_spark() generate_outpatients_mitigators(spark) diff --git a/src/nhp/data/reference/day_procedures.py b/src/nhp/data/reference/day_procedures.py index b834f1c..05c76c0 100644 --- a/src/nhp/data/reference/day_procedures.py +++ b/src/nhp/data/reference/day_procedures.py @@ -4,17 +4,18 @@ import sys import pyspark.sql.functions as F -from databricks.connect import DatabricksSession from pyspark.sql import DataFrame, SparkSession from scipy.stats import binomtest +from nhp.data.get_spark import get_spark from nhp.data.nhp_datasets.apc import hes_apc from nhp.data.nhp_datasets.providers import read_data_with_provider +from nhp.data.table_names import table_names def _get_procedures(spark: SparkSession, table_name: str) -> DataFrame: return ( - spark.read.table(f"hes.silver.{table_name}_procedures") + spark.read.table(table_name) .filter(F.col("procedure_order") == 1) .filter(~F.col("procedure_code").rlike("^O(1[1-46]|28|3[01346]|4[2-8]|5[23])")) .filter(~F.col("procedure_code").rlike("^X[6-9]")) @@ -46,7 +47,7 @@ def get_day_procedure_code_list( P_OCCASIONALLY = 0.05 providers = ( - spark.read.table("nhp.reference.ods_trusts") + spark.read.table(table_names.reference_ods_trusts) .filter(F.col("org_type").startswith("ACUTE")) .select(F.col("org_to").alias("provider")) .distinct() @@ -58,7 +59,7 @@ def get_day_procedure_code_list( op = ( # TODO: replicating logic from outpatients. not DRY. # but, cannot use nhp.raw_data.opa as this table needs to created before - read_data_with_provider(spark, "hes.silver.opa") + read_data_with_provider(spark, table_names.hes_opa) .filter(F.col("sex").isin(["1", "2"])) .filter(F.isnotnull("apptage")) # end of todo @@ -71,7 +72,7 @@ def get_day_procedure_code_list( ) df_op = ( - _get_procedures(spark, "opa") + _get_procedures(spark, table_names.hes_opa_procedures) .join(op, on=["fyear", "procode3", "attendkey"], how="semi") .groupBy("procedure_code") .agg(F.count("attendkey").alias("op")) @@ -85,7 +86,7 @@ def get_day_procedure_code_list( ) df_ip = ( - _get_procedures(spark, "apc") + _get_procedures(spark, table_names.hes_apc_procedures) .join(ip, on=["fyear", "procode3", "epikey"], how="inner") .withColumn( "type", F.when(F.col("classpat") == "1", F.lit("ip")).otherwise("dc") @@ -158,17 +159,16 @@ def get_day_procedure_code_list( } -def create_day_procedure_code_list( - spark: SparkSession, path: str, base_year: int -) -> None: +def create_day_procedure_code_list(spark: SparkSession, base_year: int) -> None: day_procedure_code_list = get_day_procedure_code_list(spark, base_year) - with open(path, "w", encoding="UTF-8") as f: + with open( + table_names.reference_day_procedures_code_list, "w", encoding="UTF-8" + ) as f: json.dump(day_procedure_code_list, f) def main(): - spark = DatabricksSession.builder.getOrCreate() - path = sys.argv[1] - base_year = int(sys.argv[2]) - create_day_procedure_code_list(spark, path, base_year) + spark = get_spark() + base_year = int(sys.argv[1]) + create_day_procedure_code_list(spark, base_year) diff --git a/src/nhp/data/reference/get_rtt_year_end_incompletes.py b/src/nhp/data/reference/get_rtt_year_end_incompletes.py deleted file mode 100644 index 134586b..0000000 --- a/src/nhp/data/reference/get_rtt_year_end_incompletes.py +++ /dev/null @@ -1,93 +0,0 @@ -import sys -from datetime import date -from io import BytesIO - -import pandas as pd -import requests -from bs4 import BeautifulSoup - - -def _base_page(year: int) -> str: - # fyear as a string yyyy-zz - fyear = f"{year}-{(year + 1) % 100}" - - path = ["statistics"] - if year > 2014: - path.append("statistical-work-areas") - if year != 2014: - path.append("rtt-waiting-times") - - return f"https://www.england.nhs.uk/{'/'.join(path)}/rtt-data-{fyear}/" - - -def _clean_tretspef(t): - if "X01" in t: - return "Other" - elif "X02" in t: - return "Other (Medical)" - elif "X03" in t: - return "Other" # "Other (Mental Health)" - elif "X04" in t: - return "Other" # "Other (Paediatric)" - elif "X05" in t: - return "Other (Surgical)" - elif "X06" in t: - return "Other" - elif "999" in t: - return "Total" - else: - return t.removeprefix("C_").removeprefix("IP") - - -def _get_march_incomplete(year: int) -> pd.DataFrame: - url = _base_page(year) - - response = requests.get(url) - response.raise_for_status() - - soup = BeautifulSoup(response.content, "html.parser") - mar_url = next( - a["href"] for a in soup.find_all("a") if "Incomplete Provider Mar" in a.text - ) - - response = requests.get(mar_url) - response.raise_for_status() - - provider_code_col = "Provider Code" if year > 2012 else "Org Code" - - df = ( - pd.read_excel(BytesIO(response.content), skiprows=13, sheet_name="Provider") - .assign(date=date(year + 1, 3, 31)) - .rename( - columns={ - provider_code_col: "procode3", - "Treatment Function Code": "tretspef", - "Total number of incomplete pathways": "n", - } - ) - ) - - df["tretspef"] = df["tretspef"].apply(_clean_tretspef) - - return ( - df.query("tretspef != 'total'") - .groupby(["date", "procode3", "tretspef"], as_index=False)["n"] - .sum() - ) - - -def get_rtt(save_path: str, start_year: int, end_year: int) -> None: - df = pd.concat([_get_march_incomplete(i) for i in range(start_year, end_year)]) - - df.to_parquet(f"{save_path}/rtt_year_end_incompletes.parquet") - - -def init() -> None: - path = sys.argv[1] - start_year = int(sys.argv[2]) - end_year = int(sys.argv[3]) - get_rtt(path, start_year, end_year) - - -if __name__ == "__main__": - init() diff --git a/src/nhp/data/reference/icb_catchments.py b/src/nhp/data/reference/icb_catchments.py index 092c88c..4c83b2a 100644 --- a/src/nhp/data/reference/icb_catchments.py +++ b/src/nhp/data/reference/icb_catchments.py @@ -6,6 +6,7 @@ from pyspark.sql import DataFrame, SparkSession from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names def get_icb_catchments(spark: SparkSession) -> DataFrame: @@ -55,7 +56,7 @@ def get_icb_catchments(spark: SparkSession) -> DataFrame: if not features: break all_features.extend(features) - params["resultOffset"] += len(features) + params["resultOffset"] += len(features) # ty: ignore[unsupported-operator] lad_icb_lsoa_counts = defaultdict(lambda: defaultdict(lambda: 0)) icb_la_pcnts = [] @@ -82,9 +83,9 @@ def create_icb_catchments(spark: SparkSession) -> None: """ df = get_icb_catchments(spark) - df.write.mode("overwrite").saveAsTable("icb_catchments") + df.write.mode("overwrite").saveAsTable(table_names.reference_icb_catchments) def main(): - spark = get_spark("reference") + spark = get_spark() create_icb_catchments(spark) diff --git a/src/nhp/data/reference/ods_trusts.py b/src/nhp/data/reference/ods_trusts.py index bc0d116..912dc90 100644 --- a/src/nhp/data/reference/ods_trusts.py +++ b/src/nhp/data/reference/ods_trusts.py @@ -31,6 +31,7 @@ from pyspark.dbutils import DBUtils from nhp.data.get_spark import get_spark +from nhp.data.table_names import table_names def download_ods_full_archive(api_key: str) -> ET.Element: @@ -256,16 +257,16 @@ def get_ods_trusts_and_current_successors(api_key: str) -> pd.DataFrame: def main(): - spark = get_spark("reference") + spark = get_spark() dbutils = DBUtils(spark) API_KEY = dbutils.secrets.get(scope="nhp", key="trud_api_key") ods_df = get_ods_trusts_and_current_successors(API_KEY) trust_types = spark.read.parquet( - "/Volumes/nhp/reference/files/trust_types.parquet" + table_names.reference_trust_types ).withColumnRenamed("org_code", "org_to") df = spark.createDataFrame(ods_df).join(trust_types, "org_to", "left") - df.write.mode("overwrite").saveAsTable("ods_trusts") + df.write.mode("overwrite").saveAsTable(table_names.reference_ods_trusts) diff --git a/src/nhp/data/reference/population_by_imd_decile.py b/src/nhp/data/reference/population_by_imd_decile.py index d273e71..6ea75d3 100644 --- a/src/nhp/data/reference/population_by_imd_decile.py +++ b/src/nhp/data/reference/population_by_imd_decile.py @@ -1,9 +1,13 @@ """Create Population by IMD Decile""" -from databricks.connect import DatabricksSession +import sys + from pyspark.sql import SparkSession, Window from pyspark.sql import functions as F -import sys + +from nhp.data.get_spark import get_spark +from nhp.data.nhp_datasets.apc import hes_apc +from nhp.data.table_names import table_names def create_population_by_imd_decile( @@ -17,7 +21,7 @@ def create_population_by_imd_decile( :type base_year: int, optional """ - df = spark.read.table("nhp.default.apc").drop("age_group") + df = hes_apc # create age group lookups age_groups = spark.createDataFrame( @@ -31,7 +35,7 @@ def create_population_by_imd_decile( # cheat to get lsoa->msoa lookup lsoa_to_msoa = ( - spark.read.table("hes.silver.apc") + spark.read.table(table_names.hes_apc) .select("lsoa11", "msoa11") .filter(F.col("lsoa11").startswith("E")) .filter(F.col("lsoa11") != "E99999999") @@ -40,9 +44,7 @@ def create_population_by_imd_decile( ) pop = ( - spark.read.csv( - "/Volumes/strategyunit/reference/files/sape22_pop_by_lsoa.csv", header=True - ) + spark.read.csv(table_names.reference_pop_by_lsoa, header=True) .withColumn("age", F.col("age").cast("int")) .withColumn("imd19", F.col("imd19").cast("int")) .withColumnRenamed("lsoa11cd", "lsoa11") @@ -60,7 +62,7 @@ def create_population_by_imd_decile( .filter(F.col("admimeth").startswith("1")) .join(age_groups, "age") .groupBy("lsoa11", "icb", "provider", "age_group", "sex") - .agg(F.countDistinct("person_id").alias("n")) + .agg(F.countDistinct("person_id_deid").alias("n")) .persist() ) @@ -79,11 +81,11 @@ def create_population_by_imd_decile( df_pop_msoa.orderBy("icb", "provider", "imd19").write.option( "mergeSchema", "true" - ).mode("overwrite").saveAsTable("nhp.reference.population_by_imd_decile") + ).mode("overwrite").saveAsTable(table_names.reference_population_by_imd_decile) def main() -> None: """main method""" - spark = DatabricksSession.builder.getOrCreate() + spark = get_spark() base_year = int(sys.argv[1]) create_population_by_imd_decile(spark, base_year=base_year) diff --git a/src/nhp/data/reference/provider_catchments.py b/src/nhp/data/reference/provider_catchments.py index eb94c00..76f7e68 100644 --- a/src/nhp/data/reference/provider_catchments.py +++ b/src/nhp/data/reference/provider_catchments.py @@ -1,10 +1,11 @@ """Create Provider Catchments""" -from databricks.connect import DatabricksSession from pyspark.sql import DataFrame, SparkSession, Window from pyspark.sql import functions as F +from nhp.data.get_spark import get_spark from nhp.data.nhp_datasets.apc import hes_apc +from nhp.data.table_names import table_names def get_provider_catchments(spark: SparkSession) -> DataFrame: @@ -17,7 +18,7 @@ def get_provider_catchments(spark: SparkSession) -> DataFrame: total_window = Window.partitionBy("fyear", "resladst_ons", "age", "sex") providers = ( - spark.read.table("nhp.reference.ods_trusts") + spark.read.table(table_names.reference_ods_trusts) .filter(F.col("org_type").startswith("ACUTE")) .select("org_to") .distinct() @@ -42,9 +43,9 @@ def create_provider_catchments(spark: SparkSession) -> None: """ df = get_provider_catchments(spark) - df.write.mode("overwrite").saveAsTable("nhp.reference.provider_catchments") + df.write.mode("overwrite").saveAsTable(table_names.reference_provider_catchments) def main(): - spark: SparkSession = DatabricksSession.builder.getOrCreate() + spark = get_spark() create_provider_catchments(spark) diff --git a/src/nhp/data/reference/provider_main_icb.py b/src/nhp/data/reference/provider_main_icb.py index ec3a759..cbc2f18 100644 --- a/src/nhp/data/reference/provider_main_icb.py +++ b/src/nhp/data/reference/provider_main_icb.py @@ -4,6 +4,7 @@ from pyspark.sql import functions as F from nhp.data.nhp_datasets.apc import hes_apc +from nhp.data.table_names import table_names def generate_provider_main_icb() -> None: @@ -22,7 +23,9 @@ def generate_provider_main_icb() -> None: .withColumnRenamed("icb", "main_icb") ) - main_icbs.write.mode("overwrite").saveAsTable("nhp.reference.provider_main_icb") + main_icbs.write.mode("overwrite").saveAsTable( + table_names.reference_provider_main_icb + ) def main(): diff --git a/src/nhp/data/reference/trust_types.py b/src/nhp/data/reference/trust_types.py index 4c52727..005d5e7 100644 --- a/src/nhp/data/reference/trust_types.py +++ b/src/nhp/data/reference/trust_types.py @@ -16,6 +16,8 @@ import requests from bs4 import BeautifulSoup +from nhp.data.table_names import table_names + BASE_URL = "https://digital.nhs.uk" @@ -83,7 +85,7 @@ def get_trust_types() -> pd.DataFrame: def create_trust_types_parquet(path: str) -> None: - get_trust_types().to_parquet(f"{path}/trust_types.parquet") + get_trust_types().to_parquet(table_names.reference_trust_types) def init() -> None: diff --git a/src/nhp/data/table_names.py b/src/nhp/data/table_names.py new file mode 100644 index 0000000..6dae3c4 --- /dev/null +++ b/src/nhp/data/table_names.py @@ -0,0 +1,173 @@ +from dataclasses import dataclass + +# TODO: this should be set via an environment variable or similar when deploying asset bundles +environment = "mlcsu" # mlcsu / udal + + +@dataclass +class TableNames: + # -------------------------------------------------------------------------- + # hes tables + # -------------------------------------------------------------------------- + hes_aae: str + hes_aae_diagnoses: str + hes_aae_investigations: str + hes_aae_treatments: str + # --- + hes_apc: str + hes_apc_procedures: str + hes_apc_diagnoses: str + # --- + hes_ecds: str + # --- + hes_opa: str + hes_opa_procedures: str + hes_opa_diagnoses: str + # -------------------------------------------------------------------------- + # population projections tables + # -------------------------------------------------------------------------- + population_projections_save_path: str + population_projections_births: str + population_projections_demographics: str + # -------------------------------------------------------------------------- + # reference tables + # -------------------------------------------------------------------------- + reference_ccg_to_icb: str + reference_icb_catchments: str + reference_icd10_codes: str + reference_ods_trusts: str + reference_population_by_imd_decile: str + reference_provider_catchments: str + reference_provider_main_icb: str + reference_tretspef_grouping: str + # TODO: convert these to tables + reference_day_procedures_code_list: str + reference_frailty_risk_scores: str + reference_lad11_to_lad23_lookup: str + reference_lsoa11_to_imd19: str + reference_pop_by_lsoa: str + reference_population_by_year: str + reference_trust_types: str + # -------------------------------------------------------------------------- + # raw data + # -------------------------------------------------------------------------- + raw_data_apc: str + raw_data_apc_mitigators: str + raw_data_ecds: str + raw_data_opa: str + raw_data_opa_mitigators: str + # -------------------------------------------------------------------------- + # aggregated data + # -------------------------------------------------------------------------- + aggregated_data_ecds: str + aggregated_data_opa: str + # -------------------------------------------------------------------------- + # inputs data + # -------------------------------------------------------------------------- + inputs_catchments: str + inputs_save_path: str + # -------------------------------------------------------------------------- + # default data + # -------------------------------------------------------------------------- + default_apc: str + default_apc_mitigators: str + default_ecds: str + default_opa: str + default_hsa_activity_tables_provider: str + default_hsa_activity_tables_icb: str + default_hsa_activity_tables_national: str + default_inequalities: str + # -------------------------------------------------------------------------- + # model data + # -------------------------------------------------------------------------- + model_data_path: str + # -------------------------------------------------------------------------- + + +table_names: TableNames +match environment: + case "mlcsu": + table_names = TableNames( + # -------------------------------------------------------------------------- + # hes tables + # -------------------------------------------------------------------------- + hes_aae="hes.silver.aae", + hes_aae_diagnoses="hes.silver.aae_diagnoses", + hes_aae_investigations="hes.silver.aae_investigations", + hes_aae_treatments="hes.silver.aae_treatments", + # --- + hes_apc="hes.silver.apc", + hes_apc_procedures="hes.silver.apc_procedures", + hes_apc_diagnoses="hes.silver.apc_diagnoses", + # --- + hes_ecds="hes.silver.ecds", + # --- + hes_opa="hes.silver.opa", + hes_opa_procedures="hes.silver.opa_procedures", + hes_opa_diagnoses="hes.silver.opa_diagnoses", + # -------------------------------------------------------------------------- + # population projections tables + # -------------------------------------------------------------------------- + population_projections_save_path="/Volumes/nhp/population_projections/files", + population_projections_births="nhp.population_projections.births", + population_projections_demographics="nhp.population_projections.demographics", + # -------------------------------------------------------------------------- + # reference tables + # -------------------------------------------------------------------------- + reference_ccg_to_icb="strategyunit.reference.ccg_to_icb", + reference_icb_catchments="nhp.reference.icb_catchments", + reference_icd10_codes="strategyunit.reference.icd10_codes", + reference_ods_trusts="nhp.reference.ods_trusts", + reference_population_by_imd_decile="nhp.reference.population_by_imd_decile", + reference_provider_catchments="nhp.reference.provider_catchments", + reference_provider_main_icb="nhp.reference.provider_main_icb", + reference_tretspef_grouping="nhp.reference.tretspef_grouping", + # --- + reference_day_procedures_code_list="/Volumes/nhp/reference/files/day_procedures.json", + reference_frailty_risk_scores="/Volumes/nhp/reference/files/frailty_risk_scores.csv", + reference_lad11_to_lad23_lookup="/Volumes/nhp/reference/files/lad11_to_lad23_lookup.csv", + reference_lsoa11_to_imd19="strategyunit.reference.lsoa11_to_imd19", + reference_pop_by_lsoa="/Volumes/strategyunit/reference/files/sape22_pop_by_lsoa.csv", + reference_population_by_year="/Volumes/nhp/reference/files/population_by_year.parquet", + reference_trust_types="/Volumes/nhp/reference/files/trust_types.parquet", + # -------------------------------------------------------------------------- + # raw data + # -------------------------------------------------------------------------- + raw_data_apc="nhp.raw_data.apc", + raw_data_apc_mitigators="nhp.raw_data.apc_mitigators", + raw_data_ecds="nhp.raw_data.ecds", + raw_data_opa="nhp.raw_data.opa", + raw_data_opa_mitigators="nhp.raw_data.opa_mitigators", + # -------------------------------------------------------------------------- + # aggregated data + # -------------------------------------------------------------------------- + aggregated_data_ecds="nhp.aggregated_data.ecds", + aggregated_data_opa="nhp.aggregated_data.opa", + # -------------------------------------------------------------------------- + # inputs data + # -------------------------------------------------------------------------- + inputs_catchments="nhp.reference.inputs_catchments", + inputs_save_path="/Volumes/nhp/inputs_data/files/dev", + # -------------------------------------------------------------------------- + # default data + # -------------------------------------------------------------------------- + default_apc="nhp.default.apc", + default_apc_mitigators="nhp.default.apc_mitigators", + default_ecds="nhp.default.ecds", + default_opa="nhp.default.opa", + default_hsa_activity_tables_provider="nhp.default.hsa_activity_tables", + default_hsa_activity_tables_icb="nhp.default.hsa_activity_tables_icb", + default_hsa_activity_tables_national="nhp.default.hsa_activity_tables_national", + default_inequalities="nhp.default.inequalities", + # -------------------------------------------------------------------------- + # model data + # -------------------------------------------------------------------------- + model_data_path="/Volumes/nhp/model_data/files", + # -------------------------------------------------------------------------- + ) + case "udal": + raise NotImplementedError( + "Table names for UDAL environment are not yet defined." + ) + case _: + raise ValueError(f"Unknown environment: {environment}")