renalware-core 2.0.78 → 2.0.79

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/javascripts/renalware/application.js.erb +1 -0
  4. data/app/assets/javascripts/renalware/layout.js +3 -0
  5. data/app/assets/stylesheets/renalware/modules/_patients.scss +2 -1
  6. data/app/controllers/renalware/admin/feeds/files_controller.rb +7 -1
  7. data/app/controllers/renalware/patients/practices_controller.rb +1 -1
  8. data/app/controllers/renalware/patients/primary_care_physician_controller.rb +32 -13
  9. data/app/controllers/renalware/virology/dashboards_controller.rb +1 -4
  10. data/app/controllers/renalware/virology/profiles_controller.rb +10 -5
  11. data/app/documents/renalware/hd/session_document.rb +4 -0
  12. data/app/documents/renalware/patient_document.rb +15 -1
  13. data/app/documents/renalware/renal/profile_document.rb +22 -0
  14. data/app/documents/renalware/virology/profile_document.rb +1 -0
  15. data/app/models/renalware/clinics/remembered_clinic_visit_preferences.rb +1 -1
  16. data/app/models/renalware/feeds/files/practice_memberships/import_job.rb +2 -8
  17. data/app/models/renalware/feeds/files/primary_care_physicians/import_csv.rb +2 -2
  18. data/app/models/renalware/hd/session/closed.rb +2 -0
  19. data/app/models/renalware/patients/last_successful_practice_sync_date_query.rb +28 -0
  20. data/app/models/renalware/patients/practice.rb +0 -2
  21. data/app/models/renalware/patients/practice_search_query.rb +4 -2
  22. data/app/models/renalware/patients/sync_gps_via_file_download_job.rb +52 -0
  23. data/app/models/renalware/patients/sync_ods_job.rb +53 -0
  24. data/app/models/renalware/patients/sync_practices_via_api.rb +157 -0
  25. data/app/models/renalware/system/api_log.rb +29 -0
  26. data/app/presenters/renalware/admissions/consult_summary_part.rb +36 -0
  27. data/app/presenters/renalware/ukrdc/patient_presenter.rb +66 -6
  28. data/app/presenters/renalware/virology/dashboard_presenter.rb +32 -0
  29. data/app/validators/renalware/patients/respiratory_rate_validator.rb +17 -0
  30. data/app/views/renalware/admissions/consults/_summary_part.html.slim +17 -0
  31. data/app/views/renalware/admissions/consults/_table.html.slim +58 -19
  32. data/app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder +43 -3
  33. data/app/views/renalware/api/ukrdc/patients/_medications.xml.builder +23 -3
  34. data/app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder +2 -2
  35. data/app/views/renalware/hd/protocols/_virology.html.slim +2 -0
  36. data/app/views/renalware/hd/sessions/_form.html.slim +4 -0
  37. data/app/views/renalware/pathology/historical_observation_results/index.html.slim +2 -2
  38. data/app/views/renalware/virology/dashboards/_latest_hep_b_antibody_statuses.html.slim +5 -0
  39. data/app/views/renalware/virology/dashboards/show.html.slim +6 -3
  40. data/app/views/renalware/virology/profiles/_summary.html.slim +2 -2
  41. data/app/views/renalware/virology/profiles/edit.html.slim +1 -0
  42. data/config/locales/renalware/hd/session.en.yml +4 -0
  43. data/config/locales/renalware/virology/virology.en.yml +1 -0
  44. data/db/functions/import_practice_memberships_csv_v03.sql +65 -0
  45. data/db/migrate/20190531172829_add_last_change_date_to_patient_practices.rb +26 -0
  46. data/db/migrate/20190602114659_create_system_api_logs.rb +15 -0
  47. data/db/migrate/20190603084428_add_pages_to_system_api_logs.rb +5 -0
  48. data/db/migrate/20190603135247_add_columns_to_patient_primary_care_physicians.rb +8 -0
  49. data/db/migrate/20190603143834_update_import_practice_memberships_csv.rb +13 -0
  50. data/db/migrate/20190603165812_drop_import_practices_csv_function.rb +13 -0
  51. data/db/seeds/default/feeds/import_file_types.rb +0 -8
  52. data/db/seeds/default/renal/prd_descriptions.csv +266 -266
  53. data/lib/document/enum.rb +4 -0
  54. data/lib/renalware/configuration.rb +1 -0
  55. data/lib/renalware/version.rb +1 -1
  56. data/lib/tasks/feeds/files.rake +0 -16
  57. data/lib/tasks/hd.rake +2 -0
  58. data/lib/tasks/ods.rake +10 -0
  59. data/spec/factories/feeds/file.rb +0 -4
  60. data/spec/factories/feeds/file_types.rb +2 -7
  61. data/spec/factories/hd/hd_session_document.rb +2 -0
  62. data/spec/factories/system/api_logs.rb +19 -0
  63. data/spec/support/pathology_spec_helper.rb +12 -8
  64. data/vendor/assets/javascripts/renalware/double_scroll.js +128 -0
  65. metadata +23 -9
  66. data/app/models/renalware/feeds/files/practices/convert_xml_to_csv.rb +0 -153
  67. data/app/models/renalware/feeds/files/practices/country_map.rb +0 -36
  68. data/app/models/renalware/feeds/files/practices/csv_file.rb +0 -25
  69. data/app/models/renalware/feeds/files/practices/csv_organisation.rb +0 -37
  70. data/app/models/renalware/feeds/files/practices/import_csv.rb +0 -32
  71. data/app/models/renalware/feeds/files/practices/import_job.rb +0 -61
  72. data/app/models/renalware/feeds/files/practices/xml_parser.rb +0 -102
