Class Specimen.Container

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.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:
  • Constructor Details

  • Method Details

    • 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

      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

      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

      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

      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

      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

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

      Definition:

    • setDescription

      public Specimen.Container setDescription(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for description ()

      Definition:

    • setDescription

      Sets the value for description ()

      Definition:

    • 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.)

    • setType

      Sets the value(s) for type ()

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

    • 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.

    • setCapacity

      Sets the value(s) for capacity ()

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

    • 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

      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