Welcome to the HRG4 Grouper Zone HRG4 Grouper - Group your data Grouper opening screen c. Process the file b. Select record definition file a. Select the grouping Process File screen a. Select input file c. Select output file b. Headings checkbox d. Run grouping Grouper screen after grouping Log area shows summary HRG4 Grouper - Record Definition File Wizard Create from a sample input file (1) b. Fields to assign a. First row of data c. Shift-Click to select adjacent fields Create from a sample input file (2) a. Drag from here b. Drop onto here Create from a sample input file (3) Dropped onto here Create from a sample input file (4) b. Select more fields a. Fields assigned 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_FCE_rel.csv out_sort.csv out_ub_rel.csv Spell core HRG and SSC out_spell_rel.csv out_sort.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 www.ic.nhs.uk/services/casemix/hrg4 • Latest manuals www.ic.nhs.uk/services/casemix/hrg4/hrg4-grouperuser-manuals • HRG4 Groupers and supporting documentation http://www.ic.nhs.uk/services/casemix/hrg4/hrg42009-10-road-test-grouper-download (2009/10) http://www.ic.nhs.uk/services/casemix/hrg4/hrg4reference-cost-grouper-download (2008/09) (HRG4 2009/10 Local Payment Grouper coming soon) NHS Information Centre Contact Centre • [email protected] • 0845 300 6016 • available 9am to 5pm, Monday to Friday Department of Health website www.dh.gov.uk/en/index.htm • Payment by Results 2009-10 tariff www.dh.gov.uk/en/Publicationsandstatistics/Publicati ons/PublicationsPolicyAndGuidance/DH_094091 • Payment by Results 2009-10 guidance www.dh.gov.uk/en/Publicationsandstatistics/Publicati ons/PublicationsPolicyAndGuidance/DH_094183
© Copyright 2026 Paperzz