createQuestionnaireResponseItem

fun <ERROR CLASS>.createQuestionnaireResponseItem(): <ERROR CLASS>

Creates a QuestionnaireResponse.QuestionnaireResponseItemComponent from the provided Questionnaire.QuestionnaireItemComponent.

The hierarchy and order of child items will be retained as specified in the standard. See https://www.hl7.org/fhir/questionnaireresponse.html#notes for more details.