@@ -0,0 +1,8 @@
1
+ class AddColumnsToPatientPrimaryCarePhysicians < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :patient_practice_memberships, :last_change_date, :date
4
+ add_column :patient_practice_memberships, :joined_on, :date
5
+ add_column :patient_practice_memberships, :left_on, :date
6
+ add_column :patient_practice_memberships, :active, :boolean, default: true, null: false
7
+ end
8
+ end
@@ -0,0 +1,13 @@
1
+ class UpdateImportPracticeMembershipsCSV < ActiveRecord::Migration[5.2]
2
+ def up
3
+ within_renalware_schema do
4
+ load_function("import_practice_memberships_csv_v03.sql")
5
+ end
6
+ end
7
+
8
+ def down
9
+ within_renalware_schema do
10
+ load_function("import_practice_memberships_csv_v02.sql")
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,13 @@
1
+ class DropImportPracticesCSVFunction < ActiveRecord::Migration[5.2]
2
+ def up
3
+ within_renalware_schema do
4
+ connection.execute("DROP FUNCTION IF EXISTS import_practices_csv(file text);")
5
+ end
6
+ end
7
+
8
+ def down
9
+ within_renalware_schema do
10
+ load_function("import_practices_csv_v01.sql")
11
+ end
12
+ end
13
+ end
@@ -2,14 +2,6 @@
2
2
 
3
3
  module Renalware
4
4
  log "Adding Import File Types" do
5
- Feeds::FileType.find_or_create_by!(name: "practices") do |type|
6
- type.description = "Refresh NHS Practices"
7
- type.prompt = "Upload fullfile.zip from the HSCOrgRefData zip file you have downloaded from the NHS TRUD site"
8
- type.download_url_title = "ODS XML Organisation Data (fullfile.zip)",
9
- type.download_url = "https://isd.digital.nhs.uk/trud3/user/authenticated/group/0/pack/5/subpack/341/releases"
10
- type.filename_validation_pattern = "/fullfile.zip/i"
11
- end
12
-
13
5
  Feeds::FileType.find_or_create_by!(name: "primary_care_physicians") do |type|
14
6
  type.description = "Refresh NHS GPs"
15
7
  type.prompt = "Upload egpcur.zip from NHS ODS weekly data downloaded from the NHS TRUD site"
@@ -1,274 +1,274 @@
1
1
  "code","term"
