Commit 1ced970
NIAD-3304: Adaptor not preserving legacy read codes on export (#1146)
* NIAD-3304: GP2GP Sending Adaptor not preserving legacy read codes on export
* Add initial unit test for mapping allergy codable concepts.
* Started adding tests for current behaviour for blood pressure codeable concept mapping
* * Added additional tests for `mapCodableConceptToCdForBloodPressure`
* Refactor `findOriginalText`method to accept functional parameter so that different ways of retrieving the description display extension can be used.
* * Added additional tests for `mapCodableConceptToCdForBloodPressure`
* Refactor `findOriginalText`method to accept functional parameter so that different ways of retrieving the description display extension can be used.
* * Add test for the case where an extension is provided, but the extension is not defined by the url as a description extension.
* * Add additional test for populating original text when codeable concept has only non-snomed codes.
* * Add additional test for populating original text when codeable concept has only non-snomed codes.
* * Remove whitespace
* * Rename method parameter
---------
Co-authored-by: Bhavesh Patel <[email protected]>1 parent 1ae7f10 commit 1ced970
File tree
2 files changed
+576
-3
lines changed- service/src
- main/java/uk/nhs/adaptors/gp2gp/ehr/mapper
- test/java/uk/nhs/adaptors/gp2gp/ehr/mapper
2 files changed
+576
-3
lines changedLines changed: 26 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
155 | | - | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
324 | 325 | | |
325 | 326 | | |
326 | 327 | | |
327 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
328 | 333 | | |
329 | 334 | | |
330 | 335 | | |
331 | 336 | | |
332 | 337 | | |
333 | 338 | | |
334 | 339 | | |
335 | | - | |
| 340 | + | |
336 | 341 | | |
337 | 342 | | |
338 | 343 | | |
| |||
344 | 349 | | |
345 | 350 | | |
346 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
347 | 370 | | |
348 | 371 | | |
349 | 372 | | |
| |||
0 commit comments