Flesh out fallback key logic
@DanielSass is already working on this.
Since Jun 17, 2026.
Assessment
This issue has not been assessed yet.
Description
What needs to be done
Generate fallback keys for CDA elements in an eICR wherever a stable key or narrative key cannot be generated.
Currently in cda_fallback_keys.py. The main fallback methods are soft_context_key and secondary_discriminator.
Why it needs to be done
We need this for our core matching logic.
Acceptance Criteria
- Working with existing prototype code, review and refactor the code to generate a fallback key for sections that can neither be keyed by the stable_key method nor by narrative key methods. See cda_fallback_keys.py.
Technical Notes
- 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. - Double check if any of the methodology in the fallback keys is already overtaken, i.e. already handled, by any of the methodology of building a stable key or narrative key.
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 12
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.
More from CDCgov/dibbs-ecr-diff
-
CDCgov/dibbs-ecr-diff#129 · 1 assignee ·
-
CDCgov/dibbs-ecr-diff#123 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
CDCgov/dibbs-ecr-diff#122 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
CDCgov/dibbs-ecr-diff#121 ·
-
CDCgov/dibbs-ecr-diff#120 · 1 assignee ·
All issues in CDCgov/dibbs-ecr-diff
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100