Package org.hl7.fhir

Class ConformanceResource

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class ConformanceResource extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A conformance statement is a set of capabilities of a FHIR Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation.

Java class for Conformance.Resource complex type.

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

 <complexType name="Conformance.Resource">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <element name="type" type="{http://hl7.org/fhir}code"/>
         <element name="profile" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
         <element name="interaction" type="{http://hl7.org/fhir}Conformance.Interaction" maxOccurs="unbounded"/>
         <element name="versioning" type="{http://hl7.org/fhir}ResourceVersionPolicy" minOccurs="0"/>
         <element name="readHistory" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
         <element name="updateCreate" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
         <element name="conditionalCreate" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
         <element name="conditionalUpdate" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
         <element name="conditionalDelete" type="{http://hl7.org/fhir}ConditionalDeleteStatus" minOccurs="0"/>
         <element name="searchInclude" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="searchRevInclude" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="searchParam" type="{http://hl7.org/fhir}Conformance.SearchParam" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ConformanceResource

      public ConformanceResource()
  • Method Details

    • getType

      public Code getType()
      Gets the value of the type property.
      Returns:
      possible object is Code
    • setType

      public void setType(Code value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is Code
    • getProfile

      public Reference getProfile()
      Gets the value of the profile property.
      Returns:
      possible object is Reference
    • setProfile

      public void setProfile(Reference value)
      Sets the value of the profile property.
      Parameters:
      value - allowed object is Reference
    • getInteraction

      public List<ConformanceInteraction> getInteraction()
      Gets the value of the interaction 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 Jakarta XML Binding object. This is why there is not a set method for the interaction property.

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

          getInteraction().add(newItem);
       

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

    • getVersioning

      public ResourceVersionPolicy getVersioning()
      Gets the value of the versioning property.
      Returns:
      possible object is ResourceVersionPolicy
    • setVersioning

      public void setVersioning(ResourceVersionPolicy value)
      Sets the value of the versioning property.
      Parameters:
      value - allowed object is ResourceVersionPolicy
    • getReadHistory

      public Boolean getReadHistory()
      Gets the value of the readHistory property.
      Returns:
      possible object is Boolean
    • setReadHistory

      public void setReadHistory(Boolean value)
      Sets the value of the readHistory property.
      Parameters:
      value - allowed object is Boolean
    • getUpdateCreate

      public Boolean getUpdateCreate()
      Gets the value of the updateCreate property.
      Returns:
      possible object is Boolean
    • setUpdateCreate

      public void setUpdateCreate(Boolean value)
      Sets the value of the updateCreate property.
      Parameters:
      value - allowed object is Boolean
    • getConditionalCreate

      public Boolean getConditionalCreate()
      Gets the value of the conditionalCreate property.
      Returns:
      possible object is Boolean
    • setConditionalCreate

      public void setConditionalCreate(Boolean value)
      Sets the value of the conditionalCreate property.
      Parameters:
      value - allowed object is Boolean
    • getConditionalUpdate

      public Boolean getConditionalUpdate()
      Gets the value of the conditionalUpdate property.
      Returns:
      possible object is Boolean
    • setConditionalUpdate

      public void setConditionalUpdate(Boolean value)
      Sets the value of the conditionalUpdate property.
      Parameters:
      value - allowed object is Boolean
    • getConditionalDelete

      public ConditionalDeleteStatus getConditionalDelete()
      Gets the value of the conditionalDelete property.
      Returns:
      possible object is ConditionalDeleteStatus
    • setConditionalDelete

      public void setConditionalDelete(ConditionalDeleteStatus value)
      Sets the value of the conditionalDelete property.
      Parameters:
      value - allowed object is ConditionalDeleteStatus
    • getSearchInclude

      public List<String> getSearchInclude()
      Gets the value of the searchInclude 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 Jakarta XML Binding object. This is why there is not a set method for the searchInclude property.

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

          getSearchInclude().add(newItem);
       

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

    • getSearchRevInclude

      public List<String> getSearchRevInclude()
      Gets the value of the searchRevInclude 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 Jakarta XML Binding object. This is why there is not a set method for the searchRevInclude property.

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

          getSearchRevInclude().add(newItem);
       

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

    • getSearchParam

      public List<ConformanceSearchParam> getSearchParam()
      Gets the value of the searchParam 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 Jakarta XML Binding object. This is why there is not a set method for the searchParam property.

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

          getSearchParam().add(newItem);
       

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

    • withType

      public ConformanceResource withType(Code value)
    • withProfile

      public ConformanceResource withProfile(Reference value)
    • withInteraction

      public ConformanceResource withInteraction(ConformanceInteraction... values)
    • withInteraction

      public ConformanceResource withInteraction(Collection<ConformanceInteraction> values)
    • withVersioning

      public ConformanceResource withVersioning(ResourceVersionPolicy value)
    • withReadHistory

      public ConformanceResource withReadHistory(Boolean value)
    • withUpdateCreate

      public ConformanceResource withUpdateCreate(Boolean value)
    • withConditionalCreate

      public ConformanceResource withConditionalCreate(Boolean value)
    • withConditionalUpdate

      public ConformanceResource withConditionalUpdate(Boolean value)
    • withConditionalDelete

      public ConformanceResource withConditionalDelete(ConditionalDeleteStatus value)
    • withSearchInclude

      public ConformanceResource withSearchInclude(String... values)
    • withSearchInclude

      public ConformanceResource withSearchInclude(Collection<String> values)
    • withSearchRevInclude

      public ConformanceResource withSearchRevInclude(String... values)
    • withSearchRevInclude

      public ConformanceResource withSearchRevInclude(Collection<String> values)
    • withSearchParam

      public ConformanceResource withSearchParam(ConformanceSearchParam... values)
    • withSearchParam

      public ConformanceResource withSearchParam(Collection<ConformanceSearchParam> values)
    • withModifierExtension

      public ConformanceResource withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withModifierExtension

      public ConformanceResource withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withExtension

      public ConformanceResource withExtension(Extension... values)
      Overrides:
      withExtension in class BackboneElement
    • withExtension

      public ConformanceResource withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class BackboneElement
    • withId

      public ConformanceResource withId(String value)
      Overrides:
      withId in class BackboneElement
    • 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 BackboneElement
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class BackboneElement
    • 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 BackboneElement
    • hashCode

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

      public String toString()
      Overrides:
      toString in class BackboneElement
    • 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 BackboneElement
    • 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 BackboneElement
    • setInteraction

      public void setInteraction(List<ConformanceInteraction> value)
    • setSearchInclude

      public void setSearchInclude(List<String> value)
    • setSearchRevInclude

      public void setSearchRevInclude(List<String> value)
    • setSearchParam

      public void setSearchParam(List<ConformanceSearchParam> value)