public class Specimen extends BaseResource implements IResource
Definition: A sample to be used for analysis.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Specimen
| Modifier and Type | Class and Description |
|---|---|
static class |
Specimen.Collection
Block class for child element: Specimen.collection ()
|
static class |
Specimen.Container
Block class for child element: Specimen.container ()
|
static class |
Specimen.Treatment
Block class for child element: Specimen.treatment ()
|
| Modifier and Type | Field and Description |
|---|---|
static TokenClientParam |
ACCESSION
Fluent Client search parameter constant for accession
|
static TokenClientParam |
BODYSITE
Fluent Client search parameter constant for bodysite
|
static DateClientParam |
COLLECTED
Fluent Client search parameter constant for collected
|
static ReferenceClientParam |
COLLECTOR
Fluent Client search parameter constant for collector
|
static TokenClientParam |
CONTAINER
Fluent Client search parameter constant for container
|
static TokenClientParam |
CONTAINER_ID
Fluent Client search parameter constant for container-id
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_COLLECTOR
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PARENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
PARENT
Fluent Client search parameter constant for parent
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_ACCESSION
Search parameter constant for accession
|
static String |
SP_BODYSITE
Search parameter constant for bodysite
|
static String |
SP_COLLECTED
Search parameter constant for collected
|
static String |
SP_COLLECTOR
Search parameter constant for collector
|
static String |
SP_CONTAINER
Search parameter constant for container
|
static String |
SP_CONTAINER_ID
Search parameter constant for container-id
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_PARENT
Search parameter constant for parent
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static String |
SP_TYPE
Search parameter constant for type
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Specimen() |
| Modifier and Type | Method and Description |
|---|---|
Specimen.Container |
addContainer()
Adds and returns a new value for container ()
|
Specimen |
addContainer(Specimen.Container theValue)
Adds a given new value for container ()
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
Specimen |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
ResourceReferenceDt |
addParent()
Adds and returns a new value for parent ()
|
Specimen.Treatment |
addTreatment()
Adds and returns a new value for treatment ()
|
Specimen |
addTreatment(Specimen.Treatment theValue)
Adds a given new value for treatment ()
|
IdentifierDt |
getAccessionIdentifier()
Gets the value(s) for accessionIdentifier (id).
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
Specimen.Collection |
getCollection()
Gets the value(s) for collection ().
|
List<Specimen.Container> |
getContainer()
Gets the value(s) for container ().
|
Specimen.Container |
getContainerFirstRep()
Gets the first repetition for container (),
creating it if it does not already exist.
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (id).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (id),
creating it if it does not already exist.
|
List<ResourceReferenceDt> |
getParent()
Gets the value(s) for parent ().
|
Date |
getReceivedTime()
Gets the value(s) for receivedTime (when.done).
|
DateTimeDt |
getReceivedTimeElement()
Gets the value(s) for receivedTime (when.done).
|
String |
getResourceName() |
String |
getStatus()
Gets the value(s) for status (status).
|
BoundCodeDt<SpecimenStatusEnum> |
getStatusElement()
Gets the value(s) for status (status).
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
List<Specimen.Treatment> |
getTreatment()
Gets the value(s) for treatment ().
|
Specimen.Treatment |
getTreatmentFirstRep()
Gets the first repetition for treatment (),
creating it if it does not already exist.
|
CodeableConceptDt |
getType()
Gets the value(s) for type (class).
|
boolean |
isEmpty() |
Specimen |
setAccessionIdentifier(IdentifierDt theValue)
Sets the value(s) for accessionIdentifier (id)
|
Specimen |
setCollection(Specimen.Collection theValue)
Sets the value(s) for collection ()
|
Specimen |
setContainer(List<Specimen.Container> theValue)
Sets the value(s) for container ()
|
Specimen |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
Specimen |
setParent(List<ResourceReferenceDt> theValue)
Sets the value(s) for parent ()
|
Specimen |
setReceivedTime(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for receivedTime (when.done)
|
Specimen |
setReceivedTime(DateTimeDt theValue)
Sets the value(s) for receivedTime (when.done)
|
Specimen |
setReceivedTimeWithSecondsPrecision(Date theDate)
Sets the value for receivedTime (when.done)
|
Specimen |
setStatus(BoundCodeDt<SpecimenStatusEnum> theValue)
Sets the value(s) for status (status)
|
Specimen |
setStatus(SpecimenStatusEnum theValue)
Sets the value(s) for status (status)
|
Specimen |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)
|
Specimen |
setTreatment(List<Specimen.Treatment> theValue)
Sets the value(s) for treatment ()
|
Specimen |
setType(CodeableConceptDt theValue)
Sets the value(s) for type (class)
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_SUBJECT
Description: The subject of the specimen
Type: reference
Path: Specimen.subject
public static final ReferenceClientParam SUBJECT
Description: The subject of the specimen
Type: reference
Path: Specimen.subject
public static final String SP_PATIENT
Description: The patient the specimen comes from
Type: reference
Path: Specimen.subject
public static final ReferenceClientParam PATIENT
Description: The patient the specimen comes from
Type: reference
Path: Specimen.subject
public static final String SP_IDENTIFIER
Description: The unique identifier associated with the specimen
Type: token
Path: Specimen.identifier
public static final TokenClientParam IDENTIFIER
Description: The unique identifier associated with the specimen
Type: token
Path: Specimen.identifier
public static final String SP_TYPE
Description: The specimen type
Type: token
Path: Specimen.type
public static final TokenClientParam TYPE
Description: The specimen type
Type: token
Path: Specimen.type
public static final String SP_PARENT
Description: The parent of the specimen
Type: reference
Path: Specimen.parent
public static final ReferenceClientParam PARENT
Description: The parent of the specimen
Type: reference
Path: Specimen.parent
public static final String SP_ACCESSION
Description: The accession number associated with the specimen
Type: token
Path: Specimen.accessionIdentifier
public static final TokenClientParam ACCESSION
Description: The accession number associated with the specimen
Type: token
Path: Specimen.accessionIdentifier
public static final String SP_COLLECTED
Description: The date the specimen was collected
Type: date
Path: Specimen.collection.collected[x]
public static final DateClientParam COLLECTED
Description: The date the specimen was collected
Type: date
Path: Specimen.collection.collected[x]
public static final String SP_COLLECTOR
Description: Who collected the specimen
Type: reference
Path: Specimen.collection.collector
public static final ReferenceClientParam COLLECTOR
Description: Who collected the specimen
Type: reference
Path: Specimen.collection.collector
public static final String SP_BODYSITE
Description: The code for the body site from where the specimen originated
Type: token
Path: Specimen.collection.bodySite
public static final TokenClientParam BODYSITE
Description: The code for the body site from where the specimen originated
Type: token
Path: Specimen.collection.bodySite
public static final String SP_CONTAINER_ID
Description: The unique identifier associated with the specimen container
Type: token
Path: Specimen.container.identifier
public static final TokenClientParam CONTAINER_ID
Description: The unique identifier associated with the specimen container
Type: token
Path: Specimen.container.identifier
public static final String SP_CONTAINER
Description: The kind of specimen container
Type: token
Path: Specimen.container.type
public static final TokenClientParam CONTAINER
Description: The kind of specimen container
Type: token
Path: Specimen.container.type
public static final Include INCLUDE_COLLECTOR
public static final Include INCLUDE_PARENT
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_SUBJECT
public Specimen()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition: Id for specimen
public Specimen setIdentifier(List<IdentifierDt> theValue)
Definition: Id for specimen
public IdentifierDt addIdentifier()
Definition: Id for specimen
public Specimen addIdentifier(IdentifierDt theValue)
Definition: Id for specimen
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: Id for specimen
public BoundCodeDt<SpecimenStatusEnum> getStatusElement()
null.
Definition: The availability of the specimen
public String getStatus()
null.
Definition: The availability of the specimen
public Specimen setStatus(BoundCodeDt<SpecimenStatusEnum> theValue)
Definition: The availability of the specimen
public Specimen setStatus(SpecimenStatusEnum theValue)
Definition: The availability of the specimen
public CodeableConceptDt getType()
null.
Definition: The kind of material that forms the specimen
public Specimen setType(CodeableConceptDt theValue)
Definition: The kind of material that forms the specimen
public List<ResourceReferenceDt> getParent()
null.
Definition: Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.
public Specimen setParent(List<ResourceReferenceDt> theValue)
Definition: Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.
public ResourceReferenceDt addParent()
Definition: Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.
public ResourceReferenceDt getSubject()
null.
Definition:
public Specimen setSubject(ResourceReferenceDt theValue)
Definition:
public IdentifierDt getAccessionIdentifier()
null.
Definition: 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.
public Specimen setAccessionIdentifier(IdentifierDt theValue)
Definition: 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.
public DateTimeDt getReceivedTimeElement()
null.
Definition: Time when specimen was received for processing or testing
public Date getReceivedTime()
null.
Definition: Time when specimen was received for processing or testing
public Specimen setReceivedTime(DateTimeDt theValue)
Definition: Time when specimen was received for processing or testing
public Specimen setReceivedTime(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: Time when specimen was received for processing or testing
public Specimen setReceivedTimeWithSecondsPrecision(Date theDate)
Definition: Time when specimen was received for processing or testing
public Specimen.Collection getCollection()
null.
Definition: Details concerning the specimen collection
public Specimen setCollection(Specimen.Collection theValue)
Definition: Details concerning the specimen collection
public List<Specimen.Treatment> getTreatment()
null.
Definition: Details concerning treatment and processing steps for the specimen
public Specimen setTreatment(List<Specimen.Treatment> theValue)
Definition: Details concerning treatment and processing steps for the specimen
public Specimen.Treatment addTreatment()
Definition: Details concerning treatment and processing steps for the specimen
public Specimen addTreatment(Specimen.Treatment theValue)
Definition: Details concerning treatment and processing steps for the specimen
theValue - The treatment to add (must not be null)public Specimen.Treatment getTreatmentFirstRep()
Definition: Details concerning treatment and processing steps for the specimen
public List<Specimen.Container> getContainer()
null.
Definition: The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.
public Specimen setContainer(List<Specimen.Container> theValue)
Definition: The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.
public Specimen.Container addContainer()
Definition: The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.
public Specimen addContainer(Specimen.Container theValue)
Definition: The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.
theValue - The container to add (must not be null)public Specimen.Container getContainerFirstRep()
Definition: The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.