"""API route composition for the application."""
from flask import Blueprint

from .auth import auth_bp
from .diagnoses import diagnoses_bp
from .diseases import diseases_bp
from .graph_presets import graph_presets_bp
from .hospital_visits import hospital_visits_bp
from .hospitals import hospitals_bp
from .misc import misc_bp
from .operations import operations_bp
from .prescriptions import prescriptions_bp
from .tests import tests_bp
from .users import users_bp
from .vaccinations import vaccinations_bp
from .devices import devices_bp
from .radiology_images import radiology_images_bp

api_bp = Blueprint('api', __name__)

api_bp.register_blueprint(auth_bp)
api_bp.register_blueprint(diagnoses_bp)
api_bp.register_blueprint(diseases_bp)
api_bp.register_blueprint(graph_presets_bp)
api_bp.register_blueprint(hospital_visits_bp)
api_bp.register_blueprint(hospitals_bp)
api_bp.register_blueprint(misc_bp)
api_bp.register_blueprint(operations_bp)
api_bp.register_blueprint(prescriptions_bp)
api_bp.register_blueprint(tests_bp)
api_bp.register_blueprint(users_bp)
api_bp.register_blueprint(vaccinations_bp)
api_bp.register_blueprint(devices_bp)
api_bp.register_blueprint(radiology_images_bp)
