microsoft / microsoft/fhir-server

Implement $expand operation

Open
#897 4 comments 2 reactions 0 assignees View on GitHub
Area-API Area-Operations Area-Terminology Specification Up for grabs VSTS-Backlog
Dominant language
TSQL
Stars
1.4k
Forks
592
Avg merge
2d 7h
Merged PRs (30d)
41

Description

**User story**
As a user of HL7 FHIR Version 4, I want to use the $expand operation so that I can use CodeSystem and ValueSet to manage the "CodableConcept" for all resources.

**Acceptance criteria**
1. Create one or more CodeSystem
2. Create one or more ValueSet
3. Each ValueSet has a reference to one or more CodeSystem
4. When I use the $expand operation on a ValueSet, than the system returns all the CodeSystem's codes referenced in the ValueSet.

The implementation can be incremental. The base command [baseURl]/ValueSet/123ABC/$expand is enough for start.

Details can be found here:
[CodeSystem](https://www.hl7.org/fhir/codesystem.html)
[ValueSet](https://www.hl7.org/fhir/valueset.html)
[$expand](https://www.hl7.org/fhir/valueset-operation-expand.html)

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked FHIR CodeSystem, ValueSet, and $expand specifications, then trace the ValueSet/123ABC/$expand request entry point in the service. The work is done when the operation returns all codes from the CodeSystems referenced by the requested ValueSet, with the initial base URL form supported.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.