class R4AddressFhirToDhisTransformerUtils extends AbstractAddressFhirToDhisTransformerUtils {

    @Nullable
    @Override
    public String getSingleLine( @Nullable ICompositeType address, @Nonnull String delimiter )
    {
        final Address convertedAddress = (Address) address;
        if ( (address == null) || convertedAddress.getLine().isEmpty() )
        {
            return null;
        }
        return convertedAddress.getLine().stream().map( PrimitiveType::getValue ).collect( Collectors.joining( delimiter ) );
    }

    public  R4AddressFhirToDhisTransformerUtils( @Nonnull ScriptExecutionContext scriptExecutionContext, @Nonnull R4DateTimeFhirToDhisTransformerUtils dateTimeTransformerUtils );

}