CodeableConcept.coding.display and extension.valueString is trimming leading and trailing spaces
naveen0585 opened this issue · 1 comments
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:
- Create a resource with Codeable concept.
- Add some leading and trailing spaces for coding.display and coding.extension.valueString field.
- Save fhir resource.
- 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.
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.