Skip to main content

My Health

My Health ViewController

My Health contains both medical history and feed section.

Once we initialized the SDK and authenticated the user, we can retrieve the MeetingDoctors UI using the following method:

public class func myHealthViewController() -> MeetingDoctorsResult<UIViewController>

So we can invoke the my health by adding the following call:

[...]
let result = MeetingDoctors.myHealthViewController()
if let wrapController = result.value {
// do some stuff
}
[...]

Medical History

info

Medical Prescription (aka Receta electrónica) it's inside the Medical History flow. To check the medical prescription you must show the Medical History flow inside your app.

Once we initialized the SDK and authenticated the user, we can retrieve the MeetingDoctors UI using the following method:

public class func medicalHistoryViewController() -> MeetingDoctorsResult<UIViewController>

So we can invoke the medical history by adding the following call:

[...]
let result = MeetingDoctors.medicalHistoryViewController()
if let wrapController = result.value {
// do some stuff
}
[...]

Feed

Once we initialized the SDK and authenticated the user, we can retrieve the MeetingDoctors UI using the following method:

public class func feedsViewController() -> MeetingDoctorsResult<UIViewController>

So we can invoke the feed by adding the following call:

[...]
let result = MeetingDoctors.feedsViewController()
if let wrapController = result.value {
// do some stuff
}
[...]