Class QuestionnaireGroupQuestion
Must register answers to questions.
Implements
Inherited Members
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class QuestionnaireGroupQuestion : BackboneElement, IFhirJsonSerializable
Properties
| Improve this Doc View Source_LinkId
Extension container element for LinkId
Declaration
public Element _LinkId { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Repeats
Extension container element for Repeats
Declaration
public Element _Repeats { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Required
Extension container element for Required
Declaration
public Element _Required { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Text
Extension container element for Text
Declaration
public Element _Text { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Type
Extension container element for Type
Declaration
public Element _Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
Concept
Allows linking of questions (and their answers) to formal terminologies.
Declaration
public List<Coding> Concept { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<Coding> |
Group
It is useful to have "sub-questions", questions which normally appear when certain answers are given and which collect additional details.
Declaration
public List<QuestionnaireGroup> Group { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<QuestionnaireGroup> |
LinkId
[[[QuestionnaireResponse]]] does not require omitted groups to be included and may have some groups that repeat, so linkage based on position alone is not sufficient.
Declaration
public string LinkId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Option
For a "choice" question, identifies one of the permitted answers for the question.
Declaration
public List<Coding> Option { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<Coding> |
Options
Reference to a value set containing a list of codes representing permitted answers for the question.
Declaration
public Reference Options { get; set; }
Property Value
| Type | Description |
|---|---|
| Reference |
Repeats
Used for "check all that apply" types of questions or "list your top 3", etc.
Declaration
public bool? Repeats { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Required
If true, indicates that the question must be answered and have required groups within it also present. If false, the question and any contained groups may be skipped when answering the questionnaire.
Declaration
public bool? Required { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Text
When including text for the questionnaire, each question may contain its actual question display text.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Type
Defines the format in which the user is to be prompted for the answer.
Declaration
public string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceDeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)
Deserialize a JSON object
Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonReader | reader | |
| JsonSerializerOptions | options |
DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)
Deserialize a JSON property
Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonReader | reader | |
| JsonSerializerOptions | options | |
| System.String | propertyName |
SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)
Serialize to a JSON object
Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonWriter | writer | |
| JsonSerializerOptions | options | |
| System.Boolean | includeStartObject |