Class 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
    • 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.
      • 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.
      • SP_TITLE

        public static final String SP_TITLE
        Search parameter: title

        Description: 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 title

        Description: All or part of the name of the questionnaire
        Type: string
        Path: Questionnaire.title

      • SP_STATUS

        public static final String SP_STATUS
        Search parameter: status

        Description: 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 status

        Description: The status of the questionnaire
        Type: token
        Path: Questionnaire.status

      • SP_CONTEXT

        public static final String SP_CONTEXT
        Search parameter: context

        Description: 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 context

        Description: A use context assigned to the questionnaire
        Type: token
        Path: Questionnaire.useContext

      • SP_CODE

        public static final String SP_CODE
        Search parameter: code

        Description: 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 code

        Description: 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: date

        Description: 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 date

        Description: When the questionnaire was last changed
        Type: date
        Path: Questionnaire.date

      • SP_IDENTIFIER

        public static final String SP_IDENTIFIER
        Search parameter: identifier

        Description: 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 identifier

        Description: An identifier for the questionnaire
        Type: token
        Path: Questionnaire.identifier

      • SP_VERSION

        public static final String SP_VERSION
        Search parameter: version

        Description: 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 version

        Description: The business version of the questionnaire
        Type: string
        Path: Questionnaire.version

      • SP_PUBLISHER

        public static final String SP_PUBLISHER
        Search parameter: publisher

        Description: 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 publisher

        Description: The author of the questionnaire
        Type: string
        Path: Questionnaire.publisher

    • 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
      • 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<IdentifiergetIdentifier()
        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 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).)
      • 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
      • 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.
      • 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
      • 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
      • getDate

        public Date getDate()
        Returns:
        The date that this questionnaire was last changed.
      • 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
      • 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.
      • addTelecom

        public ContactPoint addTelecom()
        Returns:
        telecom (Contact details to assist a user in finding and communicating with the publisher.)
      • getUseContext

        public List<CodeableConceptgetUseContext()
        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 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.)
      • 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
      • 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
      • getTitle

        public String getTitle()
        Returns:
        The name or label associated with this questionnaire.
      • getConcept

        public List<CodinggetConcept()
        Returns:
        concept (Identifies a how this question or group of questions is known in a particular terminology such as LOINC.)
      • addConcept

        public Coding addConcept()
        Returns:
        concept (Identifies a how this question or group of questions is known in a particular terminology such as LOINC.)
      • hasSubjectType

        public boolean hasSubjectType​(String value)
        Parameters:
        value - subjectType (Identifies the types of subjects that can be the subject of the questionnaire.)
      • hasItem

        public boolean hasItem()
      • getProperty

        public Base[] getProperty​(int hash,
                                  String name,
                                  boolean checkValid)
                           throws org.hl7.fhir.exceptions.FHIRException
        Overrides:
        getProperty in class DomainResource
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • makeProperty

        public Base makeProperty​(int hash,
                                 String name)
                          throws org.hl7.fhir.exceptions.FHIRException
        Description copied from class: Base
        make 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:
        makeProperty in class DomainResource
        Returns:
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        isEmpty in class DomainResource