Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConceptMap/$translate operation requires 'conceptMap' parameter #4183

Open
dannyyyyS opened this issue Feb 10, 2023 · 1 comment
Open

ConceptMap/$translate operation requires 'conceptMap' parameter #4183

dannyyyyS opened this issue Feb 10, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@dannyyyyS
Copy link

Describe the bug
$translate operation of ConceptMap resource requires 'conceptMap' parameter. But it's cardinality in fhir specification is "0..1"
sample response:
{ "resourceType": "OperationOutcome", "id": "c0-a8-d1-82-52b13fa4-44c9-4375-bcb8-3442b9b4570d", "issue": [ { "severity": "fatal", "code": "invalid", "details": { "text": "Parameter with name 'conceptMap' was not found" } } ] }

Environment
docker container ghcr.io/linuxforhealth/fhir-server:5.1.1

To Reproduce
Steps to reproduce the behavior:

  1. GET http://{baseUrl}/fhir-server/api/v4/ConceptMap/$translate with parameter 'code', 'system', 'targetSystem'
    sample request:
    GET http://localhost:9080/fhir-server/api/v4/ConceptMap/$translate?code=1234&system=http://example.org/cs/1&targetSystem=http://example.org/cs/2

Expected behavior
Fhir server search existing ConceptMap then return match result, not requiring ConceptMap itself as part of parameters

Additional context

@dannyyyyS dannyyyyS added the bug Something isn't working label Feb 10, 2023
@paulolaup
Copy link

As far as I'm aware, I don't run into this issue while using the same version. Shall I look into the issue? Maybe I can provide a solution for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants