Package org.hl7.fhir.dstu2.model
Class Questionnaire
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.Questionnaire
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
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.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected DateTimeType
The date that this questionnaire was last changed.protected Questionnaire.GroupComponent
A collection of related questions (or further groupings of questions).protected List
<Identifier> 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.protected StringType
Organization or person responsible for developing and maintaining the questionnaire.static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Enumeration
<Questionnaire.QuestionnaireStatus> The lifecycle status of the questionnaire as a whole.Identifies the types of subjects that can be the subject of the questionnaire.protected List
<ContactPoint> Contact details to assist a user in finding and communicating with the publisher.protected StringType
The version number assigned by the publisher for business reasons.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionQuestionnaire
(Enumeration<Questionnaire.QuestionnaireStatus> status, Questionnaire.GroupComponent group) -
Method Summary
Modifier and TypeMethodDescriptionaddSubjectType
(String value) copy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getDate()
getGroup()
boolean
hasDate()
boolean
boolean
hasGroup()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasSubjectType
(String value) boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setDateElement
(DateTimeType value) void
setProperty
(String name, Base value) setPublisher
(String value) setPublisherElement
(StringType value) setVersion
(String value) setVersionElement
(StringType value) protected Questionnaire
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
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). -
version
The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated. -
status
The lifecycle status of the questionnaire as a whole. -
date
The date that this questionnaire was last changed. -
publisher
Organization or person responsible for developing and maintaining the questionnaire. -
telecom
Contact details to assist a user in finding and communicating with the publisher. -
subjectType
Identifies the types of subjects that can be the subject of the questionnaire. -
group
A collection of related questions (or further groupings of questions). -
SP_DATE
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_CODE
- See Also:
-
SP_PUBLISHER
- See Also:
-
SP_TITLE
- See Also:
-
SP_VERSION
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
Questionnaire
public Questionnaire() -
Questionnaire
public Questionnaire(Enumeration<Questionnaire.QuestionnaireStatus> status, Questionnaire.GroupComponent group)
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(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).)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(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
-
getVersionElement
- Returns:
version
(The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
hasVersionElement
-
hasVersion
-
setVersionElement
- Parameters:
value
-version
(The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
getVersion
- Returns:
- The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated.
-
setVersion
- Parameters:
value
- The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated.
-
getStatusElement
- Returns:
status
(The lifecycle status of the questionnaire as a whole.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(The lifecycle status of the questionnaire as a whole.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The lifecycle status of the questionnaire as a whole.
-
setStatus
- Parameters:
value
- The lifecycle status of the questionnaire as a whole.
-
getDateElement
- Returns:
date
(The date that this questionnaire was last changed.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
-
hasDate
-
setDateElement
- Parameters:
value
-date
(The date that this questionnaire was last changed.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
- Returns:
- The date that this questionnaire was last changed.
-
setDate
- Parameters:
value
- The date that this questionnaire was last changed.
-
getPublisherElement
- Returns:
publisher
(Organization or person responsible for developing and maintaining the questionnaire.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
-
hasPublisherElement
-
hasPublisher
-
setPublisherElement
- Parameters:
value
-publisher
(Organization or person responsible for developing and maintaining the questionnaire.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
-
getPublisher
- Returns:
- Organization or person responsible for developing and maintaining the questionnaire.
-
setPublisher
- Parameters:
value
- Organization or person responsible for developing and maintaining the questionnaire.
-
getTelecom
- Returns:
telecom
(Contact details to assist a user in finding and communicating with the publisher.)
-
hasTelecom
-
addTelecom
- Returns:
telecom
(Contact details to assist a user in finding and communicating with the publisher.)
-
addTelecom
-
getSubjectType
- Returns:
subjectType
(Identifies the types of subjects that can be the subject of the questionnaire.)
-
hasSubjectType
-
addSubjectTypeElement
- Returns:
subjectType
(Identifies the types of subjects that can be the subject of the questionnaire.)
-
addSubjectType
- Parameters:
value
-subjectType
(Identifies the types of subjects that can be the subject of the questionnaire.)
-
hasSubjectType
- Parameters:
value
-subjectType
(Identifies the types of subjects that can be the subject of the questionnaire.)
-
getGroup
- Returns:
group
(A collection of related questions (or further groupings of questions).)
-
hasGroup
-
setGroup
- Parameters:
value
-group
(A collection of related questions (or further groupings of questions).)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-