Good evening,
At that time they had regimental medical services. Dr's were civilians attached to the army with the nominal rank of captain and their assistants, usually 2, were lieutenants. However they had no right of command over anyone and could not give orders.
They sometimes wore uniforms of the regt they were with but not all of them.
John915