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

CodeableConcept.coding.display and extension.valueString is trimming leading and trailing spaces #3815

Open
naveen0585 opened this issue Apr 15, 2024 · 1 comment
Labels
Bug Bug bug bug.

Comments

@naveen0585
Copy link

naveen0585 commented Apr 15, 2024

Describe the bug
Save a fhir resource having codeableConcept: coding and extension objects with leading and trailing spaces as shown below:

"code": {
"coding": [
{
"extension": [
{
"url": "http://test.com/AVALUE"
, "valueString": " SOME VALUE "
}
],
"system": "http://test.com/DR/Code"
, "code": "SOMECODE",
"display": " SOME DESCRIPTION "
}
}

Retrieve the fhir resource having this codeableConcept, the values are trimmed for extension.valueString and Coding.display
"coding": [
{
"extension": [
{
"url": "http://test.com/AVALUE"
, "valueString": "SOME VALUE"
}
],
"system": "http://test.com/DR/Code"
, "code": "SOMECODE",
"display": "SOME DESCRIPTION"
}
}

FHIR Version?
R4

To Reproduce
Steps to reproduce the behavior:

  1. Create a resource with Codeable concept.
  2. Add some leading and trailing spaces for coding.display and coding.extension.valueString field.
  3. Save fhir resource.
  4. retrieve the fhir resource back.

Expected behavior
The Coding.display and extension.valueString should retain trailing and leading spaces.

Actual behavior
coding.extension.valueString and coding.display values are trimmed.

AB#119105

@naveen0585 naveen0585 added the Bug Bug bug bug. label Apr 15, 2024
@EXPEkesheth
Copy link
Collaborator

Thanks for reporting the issue ! We have investigated the issue and requires updating the Firely library version. There is no ETA determined at this time at to update the library version.

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

No branches or pull requests

2 participants