CDCgov / CDCgov/dibbs-ecr-diff
Flesh out narrative key logic
Open
@DavidMcClatchey is already working on this.
Since Jun 9, 2026.
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 12
Description
What needs to be done
Generate stable keys for CDA narrative tables and rows in an eICR wherever possible in order to correlate the same narrative sections across two different eICRs that come from the same set.
Currently in cda_narrative_keys.py.
Why it needs to be done
We need this for our core matching logic.
Acceptance Criteria
- Working with existing prototype code, determine the best method to generate a key for narrative sections. See cda_narrative_keys.py.
Technical Notes
- The prototype's existing fallback key logic will be fleshed out in a future ticket for scenarios when neither a stable key nor a narrative key exists for a given part of an eICR.
- Development should be done on the
david/prototype-diffbranch to ensure new code still properly integrates with all of the prototype code that hasn't been fleshed out yet. Once this feature is complete, then a new branch should be created to merge only the files relevant to this feature intomain.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.