Class CompositionSection
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptcodeprotected CodeableConceptemptyReasonprotected java.util.List<Reference>entryprotected Codemodeprotected CodeableConceptorderedByprotected java.util.List<CompositionSection>sectionprotected Narrativetextprotected Stringtitle-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description CompositionSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(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)CodeableConceptgetCode()Gets the value of the code property.CodeableConceptgetEmptyReason()Gets the value of the emptyReason property.java.util.List<Reference>getEntry()Gets the value of the entry property.CodegetMode()Gets the value of the mode property.CodeableConceptgetOrderedBy()Gets the value of the orderedBy property.java.util.List<CompositionSection>getSection()Gets the value of the section property.NarrativegetText()Gets the value of the text property.StringgetTitle()Gets the value of the title property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCode(CodeableConcept value)Sets the value of the code property.voidsetEmptyReason(CodeableConcept value)Sets the value of the emptyReason property.voidsetMode(Code value)Sets the value of the mode property.voidsetOrderedBy(CodeableConcept value)Sets the value of the orderedBy property.voidsetText(Narrative value)Sets the value of the text property.voidsetTitle(String value)Sets the value of the title property.java.lang.StringtoString()CompositionSectionwithCode(CodeableConcept value)CompositionSectionwithEmptyReason(CodeableConcept value)CompositionSectionwithEntry(java.util.Collection<Reference> values)CompositionSectionwithEntry(Reference... values)CompositionSectionwithExtension(java.util.Collection<Extension> values)CompositionSectionwithExtension(Extension... values)CompositionSectionwithId(java.lang.String value)CompositionSectionwithMode(Code value)CompositionSectionwithModifierExtension(java.util.Collection<Extension> values)CompositionSectionwithModifierExtension(Extension... values)CompositionSectionwithOrderedBy(CodeableConcept value)CompositionSectionwithSection(java.util.Collection<CompositionSection> values)CompositionSectionwithSection(CompositionSection... values)CompositionSectionwithText(Narrative value)CompositionSectionwithTitle(String value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
title
protected String title
-
code
protected CodeableConcept code
-
text
protected Narrative text
-
mode
protected Code mode
-
orderedBy
protected CodeableConcept orderedBy
-
entry
protected java.util.List<Reference> entry
-
emptyReason
protected CodeableConcept emptyReason
-
section
protected java.util.List<CompositionSection> section
-
-
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 isString
-
getCode
public CodeableConcept getCode()
Gets the value of the code property.- Returns:
- possible object is
CodeableConcept
-
setCode
public void setCode(CodeableConcept value)
Sets the value of the code property.- Parameters:
value- allowed object isCodeableConcept
-
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 isNarrative
-
setMode
public void setMode(Code value)
Sets the value of the mode property.- Parameters:
value- allowed object isCode
-
getOrderedBy
public CodeableConcept getOrderedBy()
Gets the value of the orderedBy property.- Returns:
- possible object is
CodeableConcept
-
setOrderedBy
public void setOrderedBy(CodeableConcept value)
Sets the value of the orderedBy property.- Parameters:
value- allowed object isCodeableConcept
-
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
setmethod 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
-
getEmptyReason
public CodeableConcept getEmptyReason()
Gets the value of the emptyReason property.- Returns:
- possible object is
CodeableConcept
-
setEmptyReason
public void setEmptyReason(CodeableConcept value)
Sets the value of the emptyReason property.- Parameters:
value- allowed object isCodeableConcept
-
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
setmethod 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
-
withTitle
public CompositionSection withTitle(String value)
-
withCode
public CompositionSection withCode(CodeableConcept value)
-
withText
public CompositionSection withText(Narrative value)
-
withMode
public CompositionSection withMode(Code value)
-
withOrderedBy
public CompositionSection withOrderedBy(CodeableConcept value)
-
withEntry
public CompositionSection withEntry(Reference... values)
-
withEntry
public CompositionSection withEntry(java.util.Collection<Reference> values)
-
withEmptyReason
public CompositionSection withEmptyReason(CodeableConcept value)
-
withSection
public CompositionSection withSection(CompositionSection... values)
-
withSection
public CompositionSection withSection(java.util.Collection<CompositionSection> values)
-
withModifierExtension
public CompositionSection withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public CompositionSection withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public CompositionSection withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public CompositionSection withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public CompositionSection withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
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:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
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:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
-