public class Specimen extends BaseResource implements IResource
Definition: Sample 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 (Collection details)
|
static class |
Specimen.Container
Block class for child element: Specimen.container (Direct container of specimen (tube/slide, etc))
|
static class |
Specimen.Source
Block class for child element: Specimen.source (Parent of specimen)
|
static class |
Specimen.Treatment
Block class for child element: Specimen.treatment (Treatment and processing step details)
|
| Modifier and Type | Field and Description |
|---|---|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
Specimen() |
| Modifier and Type | Method and Description |
|---|---|
Specimen.Container |
addContainer()
Adds and returns a new value for container (Direct container of specimen (tube/slide, etc))
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (External Identifier)
|
Specimen |
addIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Adds a new value for identifier (External Identifier)
|
Specimen |
addIdentifier(String theSystem,
String theValue)
Adds a new value for identifier (External Identifier)
|
Specimen.Source |
addSource()
Adds and returns a new value for source (Parent of specimen)
|
Specimen.Treatment |
addTreatment()
Adds and returns a new value for treatment (Treatment and processing step details)
|
IdentifierDt |
getAccessionIdentifier()
Gets the value(s) for accessionIdentifier (Identifier assigned by the lab).
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
Specimen.Collection |
getCollection()
Gets the value(s) for collection (Collection details).
|
List<Specimen.Container> |
getContainer()
Gets the value(s) for container (Direct container of specimen (tube/slide, etc)).
|
Specimen.Container |
getContainerFirstRep()
Gets the first repetition for container (Direct container of specimen (tube/slide, etc)),
creating it if it does not already exist.
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (External Identifier).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (External Identifier),
creating it if it does not already exist.
|
DateTimeDt |
getReceivedTime()
Gets the value(s) for receivedTime (The time when specimen was received for processing).
|
List<Specimen.Source> |
getSource()
Gets the value(s) for source (Parent of specimen).
|
Specimen.Source |
getSourceFirstRep()
Gets the first repetition for source (Parent of specimen),
creating it if it does not already exist.
|
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (Where the specimen came from.
|
List<Specimen.Treatment> |
getTreatment()
Gets the value(s) for treatment (Treatment and processing step details).
|
Specimen.Treatment |
getTreatmentFirstRep()
Gets the first repetition for treatment (Treatment and processing step details),
creating it if it does not already exist.
|
CodeableConceptDt |
getType()
Gets the value(s) for type (Kind of material that forms the specimen).
|
boolean |
isEmpty() |
Specimen |
setAccessionIdentifier(IdentifierDt theValue)
Sets the value(s) for accessionIdentifier (Identifier assigned by the lab)
|
Specimen |
setAccessionIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Sets the value for accessionIdentifier (Identifier assigned by the lab)
|
Specimen |
setAccessionIdentifier(String theSystem,
String theValue)
Sets the value for accessionIdentifier (Identifier assigned by the lab)
|
Specimen |
setCollection(Specimen.Collection theValue)
Sets the value(s) for collection (Collection details)
|
Specimen |
setContainer(List<Specimen.Container> theValue)
Sets the value(s) for container (Direct container of specimen (tube/slide, etc))
|
Specimen |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (External Identifier)
|
Specimen |
setReceivedTime(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for receivedTime (The time when specimen was received for processing)
|
Specimen |
setReceivedTime(DateTimeDt theValue)
Sets the value(s) for receivedTime (The time when specimen was received for processing)
|
Specimen |
setReceivedTimeWithSecondsPrecision(Date theDate)
Sets the value for receivedTime (The time when specimen was received for processing)
|
Specimen |
setSource(List<Specimen.Source> theValue)
Sets the value(s) for source (Parent of specimen)
|
Specimen |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (Where the specimen came from.
|
Specimen |
setTreatment(List<Specimen.Treatment> theValue)
Sets the value(s) for treatment (Treatment and processing step details)
|
Specimen |
setType(CodeableConceptDt theValue)
Sets the value(s) for type (Kind of material that forms the specimen)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, 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, setResourceMetadatapublic 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 Include INCLUDE_SUBJECT
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic 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 IdentifierDt getIdentifierFirstRep()
Definition: Id for specimen
public Specimen addIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: Id for specimen
public Specimen addIdentifier(String theSystem, String theValue)
Definition: Id for specimen
public CodeableConceptDt getType()
null.
Definition: Kind of material that forms the specimen
public Specimen setType(CodeableConceptDt theValue)
Definition: Kind of material that forms the specimen
public List<Specimen.Source> getSource()
null.
Definition: Parent specimen from which the focal specimen was a component
public Specimen setSource(List<Specimen.Source> theValue)
Definition: Parent specimen from which the focal specimen was a component
public Specimen.Source addSource()
Definition: Parent specimen from which the focal specimen was a component
public Specimen.Source getSourceFirstRep()
Definition: Parent specimen from which the focal specimen was a component
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 Specimen setAccessionIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
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(String theSystem, String 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 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 setReceivedTimeWithSecondsPrecision(Date theDate)
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.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.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.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.
Copyright © 2014 University Health Network. All rights reserved.