function addressLine1Formatter(patient) {
  return `${patient.address_line_1 ? `${patient.address_line_1}` : ''}${patient.address_line_2 ? ` ${patient.address_line_2}` : ''}${
    patient.foreign_address_line_1 ? `${patient.foreign_address_line_1}` : ''
  }${patient.foreign_address_line_2 ? ` ${patient.foreign_address_line_2}` : ''}`;
}
/** formats address line 1 (number/street/etc) as it is done when the field is displayed */
formats address line 1 (number/street/etc) as it is done when the field is displayed
formats address line 1 ( number / street / etc ) as it is done when the field is displayed
function addressLine1Formatter(patient) {
  return `${patient.address_line_1 ? `${patient.address_line_1}` : ''}${patient.address_line_2 ? ` ${patient.address_line_2}` : ''}${
    patient.foreign_address_line_1 ? `${patient.foreign_address_line_1}` : ''
  }${patient.foreign_address_line_2 ? ` ${patient.foreign_address_line_2}` : ''}`;
}
function addressLine1Formatter ( patient ) { return ` ${ patient . address_line_1 ? ` ${ patient . address_line_1 } ` : '' } ${ patient . address_line_2 ? ` ${ patient . address_line_2 } ` : '' } ${ patient . foreign_address_line_1 ? ` ${ patient . foreign_address_line_1 } ` : '' } ${ patient . foreign_address_line_2 ? ` ${ patient . foreign_address_line_2 } ` : '' } ` ; }
formats address line 1 (number/street/etc) as it is done when the field is displayed
formats address line 1 ( number / street / etc ) as it is done when the field is displayed