
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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic classstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateTimeTypeThe date that this questionnaire was last changed.protected Questionnaire.GroupComponentA 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. in CDA documents, or in written / printed documentation).protected StringTypeOrganization or person responsible for developing and maintaining the questionnaire.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected 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 StringTypeThe version number assigned by the publisher for business reasons.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
ConstructorsConstructorDescriptionQuestionnaire(Enumeration<Questionnaire.QuestionnaireStatus> status, Questionnaire.GroupComponent group) -
Method Summary
Modifier and TypeMethodDescriptionaddSubjectType(String value) copy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getDate()getGroup()booleanhasDate()booleanbooleanhasGroup()booleanbooleanbooleanbooleanbooleanbooleanbooleanhasSubjectType(String value) booleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setDateElement(DateTimeType value) voidsetProperty(String name, Base value) setPublisher(String value) setPublisherElement(StringType value) setVersion(String value) setVersionElement(StringType value) protected QuestionnaireMethods 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, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-