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
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for identifier ()addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier ()ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for additive[x] ().<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for capacity ().Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for description ().Gets the value(s) for identifier ().Gets the first repetition for identifier (), creating it if it does not already exist.Gets the value(s) for specimenQuantity ().getType()
Gets the value(s) for type ().boolean
isEmpty()
setAdditive
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for additive[x] ()setCapacity
(SimpleQuantityDt theValue) Sets the value(s) for capacity ()setDescription
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for description ()setDescription
(String theString) Sets the value for description ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier ()setSpecimenQuantity
(SimpleQuantityDt theValue) Sets the value(s) for specimenQuantity ()setType
(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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Container
public Container()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
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
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 benull
)
-
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
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull
.Definition:
-
getDescription
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull
.Definition:
-
setDescription
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 returnnull
.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 returnnull
.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 returnnull
.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
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
Sets the value(s) for additive[x] ()Definition: Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA
-