Skip to content

on routes to handler #101

@jmandel

Description

@jmandel

Bug

POST /r4/ConceptMap/$closure is dispatched to the $translate handler instead of a $closure handler. The error message references $translate parameters (sourceCode, sourceCoding, sourceCodeableConcept).

Repro

curl -s -X POST 'https://tx-dev.fhir.org/r4/ConceptMap/$closure' \
  -H 'Content-Type: application/fhir+json' \
  -H 'Accept: application/fhir+json' \
  -d '{"resourceType":"Parameters","parameter":[{"name":"name","valueString":"test-closure"}]}' | jq '.issue[0].details.text'
# Returns: "Must provide sourceCode (with system), sourceCoding, or sourceCodeableConcept"
# Expected: Either proper $closure handling or "Operation $closure is not supported"

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiThe issue relates to the API / http functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions