Package com.ibm.fhir.model.resource
Class SpecimenDefinition.TypeTested
- 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
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- SpecimenDefinition
public static class SpecimenDefinition.TypeTested extends BackboneElement
Specimen conditioned in a container as expected by the testing laboratory.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpecimenDefinition.TypeTested.Builderstatic classSpecimenDefinition.TypeTested.ContainerThe specimen's container.static classSpecimenDefinition.TypeTested.HandlingSet of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.
-
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.Builderbuilder()booleanequals(Object obj)SpecimenDefinition.TypeTested.ContainergetContainer()The specimen's container.List<SpecimenDefinition.TypeTested.Handling>getHandling()Set of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.BooleangetIsDerived()Primary of secondary specimen.SpecimenContainedPreferencegetPreference()The preference for this type of conditioned specimen.List<CodeableConcept>getRejectionCriterion()Criterion for rejection of the specimen in its container by the laboratory.StringgetRequirement()Requirements for delivery and special handling of this kind of conditioned specimen.DurationgetRetentionTime()The usual time that a specimen of this kind is retained after the ordered tests are completed, for the purpose of additional testing.CodeableConceptgetType()The kind of specimen conditioned for testing expected by lab.booleanhasChildren()inthashCode()SpecimenDefinition.TypeTested.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
Method Detail
-
getIsDerived
public Boolean getIsDerived()
Primary of secondary specimen.- Returns:
- An immutable object of type
Booleanthat may be null.
-
getType
public CodeableConcept getType()
The kind of specimen conditioned for testing expected by lab.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getPreference
public SpecimenContainedPreference getPreference()
The preference for this type of conditioned specimen.- Returns:
- An immutable object of type
SpecimenContainedPreferencethat is non-null.
-
getContainer
public SpecimenDefinition.TypeTested.Container getContainer()
The specimen's container.- Returns:
- An immutable object of type
SpecimenDefinition.TypeTested.Containerthat may be null.
-
getRequirement
public String getRequirement()
Requirements for delivery and special handling of this kind of conditioned specimen.- Returns:
- An immutable object of type
Stringthat may be null.
-
getRetentionTime
public Duration getRetentionTime()
The usual time that a specimen of this kind is retained after the ordered tests are completed, for the purpose of additional testing.- Returns:
- An immutable object of type
Durationthat may be null.
-
getRejectionCriterion
public List<CodeableConcept> getRejectionCriterion()
Criterion for rejection of the specimen in its container by the laboratory.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getHandling
public List<SpecimenDefinition.TypeTested.Handling> getHandling()
Set of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.- Returns:
- An unmodifiable list containing immutable objects of type
SpecimenDefinition.TypeTested.Handlingthat may be empty.
-
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.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.Builder builder()
-
-