2
- "3749","Glomerulonephritis--no histology"
3
- "1003","Adult nephrotic syndrome--no histology"
4
- "1019","Nephrotic syndrome of childhood--steroid sensitive--no histology"
5
- "3604","Nephrotic syndrome of childhood--steroid resistant--no histology"
6
- "3615","Nephrotic syndrome of childhood--no trial of steroids--no histology"
7
- "1026","Congenital nephrotic syndrome (CNS)--no histology"
8
- "1035","Congenital nephrotic syndrome (CNS)--Finnish type--no histology"
9
- "1042","Congenital nephrotic syndrome (CNS)--Finnish type--histologically proven"
10
- "1057","Congenital nephrotic syndrome (CNS)--diffuse mesangial sclerosis"
11
- "1061","Congenital nephrotic syndrome (CNS)--focal segmental glomerulosclerosis (FSGS)"
12
- "1074","Denys-Drash syndrome"
13
- "1088","Congenital nephrotic syndrome (CNS)--congenital infection"
14
- "1090","Minimal change nephropathy--no histology"
15
- "1100","Minimal change nephropathy--histologically proven"
16
- "1116","IgA nephropathy--no histology"
17
- "1128","IgA nephropathy--histologically proven"
18
- "1137","Familial IgA nephropathy--no histology"
19
- "1144","Familial IgA nephropathy--histologically proven"
20
- "1159","IgA nephropathy secondary to liver cirrhosis--no histology"
21
- "1163","IgA nephropathy secondary to liver cirrhosis--histologically proven"
22
- "1171","IgM--associated nephropathy"
23
- "1185","Membranous nephropathy--idiopathic"
24
- "1192","Membranous nephropathy--malignancy associated"
25
- "1205","Membranous nephropathy--drug induced"
26
- "1214","Membranous nephropathy--infection associated"
27
- "1222","Mesangiocapillary glomerulonephritis type 1"
28
- "1233","Mesangiocapillary glomerulonephritis type 2 (dense deposit disease)"
29
- "1246","Mesangiocapillary glomerulonephritis type 3"
30
- "1251","Idiopathic rapidly progressive (crescentic) glomerulonephritis"
31
- "1267","Primary focal segmental glomerulosclerosis (FSGS)"
32
- "1279","Familial focal segmental glomerulosclerosis (FSGS)--autosomal recessive--no histology"
33
- "1280","Familial focal segmental glomerulosclerosis (FSGS)--autosomal recessive--histologically proven"
34
- "1298","Familial focal segmental glomerulosclerosis (FSGS)--autosomal dominant--no histology"
35
- "1308","Familial focal segmental glomerulosclerosis (FSGS)--autosomal dominant--histologically proven"
36
- "1312","Focal segmental glomerulosclerosis (FSGS) secondary to obesity--no histology"
37
- "1320","Focal segmental glomerulosclerosis (FSGS) secondary to obesity--histologically proven"
38
- "1331","Diffuse endocapillary glomerulonephritis"
39
- "1349","Mesangial proliferative glomerulonephritis"
40
- "1354","Focal and segmental proliferative glomerulonephritis"
41
- "1365","Glomerulonephritis--secondary to other systemic disease"
42
- "1377","Glomerulonephritis--histologically indeterminate"
43
- "1383","Systemic vasculitis--ANCA negative--histologically proven"
44
- "1396","Systemic vasculitis--ANCA positive--no histology"
45
- "1401","Granulomatosis with polyangiitis--no histology"
46
- "1417","Granulomatosis with polyangiitis--histologically proven"
47
- "1429","Microscopic polyangiitis--histologically proven"
48
- "1438","Churg-Strauss syndrome--no histology"
49
- "1440","Churg-Strauss syndrome--histologically proven"
50
- "1455","Polyarteritis nodosa"
51
- "1464","Anti-Glomerular basement membrane (GBM) disease/Goodpasture's syndrome--no histology"
52
- "1472","Anti-Glomerular basement membrane (GBM) disease/Goodpasture's syndrome--histologically proven"
53
- "1486","Systemic lupus erythematosus/nephritis--no histology"
54
- "1493","Systemic lupus erythematosus/nephritis--histologically proven"
55
- "1504","Henoch-Schoenlein purpura/nephritis--no histology"
56
- "1515","Henoch-Schoenlein purpura/nephritis--histologically proven"
57
- "1527","Renal scleroderma/systemic sclerosis--no histology"
58
- "1536","Renal scleroderma/systemic sclerosis--histologically proven"
59
- "1543","Essential mixed cryoglobulinaemia--no histology"
60
- "1558","Essential mixed cryoglobulinaemia--histologically proven"
61
- "1562","Cryoglobulinaemia secondary to hepatitis C--no histology"
62
- "1570","Cryoglobulinaemia secondary to hepatitis C--histologically proven"
63
- "1589","Cryoglobulinaemia secondary to systemic disease--no histology"
64
- "1591","Cryoglobulinaemia secondary to systemic disease--histologically proven"
65
- "1602","Primary reflux nephropathy--sporadic"
66
- "1618","Familial reflux nephropathy"
67
- "1625","Congenital dysplasia/hypoplasia"
68
- "1639","Multicystic dysplastic kidneys"
69
- "1641","Dysplasia due to fetal ACE-inhibitor exposure"
70
- "3627","Renal cysts and diabetes syndrome"
71
- "1656","Glomerulocystic disease"
72
- "1660","Congenital pelvi-ureteric junction obstruction"
73
- "1673","Congenital vesico-ureteric junction obstruction"
74
- "1687","Posterior urethral valves"
75
- "1694","Syndrome of agenesis of abdominal muscles--prune belly syndrome"
76
- "1706","Congenital neurogenic bladder"
77
- "1710","Bladder exstrophy"
78
- "1723","Megacystis-megaureter"
2
+ "1003","Adult Nephrotic Syndrome - No Histology"
3
+ "1019","Nephrotic Syndrome Of Childhood - Steroid Sensitive - No Histology"
4
+ "1026","Congenital Nephrotic Syndrome (Cns) - No Histology"
5
+ "1035","Congenital Nephrotic Syndrome (Cns) - Finnish Type - No Histology"
6
+ "1042","Congenital Nephrotic Syndrome (Cns) - Finnish Type - Histologically Proven"
7
+ "1057","Congenital Nephrotic Syndrome (Cns) - Diffuse Mesangial Sclerosis"
8
+ "1061","Congenital Nephrotic Syndrome (Cns) - Focal Segmental Glomerulosclerosis (Fsgs)"
9
+ "1074","Denys-Drash Syndrome"
10
+ "1088","Congenital Nephrotic Syndrome (Cns) - Congenital Infection"
11
+ "1090","Minimal Change Nephropathy - No Histology"
12
+ "1100","Minimal Change Nephropathy - Histologically Proven"
13
+ "1116","Iga Nephropathy - No Histology"
14
+ "1128","Iga Nephropathy - Histologically Proven"
15
+ "1137","Familial Iga Nephropathy - No Histology"
16
+ "1144","Familial Iga Nephropathy - Histologically Proven"
17
+ "1159","Iga Nephropathy Secondary To Liver Cirrhosis - No Histology"
18
+ "1163","Iga Nephropathy Secondary To Liver Cirrhosis - Histologically Proven"
19
+ "1171","Igm - Associated Nephropathy"
20
+ "1185","Membranous Nephropathy - Idiopathic"
21
+ "1192","Membranous Nephropathy - Malignancy Associated"
22
+ "1205","Membranous Nephropathy - Drug Induced"
23
+ "1214","Membranous Nephropathy - Infection Associated"
24
+ "1222","Mesangiocapillary Glomerulonephritis Type 1"
25
+ "1233","Mesangiocapillary Glomerulonephritis Type 2 (Dense Deposit Disease)"
26
+ "1246","Mesangiocapillary Glomerulonephritis Type 3"
27
+ "1251","Idiopathic Rapidly Progressive (Crescentic) Glomerulonephritis"
28
+ "1267","Primary Focal Segmental Glomerulosclerosis (Fsgs)"
29
+ "1279","Familial Focal Segmental Glomerulosclerosis (Fsgs) - Autosomal Recessive - No Histology"
30
+ "1280","Familial Focal Segmental Glomerulosclerosis (Fsgs) - Autosomal Recessive - Histologically Proven"
31
+ "1298","Familial Focal Segmental Glomerulosclerosis (Fsgs) - Autosomal Dominant - No Histology"
32
+ "1308","Familial Focal Segmental Glomerulosclerosis (Fsgs) - Autosomal Dominant - Histologically Proven"
33
+ "1312","Focal Segmental Glomerulosclerosis (Fsgs) Secondary To Obesity - No Histology"
34
+ "1320","Focal Segmental Glomerulosclerosis (Fsgs) Secondary To Obesity - Histologically Proven"
35
+ "1331","Diffuse Endocapillary Glomerulonephritis"
36
+ "1349","Mesangial Proliferative Glomerulonephritis "
37
+ "1354","Focal And Segmental Proliferative Glomerulonephritis"
38
+ "1365","Glomerulonephritis - Secondary To Other Systemic Disease"
39
+ "1377","Glomerulonephritis - Histologically Indeterminate"
40
+ "1383","Systemic Vasculitis - Anca Negative - Histologically Proven"
41
+ "1396","Systemic Vasculitis - Anca Positive - No Histology"
42
+ "1401","Granulomatosis With Polyangiitis - No Histology"
43
+ "1417","Granulomatosis With Polyangiitis - Histologically Proven"
44
+ "1429","Microscopic Polyangiitis - Histologically Proven"
45
+ "1438","Churg-Strauss Syndrome - No Histology"
46
+ "1440","Churg-Strauss Syndrome - Histologically Proven"
47
+ "1455","Polyarteritis Nodosa"
48
+ "1464","Anti-Glomerular Basement Membrane (Gbm) Disease / Goodpasture'S Syndrome - No Histology"
49
+ "1472","Anti-Glomerular Basement Membrane (Gbm) Disease / Goodpasture'S Syndrome - Histologically Proven"
50
+ "1486","Systemic Lupus Erythematosus / Nephritis - No Histology"
51
+ "1493","Systemic Lupus Erythematosus / Nephritis - Histologically Proven"
52
+ "1504","Henoch-Schonlein Purpura / Nephritis - No Histology"
53
+ "1515","Henoch-Schonlein Purpura / Nephritis - Histologically Proven"
54
+ "1527","Renal Scleroderma / Systemic Sclerosis - No Histology"
55
+ "1536","Renal Scleroderma / Systemic Sclerosis - Histologically Proven"
56
+ "1543","Essential Mixed Cryoglobulinaemia - No Histology"
57
+ "1558","Essential Mixed Cryoglobulinaemia - Histologically Proven"
58
+ "1562","Cryoglobulinaemia Secondary To Hepatitis C - No Histology"
59
+ "1570","Cryoglobulinaemia Secondary To Hepatitis C - Histologically Proven"
60
+ "1589","Cryoglobulinaemia Secondary To Systemic Disease - No Histology"
61
+ "1591","Cryoglobulinaemia Secondary To Systemic Disease - Histologically Proven"
62
+ "1602","Primary Reflux Nephropathy - Sporadic"
63
+ "1618","Familial Reflux Nephropathy"
64
+ "1625","Congenital Dysplasia / Hypoplasia"
65
+ "1639","Multicystic Dysplastic Kidneys"
66
+ "1641","Dysplasia Due To Fetal Ace-Inhibitor Exposure"
67
+ "1656","Glomerulocystic Disease"
68
+ "1660","Congenital Pelvi-Ureteric Junction Obstruction"
69
+ "1673","Congenital Vesico-Ureteric Junction Obstruction"
70
+ "1687","Posterior Urethral Valves"
71
+ "1694","Syndrome Of Agenesis Of Abdominal Muscles - Prune Belly Syndrome"
72
+ "1706","Congenital Neurogenic Bladder"
73
+ "1710","Bladder Exstrophy"
74
+ "1723","Megacystis-Megaureter"
79
75
  "1734","Oligomeganephronia"
