Lawfare Group → Knowledge Institute → Lawfare Academy
← RHIA Foundations: Health Information, Analytics and Administration
Unit 5
Data analytics, databases and trustworthy comparisons
Learning objectives
- Calculate comparable rates and distinguish association from causation.
- Explain join duplication, missingness and denominator choice.
Begin with a defined question
A useful analysis names the population, unit of observation, period, numerator, denominator and exclusions. Counts answer how many; rates relate events to an exposure or population. A larger organization can have more events but a lower rate. A percentage without its denominator is easy to misinterpret.
Database structure determines the meaning of a query. In a relational model, a primary key identifies a row and a foreign key links related records. Joining one encounter to several charge lines repeats encounter-level fields. Summing those repeated fields can inflate totals. Inspect row counts, key uniqueness and expected relationship cardinality before accepting a report.
Missing does not always mean zero. An absent discharge date can mean an active encounter, delayed entry or extraction failure. Label missingness and investigate the mechanism. A mean is sensitive to extreme values; a median describes the middle ordered value. Neither alone describes the whole distribution. Use a graph suited to the question, with units, labels and a readable scale.
Separate an observation from its explanation
A before-and-after improvement can reflect case mix, seasonal change, coding, definitions or sampling. A comparison group can strengthen a design but does not automatically remove bias. Use uncertainty and alternative explanations honestly. Never turn fictional practice calculations into a real organization's performance report.
Worked example
Fictional Site A has 30 returns among 1,000 eligible discharges; Site B has 20 among 400. Calculate both rates. Then a join produces two rows per A discharge. What could go wrong?
Work through the reasoning
A is 3%; B is 5%. A has more returns but a lower observed rate. Comparability still requires consistent eligibility, observation windows and definitions. If a join repeats the encounter rows and only one side of the calculation is deduplicated, the rate can be distorted. Count unique eligible encounters consistently rather than assuming more rows mean more patients.
Deeper practice: inspect the reasoning
For a rate, write the numerator and denominator in words before entering numbers. “Returned within the defined window among eligible discharges with complete follow-up” is different from “all returns among every discharge.” A missing follow-up period can bias the result. Show exclusions and cutoff explicitly. A mathematically correct division can still answer the wrong operational question.
Check understanding
Which is the higher raw return rate?
- 30/1,000
Feedback
This is 3%.
- 20/400
Feedback
Correct: this is 5%.
- They are equal
Feedback
The denominators differ.
- Counts alone decide
Feedback
A rate needs both count and eligible population.
A one-to-many join duplicates encounter rows. What should be checked?
- Only font size
Feedback
Appearance does not establish correct aggregation.
- Key relationships and the level at which measures are counted
Feedback
Correct: define the unit before aggregating.
- Whether every blank should become zero
Feedback
Missingness needs interpretation.
- Whether totals look impressive
Feedback
Plausible-looking numbers can be wrong.