Merge pull request #1510 from vilaug/1509-address-line-conversion-fix
Ensure Address.line[] element data is copied over
This commit is contained in:
commit
a583ae3444
|
@ -26,3 +26,4 @@
|
|||
* Fix commonmark group and bump version (#1500)
|
||||
* Remove dep used for local testing
|
||||
* Bump jackson & logback versions
|
||||
* Fix StringType element properties not being copied in various Address, HumanName convertors
|
||||
|
|
|
@ -12,7 +12,7 @@ public class Address10_30 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_30.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getLine()) tgt.getLine().add(String10_30.convertString(t));
|
||||
if (src.hasCityElement()) tgt.setCityElement(String10_30.convertString(src.getCityElement()));
|
||||
if (src.hasDistrictElement()) tgt.setDistrictElement(String10_30.convertString(src.getDistrictElement()));
|
||||
if (src.hasStateElement()) tgt.setStateElement(String10_30.convertString(src.getStateElement()));
|
||||
|
@ -29,7 +29,7 @@ public class Address10_30 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_30.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getLine()) tgt.getLine().add(String10_30.convertString(t));
|
||||
if (src.hasCityElement()) tgt.setCityElement(String10_30.convertString(src.getCityElement()));
|
||||
if (src.hasDistrictElement()) tgt.setDistrictElement(String10_30.convertString(src.getDistrictElement()));
|
||||
if (src.hasStateElement()) tgt.setStateElement(String10_30.convertString(src.getStateElement()));
|
||||
|
|
|
@ -11,10 +11,10 @@ public class HumanName10_30 {
|
|||
ConversionContext10_30.INSTANCE.getVersionConvertor_10_30().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_30.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getFamily()) tgt.setFamily(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getFamily()) tgt.setFamilyElement(String10_30.convertString(t));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getGiven()) tgt.getGiven().add(String10_30.convertString(t));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String10_30.convertString(t));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String10_30.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period10_30.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
@ -25,10 +25,10 @@ public class HumanName10_30 {
|
|||
ConversionContext10_30.INSTANCE.getVersionConvertor_10_30().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_30.convertString(src.getTextElement()));
|
||||
if (src.hasFamily()) tgt.addFamily(src.getFamily());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
if (src.hasFamily()) tgt.getFamily().add(String10_30.convertString(src.getFamilyElement()));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getGiven()) tgt.getGiven().add(String10_30.convertString(t));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String10_30.convertString(t));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String10_30.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period10_30.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ public class Address10_40 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_40.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getLine()) tgt.getLine().add(String10_40.convertString(t));
|
||||
if (src.hasCityElement()) tgt.setCityElement(String10_40.convertString(src.getCityElement()));
|
||||
if (src.hasDistrictElement()) tgt.setDistrictElement(String10_40.convertString(src.getDistrictElement()));
|
||||
if (src.hasStateElement()) tgt.setStateElement(String10_40.convertString(src.getStateElement()));
|
||||
|
@ -29,7 +29,7 @@ public class Address10_40 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_40.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getLine()) tgt.getLine().add(String10_40.convertString(t));
|
||||
if (src.hasCityElement()) tgt.setCityElement(String10_40.convertString(src.getCityElement()));
|
||||
if (src.hasDistrictElement()) tgt.setDistrictElement(String10_40.convertString(src.getDistrictElement()));
|
||||
if (src.hasStateElement()) tgt.setStateElement(String10_40.convertString(src.getStateElement()));
|
||||
|
|
|
@ -11,10 +11,10 @@ public class HumanName10_40 {
|
|||
ConversionContext10_40.INSTANCE.getVersionConvertor_10_40().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_40.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getFamily()) tgt.setFamily(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getFamily()) tgt.setFamilyElement(String10_40.convertString(t));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getGiven()) tgt.getGiven().add(String10_40.convertString(t));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String10_40.convertString(t));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String10_40.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period10_40.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
@ -25,10 +25,10 @@ public class HumanName10_40 {
|
|||
ConversionContext10_40.INSTANCE.getVersionConvertor_10_40().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_40.convertString(src.getTextElement()));
|
||||
if (src.hasFamily()) tgt.addFamily(src.getFamily());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
if (src.hasFamily()) tgt.getFamily().add(String10_40.convertString(src.getFamilyElement()));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getGiven()) tgt.getGiven().add(String10_40.convertString(t));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String10_40.convertString(t));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String10_40.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period10_40.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ public class Address10_50 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_50.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getLine()) tgt.getLine().add(String10_50.convertString(t));
|
||||
if (src.hasCityElement()) tgt.setCityElement(String10_50.convertString(src.getCityElement()));
|
||||
if (src.hasDistrictElement()) tgt.setDistrictElement(String10_50.convertString(src.getDistrictElement()));
|
||||
if (src.hasStateElement()) tgt.setStateElement(String10_50.convertString(src.getStateElement()));
|
||||
|
@ -29,7 +29,7 @@ public class Address10_50 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_50.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getLine()) tgt.getLine().add(String10_50.convertString(t));
|
||||
if (src.hasCityElement()) tgt.setCityElement(String10_50.convertString(src.getCityElement()));
|
||||
if (src.hasDistrictElement()) tgt.setDistrictElement(String10_50.convertString(src.getDistrictElement()));
|
||||
if (src.hasStateElement()) tgt.setStateElement(String10_50.convertString(src.getStateElement()));
|
||||
|
|
|
@ -11,10 +11,10 @@ public class HumanName10_50 {
|
|||
ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_50.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getFamily()) tgt.setFamily(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getFamily()) tgt.setFamilyElement(String10_50.convertString(t));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getGiven()) tgt.getGiven().add(String10_50.convertString(t));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String10_50.convertString(t));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String10_50.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period10_50.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
@ -25,10 +25,10 @@ public class HumanName10_50 {
|
|||
ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasTextElement()) tgt.setTextElement(String10_50.convertString(src.getTextElement()));
|
||||
if (src.hasFamily()) tgt.addFamily(src.getFamily());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
if (src.hasFamily()) tgt.getFamily().add(String10_50.convertString(src.getFamilyElement()));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getGiven()) tgt.getGiven().add(String10_50.convertString(t));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String10_50.convertString(t));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String10_50.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period10_50.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ public class Address14_30 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_30.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getLine()) tgt.getLine().add(String14_30.convertString(t));
|
||||
if (src.hasCity()) tgt.setCityElement(String14_30.convertString(src.getCityElement()));
|
||||
if (src.hasDistrict()) tgt.setDistrictElement(String14_30.convertString(src.getDistrictElement()));
|
||||
if (src.hasState()) tgt.setStateElement(String14_30.convertString(src.getStateElement()));
|
||||
|
@ -29,7 +29,7 @@ public class Address14_30 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_30.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getLine()) tgt.getLine().add(String14_30.convertString(t));
|
||||
if (src.hasCity()) tgt.setCityElement(String14_30.convertString(src.getCityElement()));
|
||||
if (src.hasDistrict()) tgt.setDistrictElement(String14_30.convertString(src.getDistrictElement()));
|
||||
if (src.hasState()) tgt.setStateElement(String14_30.convertString(src.getStateElement()));
|
||||
|
|
|
@ -11,10 +11,10 @@ public class HumanName14_30 {
|
|||
ConversionContext14_30.INSTANCE.getVersionConvertor_14_30().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_30.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getFamily()) tgt.setFamily(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getFamily()) tgt.setFamilyElement(String14_30.convertString(t));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getGiven()) tgt.getGiven().add(String14_30.convertString(t));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String14_30.convertString(t));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String14_30.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period14_30.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
@ -25,10 +25,10 @@ public class HumanName14_30 {
|
|||
ConversionContext14_30.INSTANCE.getVersionConvertor_14_30().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_30.convertString(src.getTextElement()));
|
||||
if (src.hasFamily()) tgt.addFamily(src.getFamily());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
if (src.hasFamily()) tgt.getFamily().add(String14_30.convertString(src.getFamilyElement()));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getGiven()) tgt.getGiven().add(String14_30.convertString(t));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String14_30.convertString(t));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String14_30.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period14_30.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ public class Address14_40 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_40.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getLine()) tgt.getLine().add(String14_40.convertString(t));
|
||||
if (src.hasCity()) tgt.setCityElement(String14_40.convertString(src.getCityElement()));
|
||||
if (src.hasDistrict()) tgt.setDistrictElement(String14_40.convertString(src.getDistrictElement()));
|
||||
if (src.hasState()) tgt.setStateElement(String14_40.convertString(src.getStateElement()));
|
||||
|
@ -29,7 +29,7 @@ public class Address14_40 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_40.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getLine()) tgt.getLine().add(String14_40.convertString(t));
|
||||
if (src.hasCity()) tgt.setCityElement(String14_40.convertString(src.getCityElement()));
|
||||
if (src.hasDistrict()) tgt.setDistrictElement(String14_40.convertString(src.getDistrictElement()));
|
||||
if (src.hasState()) tgt.setStateElement(String14_40.convertString(src.getStateElement()));
|
||||
|
|
|
@ -11,10 +11,10 @@ public class HumanName14_40 {
|
|||
ConversionContext14_40.INSTANCE.getVersionConvertor_14_40().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_40.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getFamily()) tgt.setFamily(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getFamily()) tgt.setFamilyElement(String14_40.convertString(t));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getGiven()) tgt.getGiven().add(String14_40.convertString(t));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String14_40.convertString(t));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String14_40.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period14_40.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
@ -25,10 +25,10 @@ public class HumanName14_40 {
|
|||
ConversionContext14_40.INSTANCE.getVersionConvertor_14_40().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_40.convertString(src.getTextElement()));
|
||||
if (src.hasFamily()) tgt.addFamily(src.getFamily());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
if (src.hasFamily()) tgt.getFamily().add(String14_40.convertString(src.getFamilyElement()));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getGiven()) tgt.getGiven().add(String14_40.convertString(t));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String14_40.convertString(t));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String14_40.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period14_40.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ public class Address14_50 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_50.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getLine()) tgt.getLine().add(String14_50.convertString(t));
|
||||
if (src.hasCity()) tgt.setCityElement(String14_50.convertString(src.getCityElement()));
|
||||
if (src.hasDistrict()) tgt.setDistrictElement(String14_50.convertString(src.getDistrictElement()));
|
||||
if (src.hasState()) tgt.setStateElement(String14_50.convertString(src.getStateElement()));
|
||||
|
@ -29,7 +29,7 @@ public class Address14_50 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_50.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getLine()) tgt.getLine().add(String14_50.convertString(t));
|
||||
if (src.hasCity()) tgt.setCityElement(String14_50.convertString(src.getCityElement()));
|
||||
if (src.hasDistrict()) tgt.setDistrictElement(String14_50.convertString(src.getDistrictElement()));
|
||||
if (src.hasState()) tgt.setStateElement(String14_50.convertString(src.getStateElement()));
|
||||
|
|
|
@ -11,10 +11,10 @@ public class HumanName14_50 {
|
|||
ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_50.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getFamily()) tgt.setFamily(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getFamily()) tgt.setFamilyElement(String14_50.convertString(t));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getGiven()) tgt.getGiven().add(String14_50.convertString(t));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String14_50.convertString(t));
|
||||
for (org.hl7.fhir.dstu2016may.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String14_50.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period14_50.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
@ -25,10 +25,10 @@ public class HumanName14_50 {
|
|||
ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().copyElement(src, tgt);
|
||||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String14_50.convertString(src.getTextElement()));
|
||||
if (src.hasFamily()) tgt.addFamily(src.getFamily());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
if (src.hasFamily()) tgt.getFamily().add(String14_50.convertString(src.getFamilyElement()));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getGiven()) tgt.getGiven().add(String14_50.convertString(t));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String14_50.convertString(t));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String14_50.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period14_50.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ public class Address30_40 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String30_40.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getLine()) tgt.getLine().add(String30_40.convertString(t));
|
||||
if (src.hasCity()) tgt.setCityElement(String30_40.convertString(src.getCityElement()));
|
||||
if (src.hasDistrict()) tgt.setDistrictElement(String30_40.convertString(src.getDistrictElement()));
|
||||
if (src.hasState()) tgt.setStateElement(String30_40.convertString(src.getStateElement()));
|
||||
|
@ -29,7 +29,7 @@ public class Address30_40 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String30_40.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getLine()) tgt.getLine().add(String30_40.convertString(t));
|
||||
if (src.hasCity()) tgt.setCityElement(String30_40.convertString(src.getCityElement()));
|
||||
if (src.hasDistrict()) tgt.setDistrictElement(String30_40.convertString(src.getDistrictElement()));
|
||||
if (src.hasState()) tgt.setStateElement(String30_40.convertString(src.getStateElement()));
|
||||
|
|
|
@ -12,9 +12,9 @@ public class HumanName30_40 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String30_40.convertString(src.getTextElement()));
|
||||
if (src.hasFamily()) tgt.setFamilyElement(String30_40.convertString(src.getFamilyElement()));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getGiven()) tgt.getGiven().add(String30_40.convertString(t));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String30_40.convertString(t));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String30_40.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period30_40.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
@ -26,9 +26,9 @@ public class HumanName30_40 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String30_40.convertString(src.getTextElement()));
|
||||
if (src.hasFamily()) tgt.setFamilyElement(String30_40.convertString(src.getFamilyElement()));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getGiven()) tgt.getGiven().add(String30_40.convertString(t));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String30_40.convertString(t));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String30_40.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period30_40.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ public class Address30_50 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String30_50.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getLine()) tgt.getLine().add(String30_50.convertString(t));
|
||||
if (src.hasCity()) tgt.setCityElement(String30_50.convertString(src.getCityElement()));
|
||||
if (src.hasDistrict()) tgt.setDistrictElement(String30_50.convertString(src.getDistrictElement()));
|
||||
if (src.hasState()) tgt.setStateElement(String30_50.convertString(src.getStateElement()));
|
||||
|
@ -29,7 +29,7 @@ public class Address30_50 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertAddressUse(src.getUseElement()));
|
||||
if (src.hasType()) tgt.setTypeElement(convertAddressType(src.getTypeElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String30_50.convertString(src.getTextElement()));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getLine()) tgt.addLine(t.getValue());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getLine()) tgt.getLine().add(String30_50.convertString(t));
|
||||
if (src.hasCity()) tgt.setCityElement(String30_50.convertString(src.getCityElement()));
|
||||
if (src.hasDistrict()) tgt.setDistrictElement(String30_50.convertString(src.getDistrictElement()));
|
||||
if (src.hasState()) tgt.setStateElement(String30_50.convertString(src.getStateElement()));
|
||||
|
|
|
@ -12,9 +12,9 @@ public class HumanName30_50 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String30_50.convertString(src.getTextElement()));
|
||||
if (src.hasFamily()) tgt.setFamilyElement(String30_50.convertString(src.getFamilyElement()));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getGiven()) tgt.getGiven().add(String30_50.convertString(t));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String30_50.convertString(t));
|
||||
for (org.hl7.fhir.dstu3.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String30_50.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period30_50.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
@ -26,9 +26,9 @@ public class HumanName30_50 {
|
|||
if (src.hasUse()) tgt.setUseElement(convertNameUse(src.getUseElement()));
|
||||
if (src.hasText()) tgt.setTextElement(String30_50.convertString(src.getTextElement()));
|
||||
if (src.hasFamily()) tgt.setFamilyElement(String30_50.convertString(src.getFamilyElement()));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getGiven()) tgt.addGiven(t.getValue());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getPrefix()) tgt.addPrefix(t.getValue());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getSuffix()) tgt.addSuffix(t.getValue());
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getGiven()) tgt.getGiven().add(String30_50.convertString(t));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getPrefix()) tgt.getPrefix().add(String30_50.convertString(t));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getSuffix()) tgt.getSuffix().add(String30_50.convertString(t));
|
||||
if (src.hasPeriod()) tgt.setPeriod(Period30_50.convertPeriod(src.getPeriod()));
|
||||
return tgt;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue