Package com.ibm.fhir.model.resource
Class SpecimenDefinition.TypeTested.Handling
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.BackboneElement
-
- com.ibm.fhir.model.resource.SpecimenDefinition.TypeTested.Handling
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- SpecimenDefinition.TypeTested
public static class SpecimenDefinition.TypeTested.Handling extends BackboneElement
Set of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpecimenDefinition.TypeTested.Handling.Builder
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static SpecimenDefinition.TypeTested.Handling.Builderbuilder()booleanequals(Object obj)StringgetInstruction()Additional textual instructions for the preservation or transport of the specimen.DurationgetMaxDuration()The maximum time interval of preservation of the specimen with these conditions.CodeableConceptgetTemperatureQualifier()It qualifies the interval of temperature, which characterizes an occurrence of handling.RangegetTemperatureRange()The temperature interval for this set of handling instructions.booleanhasChildren()inthashCode()SpecimenDefinition.TypeTested.Handling.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
Method Detail
-
getTemperatureQualifier
public CodeableConcept getTemperatureQualifier()
It qualifies the interval of temperature, which characterizes an occurrence of handling. Conditions that are not related to temperature may be handled in the instruction element.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getTemperatureRange
public Range getTemperatureRange()
The temperature interval for this set of handling instructions.- Returns:
- An immutable object of type
Rangethat may be null.
-
getMaxDuration
public Duration getMaxDuration()
The maximum time interval of preservation of the specimen with these conditions.- Returns:
- An immutable object of type
Durationthat may be null.
-
getInstruction
public String getInstruction()
Additional textual instructions for the preservation or transport of the specimen. For instance, 'Protect from light exposure'.- Returns:
- An immutable object of type
Stringthat may be null.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(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
-
toBuilder
public SpecimenDefinition.TypeTested.Handling.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static SpecimenDefinition.TypeTested.Handling.Builder builder()
-
-