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
A kind of specimen with associated set of requirements.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<CodeableConcept>
The action to be performed for collecting the specimen.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for containerprotected Identifier
A business identifier associated with the kind of specimen.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierprotected List<CodeableConcept>
Preparation of the patient for specimen collection.static final String
Search parameter: containerstatic final String
Search parameter: identifierstatic final String
Search parameter: typeprotected StringType
Time aspect of specimen collection (duration or offset).static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typeprotected CodeableConcept
The kind of material to be collected.Specimen 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
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setCollection
(List<CodeableConcept> theCollection) setIdentifier
(Identifier value) setPatientPreparation
(List<CodeableConcept> thePatientPreparation) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setTimeAspect
(String value) setTimeAspectElement
(StringType value) setTypeCollected
(CodeableConcept value) protected SpecimenDefinition
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, getIdPart, 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, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
A business identifier associated with the kind of specimen. -
typeCollected
The kind of material to be collected. -
patientPreparation
Preparation of the patient for specimen collection. -
timeAspect
Time aspect of specimen collection (duration or offset). -
collection
The action to be performed for collecting the specimen. -
typeTested
Specimen conditioned in a container as expected by the testing laboratory. -
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:
-
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
Search parameter: identifierDescription: The unique identifier associated with the specimen
Type: token
Path: SpecimenDefinition.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The unique identifier associated with the specimen
Type: token
Path: SpecimenDefinition.identifier
-
SP_TYPE
Search parameter: typeDescription: The type of collected specimen
Type: token
Path: SpecimenDefinition.typeCollected
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription: The type of collected specimen
Type: token
Path: SpecimenDefinition.typeCollected
-
-
Constructor Details
-
SpecimenDefinition
public SpecimenDefinition()Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(A business identifier associated with the kind of specimen.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value
-identifier
(A business identifier associated with the kind of specimen.)
-
getTypeCollected
- Returns:
typeCollected
(The kind of material to be collected.)
-
hasTypeCollected
-
setTypeCollected
- Parameters:
value
-typeCollected
(The kind of material to be collected.)
-
getPatientPreparation
- Returns:
patientPreparation
(Preparation of the patient for specimen collection.)
-
setPatientPreparation
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasPatientPreparation
-
addPatientPreparation
-
addPatientPreparation
-
getPatientPreparationFirstRep
- Returns:
- The first repetition of repeating field
patientPreparation
, creating it if it does not already exist
-
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
-
hasTimeAspect
-
setTimeAspectElement
- 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
- Returns:
- Time aspect of specimen collection (duration or offset).
-
setTimeAspect
- Parameters:
value
- Time aspect of specimen collection (duration or offset).
-
getCollection
- Returns:
collection
(The action to be performed for collecting the specimen.)
-
setCollection
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasCollection
-
addCollection
-
addCollection
-
getCollectionFirstRep
- Returns:
- The first repetition of repeating field
collection
, creating it if it does not already exist
-
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
this
for easy method chaining
-
hasTypeTested
-
addTypeTested
-
addTypeTested
-
getTypeTestedFirstRep
- Returns:
- The first repetition of repeating field
typeTested
, creating it if it does not already exist
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-