
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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CodeableConcept> The action to be performed for collecting the specimen.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for containerprotected IdentifierA business identifier associated with the kind of specimen.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierprotected List<CodeableConcept> Preparation of the patient for specimen collection.static final StringSearch parameter: containerstatic final StringSearch parameter: identifierstatic final StringSearch parameter: typeprotected StringTypeTime aspect of specimen collection (duration or offset).static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for typeprotected CodeableConceptThe 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, textFields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) 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 SpecimenDefinitionMethods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods 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, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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
thisfor 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
thisfor 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
thisfor 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:
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
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- 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
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-