mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 17:39:11 +00:00
adjust mappings handling code generating diffs
This commit is contained in:
parent
f8a19a1bae
commit
813a850730
@ -2350,7 +2350,9 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||||||
if (d.getIdentity().equals(s.getIdentity())) {
|
if (d.getIdentity().equals(s.getIdentity())) {
|
||||||
switch (mappingMergeMode) {
|
switch (mappingMergeMode) {
|
||||||
case APPEND:
|
case APPEND:
|
||||||
d.setMap(d.getMap()+";"+s.getMap());
|
if (!Utilities.splitStrings(d.getMap(), "\\,").contains(s.getMap())) {
|
||||||
|
d.setMap(d.getMap()+","+s.getMap());
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
case DUPLICATE:
|
case DUPLICATE:
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user