-
Notifications
You must be signed in to change notification settings - Fork 345
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
ValueSet loading is overriding default display with desgination #2809
Comments
GinoCanessa
added a commit
to microsoft/fhir-codegen
that referenced
this issue
Jun 28, 2024
Firely R5 is correct except for Timing, affected by FirelyTeam/firely-net-sdk#2809 .
GinoCanessa
added a commit
to microsoft/fhir-codegen
that referenced
this issue
Jul 1, 2024
Firely STU3 - R5 all look good.
I think this issue is in the wrong repo, maybe you wanted to report this to HL7? When looking at the expansion provided in the hl7.fhir.r5.expansions#5.0.0 package NPM file I see: "contains": [
{
"system": "http://unitsofmeasure.org",
"code": "s",
"display": "秒",
"designation": [
{
"language": "zh",
"value": "秒"
}
]
},
{
"system": "http://unitsofmeasure.org",
"code": "min",
"display": "分钟",
"designation": [
{
"language": "zh",
"value": "分钟"
}
]
},
(etcetera) So, it seems the expansion tooling in the Java stack is indeed overwriting the display. Not sure what to do about that here! |
Thanks, I missed that looking at |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When loading the R5 Units of Time ValueSet (
ValueSet-units-of-time.json
), the concepts all have the Chinese (zh
) values for thedisplay
element instead of the English value.To Reproduce
Steps to reproduce the behavior:
ValueSet-units-of-time.json
ValueSet from the R5 expansions package (hl7.fhir.r5.expansions#5.0.0
), using theFhirJsonPocoDeserializer
.Expansion.Contains
elements.Unit Test (from my project, not Hl7.Fhir) for review:
Each of the English displays match the beginning of the code values, so the test should pass. Instead it fails:
Expected behavior
The
display
element value should represent what is in the resource and not override with thedesignation
value.Screenshots
The image below is from the watch of the above unit test. The
Display
string should havesecond
in it, but has the Chinese秒
instead.Version used:
Hl7.Fhir.R5
version5.8.1
Additional context
The text was updated successfully, but these errors were encountered: