mediQuo

mediQuo

›iOS SDK

Overview

  • Getting Started

API Reference

  • Overview
  • Activation Codes
  • Patients
  • Prescriptions
  • Professionals
  • Messages
  • Troubleshooting

Android SDK

  • Installation
  • Professional List
  • Medical history
  • Customization
  • Other funcionalities
  • Changelog

iOS SDK

  • Installation
  • Professional List
  • Medical history
  • Customization
  • Other funcionalities
  • Changelog

Widget

  • Introduction
  • Permament session

    • Integration
    • Authentication

    Temporal session

    • Integration
  • Methods
  • Customization
  • Events

Professional List

The only view you must integrate inside you app is the professional list. Consists in a UIViewController that shows a list of all professionals available for the current authenticated user and allows access to chats and professional profiles.

Professional List


Obtain a ProfessionalsList throught:

let viewController = MediQuo.getProfessionalsList()

Add it to your view, inside an UINavigationController:

let navigationController = UINavigationController(rootViewController: viewController)
navigationController.modalPresentationStyle = .overFullScreen
self.present(navigationController, animated: false)

Delegate

We strongly recommend create a class, that implements ProfessionalsListDelegate for a better integration in your app, and set it throught setup styling.

  • viewController: Self instance of view controller that contains a professionals list
  • getRightBarButton: Implementation of right bar button in the professionals list view
  • onListLoaded: This callback is fired when the professionals list is loaded
  • onProfessionalClick: This callback is fired when press in any professional, for navigate to room

NOTE: hasAccess indicates that the authenticated patient has access to the chats (has a plan set via the Patients API).

  • onUnreadMessage: This callback is fired when the number of unread messages has changed
class ListDelegate: ProfessionalsListDelegate {
    var viewController: BaseViewController?

    func getRightBarButton() -> UIBarButtonItem {
        // Here your UIBarButtonItem implementation
    }

    func onListLoaded() {
        // Here your callback execution code
    }

    func onProfessionalClick(professionalId: Int, specialityId: Int, hasAccess: Bool) -> Bool {
        // Here your callback execution code
    }

    func onUnreadMessage(countChange: Int) {
        // Here your callback execution code
    }
}
← InstallationMedical history →
MediQuo PRO Logo
Copyright © 2023 mediQuo