Build reports around the measure your team actually uses.
The definition of a measure determines the dates, statuses and records that belong in it.
No organization, policy or record named here is real. The example is written for this page.
The task
A program manager requests a service-wait report. The program guide identifies authorization as the starting event. A dated example gives both reviewers a concrete way to check the proposed calculation, and the worksheet below is what it takes to get there before anyone writes a query.
When to reach for this
- Somebody has asked for a number, and the request names the number rather than its definition.
- The same measure already exists somewhere and the two versions do not agree.
- The answer changes depending on which date or status you start from.
What to bring
- The definition, in writing, from whoever owns the measure.
- One worked case with the answer you expect, in dates rather than in prose.
- The population: which records belong in the measure and which never did.
- What to do with records that are incomplete, because there will be some.
The same case, two defensible definitions
A referral arrives May 1, service is authorized May 6, and the first service occurs May 10. Measured from authorization the wait is 4 days. Measured from referral it is 9. Neither is wrong in general. Only one is the measure the program owns. A claims report has the same shape: 3 review days sit inside 6 elapsed days once the carrier's pause rule is applied.
| What to agree | The question it answers | Your answer |
|---|---|---|
| Population | Which records belong in the measure, and which never did? | |
| Start event | Which event starts the interval, and who controls it? | |
| End event | Which event ends it, and what if it has not happened? | |
| Exclusions | Which intervals or records are deliberately left out? | |
| Incomplete records | What happens to a record missing one of those events? | |
| Units and owner | Days, hours or business days, and who settles disputes? |
4 days from authorization, 9 from referral. The definition picks one.
Whole days between two dates. The owner confirms the convention before the measure is published.
Six rows, because a measure with any one of them unanswered will be implemented twice. The units row catches more disagreements than it looks like it should.
What comes back
- A proposed calculation on its own branch, opened as a pull request.
- Acceptance examples written in dates, so the owner can check them without reading code.
- A visible count of records excluded for incompleteness, rather than a silently smaller population.
- The references the run recorded, so a reviewer can see which definition informed it.
How this usually goes wrong
The measure is implemented as a subtraction.
Subtracting two dates is the implementation everyone reaches for, and it is right exactly when nothing interrupts the interval. One pause, one exclusion or one incomplete record and it is quietly wrong, in a way that still returns a plausible number. The acceptance example has to contain an interruption, or it does not test anything.
What a reviewer checks
Hold these against the proposal before accepting it. They are the things that separate a change that works from one that returns the right answer today.
- The worked case returns the number the owner expects.
- A record with an interruption is handled, and the example contains one.
- An incomplete record is excluded and counted, not dropped.
- The units match what the owner said, including whether weekends count.
- The new measure does not contradict a published one without saying so.
What to measure in a pilot
Time from the request to a proposal the owner can read, and how much of that time went on agreeing the definition rather than the implementation.
Other use cases
- Implement a Business RuleChoose the rule, its source, and one example that makes the correct outcome clear.
- Update a Workflow or Approval QueueThe reason for a status change often determines whose turn it is.
- Review a Change Against RequirementsA proposed change is easier to judge when both reviewers can see its source rule and expected result.
Bring a request whose meaning depends on a rule written somewhere else.
Choose one improvement your team wants to make. We will walk through the context behind it, the proposed change, and the decisions your reviewers would make.