80
- "1747","Renal papillary necrosis--cause unknown"
81
- "1752","Acquired obstructive uropathy/nephropathy"
82
- "1768","Acquired obstructive nephropathy due to neurogenic bladder"
83
- "1775","Obstructive nephropathy due to prostatic hypertrophy"
84
- "1781","Obstructive nephropathy due to prostate cancer"
85
- "1799","Obstructive nephropathy due to bladder cancer"
86
- "1809","Obstructive nephropathy due to other malignancies"
87
- "1813","Idiopathic retroperitoneal fibrosis"
88
- "1821","Retroperitoneal fibrosis secondary to malignancies"
89
- "3689","Retroperitoneal fibrosis secondary to drugs"
90
- "3670","Retroperitoneal fibrosis secondary to peri-aortitis"
91
- "1832","Calculus nephropathy/urolithiasis"
92
- "1845","Calcium oxalate urolithiasis"
93
- "1850","Enteric hyperoxaluria"
94
- "1866","Magnesium ammonium phosphate (struvite) urolithiasis"
95
- "1878","Uric acid urolithiasis"
96
- "1884","Tubulointerstitial nephritis--no histology"
97
- "1897","Tubulointerstitial nephritis--histologically proven"
98
- "1907","Familial interstitial nephropathy--no histology"
99
- "1911","Familial interstitial nephropathy--histologically proven"
100
- "1924","Tubulointerstitial nephritis associated with autoimmune disease--no histology"
101
- "1930","Tubulointerstitial nephritis associated with autoimmune disease--histologically proven"
102
- "1948","Tubulointerstitial nephritis with uveitis (TINU)--no histology"
103
- "1953","Tubulointerstitial nephritis with uveitis (TINU)--histologically proven"
104
- "1969","Renal sarcoidosis--no histology"
105
- "1976","Renal sarcoidosis--histologically proven"
106
- "1982","Aristolochic acid nephropathy (Balkan/Chinese herb/endemic nephropathy)--no histology"
107
- "1995","Aristolochic acid nephropathy (Balkan/Chinese herb/endemic nephropathy)--histologically proven"
108
- "2005","Drug-induced tubulointerstitial nephritis--no histology"
109
- "2014","Drug-induced tubulointerstitial nephritis--histologically proven"
110
- "2022","Nephropathy due to analgesic drugs--no histology"
111
- "2033","Nephropathy due to analgesic drugs--histologically proven"
112
- "2046","Nephropathy due to ciclosporin--no histology"
113
- "2051","Nephropathy due to ciclosporin--histologically proven"
114
- "2067","Nephropathy due to tacrolimus--no histology"
115
- "2079","Nephropathy due to tacrolimus--histologically proven"
116
- "2080","Nephropathy due to aminoglycosides--no histology"
117
- "2098","Nephropathy due to aminoglycosides--histologically proven"
118
- "2108","Nephropathy due to amphotericin--no histology"
119
- "2112","Nephropathy due to amphotericin--histologically proven"
120
- "2120","Nephropathy due to cisplatin--no histology"
121
- "2131","Nephropathy due to cisplatin--histologically proven"
122
- "2149","Nephropathy due to lithium--no histology"
123
- "2154","Nephropathy due to lithium--histologically proven"
124
- "2165","Lead induced nephropathy--no histology"
125
- "2177","Lead induced nephropathy--histologically proven"
126
- "2183","Acute urate nephropathy--no histology"
127
- "2196","Acute urate nephropathy--histologically proven"
128
- "3636","Chronic urate nephropathy--no histology"
129
- "2203","Chronic urate nephropathy--histologically proven"
130
- "3662","Hypercalcaemic nephropathy"
131
- "2219","Radiation nephritis"
132
- "2226","Renal/perinephric abscess"
133
- "2235","Renal tuberculosis"
76
+ "1747","Renal Papillary Necrosis - Cause Unknown"
77
+ "1752","Acquired Obstructive Uropathy / Nephropathy"
78
+ "1768","Acquired Obstructive Nephropathy Due To Neurogenic Bladder"
79
+ "1775","Obstructive Nephropathy Due To Prostatic Hypertrophy"
80
+ "1781","Obstructive Nephropathy Due To Prostate Cancer"
81
+ "1799","Obstructive Nephropathy Due To Bladder Cancer"
82
+ "1809","Obstructive Nephropathy Due To Other Malignancies"
83
+ "1813","Idiopathic Retroperitoneal Fibrosis"
84
+ "1821","Retroperitoneal Fibrosis Secondary To Malignancies"
85
+ "1832","Calculus Nephropathy / Urolithiasis"
86
+ "1845","Calcium Oxalate Urolithiasis"
87
+ "1850","Enteric Hyperoxaluria "
88
+ "1866","Magnesium Ammonium Phosphate (Struvite) Urolithiasis"
89
+ "1878","Uric Acid Urolithiasis"
90
+ "1884","Tubulointerstitial Nephritis - No Histology"
91
+ "1897","Tubulointerstitial Nephritis - Histologically Proven"
92
+ "1907","Familial Interstitial Nephropathy - No Histology"
93
+ "1911","Familial Interstitial Nephropathy - Histologically Proven"
94
+ "1924","Tubulointerstitial Nephritis Associated With Autoimmune Disease - No Histology"
95
+ "1930","Tubulointerstitial Nephritis Associated With Autoimmune Disease - Histologically Proven"
96
+ "1948","Tubulointerstitial Nephritis With Uveitis (Tinu) - No Histology"
97
+ "1953","Tubulointerstitial Nephritis With Uveitis (Tinu) - Histologically Proven"
98
+ "1969","Renal Sarcoidosis - No Histology"
99
+ "1976","Renal Sarcoidosis - Histologically Proven"
100
+ "1982","Aristolochic Acid Nephropathy (Balkan / Chinese Herb / Endemic Nephropathy) - No Histology"
101
+ "1995","Aristolochic Acid Nephropathy (Balkan / Chinese Herb / Endemic Nephropathy) - Histologically Proven"
102
+ "2005","Drug-Induced Tubulointerstitial Nephritis - No Histology"
103
+ "2014","Drug-Induced Tubulointerstitial Nephritis - Histologically Proven"
104
+ "2022","Nephropathy Due To Analgesic Drugs - No Histology"
105
+ "2033","Nephropathy Due To Analgesic Drugs - Histologically Proven"
106
+ "2046","Nephropathy Due To Ciclosporin - No Histology"
107
+ "2051","Nephropathy Due To Ciclosporin - Histologically Proven"
108
+ "2067","Nephropathy Due To Tacrolimus - No Histology"
109
+ "2079","Nephropathy Due To Tacrolimus - Histologically Proven"
110
+ "2080","Nephropathy Due To Aminoglycosides - No Histology"
111
+ "2098","Nephropathy Due To Aminoglycosides - Histologically Proven"
112
+ "2108","Nephropathy Due To Amphotericin - No Histology"
113
+ "2112","Nephropathy Due To Amphotericin - Histologically Proven"
114
+ "2120","Nephropathy Due To Cisplatin - No Histology"
115
+ "2131","Nephropathy Due To Cisplatin - Histologically Proven"
116
+ "2149","Nephropathy Due To Lithium - No Histology"
117
+ "2154","Nephropathy Due To Lithium - Histologically Proven"
118
+ "2165","Lead Induced Nephropathy - No Histology"
119
+ "2177","Lead Induced Nephropathy - Histologically Proven"
120
+ "2183","Acute Urate Nephropathy - No Histology"
121
+ "2196","Acute Urate Nephropathy - Histologically Proven"
122
+ "2203","Chronic Urate Nephropathy - Histologically Proven"
123
+ "2219","Radiation Nephritis"
124
+ "2226","Renal / Perinephric Abscess"
125
+ "2235","Renal Tuberculosis"
134
126
  "2242","Leptospirosis"
