Welcome to the HRG4 Grouper Zone
HRG4 Grouper - Group your data
Grouper opening screen a. Select the grouping b. Select record definition file c. Process the file
Process File screen a. Select input file c. Select output file d. Run grouping b. Headings checkbox
Grouper screen after grouping Log area shows summary
HRG4 Grouper - Record Definition File Wizard
Create from a sample input file (1) c. Shift-Click to select adjacent fields a. First row of data b. Fields to assign
Create from a sample input file (2) b. Drop onto here a. Drag from here
Create from a sample input file (3) Dropped onto here
Create from a sample input file (4) a. Fields assigned b. Select more fields
HRG4 Grouper - Run from the command line
Grouper from the command line Directory The grouper command needs to be run from the directory which contains the grouper executable. The decision logic tree file is expected to be in the same directory as the executable. The Record Definition File and data files may be elsewhere. Ensure that the directory for output files is not set to Read-only.
Grouper from the command line Filenames The file type suffix (e.g. '.exe') is not required for executable file or decision logic file. The file type suffix is required for Record Definition File, data and report files. Paths The path to Record Definition File or data files may be absolute or relative.
Grouper from the command line Command parts Executable -i input -o output -d record definition file -r report(s) optional: used in Reference Costs groupers only Repeat -r switch for each report file required -l decision logic -h (optional: if input file includes header row)
Grouper from the command line Command (1) HRGGrouper -i input -o output -d record definition file -r report(s) -l decision logic -h
Grouper from the command line Command (2) HRGGrouper -i..\data\OP1007.csv -o output -d record definition file -r report(s) -l decision logic -h
Grouper from the command line Command (3) HRGGrouper -i..\data\OP1007.csv -o..\data\o_OP1007.csv -d record definition file -r report(s) -l decision logic -h
Grouper from the command line Command (4) HRGGrouper -i..\data\OP1007.csv -o..\data\o_OP1007.csv -d..\rdf\OP_RT0910R6.rdf -r report(s) -l decision logic -h
Grouper from the command line Command (5) HRGGrouper -i..\data\OP1007.csv -o..\data\o_OP1007.csv -d..\rdf\OP_RT0910R6.rdf -r NACReport001.rgf -l decision logic -h
Grouper from the command line Command (6) HRGGrouper -i..\data\OP1007.csv -o..\data\o_OP1007.csv -d..\rdf\OP_RT0910R6.rdf -r NACReport001.rgf -r NACReport002.rgf -r NACReport003.rgf -l decision logic -h
Grouper from the command line Command (7) HRGGrouper -i..\data\OP1007.csv -o..\data\o_OP1007.csv -d..\rdf\OP_RT0910R6.rdf -r NACReport001.rgf -r NACReport002.rgf -r NACReport003.rgf -l nap_v42rc -h
Grouper from the command line Command (on one line) HRGGrouper -i..\data\OP1007.csv -o..\data\o_OP1007.csv -d..\rdf\OP_RT0910R6.rdf - r NACReport001.rgf -r NACReport002.rgf -r NACReport003.rgf -l nap_v42rc -h
HRG4 Grouper - Relational output files
Episode core HRG and unbundling out_sort.csv out_FCE_rel.csv out_ub_rel.csv
Spell core HRG and SSC out_sort.csv out_spell_rel.csv out_ssc_rel.csv
Relational quality file out_sort.csv out_quality_rel.csv
HRG4 Grouper - Quality file messages
Quality file messages Some usual suspects (1) ICD R69X UZ02 - Poorly coded Primary Diagnosis in DIAG_01 EPIORDER Field is not unique in the Spell AGE Field is blank ADMIMETH Not the same in all episodes in the spell
Quality file messages Some usual suspects (2) CLASSPAT Not the same in all episodes in the spell ICD M80103 Code not recognised in DIAG_02 (morphology code in any position) ADMISORC Not the same in all episodes in the spell EPIORDER Spell exceeds 87 episodes
Further information and help from...
NHS Information Centre website Latest manuals user-manuals HRG4 Groupers and supporting documentation road-test-grouper-downloadhttp:// road-test-grouper-download (2009/10) reference-cost-grouper-downloadhttp:// reference-cost-grouper-download (2008/09) (HRG4 2009/10 Local Payment Grouper coming soon)
NHS Information Centre Contact Centre available 9am to 5pm, Monday to Friday
Department of Health website Payment by Results tariff ons/PublicationsPolicyAndGuidance/DH_ Payment by Results guidance ons/PublicationsPolicyAndGuidance/DH_094183