Package org.hl7.fhir

Class CompositionSection

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

    public class CompositionSection
    extends BackboneElement
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. While a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained.

    Java class for Composition.Section complex type.

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

     <complexType name="Composition.Section">
       <complexContent>
         <extension base="{http://hl7.org/fhir}BackboneElement">
           <sequence>
             <element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/>
             <element name="code" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="text" type="{http://hl7.org/fhir}Narrative" minOccurs="0"/>
             <element name="mode" type="{http://hl7.org/fhir}code" minOccurs="0"/>
             <element name="orderedBy" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="entry" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
             <element name="emptyReason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="section" type="{http://hl7.org/fhir}Composition.Section" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • CompositionSection

        public CompositionSection()
    • Method Detail

      • getTitle

        public String getTitle()
        Gets the value of the title property.
        Returns:
        possible object is String
      • setTitle

        public void setTitle​(String value)
        Sets the value of the title property.
        Parameters:
        value - allowed object is String
      • getText

        public Narrative getText()
        Gets the value of the text property.
        Returns:
        possible object is Narrative
      • setText

        public void setText​(Narrative value)
        Sets the value of the text property.
        Parameters:
        value - allowed object is Narrative
      • getMode

        public Code getMode()
        Gets the value of the mode property.
        Returns:
        possible object is Code
      • setMode

        public void setMode​(Code value)
        Sets the value of the mode property.
        Parameters:
        value - allowed object is Code
      • setOrderedBy

        public void setOrderedBy​(CodeableConcept value)
        Sets the value of the orderedBy property.
        Parameters:
        value - allowed object is CodeableConcept
      • getEntry

        public java.util.List<Reference> getEntry()
        Gets the value of the entry 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 entry property.

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

            getEntry().add(newItem);
         

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

      • setEmptyReason

        public void setEmptyReason​(CodeableConcept value)
        Sets the value of the emptyReason property.
        Parameters:
        value - allowed object is CodeableConcept
      • getSection

        public java.util.List<CompositionSection> getSection()
        Gets the value of the section 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 section property.

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

            getSection().add(newItem);
         

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

      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.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​(java.lang.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
      • append

        public java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                              java.lang.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 java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                    java.lang.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