Package org.hl7.fhir.r4.model
Class SpecimenDefinition
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.model.SpecimenDefinition
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class SpecimenDefinition extends DomainResource
A kind of specimen with associated set of requirements.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpecimenDefinition.SpecimenContainedPreferencestatic classSpecimenDefinition.SpecimenContainedPreferenceEnumFactorystatic classSpecimenDefinition.SpecimenDefinitionTypeTestedComponentstatic classSpecimenDefinition.SpecimenDefinitionTypeTestedContainerAdditiveComponentstatic classSpecimenDefinition.SpecimenDefinitionTypeTestedContainerComponentstatic classSpecimenDefinition.SpecimenDefinitionTypeTestedHandlingComponent
-
Field Summary
Fields Modifier and Type Field Description protected List<CodeableConcept>collectionThe action to be performed for collecting the specimen.static ca.uhn.fhir.rest.gclient.TokenClientParamCONTAINERFluent Client search parameter constant for containerprotected IdentifieridentifierA business identifier associated with the kind of specimen.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierprotected List<CodeableConcept>patientPreparationPreparation of the patient for specimen collection.static StringSP_CONTAINERSearch parameter: containerstatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_TYPESearch parameter: typeprotected StringTypetimeAspectTime aspect of specimen collection (duration or offset).static ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for typeprotected CodeableConcepttypeCollectedThe kind of material to be collected.protected List<SpecimenDefinition.SpecimenDefinitionTypeTestedComponent>typeTestedSpecimen conditioned in a container as expected by the testing laboratory.-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description SpecimenDefinition()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
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, 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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected Identifier identifier
A business identifier associated with the kind of specimen.
-
typeCollected
protected CodeableConcept typeCollected
The kind of material to be collected.
-
patientPreparation
protected List<CodeableConcept> patientPreparation
Preparation of the patient for specimen collection.
-
timeAspect
protected StringType timeAspect
Time aspect of specimen collection (duration or offset).
-
collection
protected List<CodeableConcept> collection
The action to be performed for collecting the specimen.
-
typeTested
protected List<SpecimenDefinition.SpecimenDefinitionTypeTestedComponent> typeTested
Specimen conditioned in a container as expected by the testing laboratory.
-
SP_CONTAINER
public static final String SP_CONTAINER
Search parameter: containerDescription: The type of specimen conditioned in container expected by the lab
Type: token
Path: SpecimenDefinition.typeTested.container.type
- See Also:
- Constant Field Values
-
CONTAINER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTAINER
Fluent Client search parameter constant for containerDescription: The type of specimen conditioned in container expected by the lab
Type: token
Path: SpecimenDefinition.typeTested.container.type
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: The unique identifier associated with the specimen
Type: token
Path: SpecimenDefinition.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The unique identifier associated with the specimen
Type: token
Path: SpecimenDefinition.identifier
-
SP_TYPE
public static final String SP_TYPE
Search parameter: typeDescription: The type of collected specimen
Type: token
Path: SpecimenDefinition.typeCollected
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: The type of collected specimen
Type: token
Path: SpecimenDefinition.typeCollected
-
-
Constructor Detail
-
SpecimenDefinition
public SpecimenDefinition()
Constructor
-
-
Method Detail
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(A business identifier associated with the kind of specimen.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public SpecimenDefinition setIdentifier(Identifier value)
- Parameters:
value-identifier(A business identifier associated with the kind of specimen.)
-
getTypeCollected
public CodeableConcept getTypeCollected()
- Returns:
typeCollected(The kind of material to be collected.)
-
hasTypeCollected
public boolean hasTypeCollected()
-
setTypeCollected
public SpecimenDefinition setTypeCollected(CodeableConcept value)
- Parameters:
value-typeCollected(The kind of material to be collected.)
-
getPatientPreparation
public List<CodeableConcept> getPatientPreparation()
- Returns:
patientPreparation(Preparation of the patient for specimen collection.)
-
setPatientPreparation
public SpecimenDefinition setPatientPreparation(List<CodeableConcept> thePatientPreparation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPatientPreparation
public boolean hasPatientPreparation()
-
addPatientPreparation
public CodeableConcept addPatientPreparation()
-
addPatientPreparation
public SpecimenDefinition addPatientPreparation(CodeableConcept t)
-
getPatientPreparationFirstRep
public CodeableConcept getPatientPreparationFirstRep()
- Returns:
- The first repetition of repeating field
patientPreparation, creating it if it does not already exist
-
getTimeAspectElement
public StringType getTimeAspectElement()
- Returns:
timeAspect(Time aspect of specimen collection (duration or offset).). This is the underlying object with id, value and extensions. The accessor "getTimeAspect" gives direct access to the value
-
hasTimeAspectElement
public boolean hasTimeAspectElement()
-
hasTimeAspect
public boolean hasTimeAspect()
-
setTimeAspectElement
public SpecimenDefinition setTimeAspectElement(StringType value)
- Parameters:
value-timeAspect(Time aspect of specimen collection (duration or offset).). This is the underlying object with id, value and extensions. The accessor "getTimeAspect" gives direct access to the value
-
getTimeAspect
public String getTimeAspect()
- Returns:
- Time aspect of specimen collection (duration or offset).
-
setTimeAspect
public SpecimenDefinition setTimeAspect(String value)
- Parameters:
value- Time aspect of specimen collection (duration or offset).
-
getCollection
public List<CodeableConcept> getCollection()
- Returns:
collection(The action to be performed for collecting the specimen.)
-
setCollection
public SpecimenDefinition setCollection(List<CodeableConcept> theCollection)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCollection
public boolean hasCollection()
-
addCollection
public CodeableConcept addCollection()
-
addCollection
public SpecimenDefinition addCollection(CodeableConcept t)
-
getCollectionFirstRep
public CodeableConcept getCollectionFirstRep()
- Returns:
- The first repetition of repeating field
collection, creating it if it does not already exist
-
getTypeTested
public List<SpecimenDefinition.SpecimenDefinitionTypeTestedComponent> getTypeTested()
- Returns:
typeTested(Specimen conditioned in a container as expected by the testing laboratory.)
-
setTypeTested
public SpecimenDefinition setTypeTested(List<SpecimenDefinition.SpecimenDefinitionTypeTestedComponent> theTypeTested)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTypeTested
public boolean hasTypeTested()
-
addTypeTested
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent addTypeTested()
-
addTypeTested
public SpecimenDefinition addTypeTested(SpecimenDefinition.SpecimenDefinitionTypeTestedComponent t)
-
getTypeTestedFirstRep
public SpecimenDefinition.SpecimenDefinitionTypeTestedComponent getTypeTestedFirstRep()
- Returns:
- The first repetition of repeating field
typeTested, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public SpecimenDefinition copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(SpecimenDefinition dst)
-
typedCopy
protected SpecimenDefinition typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-