Class Retrieve

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Direct Known Subclasses:
RetrieveEvaluator

public class Retrieve extends Expression implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The retrieve expression defines clinical data that will be used by the artifact. This expression allows clinically relevant filtering criteria to be provided in a well-defined and computable way. This operation defines the integration boundary for artifacts. The result of a retrieve is defined to return the same data for subsequent invocations within the same evaluation request. This means in particular that patient data updates made during the evaluation request are not visible to the artifact. In effect, the patient data is a snapshot of the data as of the start of the evaluation. This ensures strict deterministic and functional behavior of the artifact, and allows the implementation engine freedom to cache intermediate results in order to improve performance.

Java class for Retrieve complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Retrieve">
   <complexContent>
     <extension base="{urn:hl7-org:elm:r1}Expression">
       <sequence>
         <element name="id" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
         <element name="codes" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
         <element name="dateRange" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
         <element name="context" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
         <element name="include" type="{urn:hl7-org:elm:r1}IncludeElement" maxOccurs="unbounded" minOccurs="0"/>
         <element name="codeFilter" type="{urn:hl7-org:elm:r1}CodeFilterElement" maxOccurs="unbounded" minOccurs="0"/>
         <element name="dateFilter" type="{urn:hl7-org:elm:r1}DateFilterElement" maxOccurs="unbounded" minOccurs="0"/>
         <element name="otherFilter" type="{urn:hl7-org:elm:r1}OtherFilterElement" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="dataType" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
       <attribute name="templateId" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="idProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="idSearch" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="contextProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="contextSearch" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="codeProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="codeSearch" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="codeComparator" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="valueSetProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dateProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dateLowProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dateHighProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dateSearch" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="includedIn" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Retrieve

      public Retrieve()
  • Method Details

    • getId

      public Expression getId()
      Gets the value of the id property.
      Returns:
      possible object is Expression
    • setId

      public void setId(Expression value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is Expression
    • getCodes

      public Expression getCodes()
      Gets the value of the codes property.
      Returns:
      possible object is Expression
    • setCodes

      public void setCodes(Expression value)
      Sets the value of the codes property.
      Parameters:
      value - allowed object is Expression
    • getDateRange

      public Expression getDateRange()
      Gets the value of the dateRange property.
      Returns:
      possible object is Expression
    • setDateRange

      public void setDateRange(Expression value)
      Sets the value of the dateRange property.
      Parameters:
      value - allowed object is Expression
    • getContext

      public Expression getContext()
      Gets the value of the context property.
      Returns:
      possible object is Expression
    • setContext

      public void setContext(Expression value)
      Sets the value of the context property.
      Parameters:
      value - allowed object is Expression
    • getInclude

      public List<IncludeElement> getInclude()
      Gets the value of the include property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the include property.

      For example, to add a new item, do as follows:

          getInclude().add(newItem);
       

      Objects of the following type(s) are allowed in the list IncludeElement

    • getCodeFilter

      public List<CodeFilterElement> getCodeFilter()
      Gets the value of the codeFilter property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the codeFilter property.

      For example, to add a new item, do as follows:

          getCodeFilter().add(newItem);
       

      Objects of the following type(s) are allowed in the list CodeFilterElement

    • getDateFilter

      public List<DateFilterElement> getDateFilter()
      Gets the value of the dateFilter property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the dateFilter property.

      For example, to add a new item, do as follows:

          getDateFilter().add(newItem);
       

      Objects of the following type(s) are allowed in the list DateFilterElement

    • getOtherFilter

      public List<OtherFilterElement> getOtherFilter()
      Gets the value of the otherFilter property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the otherFilter property.

      For example, to add a new item, do as follows:

          getOtherFilter().add(newItem);
       

      Objects of the following type(s) are allowed in the list OtherFilterElement

    • getDataType

      public QName getDataType()
      Gets the value of the dataType property.
      Returns:
      possible object is QName
    • setDataType

      public void setDataType(QName value)
      Sets the value of the dataType property.
      Parameters:
      value - allowed object is QName
    • getTemplateId

      public String getTemplateId()
      Gets the value of the templateId property.
      Returns:
      possible object is String
    • setTemplateId

      public void setTemplateId(String value)
      Sets the value of the templateId property.
      Parameters:
      value - allowed object is String
    • getIdProperty

      public String getIdProperty()
      Gets the value of the idProperty property.
      Returns:
      possible object is String
    • setIdProperty

      public void setIdProperty(String value)
      Sets the value of the idProperty property.
      Parameters:
      value - allowed object is String
    • getIdSearch

      public String getIdSearch()
      Gets the value of the idSearch property.
      Returns:
      possible object is String
    • setIdSearch

      public void setIdSearch(String value)
      Sets the value of the idSearch property.
      Parameters:
      value - allowed object is String
    • getContextProperty

      public String getContextProperty()
      Gets the value of the contextProperty property.
      Returns:
      possible object is String
    • setContextProperty

      public void setContextProperty(String value)
      Sets the value of the contextProperty property.
      Parameters:
      value - allowed object is String
    • getContextSearch

      public String getContextSearch()
      Gets the value of the contextSearch property.
      Returns:
      possible object is String
    • setContextSearch

      public void setContextSearch(String value)
      Sets the value of the contextSearch property.
      Parameters:
      value - allowed object is String
    • getCodeProperty

      public String getCodeProperty()
      Gets the value of the codeProperty property.
      Returns:
      possible object is String
    • setCodeProperty

      public void setCodeProperty(String value)
      Sets the value of the codeProperty property.
      Parameters:
      value - allowed object is String
    • getCodeSearch

      public String getCodeSearch()
      Gets the value of the codeSearch property.
      Returns:
      possible object is String
    • setCodeSearch

      public void setCodeSearch(String value)
      Sets the value of the codeSearch property.
      Parameters:
      value - allowed object is String
    • getCodeComparator

      public String getCodeComparator()
      Gets the value of the codeComparator property.
      Returns:
      possible object is String
    • setCodeComparator

      public void setCodeComparator(String value)
      Sets the value of the codeComparator property.
      Parameters:
      value - allowed object is String
    • getValueSetProperty

      public String getValueSetProperty()
      Gets the value of the valueSetProperty property.
      Returns:
      possible object is String
    • setValueSetProperty

      public void setValueSetProperty(String value)
      Sets the value of the valueSetProperty property.
      Parameters:
      value - allowed object is String
    • getDateProperty

      public String getDateProperty()
      Gets the value of the dateProperty property.
      Returns:
      possible object is String
    • setDateProperty

      public void setDateProperty(String value)
      Sets the value of the dateProperty property.
      Parameters:
      value - allowed object is String
    • getDateLowProperty

      public String getDateLowProperty()
      Gets the value of the dateLowProperty property.
      Returns:
      possible object is String
    • setDateLowProperty

      public void setDateLowProperty(String value)
      Sets the value of the dateLowProperty property.
      Parameters:
      value - allowed object is String
    • getDateHighProperty

      public String getDateHighProperty()
      Gets the value of the dateHighProperty property.
      Returns:
      possible object is String
    • setDateHighProperty

      public void setDateHighProperty(String value)
      Sets the value of the dateHighProperty property.
      Parameters:
      value - allowed object is String
    • getDateSearch

      public String getDateSearch()
      Gets the value of the dateSearch property.
      Returns:
      possible object is String
    • setDateSearch

      public void setDateSearch(String value)
      Sets the value of the dateSearch property.
      Parameters:
      value - allowed object is String
    • getIncludedIn

      public String getIncludedIn()
      Gets the value of the includedIn property.
      Returns:
      possible object is String
    • setIncludedIn

      public void setIncludedIn(String value)
      Sets the value of the includedIn property.
      Parameters:
      value - allowed object is String
    • withId

      public Retrieve withId(Expression value)
    • withCodes

      public Retrieve withCodes(Expression value)
    • withDateRange

      public Retrieve withDateRange(Expression value)
    • withContext

      public Retrieve withContext(Expression value)
    • withInclude

      public Retrieve withInclude(IncludeElement... values)
    • withInclude

      public Retrieve withInclude(Collection<IncludeElement> values)
    • withCodeFilter

      public Retrieve withCodeFilter(CodeFilterElement... values)
    • withCodeFilter

      public Retrieve withCodeFilter(Collection<CodeFilterElement> values)
    • withDateFilter

      public Retrieve withDateFilter(DateFilterElement... values)
    • withDateFilter

      public Retrieve withDateFilter(Collection<DateFilterElement> values)
    • withOtherFilter

      public Retrieve withOtherFilter(OtherFilterElement... values)
    • withOtherFilter

      public Retrieve withOtherFilter(Collection<OtherFilterElement> values)
    • withDataType

      public Retrieve withDataType(QName value)
    • withTemplateId

      public Retrieve withTemplateId(String value)
    • withIdProperty

      public Retrieve withIdProperty(String value)
    • withIdSearch

      public Retrieve withIdSearch(String value)
    • withContextProperty

      public Retrieve withContextProperty(String value)
    • withContextSearch

      public Retrieve withContextSearch(String value)
    • withCodeProperty

      public Retrieve withCodeProperty(String value)
    • withCodeSearch

      public Retrieve withCodeSearch(String value)
    • withCodeComparator

      public Retrieve withCodeComparator(String value)
    • withValueSetProperty

      public Retrieve withValueSetProperty(String value)
    • withDateProperty

      public Retrieve withDateProperty(String value)
    • withDateLowProperty

      public Retrieve withDateLowProperty(String value)
    • withDateHighProperty

      public Retrieve withDateHighProperty(String value)
    • withDateSearch

      public Retrieve withDateSearch(String value)
    • withIncludedIn

      public Retrieve withIncludedIn(String value)
    • withAnnotation

      public Retrieve withAnnotation(CqlToElmBase... values)
      Overrides:
      withAnnotation in class Expression
    • withAnnotation

      public Retrieve withAnnotation(Collection<CqlToElmBase> values)
      Overrides:
      withAnnotation in class Expression
    • withResultTypeSpecifier

      public Retrieve withResultTypeSpecifier(TypeSpecifier value)
      Overrides:
      withResultTypeSpecifier in class Expression
    • withLocalId

      public Retrieve withLocalId(String value)
      Overrides:
      withLocalId in class Expression
    • withLocator

      public Retrieve withLocator(String value)
      Overrides:
      withLocator in class Expression
    • withResultTypeName

      public Retrieve withResultTypeName(QName value)
      Overrides:
      withResultTypeName in class Expression
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class Expression
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Expression
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class Expression
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Expression
    • toString

      public String toString()
      Overrides:
      toString in class Expression
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class Expression
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class Expression