135
- "2257","Hantavirus nephropathy"
136
- "2261","Xanthogranulomatous pyelonephritis"
137
- "2274","Nephropathy related to HIV--no histology"
138
- "2288","Nephropathy related to HIV--histologically proven"
127
+ "2257","Hantavirus Nephropathy"
128
+ "2261","Xanthogranulomatous Pyelonephritis"
129
+ "2274","Nephropathy Related To Hiv - No Histology"
130
+ "2288","Nephropathy Related To Hiv - Histologically Proven"
139
131
  "2290","Schistosomiasis"
140
- "2300","Other specific infection"
141
- "2316","Diabetic nephropathy in type I diabetes--no histology"
142
- "2328","Diabetic nephropathy in type I diabetes--histologically proven"
143
- "2337","Diabetic nephropathy in type II diabetes--no histology"
144
- "2344","Diabetic nephropathy in type II diabetes--histologically proven"
145
- "2359","Chronic hypertensive nephropathy--no histology"
146
- "2363","Chronic hypertensive nephropathy--histologically proven"
147
- "2371","Malignant hypertensive nephropathy/accelerated hypertensive nephropathy--no histology"
148
- "2385","Malignant hypertensive nephropathy/accelerated hypertensive nephropathy--histologically proven"
149
- "2392","Ageing kidney--no histology"
150
- "2407","Ischaemic nephropathy--no histology"
151
- "2411","Ischaemic nephropathy/microvascular disease--histologically proven"
152
- "2424","Renal artery stenosis"
153
- "2430","Atheroembolic renal disease--no histology"
154
- "2448","Atheroembolic renal disease--histologically proven"
155
- "2453","Fibromuscular dysplasia of renal artery"
156
- "2469","Renal arterial thrombosis/occlusion"
157
- "2476","Renal vein thrombosis"
158
- "2482","Cardiorenal syndrome"
159
- "2495","Hepatorenal syndrome"
160
- "2509","Renal amyloidosis"
161
- "2513","AA amyloid secondary to chronic inflammation"
162
- "2521","AL amyloid secondary to plasma cell dyscrasia"
163
- "2532","Familial amyloid secondary to protein mutations--no histology"
164
- "2545","Familial amyloid secondary to protein mutations--histologically proven"
165
- "2550","Familial AA amyloid secondary to familial Mediterranean fever/TRAPS (Hibernian fever)--no histology"
166
- "2566","Familial AA amyloid secondary to familial Mediterranean fever/TRAPS (Hibernian fever)--histologically proven"
167
- "2578","Myeloma kidney--no histology"
168
- "2584","Myeloma cast nephropathy--histologically proven"
169
- "2597","Light chain deposition disease"
170
- "2606","Immunotactoid/fibrillary nephropathy"
171
- "2610","Haemolytic uraemic syndrome (HUS)--diarrhoea associated"
172
- "2623","Atypical haemolytic uraemic syndrome (HUS)--diarrhoea negative"
173
- "2634","Thrombotic thrombocytopenic purpura (TTP)"
174
- "2647","Haemolytic uraemic syndrome (HUS) secondary to systemic disease"
175
- "2652","Congenital haemolytic uraemic syndrome (HUS)"
176
- "2668","Familial haemolytic uraemic syndrome (HUS)"
177
- "2675","Familial thrombotic thrombocytopenic purpura (TTP)"
178
- "2681","Nephropathy due to pre-eclampsia/eclampsia"
179
- "2699","Sickle cell nephropathy--no histology"
180
- "2702","Sickle cell nephropathy--histologically proven"
181
- "2718","Autosomal dominant (AD) polycystic kidney disease"
182
- "2725","Autosomal dominant (AD) polycystic kidney disease type I"
183
- "2739","Autosomal dominant (AD) polycystic kidney disease type II"
184
- "2741","Autosomal recessive (AR) polycystic kidney disease"
185
- "2756","Alport syndrome--no histology"
186
- "2760","Alport syndrome--histologically proven"
187
- "2773","Benign familial haematuria"
188
- "2787","Thin basement membrane disease"
189
- "2794","Cystic kidney disease"
190
- "2804","Medullary cystic kidney disease type I"
191
- "2815","Medullary cystic kidney disease type II"
192
- "2827","Uromodulin-associated nephropathy (familial juvenile hyperuricaemic nephropathy)"
132
+ "2300","Other Specific Infection"
133
+ "2316","Diabetic Nephropathy In Type I Diabetes - No Histology"
134
+ "2328","Diabetic Nephropathy In Type I Diabetes - Histologically Proven"
135
+ "2337","Diabetic Nephropathy In Type Ii Diabetes - No Histology"
136
+ "2344","Diabetic Nephropathy In Type Ii Diabetes - Histologically Proven"
137
+ "2359","Chronic Hypertensive Nephropathy - No Histology"
138
+ "2363","Chronic Hypertensive Nephropathy - Histologically Proven"
139
+ "2371","Malignant Hypertensive Nephropathy / Accelerated Hypertensive Nephropathy - No Histology"
140
+ "2385","Malignant Hypertensive Nephropathy / Accelerated Hypertensive Nephropathy - Histologically Proven"
141
+ "2392","Ageing Kidney - No Histology"
142
+ "2407","Ischaemic Nephropathy - No Histology"
143
+ "2411","Ischaemic Nephropathy / Microvascular Disease - Histologically Proven"
144
+ "2424","Renal Artery Stenosis"
145
+ "2430","Atheroembolic Renal Disease - No Histology"
146
+ "2448","Atheroembolic Renal Disease - Histologically Proven"
147
+ "2453","Fibromuscular Dysplasia Of Renal Artery"
148
+ "2469","Renal Arterial Thrombosis / Occlusion"
149
+ "2476","Renal Vein Thrombosis"
150
+ "2482","Cardiorenal Syndrome"
151
+ "2495","Hepatorenal Syndrome"
152
+ "2509","Renal Amyloidosis"
153
+ "2513","Aa Amyloid Secondary To Chronic Inflammation"
154
+ "2521","Al Amyloid Secondary To Plasma Cell Dyscrasia"
155
+ "2532","Familial Amyloid Secondary To Protein Mutations - No Histology"
156
+ "2545","Familial Amyloid Secondary To Protein Mutations - Histologically Proven"
157
+ "2550","Familial Aa Amyloid Secondary To Familial Mediterranean Fever / Traps (Hibernian Fever) - No Histology"
158
+ "2566","Familial Aa Amyloid Secondary To Familial Mediterranean Fever / Traps (Hibernian Fever) - Histologically Proven"
159
+ "2578","Myeloma Kidney - No Histology"
160
+ "2584","Myeloma Cast Nephropathy - Histologically Proven"
161
+ "2597","Light Chain Deposition Disease"
162
+ "2606","Immunotactoid / Fibrillary Nephropathy"
163
+ "2610","Haemolytic Uraemic Syndrome (Hus) - Diarrhoea Associated"
164
+ "2623","Atypical Haemolytic Uraemic Syndrome (Hus) - Diarrhoea Negative"
165
+ "2634","Thrombotic Thrombocytopenic Purpura (Ttp)"
166
+ "2647","Haemolytic Uraemic Syndrome (Hus) Secondary To Systemic Disease"
167
+ "2652","Congenital Haemolytic Uraemic Syndrome (Hus) "
168
+ "2668","Familial Haemolytic Uraemic Syndrome (Hus)"
169
+ "2675","Familial Thrombotic Thrombocytopenic Purpura (Ttp)"
170
+ "2681","Nephropathy Due To Pre-Eclampsia / Eclampsia"
171
+ "2699","Sickle Cell Nephropathy - No Histology"
172
+ "2702","Sickle Cell Nephropathy - Histologically Proven"
173
+ "2718","Autosomal Dominant (Ad) Polycystic Kidney Disease"
174
+ "2725","Autosomal Dominant (Ad) Polycystic Kidney Disease Type I"
175
+ "2739","Autosomal Dominant (Ad) Polycystic Kidney Disease Type Ii"
176
+ "2741","Autosomal Recessive (Ar) Polycystic Kidney Disease"
177
+ "2756","Alport Syndrome - No Histology"
178
+ "2760","Alport Syndrome - Histologically Proven"
179
+ "2773","Benign Familial Haematuria"
180
+ "2787","Thin Basement Membrane Disease"
181
+ "2794","Cystic Kidney Disease"
182
+ "2804","Medullary Cystic Kidney Disease Type I"
183
+ "2815","Medullary Cystic Kidney Disease Type Ii"
184
+ "2827","Uromodulin-Associated Nephropathy (Familial Juvenile Hyperuricaemic Nephropathy)"
193
185
  "2836","Nephronophthisis"
