public class Questionnaire extends BaseResource implements IResource
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
| Modifier and Type | Class and Description |
|---|---|
static class |
Questionnaire.Group
Block class for child element: Questionnaire.group ()
|
static class |
Questionnaire.GroupQuestion
Block class for child element: Questionnaire.group.question ()
|
| Modifier and Type | Field and Description |
|---|---|
static TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static StringClientParam |
PUBLISHER
Fluent Client search parameter constant for publisher
|
static String |
SP_CODE
Search parameter constant for code
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_PUBLISHER
Search parameter constant for publisher
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_TITLE
Search parameter constant for title
|
static String |
SP_VERSION
Search parameter constant for version
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static StringClientParam |
TITLE
Fluent Client search parameter constant for title
|
static StringClientParam |
VERSION
Fluent Client search parameter constant for version
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Questionnaire() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
Questionnaire |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
BoundCodeDt<ResourceTypeEnum> |
addSubjectType()
Add a value for subjectType ()
|
BoundCodeDt<ResourceTypeEnum> |
addSubjectType(ResourceTypeEnum theValue)
Add a value for subjectType () using an enumerated type.
|
ContactPointDt |
addTelecom()
Adds and returns a new value for telecom ()
|
Questionnaire |
addTelecom(ContactPointDt theValue)
Adds a given new value for telecom ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
Date |
getDate()
Gets the value(s) for date (when.recorded).
|
DateTimeDt |
getDateElement()
Gets the value(s) for date (when.recorded).
|
Questionnaire.Group |
getGroup()
Gets the value(s) for group ().
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (id).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (id),
creating it if it does not already exist.
|
String |
getPublisher()
Gets the value(s) for publisher (who.witness).
|
StringDt |
getPublisherElement()
Gets the value(s) for publisher (who.witness).
|
String |
getResourceName() |
String |
getStatus()
Gets the value(s) for status (status).
|
BoundCodeDt<QuestionnaireStatusEnum> |
getStatusElement()
Gets the value(s) for status (status).
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
List<BoundCodeDt<ResourceTypeEnum>> |
getSubjectType()
Gets the value(s) for subjectType ().
|
BoundCodeDt<ResourceTypeEnum> |
getSubjectTypeFirstRep()
Gets the first repetition for subjectType (),
creating it if it does not already exist.
|
List<ContactPointDt> |
getTelecom()
Gets the value(s) for telecom ().
|
ContactPointDt |
getTelecomFirstRep()
Gets the first repetition for telecom (),
creating it if it does not already exist.
|
String |
getVersion()
Gets the value(s) for version (id.version).
|
StringDt |
getVersionElement()
Gets the value(s) for version (id.version).
|
boolean |
isEmpty() |
Questionnaire |
setDate(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for date (when.recorded)
|
Questionnaire |
setDate(DateTimeDt theValue)
Sets the value(s) for date (when.recorded)
|
Questionnaire |
setDateWithSecondsPrecision(Date theDate)
Sets the value for date (when.recorded)
|
Questionnaire |
setGroup(Questionnaire.Group theValue)
Sets the value(s) for group ()
|
Questionnaire |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
Questionnaire |
setPublisher(String theString)
Sets the value for publisher (who.witness)
|
Questionnaire |
setPublisher(StringDt theValue)
Sets the value(s) for publisher (who.witness)
|
Questionnaire |
setStatus(BoundCodeDt<QuestionnaireStatusEnum> theValue)
Sets the value(s) for status (status)
|
Questionnaire |
setStatus(QuestionnaireStatusEnum theValue)
Sets the value(s) for status (status)
|
Questionnaire |
setSubjectType(List<BoundCodeDt<ResourceTypeEnum>> theValue)
Sets the value(s) for subjectType ()
|
Questionnaire |
setSubjectType(ResourceTypeEnum theValue)
Sets the value(s), and clears any existing value(s) for subjectType ()
|
Questionnaire |
setTelecom(List<ContactPointDt> theValue)
Sets the value(s) for telecom ()
|
Questionnaire |
setVersion(String theString)
Sets the value for version (id.version)
|
Questionnaire |
setVersion(StringDt theValue)
Sets the value(s) for version (id.version)
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_STATUS
Description: The status of the questionnaire
Type: token
Path: Questionnaire.status
public static final TokenClientParam STATUS
Description: The status of the questionnaire
Type: token
Path: Questionnaire.status
public static final String SP_DATE
Description: When the questionnaire was last changed
Type: date
Path: Questionnaire.date
public static final DateClientParam DATE
Description: When the questionnaire was last changed
Type: date
Path: Questionnaire.date
public static final String SP_PUBLISHER
Description: The author of the questionnaire
Type: string
Path: Questionnaire.publisher
public static final StringClientParam PUBLISHER
Description: The author of the questionnaire
Type: string
Path: Questionnaire.publisher
public static final String SP_IDENTIFIER
Description: An identifier for the questionnaire
Type: token
Path: Questionnaire.identifier
public static final TokenClientParam IDENTIFIER
Description: An identifier for the questionnaire
Type: token
Path: Questionnaire.identifier
public static final String SP_VERSION
Description: The business version of the questionnaire
Type: string
Path: Questionnaire.version
public static final StringClientParam VERSION
Description: The business version of the questionnaire
Type: string
Path: Questionnaire.version
public static final String SP_CODE
Description: A code that corresponds to the questionnaire or one of its groups
Type: token
Path: Questionnaire.group.concept
public static final TokenClientParam CODE
Description: A code that corresponds to the questionnaire or one of its groups
Type: token
Path: Questionnaire.group.concept
public static final String SP_TITLE
Description: All or part of the name of the questionnaire (title for the root group of the questionnaire)
Type: string
Path: Questionnaire.group.title
public static final StringClientParam TITLE
Description: All or part of the name of the questionnaire (title for the root group of the questionnaire)
Type: string
Path: Questionnaire.group.title
public Questionnaire()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
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)
public Questionnaire setIdentifier(List<IdentifierDt> theValue)
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)
public IdentifierDt addIdentifier()
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)
public Questionnaire addIdentifier(IdentifierDt theValue)
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)
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
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)
public StringDt getVersionElement()
null.
Definition: The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated
public String getVersion()
null.
Definition: The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated
public Questionnaire setVersion(StringDt theValue)
Definition: The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated
public Questionnaire setVersion(String theString)
Definition: The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated
public BoundCodeDt<QuestionnaireStatusEnum> getStatusElement()
null.
Definition: The lifecycle status of the questionnaire as a whole.
public String getStatus()
null.
Definition: The lifecycle status of the questionnaire as a whole.
public Questionnaire setStatus(BoundCodeDt<QuestionnaireStatusEnum> theValue)
Definition: The lifecycle status of the questionnaire as a whole.
public Questionnaire setStatus(QuestionnaireStatusEnum theValue)
Definition: The lifecycle status of the questionnaire as a whole.
public DateTimeDt getDateElement()
null.
Definition: The date that this questionnaire was last changed
public Date getDate()
null.
Definition: The date that this questionnaire was last changed
public Questionnaire setDate(DateTimeDt theValue)
Definition: The date that this questionnaire was last changed
public Questionnaire setDate(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The date that this questionnaire was last changed
public Questionnaire setDateWithSecondsPrecision(Date theDate)
Definition: The date that this questionnaire was last changed
public StringDt getPublisherElement()
null.
Definition: Organization or person responsible for developing and maintaining the questionnaire
public String getPublisher()
null.
Definition: Organization or person responsible for developing and maintaining the questionnaire
public Questionnaire setPublisher(StringDt theValue)
Definition: Organization or person responsible for developing and maintaining the questionnaire
public Questionnaire setPublisher(String theString)
Definition: Organization or person responsible for developing and maintaining the questionnaire
public List<ContactPointDt> getTelecom()
null.
Definition: Contact details to assist a user in finding and communicating with the publisher
public Questionnaire setTelecom(List<ContactPointDt> theValue)
Definition: Contact details to assist a user in finding and communicating with the publisher
public ContactPointDt addTelecom()
Definition: Contact details to assist a user in finding and communicating with the publisher
public Questionnaire addTelecom(ContactPointDt theValue)
Definition: Contact details to assist a user in finding and communicating with the publisher
theValue - The telecom to add (must not be null)public ContactPointDt getTelecomFirstRep()
Definition: Contact details to assist a user in finding and communicating with the publisher
public List<BoundCodeDt<ResourceTypeEnum>> getSubjectType()
null.
Definition: Identifies the types of subjects that can be the subject of the questionnaire.
public Questionnaire setSubjectType(List<BoundCodeDt<ResourceTypeEnum>> theValue)
Definition: Identifies the types of subjects that can be the subject of the questionnaire.
public BoundCodeDt<ResourceTypeEnum> addSubjectType(ResourceTypeEnum theValue)
addSubjectType() method.
Definition: Identifies the types of subjects that can be the subject of the questionnaire.
public BoundCodeDt<ResourceTypeEnum> getSubjectTypeFirstRep()
Definition: Identifies the types of subjects that can be the subject of the questionnaire.
public BoundCodeDt<ResourceTypeEnum> addSubjectType()
Definition: Identifies the types of subjects that can be the subject of the questionnaire.
public Questionnaire setSubjectType(ResourceTypeEnum theValue)
Definition: Identifies the types of subjects that can be the subject of the questionnaire.
public Questionnaire.Group getGroup()
null.
Definition: A collection of related questions (or further groupings of questions)
public Questionnaire setGroup(Questionnaire.Group theValue)
Definition: A collection of related questions (or further groupings of questions)
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.