Documentation
¶
Index ¶
- type Questionnaire
- func (q *Questionnaire) GetApprovalDate() *fhir.Date
- func (q *Questionnaire) GetCode() []*fhir.Coding
- func (q *Questionnaire) GetContact() []*fhir.ContactDetail
- func (q *Questionnaire) GetContained() []fhir.Resource
- func (q *Questionnaire) GetCopyright() *fhir.Markdown
- func (q *Questionnaire) GetDate() *fhir.DateTime
- func (q *Questionnaire) GetDerivedFrom() []*fhir.Canonical
- func (q *Questionnaire) GetDescription() *fhir.Markdown
- func (q *Questionnaire) GetEffectivePeriod() *fhir.Period
- func (q *Questionnaire) GetExperimental() *fhir.Boolean
- func (q *Questionnaire) GetExtension() []*fhir.Extension
- func (q *Questionnaire) GetID() string
- func (q *Questionnaire) GetIdentifier() []*fhir.Identifier
- func (q *Questionnaire) GetImplicitRules() *fhir.URI
- func (q *Questionnaire) GetItem() []*QuestionnaireItem
- func (q *Questionnaire) GetJurisdiction() []*fhir.CodeableConcept
- func (q *Questionnaire) GetLanguage() *fhir.Code
- func (q *Questionnaire) GetLastReviewDate() *fhir.Date
- func (q *Questionnaire) GetMeta() *fhir.Meta
- func (q *Questionnaire) GetModifierExtension() []*fhir.Extension
- func (q *Questionnaire) GetName() *fhir.String
- func (q *Questionnaire) GetPublisher() *fhir.String
- func (q *Questionnaire) GetPurpose() *fhir.Markdown
- func (q *Questionnaire) GetStatus() *fhir.Code
- func (q *Questionnaire) GetSubjectType() []*fhir.Code
- func (q *Questionnaire) GetText() *fhir.Narrative
- func (q *Questionnaire) GetTitle() *fhir.String
- func (q *Questionnaire) GetURL() *fhir.URI
- func (q *Questionnaire) GetUseContext() []*fhir.UsageContext
- func (q *Questionnaire) GetVersion() *fhir.String
- func (q *Questionnaire) MarshalJSON() ([]byte, error)
- func (q *Questionnaire) UnmarshalJSON(data []byte) error
- type QuestionnaireItem
- func (qi *QuestionnaireItem) GetAnswerOption() []*QuestionnaireItemAnswerOption
- func (qi *QuestionnaireItem) GetAnswerValueSet() *fhir.Canonical
- func (qi *QuestionnaireItem) GetCode() []*fhir.Coding
- func (qi *QuestionnaireItem) GetDefinition() *fhir.URI
- func (qi *QuestionnaireItem) GetEnableBehavior() *fhir.Code
- func (qi *QuestionnaireItem) GetEnableWhen() []*QuestionnaireItemEnableWhen
- func (qi *QuestionnaireItem) GetExtension() []*fhir.Extension
- func (qi *QuestionnaireItem) GetID() string
- func (qi *QuestionnaireItem) GetInitial() []*QuestionnaireItemInitial
- func (qi *QuestionnaireItem) GetLinkID() *fhir.String
- func (qi *QuestionnaireItem) GetMaxLength() *fhir.Integer
- func (qi *QuestionnaireItem) GetModifierExtension() []*fhir.Extension
- func (qi *QuestionnaireItem) GetPrefix() *fhir.String
- func (qi *QuestionnaireItem) GetReadOnly() *fhir.Boolean
- func (qi *QuestionnaireItem) GetRepeats() *fhir.Boolean
- func (qi *QuestionnaireItem) GetRequired() *fhir.Boolean
- func (qi *QuestionnaireItem) GetText() *fhir.String
- func (qi *QuestionnaireItem) GetType() *fhir.Code
- func (qi *QuestionnaireItem) MarshalJSON() ([]byte, error)
- func (qi *QuestionnaireItem) UnmarshalJSON(data []byte) error
- type QuestionnaireItemAnswerOption
- func (qiao *QuestionnaireItemAnswerOption) GetExtension() []*fhir.Extension
- func (qiao *QuestionnaireItemAnswerOption) GetID() string
- func (qiao *QuestionnaireItemAnswerOption) GetInitialSelected() *fhir.Boolean
- func (qiao *QuestionnaireItemAnswerOption) GetModifierExtension() []*fhir.Extension
- func (qiao *QuestionnaireItemAnswerOption) GetValue() fhir.Element
- func (qiao *QuestionnaireItemAnswerOption) GetValueCoding() *fhir.Coding
- func (qiao *QuestionnaireItemAnswerOption) GetValueDate() *fhir.Date
- func (qiao *QuestionnaireItemAnswerOption) GetValueInteger() *fhir.Integer
- func (qiao *QuestionnaireItemAnswerOption) GetValueReference() *fhir.Reference
- func (qiao *QuestionnaireItemAnswerOption) GetValueString() *fhir.String
- func (qiao *QuestionnaireItemAnswerOption) GetValueTime() *fhir.Time
- func (qiao *QuestionnaireItemAnswerOption) MarshalJSON() ([]byte, error)
- func (qiao *QuestionnaireItemAnswerOption) UnmarshalJSON(data []byte) error
- type QuestionnaireItemEnableWhen
- func (qiew *QuestionnaireItemEnableWhen) GetAnswer() fhir.Element
- func (qiew *QuestionnaireItemEnableWhen) GetAnswerBoolean() *fhir.Boolean
- func (qiew *QuestionnaireItemEnableWhen) GetAnswerCoding() *fhir.Coding
- func (qiew *QuestionnaireItemEnableWhen) GetAnswerDate() *fhir.Date
- func (qiew *QuestionnaireItemEnableWhen) GetAnswerDateTime() *fhir.DateTime
- func (qiew *QuestionnaireItemEnableWhen) GetAnswerDecimal() *fhir.Decimal
- func (qiew *QuestionnaireItemEnableWhen) GetAnswerInteger() *fhir.Integer
- func (qiew *QuestionnaireItemEnableWhen) GetAnswerQuantity() *fhir.Quantity
- func (qiew *QuestionnaireItemEnableWhen) GetAnswerReference() *fhir.Reference
- func (qiew *QuestionnaireItemEnableWhen) GetAnswerString() *fhir.String
- func (qiew *QuestionnaireItemEnableWhen) GetAnswerTime() *fhir.Time
- func (qiew *QuestionnaireItemEnableWhen) GetExtension() []*fhir.Extension
- func (qiew *QuestionnaireItemEnableWhen) GetID() string
- func (qiew *QuestionnaireItemEnableWhen) GetModifierExtension() []*fhir.Extension
- func (qiew *QuestionnaireItemEnableWhen) GetOperator() *fhir.Code
- func (qiew *QuestionnaireItemEnableWhen) GetQuestion() *fhir.String
- func (qiew *QuestionnaireItemEnableWhen) MarshalJSON() ([]byte, error)
- func (qiew *QuestionnaireItemEnableWhen) UnmarshalJSON(data []byte) error
- type QuestionnaireItemInitial
- func (qii *QuestionnaireItemInitial) GetExtension() []*fhir.Extension
- func (qii *QuestionnaireItemInitial) GetID() string
- func (qii *QuestionnaireItemInitial) GetModifierExtension() []*fhir.Extension
- func (qii *QuestionnaireItemInitial) GetValue() fhir.Element
- func (qii *QuestionnaireItemInitial) GetValueAttachment() *fhir.Attachment
- func (qii *QuestionnaireItemInitial) GetValueBoolean() *fhir.Boolean
- func (qii *QuestionnaireItemInitial) GetValueCoding() *fhir.Coding
- func (qii *QuestionnaireItemInitial) GetValueDate() *fhir.Date
- func (qii *QuestionnaireItemInitial) GetValueDateTime() *fhir.DateTime
- func (qii *QuestionnaireItemInitial) GetValueDecimal() *fhir.Decimal
- func (qii *QuestionnaireItemInitial) GetValueInteger() *fhir.Integer
- func (qii *QuestionnaireItemInitial) GetValueQuantity() *fhir.Quantity
- func (qii *QuestionnaireItemInitial) GetValueReference() *fhir.Reference
- func (qii *QuestionnaireItemInitial) GetValueString() *fhir.String
- func (qii *QuestionnaireItemInitial) GetValueTime() *fhir.Time
- func (qii *QuestionnaireItemInitial) GetValueURI() *fhir.URI
- func (qii *QuestionnaireItemInitial) MarshalJSON() ([]byte, error)
- func (qii *QuestionnaireItemInitial) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Questionnaire ¶
type Questionnaire struct { // The date on which the resource content was approved by the publisher. // Approval happens once when the content is officially approved for usage. ApprovalDate *fhir.Date `fhirpath:"approvalDate"` // An identifier for this question or group of questions in a particular // terminology such as LOINC. Code []*fhir.Coding `fhirpath:"code"` // Contact details to assist a user in finding and communicating with the // publisher. Contact []*fhir.ContactDetail `fhirpath:"contact"` // These resources do not have an independent existence apart from the resource // that contains them - they cannot be identified independently, and nor can // they have their own independent transaction scope. Contained []fhir.Resource `fhirpath:"contained"` // A copyright statement relating to the questionnaire and/or its contents. // Copyright statements are generally legal restrictions on the use and // publishing of the questionnaire. Copyright *fhir.Markdown `fhirpath:"copyright"` // The date (and optionally time) when the questionnaire was published. The // date must change when the business version changes and it must change if the // status code changes. In addition, it should change when the substantive // content of the questionnaire changes. Date *fhir.DateTime `fhirpath:"date"` // The URL of a Questionnaire that this Questionnaire is based on. DerivedFrom []*fhir.Canonical `fhirpath:"derivedFrom"` // A free text natural language description of the questionnaire from a // consumer's perspective. Description *fhir.Markdown `fhirpath:"description"` // The period during which the questionnaire content was or is planned to be in // active use. EffectivePeriod *fhir.Period `fhirpath:"effectivePeriod"` // A Boolean value to indicate that this questionnaire is authored for testing // purposes (or education/evaluation/marketing) and is not intended to be used // for genuine usage. Experimental *fhir.Boolean `fhirpath:"experimental"` // May be used to represent additional information that is not part of the // basic definition of the resource. To make the use of extensions safe and // manageable, there is a strict set of governance applied to the definition // and use of extensions. Though any implementer can define an extension, there // is a set of requirements that SHALL be met as part of the definition of the // extension. Extension []*fhir.Extension `fhirpath:"extension"` // The logical id of the resource, as used in the URL for the resource. Once // assigned, this value never changes. ID string `fhirpath:"id"` // A formal identifier that is used to identify this questionnaire when it is // represented in other formats, or referenced in a specification, model, // design or an instance. Identifier []*fhir.Identifier `fhirpath:"identifier"` // A reference to a set of rules that were followed when the resource was // constructed, and which must be understood when processing the content. // Often, this is a reference to an implementation guide that defines the // special rules along with other profiles etc. ImplicitRules *fhir.URI `fhirpath:"implicitRules"` // A particular question, question grouping or display text that is part of the // questionnaire. Item []*QuestionnaireItem `fhirpath:"item"` // A legal or geographic region in which the questionnaire is intended to be // used. Jurisdiction []*fhir.CodeableConcept `fhirpath:"jurisdiction"` // The base language in which the resource is written. Language *fhir.Code `fhirpath:"language"` // The date on which the resource content was last reviewed. Review happens // periodically after approval but does not change the original approval date. LastReviewDate *fhir.Date `fhirpath:"lastReviewDate"` // The metadata about the resource. This is content that is maintained by the // infrastructure. Changes to the content might not always be associated with // version changes to the resource. Meta *fhir.Meta `fhirpath:"meta"` // May be used to represent additional information that is not part of the // basic definition of the resource and that modifies the understanding of the // element that contains it and/or the understanding of the containing // element's descendants. Usually modifier elements provide negation or // qualification. To make the use of extensions safe and manageable, there is a // strict set of governance applied to the definition and use of extensions. // Though any implementer is allowed to define an extension, there is a set of // requirements that SHALL be met as part of the definition of the extension. // Applications processing a resource are required to check for modifier // extensions. // Modifier extensions SHALL NOT change the meaning of any elements on Resource // or DomainResource (including cannot change the meaning of modifierExtension // itself). ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"` // A natural language name identifying the questionnaire. This name should be // usable as an identifier for the module by machine processing applications // such as code generation. Name *fhir.String `fhirpath:"name"` // The name of the organization or individual that published the questionnaire. Publisher *fhir.String `fhirpath:"publisher"` // Explanation of why this questionnaire is needed and why it has been designed // as it has. Purpose *fhir.Markdown `fhirpath:"purpose"` // The status of this questionnaire. Enables tracking the life-cycle of the // content. Status *fhir.Code `fhirpath:"status"` // The types of subjects that can be the subject of responses created for the // questionnaire. SubjectType []*fhir.Code `fhirpath:"subjectType"` // A human-readable narrative that contains a summary of the resource and can // be used to represent the content of the resource to a human. The narrative // need not encode all the structured data, but is required to contain // sufficient detail to make it "clinically safe" for a human to just read the // narrative. Resource definitions may define what content should be // represented in the narrative to ensure clinical safety. Text *fhir.Narrative `fhirpath:"text"` // A short, descriptive, user-friendly title for the questionnaire. Title *fhir.String `fhirpath:"title"` // An absolute URI that is used to identify this questionnaire when it is // referenced in a specification, model, design or an instance; also called its // canonical identifier. This SHOULD be globally unique and SHOULD be a literal // address at which at which an authoritative instance of this questionnaire is // (or will be) published. This URL can be the target of a canonical reference. // It SHALL remain the same when the questionnaire is stored on different // servers. URL *fhir.URI `fhirpath:"url"` // The content was developed with a focus and intent of supporting the contexts // that are listed. These contexts may be general categories (gender, age, ...) // or may be references to specific programs (insurance plans, studies, ...) // and may be used to assist with indexing and searching for appropriate // questionnaire instances. UseContext []*fhir.UsageContext `fhirpath:"useContext"` // The identifier that is used to identify this version of the questionnaire // when it is referenced in a specification, model, design or instance. This is // an arbitrary value managed by the questionnaire author and is not expected // to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) // if a managed version is not available. There is also no expectation that // versions can be placed in a lexicographical sequence. Version *fhir.String `fhirpath:"version"` profileimpl.BaseQuestionnaire profileimpl.BaseDomainResource profileimpl.BaseResource }
A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.
Meta Details:
- Package IG: hl7.fhir.r4.core@4.0.1
- StructureDefinition: http://hl7.org/fhir/StructureDefinition/Questionnaire
- Source File: StructureDefinition-Questionnaire.json
func (*Questionnaire) GetApprovalDate ¶
func (q *Questionnaire) GetApprovalDate() *fhir.Date
GetApprovalDate returns the value of the field ApprovalDate. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetCode ¶
func (q *Questionnaire) GetCode() []*fhir.Coding
GetCode returns the value of the field Code. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetContact ¶
func (q *Questionnaire) GetContact() []*fhir.ContactDetail
GetContact returns the value of the field Contact. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetContained ¶
func (q *Questionnaire) GetContained() []fhir.Resource
GetContained returns the value of the field Contained. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetCopyright ¶
func (q *Questionnaire) GetCopyright() *fhir.Markdown
GetCopyright returns the value of the field Copyright. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetDate ¶
func (q *Questionnaire) GetDate() *fhir.DateTime
GetDate returns the value of the field Date. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetDerivedFrom ¶
func (q *Questionnaire) GetDerivedFrom() []*fhir.Canonical
GetDerivedFrom returns the value of the field DerivedFrom. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetDescription ¶
func (q *Questionnaire) GetDescription() *fhir.Markdown
GetDescription returns the value of the field Description. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetEffectivePeriod ¶
func (q *Questionnaire) GetEffectivePeriod() *fhir.Period
GetEffectivePeriod returns the value of the field EffectivePeriod. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetExperimental ¶
func (q *Questionnaire) GetExperimental() *fhir.Boolean
GetExperimental returns the value of the field Experimental. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetExtension ¶
func (q *Questionnaire) GetExtension() []*fhir.Extension
GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetID ¶
func (q *Questionnaire) GetID() string
GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetIdentifier ¶
func (q *Questionnaire) GetIdentifier() []*fhir.Identifier
GetIdentifier returns the value of the field Identifier. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetImplicitRules ¶
func (q *Questionnaire) GetImplicitRules() *fhir.URI
GetImplicitRules returns the value of the field ImplicitRules. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetItem ¶
func (q *Questionnaire) GetItem() []*QuestionnaireItem
GetItem returns the value of the field Item. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetJurisdiction ¶
func (q *Questionnaire) GetJurisdiction() []*fhir.CodeableConcept
GetJurisdiction returns the value of the field Jurisdiction. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetLanguage ¶
func (q *Questionnaire) GetLanguage() *fhir.Code
GetLanguage returns the value of the field Language. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetLastReviewDate ¶
func (q *Questionnaire) GetLastReviewDate() *fhir.Date
GetLastReviewDate returns the value of the field LastReviewDate. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetMeta ¶
func (q *Questionnaire) GetMeta() *fhir.Meta
GetMeta returns the value of the field Meta. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetModifierExtension ¶
func (q *Questionnaire) GetModifierExtension() []*fhir.Extension
GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetName ¶
func (q *Questionnaire) GetName() *fhir.String
GetName returns the value of the field Name. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetPublisher ¶
func (q *Questionnaire) GetPublisher() *fhir.String
GetPublisher returns the value of the field Publisher. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetPurpose ¶
func (q *Questionnaire) GetPurpose() *fhir.Markdown
GetPurpose returns the value of the field Purpose. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetStatus ¶
func (q *Questionnaire) GetStatus() *fhir.Code
GetStatus returns the value of the field Status. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetSubjectType ¶
func (q *Questionnaire) GetSubjectType() []*fhir.Code
GetSubjectType returns the value of the field SubjectType. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetText ¶
func (q *Questionnaire) GetText() *fhir.Narrative
GetText returns the value of the field Text. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetTitle ¶
func (q *Questionnaire) GetTitle() *fhir.String
GetTitle returns the value of the field Title. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetURL ¶
func (q *Questionnaire) GetURL() *fhir.URI
GetURL returns the value of the field URL. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetUseContext ¶
func (q *Questionnaire) GetUseContext() []*fhir.UsageContext
GetUseContext returns the value of the field UseContext. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) GetVersion ¶
func (q *Questionnaire) GetVersion() *fhir.String
GetVersion returns the value of the field Version. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Questionnaire) MarshalJSON ¶
func (q *Questionnaire) MarshalJSON() ([]byte, error)
func (*Questionnaire) UnmarshalJSON ¶
func (q *Questionnaire) UnmarshalJSON(data []byte) error
type QuestionnaireItem ¶
type QuestionnaireItem struct { // One of the permitted answers for a "choice" or "open-choice" question. AnswerOption []*QuestionnaireItemAnswerOption `fhirpath:"answerOption"` // A reference to a value set containing a list of codes representing permitted // answers for a "choice" or "open-choice" question. AnswerValueSet *fhir.Canonical `fhirpath:"answerValueSet"` // A terminology code that corresponds to this group or question (e.g. a code // from LOINC, which defines many questions and answers). Code []*fhir.Coding `fhirpath:"code"` // This element is a URI that refers to an // [ElementDefinition](elementdefinition.html) that provides information about // this item, including information that might otherwise be included in the // instance of the Questionnaire resource. A detailed description of the // construction of the URI is shown in Comments, below. If this element is // present then the following element values MAY be derived from the Element // Definition if the corresponding elements of this Questionnaire resource // instance have no value: // * code (ElementDefinition.code) * type (ElementDefinition.type) * required // (ElementDefinition.min) * repeats (ElementDefinition.max) * maxLength // (ElementDefinition.maxLength) * answerValueSet (ElementDefinition.binding) * // options (ElementDefinition.binding). Definition *fhir.URI `fhirpath:"definition"` // Controls how multiple enableWhen values are interpreted - whether all or any // must be true. EnableBehavior *fhir.Code `fhirpath:"enableBehavior"` // A constraint indicating that this item should only be enabled // (displayed/allow answers to be captured) when the specified condition is // true. EnableWhen []*QuestionnaireItemEnableWhen `fhirpath:"enableWhen"` // May be used to represent additional information that is not part of the // basic definition of the element. To make the use of extensions safe and // manageable, there is a strict set of governance applied to the definition // and use of extensions. Though any implementer can define an extension, there // is a set of requirements that SHALL be met as part of the definition of the // extension. Extension []*fhir.Extension `fhirpath:"extension"` // Unique id for the element within a resource (for internal references). This // may be any string value that does not contain spaces. ID string `fhirpath:"id"` // One or more values that should be pre-populated in the answer when initially // rendering the questionnaire for user input. Initial []*QuestionnaireItemInitial `fhirpath:"initial"` // An identifier that is unique within the Questionnaire allowing linkage to // the equivalent item in a QuestionnaireResponse resource. LinkID *fhir.String `fhirpath:"linkId"` // The maximum number of characters that are permitted in the answer to be // considered a "valid" QuestionnaireResponse. MaxLength *fhir.Integer `fhirpath:"maxLength"` // May be used to represent additional information that is not part of the // basic definition of the element and that modifies the understanding of the // element in which it is contained and/or the understanding of the containing // element's descendants. Usually modifier elements provide negation or // qualification. To make the use of extensions safe and manageable, there is a // strict set of governance applied to the definition and use of extensions. // Though any implementer can define an extension, there is a set of // requirements that SHALL be met as part of the definition of the extension. // Applications processing a resource are required to check for modifier // extensions. // Modifier extensions SHALL NOT change the meaning of any elements on Resource // or DomainResource (including cannot change the meaning of modifierExtension // itself). ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"` // A short label for a particular group, question or set of display text within // the questionnaire used for reference by the individual completing the // questionnaire. Prefix *fhir.String `fhirpath:"prefix"` // An indication, when true, that the value cannot be changed by a human // respondent to the Questionnaire. ReadOnly *fhir.Boolean `fhirpath:"readOnly"` // An indication, if true, that the item may occur multiple times in the // response, collecting multiple answers for questions or multiple sets of // answers for groups. Repeats *fhir.Boolean `fhirpath:"repeats"` // An indication, if true, that the item must be present in a "completed" // QuestionnaireResponse. If false, the item may be skipped when answering the // questionnaire. Required *fhir.Boolean `fhirpath:"required"` // The name of a section, the text of a question or text content for a display // item. Text *fhir.String `fhirpath:"text"` // The type of questionnaire item this is - whether text for display, a // grouping of other items or a particular type of data to be captured (string, // integer, coded choice, etc.). Type *fhir.Code `fhirpath:"type"` profileimpl.BaseBackboneElement profileimpl.BaseElement }
Questions and sections within the Questionnaire// A particular question, question grouping or display text that is part of the questionnaire.// The content of the questionnaire is constructed from an ordered, hierarchical collection of items.
Meta Details:
- Package IG: hl7.fhir.r4.core@4.0.1
- StructureDefinition:
- Source File: StructureDefinition-Questionnaire.json
func (*QuestionnaireItem) GetAnswerOption ¶
func (qi *QuestionnaireItem) GetAnswerOption() []*QuestionnaireItemAnswerOption
GetAnswerOption returns the value of the field AnswerOption. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetAnswerValueSet ¶
func (qi *QuestionnaireItem) GetAnswerValueSet() *fhir.Canonical
GetAnswerValueSet returns the value of the field AnswerValueSet. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetCode ¶
func (qi *QuestionnaireItem) GetCode() []*fhir.Coding
GetCode returns the value of the field Code. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetDefinition ¶
func (qi *QuestionnaireItem) GetDefinition() *fhir.URI
GetDefinition returns the value of the field Definition. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetEnableBehavior ¶
func (qi *QuestionnaireItem) GetEnableBehavior() *fhir.Code
GetEnableBehavior returns the value of the field EnableBehavior. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetEnableWhen ¶
func (qi *QuestionnaireItem) GetEnableWhen() []*QuestionnaireItemEnableWhen
GetEnableWhen returns the value of the field EnableWhen. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetExtension ¶
func (qi *QuestionnaireItem) GetExtension() []*fhir.Extension
GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetID ¶
func (qi *QuestionnaireItem) GetID() string
GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetInitial ¶
func (qi *QuestionnaireItem) GetInitial() []*QuestionnaireItemInitial
GetInitial returns the value of the field Initial. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetLinkID ¶
func (qi *QuestionnaireItem) GetLinkID() *fhir.String
GetLinkID returns the value of the field LinkID. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetMaxLength ¶
func (qi *QuestionnaireItem) GetMaxLength() *fhir.Integer
GetMaxLength returns the value of the field MaxLength. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetModifierExtension ¶
func (qi *QuestionnaireItem) GetModifierExtension() []*fhir.Extension
GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetPrefix ¶
func (qi *QuestionnaireItem) GetPrefix() *fhir.String
GetPrefix returns the value of the field Prefix. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetReadOnly ¶
func (qi *QuestionnaireItem) GetReadOnly() *fhir.Boolean
GetReadOnly returns the value of the field ReadOnly. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetRepeats ¶
func (qi *QuestionnaireItem) GetRepeats() *fhir.Boolean
GetRepeats returns the value of the field Repeats. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetRequired ¶
func (qi *QuestionnaireItem) GetRequired() *fhir.Boolean
GetRequired returns the value of the field Required. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetText ¶
func (qi *QuestionnaireItem) GetText() *fhir.String
GetText returns the value of the field Text. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) GetType ¶
func (qi *QuestionnaireItem) GetType() *fhir.Code
GetType returns the value of the field Type. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItem) MarshalJSON ¶
func (qi *QuestionnaireItem) MarshalJSON() ([]byte, error)
func (*QuestionnaireItem) UnmarshalJSON ¶
func (qi *QuestionnaireItem) UnmarshalJSON(data []byte) error
type QuestionnaireItemAnswerOption ¶
type QuestionnaireItemAnswerOption struct { // May be used to represent additional information that is not part of the // basic definition of the element. To make the use of extensions safe and // manageable, there is a strict set of governance applied to the definition // and use of extensions. Though any implementer can define an extension, there // is a set of requirements that SHALL be met as part of the definition of the // extension. Extension []*fhir.Extension `fhirpath:"extension"` // Unique id for the element within a resource (for internal references). This // may be any string value that does not contain spaces. ID string `fhirpath:"id"` // Indicates whether the answer value is selected when the list of possible // answers is initially shown. InitialSelected *fhir.Boolean `fhirpath:"initialSelected"` // May be used to represent additional information that is not part of the // basic definition of the element and that modifies the understanding of the // element in which it is contained and/or the understanding of the containing // element's descendants. Usually modifier elements provide negation or // qualification. To make the use of extensions safe and manageable, there is a // strict set of governance applied to the definition and use of extensions. // Though any implementer can define an extension, there is a set of // requirements that SHALL be met as part of the definition of the extension. // Applications processing a resource are required to check for modifier // extensions. // Modifier extensions SHALL NOT change the meaning of any elements on Resource // or DomainResource (including cannot change the meaning of modifierExtension // itself). ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"` // A potential answer that's allowed as the answer to this question. Value fhir.Element `fhirpath:"value"` profileimpl.BaseBackboneElement profileimpl.BaseElement }
Permitted answer// One of the permitted answers for a "choice" or "open-choice" question.// This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.
Meta Details:
- Package IG: hl7.fhir.r4.core@4.0.1
- StructureDefinition:
- Source File: StructureDefinition-Questionnaire.json
func (*QuestionnaireItemAnswerOption) GetExtension ¶
func (qiao *QuestionnaireItemAnswerOption) GetExtension() []*fhir.Extension
GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemAnswerOption) GetID ¶
func (qiao *QuestionnaireItemAnswerOption) GetID() string
GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemAnswerOption) GetInitialSelected ¶
func (qiao *QuestionnaireItemAnswerOption) GetInitialSelected() *fhir.Boolean
GetInitialSelected returns the value of the field InitialSelected. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemAnswerOption) GetModifierExtension ¶
func (qiao *QuestionnaireItemAnswerOption) GetModifierExtension() []*fhir.Extension
GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemAnswerOption) GetValue ¶
func (qiao *QuestionnaireItemAnswerOption) GetValue() fhir.Element
GetValue returns the value of the field Value. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemAnswerOption) GetValueCoding ¶
func (qiao *QuestionnaireItemAnswerOption) GetValueCoding() *fhir.Coding
GetValueCoding returns the value of the field Value.
func (*QuestionnaireItemAnswerOption) GetValueDate ¶
func (qiao *QuestionnaireItemAnswerOption) GetValueDate() *fhir.Date
GetValueDate returns the value of the field Value.
func (*QuestionnaireItemAnswerOption) GetValueInteger ¶
func (qiao *QuestionnaireItemAnswerOption) GetValueInteger() *fhir.Integer
GetValueInteger returns the value of the field Value.
func (*QuestionnaireItemAnswerOption) GetValueReference ¶
func (qiao *QuestionnaireItemAnswerOption) GetValueReference() *fhir.Reference
GetValueReference returns the value of the field Value.
func (*QuestionnaireItemAnswerOption) GetValueString ¶
func (qiao *QuestionnaireItemAnswerOption) GetValueString() *fhir.String
GetValueString returns the value of the field Value.
func (*QuestionnaireItemAnswerOption) GetValueTime ¶
func (qiao *QuestionnaireItemAnswerOption) GetValueTime() *fhir.Time
GetValueTime returns the value of the field Value.
func (*QuestionnaireItemAnswerOption) MarshalJSON ¶
func (qiao *QuestionnaireItemAnswerOption) MarshalJSON() ([]byte, error)
func (*QuestionnaireItemAnswerOption) UnmarshalJSON ¶
func (qiao *QuestionnaireItemAnswerOption) UnmarshalJSON(data []byte) error
type QuestionnaireItemEnableWhen ¶
type QuestionnaireItemEnableWhen struct { // A value that the referenced question is tested using the specified operator // in order for the item to be enabled. Answer fhir.Element `fhirpath:"answer"` // May be used to represent additional information that is not part of the // basic definition of the element. To make the use of extensions safe and // manageable, there is a strict set of governance applied to the definition // and use of extensions. Though any implementer can define an extension, there // is a set of requirements that SHALL be met as part of the definition of the // extension. Extension []*fhir.Extension `fhirpath:"extension"` // Unique id for the element within a resource (for internal references). This // may be any string value that does not contain spaces. ID string `fhirpath:"id"` // May be used to represent additional information that is not part of the // basic definition of the element and that modifies the understanding of the // element in which it is contained and/or the understanding of the containing // element's descendants. Usually modifier elements provide negation or // qualification. To make the use of extensions safe and manageable, there is a // strict set of governance applied to the definition and use of extensions. // Though any implementer can define an extension, there is a set of // requirements that SHALL be met as part of the definition of the extension. // Applications processing a resource are required to check for modifier // extensions. // Modifier extensions SHALL NOT change the meaning of any elements on Resource // or DomainResource (including cannot change the meaning of modifierExtension // itself). ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"` // Specifies the criteria by which the question is enabled. Operator *fhir.Code `fhirpath:"operator"` // The linkId for the question whose answer (or lack of answer) governs whether // this item is enabled. Question *fhir.String `fhirpath:"question"` profileimpl.BaseBackboneElement profileimpl.BaseElement }
Only allow data when// A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.// If multiple repetitions of this extension are present, the item should be enabled when the condition for *any* of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.
Meta Details:
- Package IG: hl7.fhir.r4.core@4.0.1
- StructureDefinition:
- Source File: StructureDefinition-Questionnaire.json
func (*QuestionnaireItemEnableWhen) GetAnswer ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswer() fhir.Element
GetAnswer returns the value of the field Answer. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemEnableWhen) GetAnswerBoolean ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswerBoolean() *fhir.Boolean
GetAnswerBoolean returns the value of the field Answer.
func (*QuestionnaireItemEnableWhen) GetAnswerCoding ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswerCoding() *fhir.Coding
GetAnswerCoding returns the value of the field Answer.
func (*QuestionnaireItemEnableWhen) GetAnswerDate ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswerDate() *fhir.Date
GetAnswerDate returns the value of the field Answer.
func (*QuestionnaireItemEnableWhen) GetAnswerDateTime ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswerDateTime() *fhir.DateTime
GetAnswerDateTime returns the value of the field Answer.
func (*QuestionnaireItemEnableWhen) GetAnswerDecimal ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswerDecimal() *fhir.Decimal
GetAnswerDecimal returns the value of the field Answer.
func (*QuestionnaireItemEnableWhen) GetAnswerInteger ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswerInteger() *fhir.Integer
GetAnswerInteger returns the value of the field Answer.
func (*QuestionnaireItemEnableWhen) GetAnswerQuantity ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswerQuantity() *fhir.Quantity
GetAnswerQuantity returns the value of the field Answer.
func (*QuestionnaireItemEnableWhen) GetAnswerReference ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswerReference() *fhir.Reference
GetAnswerReference returns the value of the field Answer.
func (*QuestionnaireItemEnableWhen) GetAnswerString ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswerString() *fhir.String
GetAnswerString returns the value of the field Answer.
func (*QuestionnaireItemEnableWhen) GetAnswerTime ¶
func (qiew *QuestionnaireItemEnableWhen) GetAnswerTime() *fhir.Time
GetAnswerTime returns the value of the field Answer.
func (*QuestionnaireItemEnableWhen) GetExtension ¶
func (qiew *QuestionnaireItemEnableWhen) GetExtension() []*fhir.Extension
This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemEnableWhen) GetID ¶
func (qiew *QuestionnaireItemEnableWhen) GetID() string
GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemEnableWhen) GetModifierExtension ¶
func (qiew *QuestionnaireItemEnableWhen) GetModifierExtension() []*fhir.Extension
GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemEnableWhen) GetOperator ¶
func (qiew *QuestionnaireItemEnableWhen) GetOperator() *fhir.Code
GetOperator returns the value of the field Operator. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemEnableWhen) GetQuestion ¶
func (qiew *QuestionnaireItemEnableWhen) GetQuestion() *fhir.String
GetQuestion returns the value of the field Question. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemEnableWhen) MarshalJSON ¶
func (qiew *QuestionnaireItemEnableWhen) MarshalJSON() ([]byte, error)
func (*QuestionnaireItemEnableWhen) UnmarshalJSON ¶
func (qiew *QuestionnaireItemEnableWhen) UnmarshalJSON(data []byte) error
type QuestionnaireItemInitial ¶
type QuestionnaireItemInitial struct { // May be used to represent additional information that is not part of the // basic definition of the element. To make the use of extensions safe and // manageable, there is a strict set of governance applied to the definition // and use of extensions. Though any implementer can define an extension, there // is a set of requirements that SHALL be met as part of the definition of the // extension. Extension []*fhir.Extension `fhirpath:"extension"` // Unique id for the element within a resource (for internal references). This // may be any string value that does not contain spaces. ID string `fhirpath:"id"` // May be used to represent additional information that is not part of the // basic definition of the element and that modifies the understanding of the // element in which it is contained and/or the understanding of the containing // element's descendants. Usually modifier elements provide negation or // qualification. To make the use of extensions safe and manageable, there is a // strict set of governance applied to the definition and use of extensions. // Though any implementer can define an extension, there is a set of // requirements that SHALL be met as part of the definition of the extension. // Applications processing a resource are required to check for modifier // extensions. // Modifier extensions SHALL NOT change the meaning of any elements on Resource // or DomainResource (including cannot change the meaning of modifierExtension // itself). ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"` // The actual value to for an initial answer. Value fhir.Element `fhirpath:"value"` profileimpl.BaseBackboneElement profileimpl.BaseElement }
Initial value(s) when item is first rendered// One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.// The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.
Meta Details:
- Package IG: hl7.fhir.r4.core@4.0.1
- StructureDefinition:
- Source File: StructureDefinition-Questionnaire.json
func (*QuestionnaireItemInitial) GetExtension ¶
func (qii *QuestionnaireItemInitial) GetExtension() []*fhir.Extension
GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemInitial) GetID ¶
func (qii *QuestionnaireItemInitial) GetID() string
GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemInitial) GetModifierExtension ¶
func (qii *QuestionnaireItemInitial) GetModifierExtension() []*fhir.Extension
GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemInitial) GetValue ¶
func (qii *QuestionnaireItemInitial) GetValue() fhir.Element
GetValue returns the value of the field Value. This function is safe to call on nil pointers, and will return the zero value instead.
func (*QuestionnaireItemInitial) GetValueAttachment ¶
func (qii *QuestionnaireItemInitial) GetValueAttachment() *fhir.Attachment
GetValueAttachment returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueBoolean ¶
func (qii *QuestionnaireItemInitial) GetValueBoolean() *fhir.Boolean
GetValueBoolean returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueCoding ¶
func (qii *QuestionnaireItemInitial) GetValueCoding() *fhir.Coding
GetValueCoding returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueDate ¶
func (qii *QuestionnaireItemInitial) GetValueDate() *fhir.Date
GetValueDate returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueDateTime ¶
func (qii *QuestionnaireItemInitial) GetValueDateTime() *fhir.DateTime
GetValueDateTime returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueDecimal ¶
func (qii *QuestionnaireItemInitial) GetValueDecimal() *fhir.Decimal
GetValueDecimal returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueInteger ¶
func (qii *QuestionnaireItemInitial) GetValueInteger() *fhir.Integer
GetValueInteger returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueQuantity ¶
func (qii *QuestionnaireItemInitial) GetValueQuantity() *fhir.Quantity
GetValueQuantity returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueReference ¶
func (qii *QuestionnaireItemInitial) GetValueReference() *fhir.Reference
GetValueReference returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueString ¶
func (qii *QuestionnaireItemInitial) GetValueString() *fhir.String
GetValueString returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueTime ¶
func (qii *QuestionnaireItemInitial) GetValueTime() *fhir.Time
GetValueTime returns the value of the field Value.
func (*QuestionnaireItemInitial) GetValueURI ¶
func (qii *QuestionnaireItemInitial) GetValueURI() *fhir.URI
GetValueURI returns the value of the field Value.
func (*QuestionnaireItemInitial) MarshalJSON ¶
func (qii *QuestionnaireItemInitial) MarshalJSON() ([]byte, error)
func (*QuestionnaireItemInitial) UnmarshalJSON ¶
func (qii *QuestionnaireItemInitial) UnmarshalJSON(data []byte) error