Skip to content

Commit

Permalink
#382 - Change display and translations structure for criteria and con…
Browse files Browse the repository at this point in the history
…cepts

- fix wrong field names in Display record for elastic search documents
- fix wrong values in cc_testdata.json
  • Loading branch information
michael-82 committed Jan 14, 2025
1 parent d395540 commit 64b16fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
@Builder
public record Display(
String original,
@Field(name = "de-DE")
@Field(name = "de")
String deDe,
@Field(name = "en-US")
@Field(name = "en")
String enUs
) {
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{"index": {"_index": "codeable_concept", "_id": "A1.0"}}
{"termcode": {"code": "A1.0", "display": "foo", "system": "some-system", "version": 2010}, "display": {"original": "some-system", "en": "some-system", "de": "some-system"}, "value_sets": []}
{"termcode": {"code": "A1.0", "display": "foo", "system": "some-system", "version": 2010}, "display": {"original": "foo", "en": "foo", "de": "föö"}, "value_sets": []}
{"index": {"_index": "codeable_concept", "_id": "A1.1"}}
{"termcode": {"code": "A1.1", "display": "bar", "system": "another-system", "version": 2012}, "display": {"original": "another-system", "en": "another-system", "de": "another-system"} ,"value_sets": ["some-value-set"]}
{"termcode": {"code": "A1.1", "display": "bar", "system": "another-system", "version": 2012}, "display": {"original": "bar", "en": "bar", "de": "bär"} ,"value_sets": ["some-value-set"]}
{"index": {"_index": "codeable_concept", "_id": "A2.0"}}
{"termcode": {"code": "A2.0", "display": "baz", "system": "some-system", "version": 2023}, "display": {"original": "some-system", "en": "some-system", "de": "some-system"},"value_sets": []}
{"termcode": {"code": "A2.0", "display": "baz", "system": "some-system", "version": 2023}, "display": {"original": "baz", "en": "baz", "de": "bäz"},"value_sets": []}

0 comments on commit 64b16fc

Please sign in to comment.