Ensure Address.line[] element data is copied over

This commit is contained in:
Augustas Vilcinskas 2023-12-04 13:37:01 +01:00
parent 53586dfba5
commit c1b718afc5
No known key found for this signature in database
GPG Key ID: 1B3259680841DFEE
8 changed files with 16 additions and 16 deletions

View File

@ -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()));

View File

@ -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()));

View File

@ -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()));

View File

@ -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()));

View File

@ -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()));

View File

@ -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()));

View File

@ -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()));

View File

@ -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()));