function addressLine2Formatter(patient) {
  return `${patient.address_city ? patient.address_city : ''}${patient.address_state ? ` ${patient.address_state}` : ''}${
    patient.address_county ? ` ${patient.address_county}` : ''
  }${patient.address_zip ? ` ${patient.address_zip}` : ''}${patient.foreign_address_city ? patient.foreign_address_city : ''}${
    patient.foreign_address_country ? ` ${patient.foreign_address_country}` : ''
  }${patient.foreign_address_zip ? ` ${patient.foreign_address_zip}` : ''}`;
}
/** formats address line 2 (city/state/zip/etc) as it is done when the field is displayed */
formats address line 2 (city/state/zip/etc) as it is done when the field is displayed
formats address line 2 ( city / state / zip / etc ) as it is done when the field is displayed
function addressLine2Formatter(patient) {
  return `${patient.address_city ? patient.address_city : ''}${patient.address_state ? ` ${patient.address_state}` : ''}${
    patient.address_county ? ` ${patient.address_county}` : ''
  }${patient.address_zip ? ` ${patient.address_zip}` : ''}${patient.foreign_address_city ? patient.foreign_address_city : ''}${
    patient.foreign_address_country ? ` ${patient.foreign_address_country}` : ''
  }${patient.foreign_address_zip ? ` ${patient.foreign_address_zip}` : ''}`;
}
function addressLine2Formatter ( patient ) { return ` ${ patient . address_city ? patient . address_city : '' } ${ patient . address_state ? ` ${ patient . address_state } ` : '' } ${ patient . address_county ? ` ${ patient . address_county } ` : '' } ${ patient . address_zip ? ` ${ patient . address_zip } ` : '' } ${ patient . foreign_address_city ? patient . foreign_address_city : '' } ${ patient . foreign_address_country ? ` ${ patient . foreign_address_country } ` : '' } ${ patient . foreign_address_zip ? ` ${ patient . foreign_address_zip } ` : '' } ` ; }
formats address line 2 (city/state/zip/etc) as it is done when the field is displayed
formats address line 2 ( city / state / zip / etc ) as it is done when the field is displayed