Class EvidenceReport.Section
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.type.Element
-
- org.linuxforhealth.fhir.model.type.BackboneElement
-
- org.linuxforhealth.fhir.model.resource.EvidenceReport.Section
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- EvidenceReport
public static class EvidenceReport.Section extends BackboneElement
The root of the sections that make up the composition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvidenceReport.Section.Builder
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static EvidenceReport.Section.Builderbuilder()booleanequals(java.lang.Object obj)java.util.List<Reference>getAuthor()Identifies who is responsible for the information in this section, not necessarily who typed it in.CodeableConceptgetEmptyReason()If the section is empty, why the list is empty.java.util.List<CodeableConcept>getEntryClassifier()Specifies any type of classification of the evidence report.java.util.List<Quantity>getEntryQuantity()Quantity as content.java.util.List<Reference>getEntryReference()A reference to the actual resource from which the narrative in the section is derived.CodeableConceptgetFocus()A code identifying the kind of content contained within the section.ReferencegetFocusReference()A definitional Resource identifying the kind of content contained within the section.SectionModegetMode()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.CodeableConceptgetOrderedBy()Specifies the order applied to the items in the section entries.java.util.List<EvidenceReport.Section>getSection()A nested sub-section within this section.NarrativegetText()A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human.StringgetTitle()The label for this particular section.booleanhasChildren()inthashCode()EvidenceReport.Section.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
getModifierExtension
-
Methods inherited from class org.linuxforhealth.fhir.model.type.Element
as, getExtension, getId, hasValue, is
-
-
-
-
Method Detail
-
getTitle
public String getTitle()
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.- Returns:
- An immutable object of type
Stringthat may be null.
-
getFocus
public CodeableConcept getFocus()
A code identifying the kind of content contained within the section. This should be consistent with the section title.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getFocusReference
public Reference getFocusReference()
A definitional Resource identifying the kind of content contained within the section. This should be consistent with the section title.- Returns:
- An immutable object of type
Referencethat may be null.
-
getAuthor
public java.util.List<Reference> getAuthor()
Identifies who is responsible for the information in this section, not necessarily who typed it in.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getText
public Narrative getText()
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 peferred to contain sufficient detail to make it acceptable for a human to just read the narrative.- Returns:
- An immutable object of type
Narrativethat may be null.
-
getMode
public SectionMode getMode()
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.- Returns:
- An immutable object of type
SectionModethat may be null.
-
getOrderedBy
public CodeableConcept getOrderedBy()
Specifies the order applied to the items in the section entries.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getEntryClassifier
public java.util.List<CodeableConcept> getEntryClassifier()
Specifies any type of classification of the evidence report.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getEntryReference
public java.util.List<Reference> getEntryReference()
A reference to the actual resource from which the narrative in the section is derived.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getEntryQuantity
public java.util.List<Quantity> getEntryQuantity()
Quantity as content.- Returns:
- An unmodifiable list containing immutable objects of type
Quantitythat may be empty.
-
getEmptyReason
public CodeableConcept getEmptyReason()
If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getSection
public java.util.List<EvidenceReport.Section> getSection()
A nested sub-section within this section.- Returns:
- An unmodifiable list containing immutable objects of type
EvidenceReport.Sectionthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public EvidenceReport.Section.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static EvidenceReport.Section.Builder builder()
-
-