MEDICAL FACILITIES

Although not specific to Medical, all space-faring structures must have a Life Support System to provide heat, breathable air, and gravity.
In addition, Starfleet requires it's vessels to have triple-redundant Reserve and Emergency Life Support systems in case of any emergency where power fails or the hull is breached.
All Reserve and Emergency Life Support Generators have independent power supplies.

Life Support
System Description
Basic Life Support
Provides coverage for the entire ship during normal operation.  There is one primary generator location for every three size classes of the vessel.
Reserve Life Support
In the event that the primary generators malfunction, the reserve generators automatically activate.  There is one location for every size class of the vessel.
Emergency Life Support
In the event that the primary and reserve generators malfunction, the emergency generators automatically activate.  There is generally one per deck (two if that section is capable of separating).
Artificial Gravity Generators
Consisting of plates embedded within each deck, and operating on independent power supplies, these provide variable gravity throughout the vessel.  May be adjusted in specific areas to allow lower or higher levels if needed.
Fire Suppression System
Part of the Security system, this uses onboard sensors and force fields to isolate any fire detected.  Once isolated the fire may either be allowed to burn out (once it uses all available fuel), vented to space, or put out by removing all flamable gas (oxygen, etc...) in the isolated area.

All ships / bases have at least a basic Medical Facility - even if it's a Medical Kit.
The extent and quality of a starship / base's systems and personnel depends on it's Medical Rating.  The higher the rating, the larger the facility and larger medical staff.

By general rule there will be one Medical Kit for every 5 crew on board any vessel.
For Medical Labs please see the Science page.
 
Class
Available Facilities
Medical Staff (min)
EMH
Min. Vessel Size
0
None
Medic or Medi-kit only
None 1
1
(0) main sickbay
(1) small sickbay
(1-2)
Doctor, Nurse
None
3
2
(0) main sickbay
(1) small sickbay
(2-5)
Doctor, nurse, medics
None
4
3
(1) main sickbay
(0) small sickbay
(1) office
(3-8)
Chief, asst. chief,
nurses, medics
None 5
4
(1) main sickbay
(1) small sickbay
(1) morgue
(1) office
(5-10)
Chief, asst. chief, specialist,
nurses, medics
None 5
5
(1) main sickbay
(1+) small sickbay
(1) morgue
(2) offices
(7-15)
Chief, asst. chief, doctors, specialists, nurses, medics, counselor
None 6
6
(1) main sickbay
(1+) small sickbay
(1) ICU
(1) morgue
(3+) offices
(10-20)
Chief, asst. chief, doctors,
specialists, nurses,
medics, counselor
Mk. I-VI
6
7
(1) main sickbay
(1+) small sickbay
(1) ICU
(1+) triage
(1) morgue
(3+) offices
(15-30)
Chief, asst. chief, doctors,
specialists, nurses,
medics, counselor
Mk. I-VI
7
8
(1) main sickbay
(2+) small sickbay
(1+) ICU
(1+) triage
(1) morgue
(4+) offices
(25-40)
Chief, asst. chief, doctors, specialists, nurses, medics, counselor
Mk. I-VI
8
9
(1+) main sickbay
(2+) small sickbay
(1+) ICU
(3+) triage
(1+) morgue
(5+) offices
(35-50)
Chief, asst. chief, doctors, specialists, nurses, medics, counselors
Mk. I-VI
8
10
(1+) main sickbay
(2+) small sickbay
(1+) ICU
(5+) triage
(1+) morgue
(5+) offices
(50+)
Chief, asst. chief, doctors, specialists, nurses, medics, counselors
Mk. I-VI
9

  In addition to the listed facilities, medical kits and equipment are located on each deck in marked storage lockers.

Additional Optional Locations
Additional Offices (counselor, etc...)
Small Sickbay (3 bed)
ICU (3 bed)
Triage Center
Morgue (20 stasis)
Large (main) Sickbay (8 bed)

Emergency Medical Hologram (EMH)
The EMH is a specialized computer program designed to provide medical assistance during emergencies.  It was first approved for use aboard Starfleet Vessels and installations in 2370.
Ships built before 2375 generally had the EMH restricted just to Sickbay locations, after 2375 any vessel or installation equipped (or refitted) with shipwide holo-emitters allow EMH access throughout the ship.

Version
Available
Computer
Required
Functions
I
2370
Isolinear
1,000 KQ
*5 million possible treatments
*1,500 hours normal runtime
II
2372
Bio-Neural
1,250 KQ
*5 million possible treatments
*2,000 hours normal runtime
III
2374
Bio-Neural
1,500 KQ
*5 million possible treatments
*2,500 hours normal runtime
IV
2376
Bio-Neural
2,000 KQ
*5 million possible treatments
*3,000 hours normal runtime
V
2380
ICE
4,000 KQ
*8 million possible treatments
*5,000 hours normal runtime
VI
2385
ICE
5,000 KQ
*8 million possible treatments
*7,500 hours normal runtime