Class Expression

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.ICompositeType

public class Expression extends DataType implements org.hl7.fhir.instance.model.api.ICompositeType
Expression Type: A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used.
See Also:
  • Field Details

    • description

      A brief, natural language description of the condition that effectively communicates the intended semantics.
    • name

      protected CodeType name
      A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.
    • language

      protected CodeType language
      The media type of the language for the expression.
    • expression

      An expression in the specified language that returns a value.
    • reference

      protected UriType reference
      A URI that defines where the expression is found.
  • Constructor Details

  • Method Details

    • getDescriptionElement

      Returns:
      description (A brief, natural language description of the condition that effectively communicates the intended semantics.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
    • hasDescriptionElement

      public boolean hasDescriptionElement()
    • hasDescription

      public boolean hasDescription()
    • setDescriptionElement

      Parameters:
      value - description (A brief, natural language description of the condition that effectively communicates the intended semantics.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
    • getDescription

      Returns:
      A brief, natural language description of the condition that effectively communicates the intended semantics.
    • setDescription

      Parameters:
      value - A brief, natural language description of the condition that effectively communicates the intended semantics.
    • getNameElement

      Returns:
      name (A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
    • hasNameElement

      public boolean hasNameElement()
    • hasName

      public boolean hasName()
    • setNameElement

      Parameters:
      value - name (A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
    • getName

      public String getName()
      Returns:
      A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.
    • setName

      public Expression setName(String value)
      Parameters:
      value - A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.
    • getLanguageElement

      Returns:
      language (The media type of the language for the expression.). This is the underlying object with id, value and extensions. The accessor "getLanguage" gives direct access to the value
    • hasLanguageElement

      public boolean hasLanguageElement()
    • hasLanguage

      public boolean hasLanguage()
    • setLanguageElement

      Parameters:
      value - language (The media type of the language for the expression.). This is the underlying object with id, value and extensions. The accessor "getLanguage" gives direct access to the value
    • getLanguage

      public String getLanguage()
      Returns:
      The media type of the language for the expression.
    • setLanguage

      public Expression setLanguage(String value)
      Parameters:
      value - The media type of the language for the expression.
    • getExpressionElement

      Returns:
      expression (An expression in the specified language that returns a value.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the value
    • hasExpressionElement

      public boolean hasExpressionElement()
    • hasExpression

      public boolean hasExpression()
    • setExpressionElement

      Parameters:
      value - expression (An expression in the specified language that returns a value.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the value
    • getExpression

      Returns:
      An expression in the specified language that returns a value.
    • setExpression

      Parameters:
      value - An expression in the specified language that returns a value.
    • getReferenceElement

      Returns:
      reference (A URI that defines where the expression is found.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value
    • hasReferenceElement

      public boolean hasReferenceElement()
    • hasReference

      public boolean hasReference()
    • setReferenceElement

      Parameters:
      value - reference (A URI that defines where the expression is found.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value
    • getReference

      public String getReference()
      Returns:
      A URI that defines where the expression is found.
    • setReference

      public Expression setReference(String value)
      Parameters:
      value - A URI that defines where the expression is found.
    • listChildren

      protected void listChildren(List<Property> children)
      Overrides:
      listChildren in class Element
    • getNamedProperty

      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getNamedProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getProperty

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

      public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • removeChild

      public void removeChild(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      removeChild in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • makeProperty

      public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      makeProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getTypesForProperty

      public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getTypesForProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class DataType
      Returns:
      the FHIR type name of the instance (not the java class name)
    • copy

      public Expression copy()
      Specified by:
      copy in class DataType
    • copyValues

      public void copyValues(Expression dst)
    • typedCopy

      protected Expression typedCopy()
    • equalsDeep

      public boolean equalsDeep(Base other_)
      Overrides:
      equalsDeep in class Element
    • equalsShallow

      public boolean equalsShallow(Base other_)
      Overrides:
      equalsShallow in class Element
    • isEmpty

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