Commit 8fecb61
committed
* Amended test for when Description extension is present with nested display extension when mapping to null flavor codeable concept, to now allow the original text to be taken from the display extension.
* Remove now unneeded function overrides and wrappers which were in place to work around this existing bug.
* Refactor `findOriginalText` to use existing method to retrieve original text1 parent 394b969 commit 8fecb61
File tree
2 files changed
+5
-16
lines changed- service/src
- main/java/uk/nhs/adaptors/gp2gp/ehr/mapper
- test/java/uk/nhs/adaptors/gp2gp/ehr/mapper
2 files changed
+5
-16
lines changedLines changed: 3 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
156 | | - | |
| 155 | + | |
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
| |||
325 | 324 | | |
326 | 325 | | |
327 | 326 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 327 | + | |
332 | 328 | | |
333 | 329 | | |
334 | 330 | | |
| |||
339 | 335 | | |
340 | 336 | | |
341 | 337 | | |
342 | | - | |
| 338 | + | |
343 | 339 | | |
344 | 340 | | |
345 | 341 | | |
346 | 342 | | |
347 | 343 | | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | 344 | | |
357 | 345 | | |
358 | 346 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| 491 | + | |
491 | 492 | | |
492 | 493 | | |
493 | 494 | | |
| |||
508 | 509 | | |
509 | 510 | | |
510 | 511 | | |
511 | | - | |
| 512 | + | |
512 | 513 | | |
513 | 514 | | |
514 | 515 | | |
| |||
0 commit comments