validate

open override fun validate(): MissingInformationError?

Used internally by the SDK to determine if this DexCarePatient has sufficient information to schedule a virtual visit.

When validating PatientDemographics, only the first entry in the demographicsLinks list is used. The first entry in the list is assumed to be the most up-to-date demographics and is used internally for network calls.

This method checks the following in order:

Return

A MissingInformationError with an error string identifying one of the above issues, or null if the object passes validation.