
Package org.hl7.fhir.dstu2.model
Class Specimen
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.Specimen
- 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 sample to be used for analysis.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enumstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IdentifierThe identifier assigned by the lab when accessioning specimen(s).protected Specimen.SpecimenCollectionComponentDetails concerning the specimen collection.protected List<Specimen.SpecimenContainerComponent> The container holding the specimen.protected List<Identifier> Id for specimen.Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.The actual objects that are the target of the reference (Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.)protected DateTimeTypeTime when specimen was received for processing or testing.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Enumeration<Specimen.SpecimenStatus> The availability of the specimen.protected ReferenceWhere the specimen came from.protected ResourceThe actual object that is the target of the reference (Where the specimen came from.protected List<Specimen.SpecimenTreatmentComponent> Details concerning treatment and processing steps for the specimen.protected CodeableConceptThe kind of material that forms the specimen.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu2.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()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getType()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasType()booleanisEmpty()protected voidlistChildren(List<Property> childrenList) setAccessionIdentifier(Identifier value) voidsetProperty(String name, Base value) setReceivedTime(Date value) setStatus(Specimen.SpecimenStatus value) setSubject(Reference value) setSubjectTarget(Resource value) setType(CodeableConcept value) protected SpecimenMethods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setTextMethods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNMethods 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
Id for specimen. -
status
The availability of the specimen. -
type
The kind of material that forms the specimen. -
parent
Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen. -
parentTarget
The actual objects that are the target of the reference (Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.) -
subject
Where the specimen came from. This may be from the patient(s) or from the environment or a device. -
subjectTarget
The actual object that is the target of the reference (Where the specimen came from. This may be from the patient(s) or from the environment or a device.) -
accessionIdentifier
The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures. -
receivedTime
Time when specimen was received for processing or testing. -
collection
Details concerning the specimen collection. -
treatment
Details concerning treatment and processing steps for the specimen. -
container
The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here. -
SP_CONTAINER
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_PARENT
- See Also:
-
SP_CONTAINERID
- See Also:
-
SP_BODYSITE
- See Also:
-
SP_SUBJECT
- See Also:
-
SP_PATIENT
- See Also:
-
SP_COLLECTED
- See Also:
-
SP_ACCESSION
- See Also:
-
SP_TYPE
- See Also:
-
SP_COLLECTOR
- See Also:
-
-
Constructor Details
-
Specimen
public Specimen() -
Specimen
-
-
Method Details
-
getIdentifier
- Returns:
identifier(Id for specimen.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier(Id for specimen.)
-
addIdentifier
-
getStatusElement
- Returns:
status(The availability of the specimen.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value-status(The availability of the specimen.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The availability of the specimen.
-
setStatus
- Parameters:
value- The availability of the specimen.
-
getType
- Returns:
type(The kind of material that forms the specimen.)
-
hasType
-
setType
- Parameters:
value-type(The kind of material that forms the specimen.)
-
getParent
- Returns:
parent(Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.)
-
hasParent
-
addParent
- Returns:
parent(Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.)
-
addParent
-
getParentTarget
- Returns:
parent(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.)
-
addParentTarget
- Returns:
parent(Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.)
-
getSubject
- Returns:
subject(Where the specimen came from. This may be from the patient(s) or from the environment or a device.)
-
hasSubject
-
setSubject
- Parameters:
value-subject(Where the specimen came from. This may be from the patient(s) or from the environment or a device.)
-
getSubjectTarget
- Returns:
subjectThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Where the specimen came from. This may be from the patient(s) or from the environment or a device.)
-
setSubjectTarget
- Parameters:
value-subjectThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Where the specimen came from. This may be from the patient(s) or from the environment or a device.)
-
getAccessionIdentifier
- Returns:
accessionIdentifier(The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures.)
-
hasAccessionIdentifier
-
setAccessionIdentifier
- Parameters:
value-accessionIdentifier(The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures.)
-
getReceivedTimeElement
- Returns:
receivedTime(Time when specimen was received for processing or testing.). This is the underlying object with id, value and extensions. The accessor "getReceivedTime" gives direct access to the value
-
hasReceivedTimeElement
-
hasReceivedTime
-
setReceivedTimeElement
- Parameters:
value-receivedTime(Time when specimen was received for processing or testing.). This is the underlying object with id, value and extensions. The accessor "getReceivedTime" gives direct access to the value
-
getReceivedTime
- Returns:
- Time when specimen was received for processing or testing.
-
setReceivedTime
- Parameters:
value- Time when specimen was received for processing or testing.
-
getCollection
- Returns:
collection(Details concerning the specimen collection.)
-
hasCollection
-
setCollection
- Parameters:
value-collection(Details concerning the specimen collection.)
-
getTreatment
- Returns:
treatment(Details concerning treatment and processing steps for the specimen.)
-
hasTreatment
-
addTreatment
- Returns:
treatment(Details concerning treatment and processing steps for the specimen.)
-
addTreatment
-
getContainer
- Returns:
container(The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.)
-
hasContainer
-
addContainer
- Returns:
container(The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.)
-
addContainer
-
listChildren
- Overrides:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin 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
-
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
-