public class CompositionSection extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
code |
protected CodeableConcept |
emptyReason |
protected java.util.List<Reference> |
entry |
protected Code |
mode |
protected CodeableConcept |
orderedBy |
protected java.util.List<CompositionSection> |
section |
protected Narrative |
text |
protected String |
title |
modifierExtension| Constructor and Description |
|---|
CompositionSection() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
CodeableConcept |
getCode()
Gets the value of the code property.
|
CodeableConcept |
getEmptyReason()
Gets the value of the emptyReason property.
|
java.util.List<Reference> |
getEntry()
Gets the value of the entry property.
|
Code |
getMode()
Gets the value of the mode property.
|
CodeableConcept |
getOrderedBy()
Gets the value of the orderedBy property.
|
java.util.List<CompositionSection> |
getSection()
Gets the value of the section property.
|
Narrative |
getText()
Gets the value of the text property.
|
String |
getTitle()
Gets the value of the title property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setEmptyReason(CodeableConcept value)
Sets the value of the emptyReason property.
|
void |
setMode(Code value)
Sets the value of the mode property.
|
void |
setOrderedBy(CodeableConcept value)
Sets the value of the orderedBy property.
|
void |
setText(Narrative value)
Sets the value of the text property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
java.lang.String |
toString() |
CompositionSection |
withCode(CodeableConcept value) |
CompositionSection |
withEmptyReason(CodeableConcept value) |
CompositionSection |
withEntry(java.util.Collection<Reference> values) |
CompositionSection |
withEntry(Reference... values) |
CompositionSection |
withExtension(java.util.Collection<Extension> values) |
CompositionSection |
withExtension(Extension... values) |
CompositionSection |
withId(java.lang.String value) |
CompositionSection |
withMode(Code value) |
CompositionSection |
withModifierExtension(java.util.Collection<Extension> values) |
CompositionSection |
withModifierExtension(Extension... values) |
CompositionSection |
withOrderedBy(CodeableConcept value) |
CompositionSection |
withSection(java.util.Collection<CompositionSection> values) |
CompositionSection |
withSection(CompositionSection... values) |
CompositionSection |
withText(Narrative value) |
CompositionSection |
withTitle(String value) |
getModifierExtensiongetExtension, getId, setIdprotected String title
protected CodeableConcept code
protected Narrative text
protected Code mode
protected CodeableConcept orderedBy
protected java.util.List<Reference> entry
protected CodeableConcept emptyReason
protected java.util.List<CompositionSection> section
public String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Narrative getText()
Narrativepublic void setText(Narrative value)
value - allowed object is
Narrativepublic void setMode(Code value)
value - allowed object is
Codepublic CodeableConcept getOrderedBy()
CodeableConceptpublic void setOrderedBy(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<Reference> getEntry()
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
public CodeableConcept getEmptyReason()
CodeableConceptpublic void setEmptyReason(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<CompositionSection> getSection()
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
public CompositionSection withTitle(String value)
public CompositionSection withCode(CodeableConcept value)
public CompositionSection withText(Narrative value)
public CompositionSection withMode(Code value)
public CompositionSection withOrderedBy(CodeableConcept value)
public CompositionSection withEntry(Reference... values)
public CompositionSection withEntry(java.util.Collection<Reference> values)
public CompositionSection withEmptyReason(CodeableConcept value)
public CompositionSection withSection(CompositionSection... values)
public CompositionSection withSection(java.util.Collection<CompositionSection> values)
public CompositionSection withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic CompositionSection withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic CompositionSection withExtension(Extension... values)
withExtension in class BackboneElementpublic CompositionSection withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic CompositionSection withId(java.lang.String value)
withId in class BackboneElementpublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class BackboneElement