cqframework / cqframework/clinical-reasoning
Support validation of a resource against a data requirement
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 49
- Forks
- 43
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 13
Description
Given a Resource R, validate whether it conforms to a given DataRequirement DR:
- R.resourceType == DR.type
- for (P in DR.profile) { validate R conformsTo(P) }
- for (CF in DR.codeFilter) { R.getElementByPath(CF.path) || R.getElementBySearchParam(CF.searchParam) in (CF.valueSet | CF.code) }
- for (DF in DR.dateFilter) { R.getElementByPath(DF.path) || R.getElementBySearchParam(DF.searchParam) during (DF.value.toInterval())
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
No file, test, or entry point is named. Start by locating the existing Resource and DataRequirement handling, then trace how profile, codeFilter, and dateFilter checks are represented. Done means validation covers the listed type, profile, code/value-set, and date-filter rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100