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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Container()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierDtaddIdentifier()Adds and returns a new value for identifier ()Specimen.ContaineraddIdentifier(IdentifierDt theValue)Adds a given new value for identifier ()ca.uhn.fhir.model.api.IDatatypegetAdditive()Gets the value(s) for additive[x] ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)SimpleQuantityDtgetCapacity()Gets the value(s) for capacity ().StringgetDescription()Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDtgetDescriptionElement()Gets the value(s) for description ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier ().IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (), creating it if it does not already exist.SimpleQuantityDtgetSpecimenQuantity()Gets the value(s) for specimenQuantity ().CodeableConceptDtgetType()Gets the value(s) for type ().booleanisEmpty()Specimen.ContainersetAdditive(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for additive[x] ()Specimen.ContainersetCapacity(SimpleQuantityDt theValue)Sets the value(s) for capacity ()Specimen.ContainersetDescription(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for description ()Specimen.ContainersetDescription(String theString)Sets the value for description ()Specimen.ContainersetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier ()Specimen.ContainersetSpecimenQuantity(SimpleQuantityDt theValue)Sets the value(s) for specimenQuantity ()Specimen.ContainersetType(CodeableConceptDt theValue)Sets the value(s) for type ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Container
public Container()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull.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 benull)
-
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 returnnull.Definition:
-
getDescription
public String getDescription()
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull.Definition:
-
setDescription
public Specimen.Container setDescription(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for description ()Definition:
-
setDescription
public Specimen.Container setDescription(String theString)
Sets the value for description ()Definition:
-
getType
public CodeableConceptDt getType()
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull.Definition: The type of container associated with the specimen (e.g. slide, aliquot, etc.)
-
setType
public Specimen.Container setType(CodeableConceptDt theValue)
Sets the value(s) for type ()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 returnnull.Definition: The capacity (volume or other measure) the container may contain.
-
setCapacity
public Specimen.Container setCapacity(SimpleQuantityDt theValue)
Sets the value(s) for capacity ()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 returnnull.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 returnnull.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
-
-