Fix issue concerting ConceptMap r4 <-> r5
This commit is contained in:
parent
ed7e670d07
commit
ea4db2962e
|
@ -256,6 +256,9 @@ public class ConceptMap40_50 extends VersionConvertor_40_50 {
|
||||||
tgt.setValueAsString(src.getExtensionString(VersionConvertorConstants.EXT_OLD_CONCEPTMAP_EQUIVALENCE));
|
tgt.setValueAsString(src.getExtensionString(VersionConvertorConstants.EXT_OLD_CONCEPTMAP_EQUIVALENCE));
|
||||||
} else {
|
} else {
|
||||||
switch(src.getValue()) {
|
switch(src.getValue()) {
|
||||||
|
case RELATEDTO:
|
||||||
|
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.ConceptMapEquivalence.RELATEDTO);
|
||||||
|
break;
|
||||||
case EQUIVALENT:
|
case EQUIVALENT:
|
||||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.ConceptMapEquivalence.EQUIVALENT);
|
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.ConceptMapEquivalence.EQUIVALENT);
|
||||||
break;
|
break;
|
||||||
|
@ -301,6 +304,9 @@ public class ConceptMap40_50 extends VersionConvertor_40_50 {
|
||||||
case SPECIALIZES:
|
case SPECIALIZES:
|
||||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.NARROWER);
|
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.NARROWER);
|
||||||
break;
|
break;
|
||||||
|
case RELATEDTO:
|
||||||
|
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.RELATEDTO);
|
||||||
|
break;
|
||||||
case INEXACT:
|
case INEXACT:
|
||||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.RELATEDTO);
|
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.RELATEDTO);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue