Package org.hl7.fhir.r4.model
Class SpecimenDefinition.SpecimenDefinitionTypeTestedComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.SpecimenDefinition.SpecimenDefinitionTypeTestedComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- SpecimenDefinition
public static class SpecimenDefinition.SpecimenDefinitionTypeTestedComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected SpecimenDefinition.SpecimenDefinitionTypeTestedContainerComponentcontainerThe specimen's container.protected List<SpecimenDefinition.SpecimenDefinitionTypeTestedHandlingComponent>handlingSet of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.protected BooleanTypeisDerivedPrimary of secondary specimen.protected Enumeration<SpecimenDefinition.SpecimenContainedPreference>preferenceThe preference for this type of conditioned specimen.protected List<CodeableConcept>rejectionCriterionCriterion for rejection of the specimen in its container by the laboratory.protected StringTyperequirementRequirements for delivery and special handling of this kind of conditioned specimen.protected DurationretentionTimeThe usual time that a specimen of this kind is retained after the ordered tests are completed, for the purpose of additional testing.protected CodeableConcepttypeThe kind of specimen conditioned for testing expected by lab.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description SpecimenDefinitionTypeTestedComponent()ConstructorSpecimenDefinitionTypeTestedComponent(Enumeration<SpecimenDefinition.SpecimenContainedPreference> preference)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
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
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
isDerived
protected BooleanType isDerived
Primary of secondary specimen.
-
type
protected CodeableConcept type
The kind of specimen conditioned for testing expected by lab.
-
preference
protected Enumeration<SpecimenDefinition.SpecimenContainedPreference> preference
The preference for this type of conditioned specimen.
-
container
protected SpecimenDefinition.SpecimenDefinitionTypeTestedContainerComponent container
The specimen's container.
-
requirement
protected StringType requirement
Requirements for delivery and special handling of this kind of conditioned specimen.
-
retentionTime
protected Duration retentionTime
The usual time that a specimen of this kind is retained after the ordered tests are completed, for the purpose of additional testing.
-
rejectionCriterion
protected List<CodeableConcept> rejectionCriterion
Criterion for rejection of the specimen in its container by the laboratory.
-
handling
protected List<SpecimenDefinition.SpecimenDefinitionTypeTestedHandlingComponent> handling
Set of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.
-
-
Constructor Detail
-
SpecimenDefinitionTypeTestedComponent
public SpecimenDefinitionTypeTestedComponent()
Constructor
-
SpecimenDefinitionTypeTestedComponent
public SpecimenDefinitionTypeTestedComponent(Enumeration<SpecimenDefinition.SpecimenContainedPreference> preference)
Constructor
-
-
Method Detail
-
getIsDerivedElement
public BooleanType getIsDerivedElement()
- Returns:
isDerived(Primary of secondary specimen.). This is the underlying object with id, value and extensions. The accessor "getIsDerived" gives direct access to the value
-
hasIsDerivedElement
public boolean hasIsDerivedElement()
-
hasIsDerived
public boolean hasIsDerived()
-
setIsDerivedElement
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setIsDerivedElement(BooleanType value)
- Parameters:
value-isDerived(Primary of secondary specimen.). This is the underlying object with id, value and extensions. The accessor "getIsDerived" gives direct access to the value
-
getIsDerived
public boolean getIsDerived()
- Returns:
- Primary of secondary specimen.
-
setIsDerived
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setIsDerived(boolean value)
- Parameters:
value- Primary of secondary specimen.
-
getType
public CodeableConcept getType()
- Returns:
type(The kind of specimen conditioned for testing expected by lab.)
-
hasType
public boolean hasType()
-
setType
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setType(CodeableConcept value)
- Parameters:
value-type(The kind of specimen conditioned for testing expected by lab.)
-
getPreferenceElement
public Enumeration<SpecimenDefinition.SpecimenContainedPreference> getPreferenceElement()
- Returns:
preference(The preference for this type of conditioned specimen.). This is the underlying object with id, value and extensions. The accessor "getPreference" gives direct access to the value
-
hasPreferenceElement
public boolean hasPreferenceElement()
-
hasPreference
public boolean hasPreference()
-
setPreferenceElement
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setPreferenceElement(Enumeration<SpecimenDefinition.SpecimenContainedPreference> value)
- Parameters:
value-preference(The preference for this type of conditioned specimen.). This is the underlying object with id, value and extensions. The accessor "getPreference" gives direct access to the value
-
getPreference
public SpecimenDefinition.SpecimenContainedPreference getPreference()
- Returns:
- The preference for this type of conditioned specimen.
-
setPreference
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setPreference(SpecimenDefinition.SpecimenContainedPreference value)
- Parameters:
value- The preference for this type of conditioned specimen.
-
getContainer
public SpecimenDefinition.SpecimenDefinitionTypeTestedContainerComponent getContainer()
- Returns:
container(The specimen's container.)
-
hasContainer
public boolean hasContainer()
-
setContainer
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setContainer(SpecimenDefinition.SpecimenDefinitionTypeTestedContainerComponent value)
- Parameters:
value-container(The specimen's container.)
-
getRequirementElement
public StringType getRequirementElement()
- Returns:
requirement(Requirements for delivery and special handling of this kind of conditioned specimen.). This is the underlying object with id, value and extensions. The accessor "getRequirement" gives direct access to the value
-
hasRequirementElement
public boolean hasRequirementElement()
-
hasRequirement
public boolean hasRequirement()
-
setRequirementElement
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setRequirementElement(StringType value)
- Parameters:
value-requirement(Requirements for delivery and special handling of this kind of conditioned specimen.). This is the underlying object with id, value and extensions. The accessor "getRequirement" gives direct access to the value
-
getRequirement
public String getRequirement()
- Returns:
- Requirements for delivery and special handling of this kind of conditioned specimen.
-
setRequirement
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setRequirement(String value)
- Parameters:
value- Requirements for delivery and special handling of this kind of conditioned specimen.
-
getRetentionTime
public Duration getRetentionTime()
- Returns:
retentionTime(The usual time that a specimen of this kind is retained after the ordered tests are completed, for the purpose of additional testing.)
-
hasRetentionTime
public boolean hasRetentionTime()
-
setRetentionTime
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setRetentionTime(Duration value)
- Parameters:
value-retentionTime(The usual time that a specimen of this kind is retained after the ordered tests are completed, for the purpose of additional testing.)
-
getRejectionCriterion
public List<CodeableConcept> getRejectionCriterion()
- Returns:
rejectionCriterion(Criterion for rejection of the specimen in its container by the laboratory.)
-
setRejectionCriterion
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setRejectionCriterion(List<CodeableConcept> theRejectionCriterion)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRejectionCriterion
public boolean hasRejectionCriterion()
-
addRejectionCriterion
public CodeableConcept addRejectionCriterion()
-
addRejectionCriterion
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent addRejectionCriterion(CodeableConcept t)
-
getRejectionCriterionFirstRep
public CodeableConcept getRejectionCriterionFirstRep()
- Returns:
- The first repetition of repeating field
rejectionCriterion, creating it if it does not already exist
-
getHandling
public List<SpecimenDefinition.SpecimenDefinitionTypeTestedHandlingComponent> getHandling()
- Returns:
handling(Set of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.)
-
setHandling
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent setHandling(List<SpecimenDefinition.SpecimenDefinitionTypeTestedHandlingComponent> theHandling)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasHandling
public boolean hasHandling()
-
addHandling
public SpecimenDefinition.SpecimenDefinitionTypeTestedHandlingComponent addHandling()
-
addHandling
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent addHandling(SpecimenDefinition.SpecimenDefinitionTypeTestedHandlingComponent t)
-
getHandlingFirstRep
public SpecimenDefinition.SpecimenDefinitionTypeTestedHandlingComponent getHandlingFirstRep()
- Returns:
- The first repetition of repeating field
handling, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(SpecimenDefinition.SpecimenDefinitionTypeTestedComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-