Class ActivityDefinitionDefinitionImpl

    • Method Detail

      • getUrlMin

        public int getUrlMin()
        Specified by:
        getUrlMin in interface Definition
        Returns:
        minimum allowed cardinality for url. Note that with patterns, this may be different for the underlying resource
      • getUrlMax

        public int getUrlMax()
        Specified by:
        getUrlMax in interface Definition
        Returns:
        maximum allowed cardinality for url. Note that with patterns, this may be different for the underlying resource
      • getUrlElement

        public UriType getUrlElement()
                              throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getUrlElement in interface Definition
        Returns:
        #url (An absolute URL that is used to identify this {{title}} 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 {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasUrl

        public boolean hasUrl()
        Specified by:
        hasUrl in interface Definition
        Returns:
        whether there is more than zero values for url
      • setUrlElement

        public Definition setUrlElement​(UriType value)
                                 throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setUrlElement in interface Definition
        Parameters:
        value - #url (An absolute URL that is used to identify this {{title}} 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 {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getUrl

        public String getUrl()
                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getUrl in interface Definition
        Returns:
        An absolute URL that is used to identify this {{title}} 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 {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions).
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setUrl

        public Definition setUrl​(String value)
                          throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setUrl in interface Definition
        Parameters:
        value - An absolute URL that is used to identify this {{title}} 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 {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions).
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getIdentifierMin

        public int getIdentifierMin()
        Specified by:
        getIdentifierMin in interface Definition
        Returns:
        minimum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
      • getIdentifierMax

        public int getIdentifierMax()
        Specified by:
        getIdentifierMax in interface Definition
        Returns:
        maximum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
      • getIdentifier

        public Identifier getIdentifier()
                                 throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getIdentifier in interface Definition
        Returns:
        #identifier (Business identifiers assigned to this {{title}} by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setIdentifier

        public Definition setIdentifier​(Identifier value)
                                 throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setIdentifier in interface Definition
        Parameters:
        value - #identifier (Business identifiers assigned to this {{title}} by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getVersionMin

        public int getVersionMin()
        Specified by:
        getVersionMin in interface Definition
        Returns:
        minimum allowed cardinality for version. Note that with patterns, this may be different for the underlying resource
      • getVersionMax

        public int getVersionMax()
        Specified by:
        getVersionMax in interface Definition
        Returns:
        maximum allowed cardinality for version. Note that with patterns, this may be different for the underlying resource
      • getVersionElement

        public StringType getVersionElement()
                                     throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getVersionElement in interface Definition
        Returns:
        #version (The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasVersion

        public boolean hasVersion()
        Specified by:
        hasVersion in interface Definition
        Returns:
        whether there is more than zero values for version
      • setVersionElement

        public Definition setVersionElement​(StringType value)
                                     throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setVersionElement in interface Definition
        Parameters:
        value - #version (The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getVersion

        public String getVersion()
                          throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getVersion in interface Definition
        Returns:
        The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setVersion

        public Definition setVersion​(String value)
                              throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setVersion in interface Definition
        Parameters:
        value - The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getTitleMin

        public int getTitleMin()
        Specified by:
        getTitleMin in interface Definition
        Returns:
        minimum allowed cardinality for title. Note that with patterns, this may be different for the underlying resource
      • getTitleMax

        public int getTitleMax()
        Specified by:
        getTitleMax in interface Definition
        Returns:
        maximum allowed cardinality for title. Note that with patterns, this may be different for the underlying resource
      • getTitleElement

        public StringType getTitleElement()
                                   throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getTitleElement in interface Definition
        Returns:
        #title (A short, descriptive, user-friendly title for the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasTitle

        public boolean hasTitle()
        Specified by:
        hasTitle in interface Definition
        Returns:
        whether there is more than zero values for title
      • setTitleElement

        public Definition setTitleElement​(StringType value)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setTitleElement in interface Definition
        Parameters:
        value - #title (A short, descriptive, user-friendly title for the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getTitle

        public String getTitle()
                        throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getTitle in interface Definition
        Returns:
        A short, descriptive, user-friendly title for the {{title}}.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setTitle

        public Definition setTitle​(String value)
                            throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setTitle in interface Definition
        Parameters:
        value - A short, descriptive, user-friendly title for the {{title}}.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getDerivedFromCanonical

        public List<CanonicalTypegetDerivedFromCanonical()
                                                    throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getDerivedFromCanonical in interface Definition
        Returns:
        #derivedFromCanonical (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addDerivedFromCanonicalElement

        public CanonicalType addDerivedFromCanonicalElement()
                                                     throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        addDerivedFromCanonicalElement in interface Definition
        Returns:
        #derivedFromCanonical (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addDerivedFromCanonical

        public Definition addDerivedFromCanonical​(String value)
                                           throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        addDerivedFromCanonical in interface Definition
        Parameters:
        value - #derivedFromCanonical (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasDerivedFromCanonical

        public boolean hasDerivedFromCanonical​(String value)
        Specified by:
        hasDerivedFromCanonical in interface Definition
        Parameters:
        value - #derivedFromCanonical (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
      • getDerivedFromUriMin

        public int getDerivedFromUriMin()
        Specified by:
        getDerivedFromUriMin in interface Definition
        Returns:
        minimum allowed cardinality for derivedFromUri. Note that with patterns, this may be different for the underlying resource
      • getDerivedFromUriMax

        public int getDerivedFromUriMax()
        Specified by:
        getDerivedFromUriMax in interface Definition
        Returns:
        maximum allowed cardinality for derivedFromUri. Note that with patterns, this may be different for the underlying resource
      • getDerivedFromUri

        public List<UriTypegetDerivedFromUri()
                                        throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getDerivedFromUri in interface Definition
        Returns:
        #derivedFromUri (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addDerivedFromUriElement

        public UriType addDerivedFromUriElement()
                                         throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        addDerivedFromUriElement in interface Definition
        Returns:
        #derivedFromUri (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addDerivedFromUri

        public Definition addDerivedFromUri​(String value)
                                     throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        addDerivedFromUri in interface Definition
        Parameters:
        value - #derivedFromUri (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasDerivedFromUri

        public boolean hasDerivedFromUri​(String value)
        Specified by:
        hasDerivedFromUri in interface Definition
        Parameters:
        value - #derivedFromUri (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
      • getPartOfMin

        public int getPartOfMin()
        Specified by:
        getPartOfMin in interface Definition
        Returns:
        minimum allowed cardinality for partOf. Note that with patterns, this may be different for the underlying resource
      • getPartOfMax

        public int getPartOfMax()
        Specified by:
        getPartOfMax in interface Definition
        Returns:
        maximum allowed cardinality for partOf. Note that with patterns, this may be different for the underlying resource
      • getPartOf

        public List<CanonicalTypegetPartOf()
                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getPartOf in interface Definition
        Returns:
        #partOf (A larger definition of which this particular definition is a component or step.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setPartOf

        public Definition setPartOf​(List<CanonicalType> thePartOf)
                             throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setPartOf in interface Definition
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasPartOf

        public boolean hasPartOf()
        Specified by:
        hasPartOf in interface Definition
        Returns:
        whether there is more than zero values for partOf
      • addPartOfElement

        public CanonicalType addPartOfElement()
                                       throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        addPartOfElement in interface Definition
        Returns:
        #partOf (A larger definition of which this particular definition is a component or step.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addPartOf

        public Definition addPartOf​(String value)
                             throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        addPartOf in interface Definition
        Parameters:
        value - #partOf (A larger definition of which this particular definition is a component or step.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasPartOf

        public boolean hasPartOf​(String value)
        Specified by:
        hasPartOf in interface Definition
        Parameters:
        value - #partOf (A larger definition of which this particular definition is a component or step.)
      • getReplacesMin

        public int getReplacesMin()
        Specified by:
        getReplacesMin in interface Definition
        Returns:
        minimum allowed cardinality for replaces. Note that with patterns, this may be different for the underlying resource
      • getReplacesMax

        public int getReplacesMax()
        Specified by:
        getReplacesMax in interface Definition
        Returns:
        maximum allowed cardinality for replaces. Note that with patterns, this may be different for the underlying resource
      • getReplaces

        public List<CanonicalTypegetReplaces()
                                        throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getReplaces in interface Definition
        Returns:
        #replaces (Completed or terminated request(s) whose function is taken by this new request.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addReplacesElement

        public CanonicalType addReplacesElement()
                                         throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        addReplacesElement in interface Definition
        Returns:
        #replaces (Completed or terminated request(s) whose function is taken by this new request.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addReplaces

        public Definition addReplaces​(String value)
                               throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        addReplaces in interface Definition
        Parameters:
        value - #replaces (Completed or terminated request(s) whose function is taken by this new request.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasReplaces

        public boolean hasReplaces​(String value)
        Specified by:
        hasReplaces in interface Definition
        Parameters:
        value - #replaces (Completed or terminated request(s) whose function is taken by this new request.)
      • getStatusMin

        public int getStatusMin()
        Specified by:
        getStatusMin in interface Definition
        Returns:
        minimum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
      • getStatusMax

        public int getStatusMax()
        Specified by:
        getStatusMax in interface Definition
        Returns:
        maximum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
      • hasStatus

        public boolean hasStatus()
        Specified by:
        hasStatus in interface Definition
        Returns:
        whether there is more than zero values for status
      • getExperimentalMin

        public int getExperimentalMin()
        Specified by:
        getExperimentalMin in interface Definition
        Returns:
        minimum allowed cardinality for experimental. Note that with patterns, this may be different for the underlying resource
      • getExperimentalMax

        public int getExperimentalMax()
        Specified by:
        getExperimentalMax in interface Definition
        Returns:
        maximum allowed cardinality for experimental. Note that with patterns, this may be different for the underlying resource
      • getExperimentalElement

        public BooleanType getExperimentalElement()
                                           throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getExperimentalElement in interface Definition
        Returns:
        #experimental (A flag to indicate that this {{title}} is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setExperimentalElement

        public Definition setExperimentalElement​(BooleanType value)
                                          throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setExperimentalElement in interface Definition
        Parameters:
        value - #experimental (A flag to indicate that this {{title}} is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getExperimental

        public boolean getExperimental()
                                throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getExperimental in interface Definition
        Returns:
        A flag to indicate that this {{title}} is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setExperimental

        public Definition setExperimental​(boolean value)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setExperimental in interface Definition
        Parameters:
        value - A flag to indicate that this {{title}} is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getSubjectMin

        public int getSubjectMin()
        Specified by:
        getSubjectMin in interface Definition
        Returns:
        minimum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
      • getSubjectMax

        public int getSubjectMax()
        Specified by:
        getSubjectMax in interface Definition
        Returns:
        maximum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
      • getSubject

        public DataType getSubject()
                            throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getSubject in interface Definition
        Returns:
        #subject (A code or group definition that describes the intended subject of instantiations of this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getSubjectReference

        public Reference getSubjectReference()
                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getSubjectReference in interface Definition
        Returns:
        #subject (A code or group definition that describes the intended subject of instantiations of this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasSubject

        public boolean hasSubject()
        Specified by:
        hasSubject in interface Definition
        Returns:
        whether there is more than zero values for subject
      • setSubject

        public Definition setSubject​(DataType value)
                              throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setSubject in interface Definition
        Parameters:
        value - #subject (A code or group definition that describes the intended subject of instantiations of this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getDateMin

        public int getDateMin()
        Specified by:
        getDateMin in interface Definition
        Returns:
        minimum allowed cardinality for date. Note that with patterns, this may be different for the underlying resource
      • getDateMax

        public int getDateMax()
        Specified by:
        getDateMax in interface Definition
        Returns:
        maximum allowed cardinality for date. Note that with patterns, this may be different for the underlying resource
      • getDateElement

        public DateTimeType getDateElement()
                                    throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getDateElement in interface Definition
        Returns:
        #date (For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasDate

        public boolean hasDate()
        Specified by:
        hasDate in interface Definition
        Returns:
        whether there is more than zero values for date
      • setDateElement

        public Definition setDateElement​(DateTimeType value)
                                  throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setDateElement in interface Definition
        Parameters:
        value - #date (For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getDate

        public Date getDate()
                     throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getDate in interface Definition
        Returns:
        For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setDate

        public Definition setDate​(Date value)
                           throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setDate in interface Definition
        Parameters:
        value - For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getPublisherMin

        public int getPublisherMin()
        Specified by:
        getPublisherMin in interface Definition
        Returns:
        minimum allowed cardinality for publisher. Note that with patterns, this may be different for the underlying resource
      • getPublisherMax

        public int getPublisherMax()
        Specified by:
        getPublisherMax in interface Definition
        Returns:
        maximum allowed cardinality for publisher. Note that with patterns, this may be different for the underlying resource
      • getPublisher

        public Reference getPublisher()
                               throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getPublisher in interface Definition
        Returns:
        #publisher (Helps establish the "authority/credibility" of the {{title}}. May also allow for contact.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setPublisher

        public Definition setPublisher​(Reference value)
                                throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setPublisher in interface Definition
        Parameters:
        value - #publisher (Helps establish the "authority/credibility" of the {{title}}. May also allow for contact.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getContactMin

        public int getContactMin()
        Specified by:
        getContactMin in interface Definition
        Returns:
        minimum allowed cardinality for contact. Note that with patterns, this may be different for the underlying resource
      • getContactMax

        public int getContactMax()
        Specified by:
        getContactMax in interface Definition
        Returns:
        maximum allowed cardinality for contact. Note that with patterns, this may be different for the underlying resource
      • getContact

        public List<ContactDetailgetContact()
                                       throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getContact in interface Definition
        Returns:
        #contact (Contact details to assist a user in finding and communicating with the publisher.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasContact

        public boolean hasContact()
        Specified by:
        hasContact in interface Definition
        Returns:
        whether there is more than zero values for contact
      • getContactFirstRep

        public ContactDetail getContactFirstRep()
                                         throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getContactFirstRep in interface Definition
        Returns:
        The first repetition of repeating field #contact, creating it if it does not already exist
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getDescriptionMin

        public int getDescriptionMin()
        Specified by:
        getDescriptionMin in interface Definition
        Returns:
        minimum allowed cardinality for description. Note that with patterns, this may be different for the underlying resource
      • getDescriptionMax

        public int getDescriptionMax()
        Specified by:
        getDescriptionMax in interface Definition
        Returns:
        maximum allowed cardinality for description. Note that with patterns, this may be different for the underlying resource
      • getDescriptionElement

        public MarkdownType getDescriptionElement()
                                           throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getDescriptionElement in interface Definition
        Returns:
        #description (A free text natural language description of the {{title}} from the consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setDescriptionElement

        public Definition setDescriptionElement​(MarkdownType value)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setDescriptionElement in interface Definition
        Parameters:
        value - #description (A free text natural language description of the {{title}} from the consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getDescription

        public String getDescription()
                              throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getDescription in interface Definition
        Returns:
        A free text natural language description of the {{title}} from the consumer's perspective.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setDescription

        public Definition setDescription​(String value)
                                  throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setDescription in interface Definition
        Parameters:
        value - A free text natural language description of the {{title}} from the consumer's perspective.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getUseContextMin

        public int getUseContextMin()
        Specified by:
        getUseContextMin in interface Definition
        Returns:
        minimum allowed cardinality for useContext. Note that with patterns, this may be different for the underlying resource
      • getUseContextMax

        public int getUseContextMax()
        Specified by:
        getUseContextMax in interface Definition
        Returns:
        maximum allowed cardinality for useContext. Note that with patterns, this may be different for the underlying resource
      • getUseContext

        public List<UsageContextgetUseContext()
                                         throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getUseContext in interface Definition
        Returns:
        #useContext (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of code system definitions.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getUseContextFirstRep

        public UsageContext getUseContextFirstRep()
                                           throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getUseContextFirstRep in interface Definition
        Returns:
        The first repetition of repeating field #useContext, creating it if it does not already exist
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getJurisdictionMin

        public int getJurisdictionMin()
        Specified by:
        getJurisdictionMin in interface Definition
        Returns:
        minimum allowed cardinality for jurisdiction. Note that with patterns, this may be different for the underlying resource
      • getJurisdictionMax

        public int getJurisdictionMax()
        Specified by:
        getJurisdictionMax in interface Definition
        Returns:
        maximum allowed cardinality for jurisdiction. Note that with patterns, this may be different for the underlying resource
      • getJurisdiction

        public List<CodeableConceptgetJurisdiction()
                                              throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getJurisdiction in interface Definition
        Returns:
        #jurisdiction (A jurisdiction in which the {{title}} is intended to be used.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getPurposeMin

        public int getPurposeMin()
        Specified by:
        getPurposeMin in interface Definition
        Returns:
        minimum allowed cardinality for purpose. Note that with patterns, this may be different for the underlying resource
      • getPurposeMax

        public int getPurposeMax()
        Specified by:
        getPurposeMax in interface Definition
        Returns:
        maximum allowed cardinality for purpose. Note that with patterns, this may be different for the underlying resource
      • getPurposeElement

        public MarkdownType getPurposeElement()
                                       throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getPurposeElement in interface Definition
        Returns:
        #purpose (Explains why this {{title}} is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasPurpose

        public boolean hasPurpose()
        Specified by:
        hasPurpose in interface Definition
        Returns:
        whether there is more than zero values for purpose
      • setPurposeElement

        public Definition setPurposeElement​(MarkdownType value)
                                     throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setPurposeElement in interface Definition
        Parameters:
        value - #purpose (Explains why this {{title}} is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getPurpose

        public String getPurpose()
                          throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getPurpose in interface Definition
        Returns:
        Explains why this {{title}} is needed and why it has been designed as it has.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setPurpose

        public Definition setPurpose​(String value)
                              throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setPurpose in interface Definition
        Parameters:
        value - Explains why this {{title}} is needed and why it has been designed as it has.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getCopyrightMin

        public int getCopyrightMin()
        Specified by:
        getCopyrightMin in interface Definition
        Returns:
        minimum allowed cardinality for copyright. Note that with patterns, this may be different for the underlying resource
      • getCopyrightMax

        public int getCopyrightMax()
        Specified by:
        getCopyrightMax in interface Definition
        Returns:
        maximum allowed cardinality for copyright. Note that with patterns, this may be different for the underlying resource
      • getCopyrightElement

        public MarkdownType getCopyrightElement()
                                         throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getCopyrightElement in interface Definition
        Returns:
        #copyright (A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setCopyrightElement

        public Definition setCopyrightElement​(MarkdownType value)
                                       throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setCopyrightElement in interface Definition
        Parameters:
        value - #copyright (A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getCopyright

        public String getCopyright()
                            throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getCopyright in interface Definition
        Returns:
        A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setCopyright

        public Definition setCopyright​(String value)
                                throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setCopyright in interface Definition
        Parameters:
        value - A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getApprovalDateMin

        public int getApprovalDateMin()
        Specified by:
        getApprovalDateMin in interface Definition
        Returns:
        minimum allowed cardinality for approvalDate. Note that with patterns, this may be different for the underlying resource
      • getApprovalDateMax

        public int getApprovalDateMax()
        Specified by:
        getApprovalDateMax in interface Definition
        Returns:
        maximum allowed cardinality for approvalDate. Note that with patterns, this may be different for the underlying resource
      • getApprovalDateElement

        public DateType getApprovalDateElement()
                                        throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getApprovalDateElement in interface Definition
        Returns:
        #approvalDate (The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setApprovalDateElement

        public Definition setApprovalDateElement​(DateType value)
                                          throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setApprovalDateElement in interface Definition
        Parameters:
        value - #approvalDate (The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getApprovalDate

        public Date getApprovalDate()
                             throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getApprovalDate in interface Definition
        Returns:
        The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setApprovalDate

        public Definition setApprovalDate​(Date value)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setApprovalDate in interface Definition
        Parameters:
        value - The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getLastReviewDateMin

        public int getLastReviewDateMin()
        Specified by:
        getLastReviewDateMin in interface Definition
        Returns:
        minimum allowed cardinality for lastReviewDate. Note that with patterns, this may be different for the underlying resource
      • getLastReviewDateMax

        public int getLastReviewDateMax()
        Specified by:
        getLastReviewDateMax in interface Definition
        Returns:
        maximum allowed cardinality for lastReviewDate. Note that with patterns, this may be different for the underlying resource
      • getLastReviewDateElement

        public DateType getLastReviewDateElement()
                                          throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getLastReviewDateElement in interface Definition
        Returns:
        #lastReviewDate (The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setLastReviewDateElement

        public Definition setLastReviewDateElement​(DateType value)
                                            throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setLastReviewDateElement in interface Definition
        Parameters:
        value - #lastReviewDate (The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getLastReviewDate

        public Date getLastReviewDate()
                               throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getLastReviewDate in interface Definition
        Returns:
        The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setLastReviewDate

        public Definition setLastReviewDate​(Date value)
                                     throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setLastReviewDate in interface Definition
        Parameters:
        value - The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getEffectivePeriod

        public Period getEffectivePeriod()
                                  throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getEffectivePeriod in interface Definition
        Returns:
        #effectivePeriod (The period during which the {{title}} content was or is planned to be effective.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setEffectivePeriod

        public Definition setEffectivePeriod​(Period value)
                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setEffectivePeriod in interface Definition
        Parameters:
        value - #effectivePeriod (The period during which the {{title}} content was or is planned to be effective.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getPerformerTypeMin

        public int getPerformerTypeMin()
        Specified by:
        getPerformerTypeMin in interface Definition
        Returns:
        minimum allowed cardinality for performerType. Note that with patterns, this may be different for the underlying resource
      • getPerformerTypeMax

        public int getPerformerTypeMax()
        Specified by:
        getPerformerTypeMax in interface Definition
        Returns:
        maximum allowed cardinality for performerType. Note that with patterns, this may be different for the underlying resource
      • getPerformerType

        public CodeableConcept getPerformerType()
                                         throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        getPerformerType in interface Definition
        Returns:
        #performerType (The type of individual that is expected to act upon instances of this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setPerformerType

        public Definition setPerformerType​(CodeableConcept value)
                                    throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        setPerformerType in interface Definition
        Parameters:
        value - #performerType (The type of individual that is expected to act upon instances of this definition.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException