Package com.google.android.fhir.datacapture

Types

Link copied to clipboard
data class DataCaptureConfig(valueSetResolverExternal: ExternalAnswerValueSetResolver?, npmPackage: <ERROR CLASS>?)

The App developers may provide the DataCaptureConfig for the DataCapture library by implementing Provider interface in the Application class. The library would load and cache the configuration by calling Provider.getDataCaptureConfig.

Link copied to clipboard
interface ExternalAnswerValueSetResolver

Resolves external answer value sets not defined in the questionnaire's contained element. This allows the library to render answer options to choice and open-choice type questions more dynamically.

Link copied to clipboard
open class QuestionnaireFragment

Functions

Link copied to clipboard
fun <ERROR CLASS>.addNestedItemsToAnswer(questionnaireItemComponent: <ERROR CLASS>)

Add items within QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent from the provided parent Questionnaire.QuestionnaireItemComponent with nested items. 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.

Link copied to clipboard
fun <ERROR CLASS>.createQuestionnaireResponseItem(): <ERROR CLASS>

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

Properties

Link copied to clipboard
val <ERROR CLASS>.displayString: String
Link copied to clipboard
val <ERROR CLASS>.entryFormat: String?

Whether the QuestionnaireItem should have entry format string.

Link copied to clipboard
val <ERROR CLASS>.targetStructureMap: String?

The StructureMap url in the target structure-map extension s.