Class Specimen.Container

  • 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:
    Specimen

    public static class Specimen.Container
    extends ca.uhn.fhir.model.api.BaseIdentifiableElement
    implements ca.uhn.fhir.model.api.IResourceBlock
    Block class for child element: Specimen.container ()

    Definition: The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.

    See Also:
    Serialized Form
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.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 interface ca.uhn.fhir.model.api.ICompositeElement
      • getIdentifier

        public List<IdentifierDtgetIdentifier()
        Gets the value(s) for identifier (). creating it if it does not exist. Will not return null.

        Definition: Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances.

      • setIdentifier

        public Specimen.Container setIdentifier​(List<IdentifierDt> theValue)
        Sets the value(s) for identifier ()

        Definition: Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances.

      • addIdentifier

        public IdentifierDt addIdentifier()
        Adds and returns a new value for identifier ()

        Definition: Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances.

      • addIdentifier

        public Specimen.Container addIdentifier​(IdentifierDt theValue)
        Adds a given new value for identifier ()

        Definition: Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances.

        Parameters:
        theValue - The identifier to add (must not be null)
      • getIdentifierFirstRep

        public IdentifierDt getIdentifierFirstRep()
        Gets the first repetition for identifier (), creating it if it does not already exist.

        Definition: Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances.

      • getDescriptionElement

        public ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
        Gets the value(s) for description (). creating it if it does not exist. Will not return null.

        Definition:

      • getDescription

        public String getDescription()
        Gets the value(s) for description (). creating it if it does not exist. This method may return null.

        Definition:

      • getType

        public CodeableConceptDt getType()
        Gets the value(s) for type (). creating it if it does not exist. Will not return null.

        Definition: The type of container associated with the specimen (e.g. slide, aliquot, etc.)

      • getCapacity

        public SimpleQuantityDt getCapacity()
        Gets the value(s) for capacity (). creating it if it does not exist. Will not return null.

        Definition: The capacity (volume or other measure) the container may contain.

      • getSpecimenQuantity

        public SimpleQuantityDt getSpecimenQuantity()
        Gets the value(s) for specimenQuantity (). creating it if it does not exist. Will not return null.

        Definition: The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type.

      • setSpecimenQuantity

        public Specimen.Container setSpecimenQuantity​(SimpleQuantityDt theValue)
        Sets the value(s) for specimenQuantity ()

        Definition: The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type.

      • getAdditive

        public ca.uhn.fhir.model.api.IDatatype getAdditive()
        Gets the value(s) for additive[x] (). creating it if it does not exist. Will not return null.

        Definition: Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA

      • setAdditive

        public Specimen.Container setAdditive​(ca.uhn.fhir.model.api.IDatatype theValue)
        Sets the value(s) for additive[x] ()

        Definition: Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA