Class 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
Definition: The root of the sections that make up the composition
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddEntry()
Adds and returns a new value for entry ()Adds and returns a new value for section ()addSection
(Composition.Section theValue) Adds a given new value for section ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getCode()
Gets the value(s) for code ().Gets the value(s) for emptyReason ().getEntry()
Gets the value(s) for entry ().getMode()
Gets the value(s) for mode ().ca.uhn.fhir.model.primitive.CodeDt
Gets the value(s) for mode ().Gets the value(s) for orderedBy ().Gets the value(s) for section ().Gets the first repetition for section (), creating it if it does not already exist.getText()
Gets the value(s) for text ().getTitle()
Gets the value(s) for title ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for title ().boolean
isEmpty()
setCode
(CodeableConceptDt theValue) Sets the value(s) for code ()setEmptyReason
(CodeableConceptDt theValue) Sets the value(s) for emptyReason ()setEntry
(List<ResourceReferenceDt> theValue) Sets the value(s) for entry ()setMode
(ca.uhn.fhir.model.primitive.CodeDt theValue) Sets the value(s) for mode ()Sets the value for mode ()setOrderedBy
(CodeableConceptDt theValue) Sets the value(s) for orderedBy ()setSection
(List<Composition.Section> theValue) Sets the value(s) for section ()setText
(NarrativeDt theValue) Sets the value(s) for text ()setTitle
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for title ()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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Section
public Section()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
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
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
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
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
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
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
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
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
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
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
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
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
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
Sets the value(s) for orderedBy ()Definition: Specifies the order applied to the items in the section entries
-
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
Sets the value(s) for entry ()Definition: A reference to the actual resource from which the narrative in the section is derived
-
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
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
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
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
Sets the value(s) for section ()Definition: A nested sub-section within this section
-
addSection
Adds and returns a new value for section ()Definition: A nested sub-section within this section
-
addSection
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
Gets the first repetition for section (), creating it if it does not already exist.Definition: A nested sub-section within this section
-