Class 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.
    • 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 CodeableConcept that may be null.
      • getTemperatureRange

        public Range getTemperatureRange()
        The temperature interval for this set of handling instructions.
        Returns:
        An immutable object of type Range that 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 Duration that 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 String that may be null.
      • accept

        public void accept​(String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept 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:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object