194
- "2843","Nephronophthisis--type 1 (juvenile type)"
195
- "2858","Nephronophthisis--type 2 (infantile type)"
196
- "2862","Nephronophthisis--type 3 (adolescent type)"
197
- "2870","Nephronophthisis--type 4 (juvenile type)"
198
- "2889","Nephronophthisis--type 5"
199
- "2891","Nephronophthisis--type 6"
200
- "2901","Primary Fanconi syndrome"
201
- "2917","Tubular disorder as part of inherited metabolic diseases"
202
- "2929","Dent disease"
203
- "2938","Lowe syndrome (oculocerebrorenal syndrome)"
204
- "2940","Inherited aminoaciduria"
186
+ "2843","Nephronophthisis - Type 1 (Juvenile Type)"
187
+ "2858","Nephronophthisis - Type 2 (Infantile Type)"
188
+ "2862","Nephronophthisis - Type 3 (Adolescent Type)"
189
+ "2870","Nephronophthisis - Type 4 (Juvenile Type)"
190
+ "2889","Nephronophthisis - Type 5"
191
+ "2891","Nephronophthisis - Type 6"
192
+ "2901","Primary Fanconi Syndrome"
193
+ "2917","Tubular Disorder As Part Of Inherited Metabolic Diseases"
194
+ "2929","Dent Disease"
195
+ "2938","Lowe Syndrome (Oculocerebrorenal Syndrome)"
196
+ "2940","Inherited Aminoaciduria"
205
197
  "2955","Cystinuria"
