Questionnaire

  • Instances of this class can prepare questionnaires and get a callback when preparation has finished.

    Use prepareQuestionnaireViewController(), which fulfills any questionnaire dependencies before calling the callback, in which you get a handle to a ORKTaskViewController view controller that you can present on the UI.

    The whenCompleted callback is called when the user completes the questionnaire without cancelling nor error and provides the responses in a QuestionnaireResponse resource. The whenCancelledOrFailed callback is called when the questionnaire is cancelled (error = nil) or finishes with an error.

    See Questionnaire/README.md for detailed instructions.

    See more

    Declaration

    Swift

    open class QuestionnaireController: NSObject, ORKTaskViewControllerDelegate
  • A promise that can turn a FHIR Questionnaire into an ORKOrderedTask.

    See more

    Declaration

    Swift

    open class QuestionnairePromise: QuestionnairePromiseProto
  • Encapsulates requirements for a result, to be used in the conditional task.

    See more

    Declaration

    Swift

    public class ResultRequirement: NSObject, NSCopying, NSSecureCoding