For those stricken with a contagious diseases there were spezial Lazarette or wards in large military hospital like this one for the German troops in Poland in Warzaw. Here it is called "Seuchenabteilung". If it were a special hospital on its own the name would be Seuchenlazarett.
On the way away from the front you´d have first Sanitätsposten, then Hauptverbandsplatz, Feldlazarett, and already in the Etappe: Kriegslazarett. The Feldlazarett was between 1-3 km behind the lines (roughly) it had operating facilities and could undertake serious operations.
GreyC