From 8f98d835cfb7e00d868a530f32b515d79bd76fb4 Mon Sep 17 00:00:00 2001 From: Mustafa Yuksel Date: Mon, 21 Oct 2024 16:05:42 +0300 Subject: [PATCH] :bugs: fix(ExpandOperationHandler): Fix the output of filterConcept --- .../main/scala/io/onfhir/operation/ExpandOperationHandler.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/onfhir-operations/src/main/scala/io/onfhir/operation/ExpandOperationHandler.scala b/onfhir-operations/src/main/scala/io/onfhir/operation/ExpandOperationHandler.scala index 9e9f9cc..f879e18 100644 --- a/onfhir-operations/src/main/scala/io/onfhir/operation/ExpandOperationHandler.scala +++ b/onfhir-operations/src/main/scala/io/onfhir/operation/ExpandOperationHandler.scala @@ -168,6 +168,7 @@ class ExpandOperationHandler(fhirConfigurationManager:IFhirConfigurationManager) (input \ "code").extractOpt[String].foreach(c => {output = output ~ ("code" -> c)}) (input \ "display").extractOpt[String].foreach(d => {output = output ~ ("display" -> d)}) (input \ "extension").extractOpt[JArray].foreach(arr => {output = output ~ ("extension" -> arr)}) + (input \ "designation").extractOpt[JArray].foreach(arr => {output = output ~ ("designation" -> arr)}) // If there is a language filter, update the display attribute accordingly if (language.nonEmpty) {