microsoft / microsoft/fhir-server
Add support for R4 type Canonical => Reference Searches
- Dominant language
- TSQL
- Stars
- 1.4k
- Forks
- 592
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 41
Description
**User story**
Add support for the R4 type [Canonical](https://www.hl7.org/fhir/datatypes.html).
Also see: https://www.hl7.org/fhir/references.html#canonical
Note the specified resources that are able to be referred to by Canonical url. In these cases the canonical reference may search the url + version property.
**Acceptance criteria**
1. Support is visible at the /metadata endpoint
1. Canonical urls are indexed correctly
1. Verify resources can be searched by QuestionnaireResponse.questionnaire, including ?questionnaire=http://url|version
Contributor guide
Research direction
Begin at the /metadata endpoint and the QuestionnaireResponse.questionnaire search entry point, then trace how canonical URLs are indexed. Consult the linked FHIR canonical reference requirements. Done means support is advertised in /metadata, canonical URLs are indexed correctly, and searches work both by URL and by URL plus version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- api, backend, databases, search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100