Complex sentence: The actual medical duties of these ships usually was defined by the space available, and based on the need, availability of local Naval Hospitals, and the availability of a medical staff.
Split into simpler sentences: The actual medical duties of these ships usually was deemed space available. Based on the need, availability of local Naval Hospitals, and the availability of a medical staff.