206
198
  "2964","Cystinosis"
207
- "2972","Inherited renal glycosuria"
208
- "2986","Hypophosphataemic rickets X-linked (XL)"
209
- "2993","Hypophosphataemic rickets autosomal recessive (AR)"
210
- "3000","Primary renal tubular acidosis (RTA)"
211
- "3016","Proximal renal tubular acidosis (RTA)--type II"
212
- "3028","Distal renal tubular acidosis (RTA)--type I"
213
- "3037","Distal renal tubular acidosis with sensorineural deafness--gene mutations"
214
- "3044","Nephrogenic diabetes insipidus"
215
- "3059","Lesch Nyhan syndrome--hypoxanthine guanine phosphoribosyl transferase deficiency "
216
- "3063","Phosphoribosyl pyrophosphate synthetase (PRPPS) superactivity"
217
- "3071","Alagille syndrome"
218
- "3085","Bartter syndrome"
219
- "3092","Gitelman syndrome"
220
- "3102","Liddle syndrome"
221
- "3118","Apparent mineralocorticoid excess"
222
- "3125","Glucocorticoid suppressible hyperaldosteronism"
223
- "3139","Inherited/genetic diabetes mellitus type II"
224
- "3141","Pseudohypoaldosteronism type 1"
225
- "3156","Pseudohypoaldosteronism type 2 (Gordon syndrome)"
226
- "3160","Familial hypocalciuric hypercalcaemia"
227
- "3173","Familial hypercalciuric hypocalcaemia"
228
- "3187","Familial hypomagnesaemia"
229
- "3194","Primary hyperoxaluria"
230
- "3207","Primary hyperoxaluria type I"
231
- "3211","Primary hyperoxaluria type II"
232
- "3731","Primary hyperoxaluria type III"
233
- "3224","Fabry disease--no histology"
234
- "3230","Fabry disease--histologically proven"
199
+ "2972","Inherited Renal Glycosuria"
200
+ "2986","Hypophosphataemic Rickets X-Linked (Xl)"
201
+ "2993","Hypophosphataemic Rickets Autosomal Recessive (Ar)"
202
+ "3000","Primary Renal Tubular Acidosis (Rta)"
203
+ "3016","Proximal Renal Tubular Acidosis (Rta) - Type Ii"
204
+ "3028","Distal Renal Tubular Acidosis (Rta) - Type I"
205
+ "3037","Distal Renal Tubular Acidosis With Sensorineural Deafness - Gene Mutations"
206
+ "3044","Nephrogenic Diabetes Insipidus"
207
+ "3059","Lesch Nyhan Syndrome - Hypoxanthine Guanine Phosphoribosyl Transferase Deficiency "
208
+ "3063","Phosphoribosyl Pyrophosphate Synthetase (Prpps) Superactivity"
209
+ "3071","Alagille Syndrome"
210
+ "3085","Bartter Syndrome"
211
+ "3092","Gitelman Syndrome"
212
+ "3102","Liddle Syndrome"
213
+ "3118","Apparent Mineralocorticoid Excess"
214
+ "3125","Glucocorticoid Suppressible Hyperaldosteronism"
215
+ "3139","Inherited / Genetic Diabetes Mellitus Type Ii"
216
+ "3141","Pseudohypoaldosteronism Type 1"
217
+ "3156","Pseudohypoaldosteronism Type 2 (Gordon Syndrome)"
218
+ "3160","Familial Hypocalciuric Hypercalcaemia"
219
+ "3173","Familial Hypercalciuric Hypocalcaemia"
220
+ "3187","Familial Hypomagnesaemia"
221
+ "3194","Primary Hyperoxaluria"
222
+ "3207","Primary Hyperoxaluria Type I"
223
+ "3211","Primary Hyperoxaluria Type Ii"
224
+ "3224","Fabry Disease - No Histology"
225
+ "3230","Fabry Disease - Histologically Proven"
235
226
  "3248","Xanthinuria"
