In the beginning, it didn't represent medicine in general. It was used as an easily identifiable symbol, that is not identified with any single country. The idea behind it was to improve the care given to wartime victims. Since Switzerland has had a neutral status for a while, the symbol was created by inverting the colours on the Swiss flag. For the full history of the Red Cross (as a symbol and as an organisation), check this out