Class Questionnaire
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.BaseResource
-
- org.hl7.fhir.dstu2016may.model.Resource
-
- org.hl7.fhir.dstu2016may.model.DomainResource
-
- org.hl7.fhir.dstu2016may.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
public class Questionnaire extends DomainResource
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestionnaire.QuestionnaireItemComponentstatic classQuestionnaire.QuestionnaireItemEnableWhenComponentstatic classQuestionnaire.QuestionnaireItemOptionComponentstatic classQuestionnaire.QuestionnaireItemTypestatic classQuestionnaire.QuestionnaireItemTypeEnumFactorystatic classQuestionnaire.QuestionnaireStatusstatic classQuestionnaire.QuestionnaireStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codeprotected List<Coding>conceptIdentifies a how this question or group of questions is known in a particular terminology such as LOINC.static ca.uhn.fhir.rest.gclient.TokenClientParamCONTEXTFluent Client search parameter constant for contextprotected DateTimeTypedateThe date that this questionnaire was last changed.static ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected List<Identifier>identifierThis 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.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierprotected List<Questionnaire.QuestionnaireItemComponent>itemThe questions and groupings of questions that make up the questionnaire.protected StringTypepublisherOrganization or person responsible for developing and maintaining the questionnaire.static ca.uhn.fhir.rest.gclient.StringClientParamPUBLISHERFluent Client search parameter constant for publisherstatic StringSP_CODESearch parameter: codestatic StringSP_CONTEXTSearch parameter: contextstatic StringSP_DATESearch parameter: datestatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_PUBLISHERSearch parameter: publisherstatic StringSP_STATUSSearch parameter: statusstatic StringSP_TITLESearch parameter: titlestatic StringSP_VERSIONSearch parameter: versionprotected Enumeration<Questionnaire.QuestionnaireStatus>statusThe lifecycle status of the questionnaire as a whole.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected List<CodeType>subjectTypeIdentifies the types of subjects that can be the subject of the questionnaire.protected List<ContactPoint>telecomContact details to assist a user in finding and communicating with the publisher.protected StringTypetitleThe name or label associated with this questionnaire.static ca.uhn.fhir.rest.gclient.StringClientParamTITLEFluent Client search parameter constant for titleprotected UriTypeurlAn absolute URL that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance.protected List<CodeableConcept>useContextA code that identifies the questionnaire as falling into a particular group of like questionnaires; e.g.protected StringTypeversionThe version number assigned by the publisher for business reasons.static ca.uhn.fhir.rest.gclient.StringClientParamVERSIONFluent Client search parameter constant for version-
Fields inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2016may.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Questionnaire()ConstructorQuestionnaire(Enumeration<Questionnaire.QuestionnaireStatus> status)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2016may.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.dstu2016may.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, 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
-
-
-
-
Field Detail
-
url
protected UriType url
An absolute URL that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this questionnaire is (or will be) published.
-
identifier
protected List<Identifier> 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
protected StringType version
The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated.
-
status
protected Enumeration<Questionnaire.QuestionnaireStatus> status
The lifecycle status of the questionnaire as a whole.
-
date
protected DateTimeType date
The date that this questionnaire was last changed.
-
publisher
protected StringType publisher
Organization or person responsible for developing and maintaining the questionnaire.
-
telecom
protected List<ContactPoint> telecom
Contact details to assist a user in finding and communicating with the publisher.
-
useContext
protected List<CodeableConcept> useContext
A code that identifies the questionnaire as falling into a particular group of like questionnaires; e.g. "Pediatric", "Admissions", "Research", "Demographic", "Opinion Survey", etc.
-
title
protected StringType title
The name or label associated with this questionnaire.
-
concept
protected List<Coding> concept
Identifies a how this question or group of questions is known in a particular terminology such as LOINC.
-
subjectType
protected List<CodeType> subjectType
Identifies the types of subjects that can be the subject of the questionnaire.
-
item
protected List<Questionnaire.QuestionnaireItemComponent> item
The questions and groupings of questions that make up the questionnaire.
-
SP_TITLE
public static final String SP_TITLE
Search parameter: titleDescription: All or part of the name of the questionnaire
Type: string
Path: Questionnaire.title
- See Also:
- Constant Field Values
-
TITLE
public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE
Fluent Client search parameter constant for titleDescription: All or part of the name of the questionnaire
Type: string
Path: Questionnaire.title
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: The status of the questionnaire
Type: token
Path: Questionnaire.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: The status of the questionnaire
Type: token
Path: Questionnaire.status
-
SP_CONTEXT
public static final String SP_CONTEXT
Search parameter: contextDescription: A use context assigned to the questionnaire
Type: token
Path: Questionnaire.useContext
- See Also:
- Constant Field Values
-
CONTEXT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT
Fluent Client search parameter constant for contextDescription: A use context assigned to the questionnaire
Type: token
Path: Questionnaire.useContext
-
SP_CODE
public static final String SP_CODE
Search parameter: codeDescription: A code that corresponds to the questionnaire or one of its groups
Type: token
Path: Questionnaire.item.concept
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: A code that corresponds to the questionnaire or one of its groups
Type: token
Path: Questionnaire.item.concept
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: When the questionnaire was last changed
Type: date
Path: Questionnaire.date
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: When the questionnaire was last changed
Type: date
Path: Questionnaire.date
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: An identifier for the questionnaire
Type: token
Path: Questionnaire.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: An identifier for the questionnaire
Type: token
Path: Questionnaire.identifier
-
SP_VERSION
public static final String SP_VERSION
Search parameter: versionDescription: The business version of the questionnaire
Type: string
Path: Questionnaire.version
- See Also:
- Constant Field Values
-
VERSION
public static final ca.uhn.fhir.rest.gclient.StringClientParam VERSION
Fluent Client search parameter constant for versionDescription: The business version of the questionnaire
Type: string
Path: Questionnaire.version
-
SP_PUBLISHER
public static final String SP_PUBLISHER
Search parameter: publisherDescription: The author of the questionnaire
Type: string
Path: Questionnaire.publisher
- See Also:
- Constant Field Values
-
PUBLISHER
public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER
Fluent Client search parameter constant for publisherDescription: The author of the questionnaire
Type: string
Path: Questionnaire.publisher
-
-
Constructor Detail
-
Questionnaire
public Questionnaire()
Constructor
-
Questionnaire
public Questionnaire(Enumeration<Questionnaire.QuestionnaireStatus> status)
Constructor
-
-
Method Detail
-
getUrlElement
public UriType getUrlElement()
- Returns:
url(An absolute URL that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this questionnaire is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
hasUrlElement
public boolean hasUrlElement()
-
hasUrl
public boolean hasUrl()
-
setUrlElement
public Questionnaire setUrlElement(UriType value)
- Parameters:
value-url(An absolute URL that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this questionnaire is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
getUrl
public String getUrl()
- Returns:
- An absolute URL that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this questionnaire is (or will be) published.
-
setUrl
public Questionnaire setUrl(String value)
- Parameters:
value- An absolute URL that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this questionnaire is (or will be) published.
-
getIdentifier
public List<Identifier> 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
public boolean hasIdentifier()
-
addIdentifier
public Identifier 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
public Questionnaire addIdentifier(Identifier t)
-
getVersionElement
public StringType 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
public boolean hasVersionElement()
-
hasVersion
public boolean hasVersion()
-
setVersionElement
public Questionnaire setVersionElement(StringType value)
- 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
public String getVersion()
- Returns:
- The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated.
-
setVersion
public Questionnaire setVersion(String value)
- Parameters:
value- The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated.
-
getStatusElement
public Enumeration<Questionnaire.QuestionnaireStatus> 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
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public Questionnaire setStatusElement(Enumeration<Questionnaire.QuestionnaireStatus> value)
- 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
public Questionnaire.QuestionnaireStatus getStatus()
- Returns:
- The lifecycle status of the questionnaire as a whole.
-
setStatus
public Questionnaire setStatus(Questionnaire.QuestionnaireStatus value)
- Parameters:
value- The lifecycle status of the questionnaire as a whole.
-
getDateElement
public DateTimeType 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
public boolean hasDateElement()
-
hasDate
public boolean hasDate()
-
setDateElement
public Questionnaire setDateElement(DateTimeType value)
- 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
-
setDate
public Questionnaire setDate(Date value)
- Parameters:
value- The date that this questionnaire was last changed.
-
getPublisherElement
public StringType 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
public boolean hasPublisherElement()
-
hasPublisher
public boolean hasPublisher()
-
setPublisherElement
public Questionnaire setPublisherElement(StringType value)
- 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
public String getPublisher()
- Returns:
- Organization or person responsible for developing and maintaining the questionnaire.
-
setPublisher
public Questionnaire setPublisher(String value)
- Parameters:
value- Organization or person responsible for developing and maintaining the questionnaire.
-
getTelecom
public List<ContactPoint> getTelecom()
- Returns:
telecom(Contact details to assist a user in finding and communicating with the publisher.)
-
hasTelecom
public boolean hasTelecom()
-
addTelecom
public ContactPoint addTelecom()
- Returns:
telecom(Contact details to assist a user in finding and communicating with the publisher.)
-
addTelecom
public Questionnaire addTelecom(ContactPoint t)
-
getUseContext
public List<CodeableConcept> getUseContext()
- Returns:
useContext(A code that identifies the questionnaire as falling into a particular group of like questionnaires; e.g. "Pediatric", "Admissions", "Research", "Demographic", "Opinion Survey", etc.)
-
hasUseContext
public boolean hasUseContext()
-
addUseContext
public CodeableConcept addUseContext()
- Returns:
useContext(A code that identifies the questionnaire as falling into a particular group of like questionnaires; e.g. "Pediatric", "Admissions", "Research", "Demographic", "Opinion Survey", etc.)
-
addUseContext
public Questionnaire addUseContext(CodeableConcept t)
-
getTitleElement
public StringType getTitleElement()
- Returns:
title(The name or label associated with this questionnaire.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
hasTitleElement
public boolean hasTitleElement()
-
hasTitle
public boolean hasTitle()
-
setTitleElement
public Questionnaire setTitleElement(StringType value)
- Parameters:
value-title(The name or label associated with this questionnaire.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
setTitle
public Questionnaire setTitle(String value)
- Parameters:
value- The name or label associated with this questionnaire.
-
getConcept
public List<Coding> getConcept()
- Returns:
concept(Identifies a how this question or group of questions is known in a particular terminology such as LOINC.)
-
hasConcept
public boolean hasConcept()
-
addConcept
public Coding addConcept()
- Returns:
concept(Identifies a how this question or group of questions is known in a particular terminology such as LOINC.)
-
addConcept
public Questionnaire addConcept(Coding t)
-
getSubjectType
public List<CodeType> getSubjectType()
- Returns:
subjectType(Identifies the types of subjects that can be the subject of the questionnaire.)
-
hasSubjectType
public boolean hasSubjectType()
-
addSubjectTypeElement
public CodeType addSubjectTypeElement()
- Returns:
subjectType(Identifies the types of subjects that can be the subject of the questionnaire.)
-
addSubjectType
public Questionnaire addSubjectType(String value)
- Parameters:
value-subjectType(Identifies the types of subjects that can be the subject of the questionnaire.)
-
hasSubjectType
public boolean hasSubjectType(String value)
- Parameters:
value-subjectType(Identifies the types of subjects that can be the subject of the questionnaire.)
-
getItem
public List<Questionnaire.QuestionnaireItemComponent> getItem()
- Returns:
item(The questions and groupings of questions that make up the questionnaire.)
-
hasItem
public boolean hasItem()
-
addItem
public Questionnaire.QuestionnaireItemComponent addItem()
- Returns:
item(The questions and groupings of questions that make up the questionnaire.)
-
addItem
public Questionnaire addItem(Questionnaire.QuestionnaireItemComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classDomainResource- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public Questionnaire copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected Questionnaire typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-