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
Modifier and TypeClassDescriptionstatic class
static class
static enum
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Identifier
The identifier assigned by the lab when accessioning specimen(s).protected Specimen.SpecimenCollectionComponent
Details 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 DateTimeType
Time when specimen was received for processing or testing.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Enumeration
<Specimen.SpecimenStatus> The availability of the specimen.protected Reference
Where the specimen came from.protected Resource
The 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 CodeableConcept
The kind of material that forms the specimen.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields 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_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getType()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setAccessionIdentifier
(Identifier value) void
setProperty
(String name, Base value) setReceivedTime
(Date value) setStatus
(Specimen.SpecimenStatus value) setSubject
(Reference value) setSubjectTarget
(Resource value) setType
(CodeableConcept value) protected Specimen
Methods 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, setText
Methods 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, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods 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, 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
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:
subject
The 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
-subject
The 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:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
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
-
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
-