Class Composition.Section
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Composition.Section
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- Composition
public static class Composition.Section extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Composition.section ()Definition: The root of the sections that make up the composition
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Section()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceDtaddEntry()Adds and returns a new value for entry ()Composition.SectionaddSection()Adds and returns a new value for section ()Composition.SectionaddSection(Composition.Section theValue)Adds a given new value for section ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)CodeableConceptDtgetCode()Gets the value(s) for code ().CodeableConceptDtgetEmptyReason()Gets the value(s) for emptyReason ().List<ResourceReferenceDt>getEntry()Gets the value(s) for entry ().StringgetMode()Gets the value(s) for mode ().ca.uhn.fhir.model.primitive.CodeDtgetModeElement()Gets the value(s) for mode ().CodeableConceptDtgetOrderedBy()Gets the value(s) for orderedBy ().List<Composition.Section>getSection()Gets the value(s) for section ().Composition.SectiongetSectionFirstRep()Gets the first repetition for section (), creating it if it does not already exist.NarrativeDtgetText()Gets the value(s) for text ().StringgetTitle()Gets the value(s) for title ().ca.uhn.fhir.model.primitive.StringDtgetTitleElement()Gets the value(s) for title ().booleanisEmpty()Composition.SectionsetCode(CodeableConceptDt theValue)Sets the value(s) for code ()Composition.SectionsetEmptyReason(CodeableConceptDt theValue)Sets the value(s) for emptyReason ()Composition.SectionsetEntry(List<ResourceReferenceDt> theValue)Sets the value(s) for entry ()Composition.SectionsetMode(ca.uhn.fhir.model.primitive.CodeDt theValue)Sets the value(s) for mode ()Composition.SectionsetMode(String theCode)Sets the value for mode ()Composition.SectionsetOrderedBy(CodeableConceptDt theValue)Sets the value(s) for orderedBy ()Composition.SectionsetSection(List<Composition.Section> theValue)Sets the value(s) for section ()Composition.SectionsetText(NarrativeDt theValue)Sets the value(s) for text ()Composition.SectionsetTitle(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for title ()Composition.SectionsetTitle(String theString)Sets the value for title ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Section
public Section()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getTitleElement
public ca.uhn.fhir.model.primitive.StringDt getTitleElement()
Gets the value(s) for title (). creating it if it does not exist. Will not returnnull.Definition: The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents
-
getTitle
public String getTitle()
Gets the value(s) for title (). creating it if it does not exist. This method may returnnull.Definition: The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents
-
setTitle
public Composition.Section setTitle(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for title ()Definition: The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents
-
setTitle
public Composition.Section setTitle(String theString)
Sets the value for title ()Definition: The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents
-
getCode
public CodeableConceptDt getCode()
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull.Definition: A code identifying the kind of content contained within the section. This must be consistent with the section title
-
setCode
public Composition.Section setCode(CodeableConceptDt theValue)
Sets the value(s) for code ()Definition: A code identifying the kind of content contained within the section. This must be consistent with the section title
-
getText
public NarrativeDt getText()
Gets the value(s) for text (). creating it if it does not exist. Will not returnnull.Definition: A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.
-
setText
public Composition.Section setText(NarrativeDt theValue)
Sets the value(s) for text ()Definition: A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.
-
getModeElement
public ca.uhn.fhir.model.primitive.CodeDt getModeElement()
Gets the value(s) for mode (). creating it if it does not exist. Will not returnnull.Definition: How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted
-
getMode
public String getMode()
Gets the value(s) for mode (). creating it if it does not exist. This method may returnnull.Definition: How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted
-
setMode
public Composition.Section setMode(ca.uhn.fhir.model.primitive.CodeDt theValue)
Sets the value(s) for mode ()Definition: How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted
-
setMode
public Composition.Section setMode(String theCode)
Sets the value for mode ()Definition: How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted
-
getOrderedBy
public CodeableConceptDt getOrderedBy()
Gets the value(s) for orderedBy (). creating it if it does not exist. Will not returnnull.Definition: Specifies the order applied to the items in the section entries
-
setOrderedBy
public Composition.Section setOrderedBy(CodeableConceptDt theValue)
Sets the value(s) for orderedBy ()Definition: Specifies the order applied to the items in the section entries
-
getEntry
public List<ResourceReferenceDt> getEntry()
Gets the value(s) for entry (). creating it if it does not exist. Will not returnnull.Definition: A reference to the actual resource from which the narrative in the section is derived
-
setEntry
public Composition.Section setEntry(List<ResourceReferenceDt> theValue)
Sets the value(s) for entry ()Definition: A reference to the actual resource from which the narrative in the section is derived
-
addEntry
public ResourceReferenceDt addEntry()
Adds and returns a new value for entry ()Definition: A reference to the actual resource from which the narrative in the section is derived
-
getEmptyReason
public CodeableConceptDt getEmptyReason()
Gets the value(s) for emptyReason (). creating it if it does not exist. Will not returnnull.Definition: If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason
-
setEmptyReason
public Composition.Section setEmptyReason(CodeableConceptDt theValue)
Sets the value(s) for emptyReason ()Definition: If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason
-
getSection
public List<Composition.Section> getSection()
Gets the value(s) for section (). creating it if it does not exist. Will not returnnull.Definition: A nested sub-section within this section
-
setSection
public Composition.Section setSection(List<Composition.Section> theValue)
Sets the value(s) for section ()Definition: A nested sub-section within this section
-
addSection
public Composition.Section addSection()
Adds and returns a new value for section ()Definition: A nested sub-section within this section
-
addSection
public Composition.Section addSection(Composition.Section theValue)
Adds a given new value for section ()Definition: A nested sub-section within this section
- Parameters:
theValue- The section to add (must not benull)
-
getSectionFirstRep
public Composition.Section getSectionFirstRep()
Gets the first repetition for section (), creating it if it does not already exist.Definition: A nested sub-section within this section
-
-