Class Questionnaire
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions
Requirements: To support structured, hierarchical registration of data gathered using digital forms and other questionnaires.
Profile Definition: http://hl7.org/fhir/profiles/Questionnaire
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: Questionnaire.group ()static class
Block class for child element: Questionnaire.group.question () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for codestatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for publisherstatic final String
Search parameter constant for codestatic final String
Search parameter constant for datestatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for publisherstatic final String
Search parameter constant for statusstatic final String
Search parameter constant for titlestatic final String
Search parameter constant for versionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for titlestatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for versionFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)ca.uhn.fhir.model.primitive.BoundCodeDt
<ResourceTypeEnum> Add a value for subjectType ()ca.uhn.fhir.model.primitive.BoundCodeDt
<ResourceTypeEnum> addSubjectType
(ResourceTypeEnum theValue) Add a value for subjectType () using an enumerated type.Adds and returns a new value for telecom ()addTelecom
(ContactPointDt theValue) Adds a given new value for telecom ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getDate()
Gets the value(s) for date (when.recorded).ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for date (when.recorded).getGroup()
Gets the value(s) for group ().Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.Gets the value(s) for publisher (who.witness).ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for publisher (who.witness).Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt
<QuestionnaireStatusEnum> Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnum
List
<ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum>> Gets the value(s) for subjectType ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ResourceTypeEnum> Gets the first repetition for subjectType (), creating it if it does not already exist.Gets the value(s) for telecom ().Gets the first repetition for telecom (), creating it if it does not already exist.Gets the value(s) for version (id.version).ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for version (id.version).boolean
isEmpty()
setDate
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for date (when.recorded)Sets the value for date (when.recorded)setDateWithSecondsPrecision
(Date theDate) Sets the value for date (when.recorded)setGroup
(Questionnaire.Group theValue) Sets the value(s) for group ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setPublisher
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for publisher (who.witness)setPublisher
(String theString) Sets the value for publisher (who.witness)setStatus
(QuestionnaireStatusEnum theValue) Sets the value(s) for status (status)setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<QuestionnaireStatusEnum> theValue) Sets the value(s) for status (status)setSubjectType
(ResourceTypeEnum theValue) Sets the value(s), and clears any existing value(s) for subjectType ()setSubjectType
(List<ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum>> theValue) Sets the value(s) for subjectType ()setTelecom
(List<ContactPointDt> theValue) Sets the value(s) for telecom ()setVersion
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for version (id.version)setVersion
(String theString) Sets the value for version (id.version)Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_STATUS
Search parameter constant for statusDescription: The status of the questionnaire
Type: token
Path: Questionnaire.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The status of the questionnaire
Type: token
Path: Questionnaire.status
-
SP_DATE
Search parameter constant for dateDescription: When the questionnaire was last changed
Type: date
Path: Questionnaire.date
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription: When the questionnaire was last changed
Type: date
Path: Questionnaire.date
-
SP_PUBLISHER
Search parameter constant for publisherDescription: The author of the questionnaire
Type: string
Path: Questionnaire.publisher
- See Also:
-
PUBLISHER
Fluent Client search parameter constant for publisherDescription: The author of the questionnaire
Type: string
Path: Questionnaire.publisher
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: An identifier for the questionnaire
Type: token
Path: Questionnaire.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: An identifier for the questionnaire
Type: token
Path: Questionnaire.identifier
-
SP_VERSION
Search parameter constant for versionDescription: The business version of the questionnaire
Type: string
Path: Questionnaire.version
- See Also:
-
VERSION
Fluent Client search parameter constant for versionDescription: The business version of the questionnaire
Type: string
Path: Questionnaire.version
-
SP_CODE
Search parameter constant for codeDescription: A code that corresponds to the questionnaire or one of its groups
Type: token
Path: Questionnaire.group.concept
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: A code that corresponds to the questionnaire or one of its groups
Type: token
Path: Questionnaire.group.concept
-
SP_TITLE
Search parameter constant for titleDescription: All or part of the name of the questionnaire (title for the root group of the questionnaire)
Type: string
Path: Questionnaire.group.title
- See Also:
-
TITLE
Fluent Client search parameter constant for titleDescription: All or part of the name of the questionnaire (title for the root group of the questionnaire)
Type: string
Path: Questionnaire.group.title
-
-
Constructor Details
-
Questionnaire
public Questionnaire()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition: This records identifiers associated with this question set that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
-
setIdentifier
Sets the value(s) for identifier (id)Definition: This records identifiers associated with this question set that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
-
addIdentifier
Adds and returns a new value for identifier (id)Definition: This records identifiers associated with this question set that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
-
addIdentifier
Adds a given new value for identifier (id)Definition: This records identifiers associated with this question set that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: This records identifiers associated with this question set that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
-
getVersionElement
Gets the value(s) for version (id.version). creating it if it does not exist. Will not returnnull
.Definition: The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated
-
getVersion
Gets the value(s) for version (id.version). creating it if it does not exist. This method may returnnull
.Definition: The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated
-
setVersion
Sets the value(s) for version (id.version)Definition: The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated
-
setVersion
Sets the value for version (id.version)Definition: The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated
-
getStatusElement
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull
.Definition: The lifecycle status of the questionnaire as a whole.
-
getStatus
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull
.Definition: The lifecycle status of the questionnaire as a whole.
-
setStatus
public Questionnaire setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<QuestionnaireStatusEnum> theValue) Sets the value(s) for status (status)Definition: The lifecycle status of the questionnaire as a whole.
-
setStatus
Sets the value(s) for status (status)Definition: The lifecycle status of the questionnaire as a whole.
-
getDateElement
Gets the value(s) for date (when.recorded). creating it if it does not exist. Will not returnnull
.Definition: The date that this questionnaire was last changed
-
getDate
Gets the value(s) for date (when.recorded). creating it if it does not exist. This method may returnnull
.Definition: The date that this questionnaire was last changed
-
setDate
Sets the value(s) for date (when.recorded)Definition: The date that this questionnaire was last changed
-
setDateWithSecondsPrecision
Sets the value for date (when.recorded)Definition: The date that this questionnaire was last changed
-
setDate
public Questionnaire setDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for date (when.recorded)Definition: The date that this questionnaire was last changed
-
getPublisherElement
Gets the value(s) for publisher (who.witness). creating it if it does not exist. Will not returnnull
.Definition: Organization or person responsible for developing and maintaining the questionnaire
-
getPublisher
Gets the value(s) for publisher (who.witness). creating it if it does not exist. This method may returnnull
.Definition: Organization or person responsible for developing and maintaining the questionnaire
-
setPublisher
Sets the value(s) for publisher (who.witness)Definition: Organization or person responsible for developing and maintaining the questionnaire
-
setPublisher
Sets the value for publisher (who.witness)Definition: Organization or person responsible for developing and maintaining the questionnaire
-
getTelecom
Gets the value(s) for telecom (). creating it if it does not exist. Will not returnnull
.Definition: Contact details to assist a user in finding and communicating with the publisher
-
setTelecom
Sets the value(s) for telecom ()Definition: Contact details to assist a user in finding and communicating with the publisher
-
addTelecom
Adds and returns a new value for telecom ()Definition: Contact details to assist a user in finding and communicating with the publisher
-
addTelecom
Adds a given new value for telecom ()Definition: Contact details to assist a user in finding and communicating with the publisher
- Parameters:
theValue
- The telecom to add (must not benull
)
-
getTelecomFirstRep
Gets the first repetition for telecom (), creating it if it does not already exist.Definition: Contact details to assist a user in finding and communicating with the publisher
-
getSubjectType
Gets the value(s) for subjectType (). creating it if it does not exist. Will not returnnull
.Definition: Identifies the types of subjects that can be the subject of the questionnaire.
-
setSubjectType
public Questionnaire setSubjectType(List<ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum>> theValue) Sets the value(s) for subjectType ()Definition: Identifies the types of subjects that can be the subject of the questionnaire.
-
addSubjectType
public ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum> addSubjectType(ResourceTypeEnum theValue) Add a value for subjectType () using an enumerated type. This is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory or contain the desirable codes. If you wish to use codes other than those which are built-in, you may also use theaddSubjectType()
method.Definition: Identifies the types of subjects that can be the subject of the questionnaire.
-
getSubjectTypeFirstRep
Gets the first repetition for subjectType (), creating it if it does not already exist.Definition: Identifies the types of subjects that can be the subject of the questionnaire.
-
addSubjectType
Add a value for subjectType ()Definition: Identifies the types of subjects that can be the subject of the questionnaire.
-
setSubjectType
Sets the value(s), and clears any existing value(s) for subjectType ()Definition: Identifies the types of subjects that can be the subject of the questionnaire.
-
getGroup
Gets the value(s) for group (). creating it if it does not exist. Will not returnnull
.Definition: A collection of related questions (or further groupings of questions)
-
setGroup
Sets the value(s) for group ()Definition: A collection of related questions (or further groupings of questions)
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-