236
- "3253","Nail-patella syndrome"
237
- "3269","Rubinstein-Taybi syndrome"
238
- "3276","Tuberous sclerosis"
239
- "3282","Von Hippel-Lindau disease"
240
- "3295","Medullary sponge kidneys"
241
- "3305","Horse-shoe kidney"
242
- "3314","Frasier syndrome"
243
- "3658","Renal coloboma syndrome"
244
- "3322","Branchio-oto-renal syndrome"
245
- "3333","Williams syndrome"
246
- "3346","Townes-Brocks syndrome"
247
- "3351","Lawrence-Moon-Biedl/Bardet-Biedl syndrome"
248
- "3367","Mitochondrial cytopathy"
249
- "3379","Familial nephropathy"
250
- "3380","Acute kidney injury"
251
- "3398","Acute kidney injury due to hypovolaemia"
252
- "3403","Acute kidney injury due to circulatory failure"
253
- "3419","Acute kidney injury due to sepsis"
254
- "3426","Acute kidney injury due to rhabdomyolysis"
255
- "3435","Acute kidney injury due to nephrotoxicity"
256
- "3442","Acute cortical necrosis"
257
- "3457","Acute pyelonephritis"
258
- "3461","Kidney tumour"
259
- "3474","Renal cell carcinoma--histologically proven"
260
- "3488","Transitional cell carcinoma--histologically proven"
261
- "3490","Wilms tumour--histologically proven"
262
- "3501","Mesoblastic nephroma--histologically proven"
263
- "3517","Single kidney identified in adulthood"
264
- "3529","Chronic kidney disease (CKD)/chronic renal failure (CRF) caused by tumour nephrectomy"
265
- "3538","Chronic kidney disease (CKD)/chronic renal failure (CRF) due to traumatic loss of kidney"
266
- "3540","Chronic kidney disease (CKD)/chronic renal failure (CRF) due to donor nephrectomy"
267
- "3555","Chronic kidney disease (CKD)/chronic renal failure (CRF)--aetiology uncertain/unknown--no histology"
268
- "3564","Chronic kidney disease (CKD)/chronic renal failure (CRF)--aetiology uncertain/unknown--histologically proven"
269
- "3572","Haematuria and proteinuria--no histology"
270
- "3712","Isolated haematuria--no histology"
271
- "3720","Isolated proteinuria--no histology"
272
- "3643","Chronic renal failure due to systemic infection"
273
- "3691","Renal failure"
274
- "3708","Chronic renal failure"
227
+ "3253","Nail-Patella Syndrome"
228
+ "3269","Rubinstein-Taybi Syndrome"
229
+ "3276","Tuberous Sclerosis"
230
+ "3282","Von Hippel-Lindau Disease"
231
+ "3295","Medullary Sponge Kidneys"
232
+ "3305","Horse-Shoe Kidney"
233
+ "3314","Frasier Syndrome"
234
+ "3322","Branchio-Oto-Renal Syndrome"
235
+ "3333","Williams Syndrome"
236
+ "3346","Townes-Brocks Syndrome"
237
+ "3351","Lawrence-Moon-Biedl / Bardet-Biedl Syndrome"
238
+ "3367","Mitochondrial Cytopathy"
239
+ "3379","Familial Nephropathy"
240
+ "3380","Acute Kidney Injury"
241
+ "3398","Acute Kidney Injury Due To Hypovolaemia "
242
+ "3403","Acute Kidney Injury Due To Circulatory Failure"
243
+ "3419","Acute Kidney Injury Due To Sepsis"
244
+ "3426","Acute Kidney Injury Due To Rhabdomyolysis"
245
+ "3435","Acute Kidney Injury Due To Nephrotoxicity"
246
+ "3442","Acute Cortical Necrosis"
247
+ "3457","Acute Pyelonephritis"
248
+ "3461","Kidney Tumour"
249
+ "3474","Renal Cell Carcinoma - Histologically Proven"
250
+ "3488","Transitional Cell Carcinoma - Histologically Proven"
251
+ "3490","Wilms Tumour - Histologically Proven"
252
+ "3501","Mesoblastic Nephroma - Histologically Proven"
253
+ "3517","Single Kidney Identified In Adulthood"
254
+ "3529","Chronic Kidney Disease (Ckd) / Chronic Renal Failure (Crf) Caused By Tumour Nephrectomy"
255
+ "3538","Chronic Kidney Disease (Ckd) / Chronic Renal Failure (Crf) Due To Traumatic Loss Of Kidney"
256
+ "3540","Chronic Kidney Disease (Ckd) / Chronic Renal Failure (Crf) Due To Donor Nephrectomy"
257
+ "3555","Chronic Kidney Disease (Ckd) / Chronic Renal Failure (Crf) - Aetiology Uncertain / Unknown - No Histology"
258
+ "3564","Chronic Kidney Disease (Ckd) / Chronic Renal Failure (Crf) - Aetiology Uncertain / Unknown - Histologically Proven"
259
+ "3572","Haematuria And Proteinuria - No Histology"
260
+ "3604","Nephrotic Syndrome Of Childhood - Steroid Resistant - No Histology"
261
+ "3615","Nephrotic Syndrome Of Childhood - No Trial Of Steroids - No Histology"
262
+ "3627","Renal Cysts And Diabetes Syndrome"
263
+ "3636","Chronic Urate Nephropathy - No Histology"
264
+ "3643","Chronic Renal Failure Due To Systemic Infection"
265
+ "3658","Renal Coloboma Syndrome"
266
+ "3662","Hypercalcaemic Nephropathy "
267
+ "3670","Retroperitoneal Fibrosis Secondary To Peri-Aortitis"
268
+ "3689","Retroperitoneal Fibrosis Secondary To Drugs"
269
+ "3691","Renal Failure"
270
+ "3708","Chronic Renal Failure"
271
+ "3712","Isolated Haematuria - No Histology"
272
+ "3720","Isolated Proteinuria - No Histology"
273
+ "3731","Primary Hyperoxaluria Type Iii"
274
+ "3749","Glomerulonephritis - No Histology"