public class Specimen extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Specimen.SpecimenCollectionComponent |
static class |
Specimen.SpecimenContainerComponent |
static class |
Specimen.SpecimenStatus |
static class |
Specimen.SpecimenStatusEnumFactory |
static class |
Specimen.SpecimenTreatmentComponent |
| Modifier and Type | Field and Description |
|---|---|
protected Identifier |
accessionIdentifier
The identifier assigned by the lab when accessioning specimen(s).
|
protected Specimen.SpecimenCollectionComponent |
collection
Details concerning the specimen collection.
|
protected List<Specimen.SpecimenContainerComponent> |
container
The container holding the specimen.
|
protected List<Identifier> |
identifier
Id for specimen.
|
protected List<Reference> |
parent
Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.
|
protected List<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.)
|
protected DateTimeType |
receivedTime
Time when specimen was received for processing or testing.
|
static String |
SP_ACCESSION |
static String |
SP_BODYSITE |
static String |
SP_COLLECTED |
static String |
SP_COLLECTOR |
static String |
SP_CONTAINER |
static String |
SP_CONTAINERID |
static String |
SP_IDENTIFIER |
static String |
SP_PARENT |
static String |
SP_PATIENT |
static String |
SP_SUBJECT |
static String |
SP_TYPE |
protected Enumeration<Specimen.SpecimenStatus> |
status
The availability of the specimen.
|
protected Reference |
subject
Where the specimen came from.
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (Where the specimen came from.
|
protected List<Specimen.SpecimenTreatmentComponent> |
treatment
Details concerning treatment and processing steps for the specimen.
|
protected CodeableConcept |
type
The kind of material that forms the specimen.
|
contained, extension, modifierExtension, textid, implicitRules, language, metaaddContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<Specimen.SpecimenStatus> status
protected CodeableConcept type
protected List<Reference> parent
protected List<Specimen> parentTarget
protected Reference subject
protected Resource subjectTarget
protected Identifier accessionIdentifier
protected DateTimeType receivedTime
protected Specimen.SpecimenCollectionComponent collection
protected List<Specimen.SpecimenTreatmentComponent> treatment
protected List<Specimen.SpecimenContainerComponent> container
public static final String SP_CONTAINER
public static final String SP_IDENTIFIER
public static final String SP_PARENT
public static final String SP_CONTAINERID
public static final String SP_BODYSITE
public static final String SP_SUBJECT
public static final String SP_PATIENT
public static final String SP_COLLECTED
public static final String SP_ACCESSION
public static final String SP_TYPE
public static final String SP_COLLECTOR
public List<Identifier> getIdentifier()
identifier (Id for specimen.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Id for specimen.)public Specimen addIdentifier(Identifier t)
public Enumeration<Specimen.SpecimenStatus> getStatusElement()
status (The availability of the specimen.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Specimen setStatusElement(Enumeration<Specimen.SpecimenStatus> value)
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 valuepublic Specimen.SpecimenStatus getStatus()
public Specimen setStatus(Specimen.SpecimenStatus value)
value - The availability of the specimen.public CodeableConcept getType()
type (The kind of material that forms the specimen.)public boolean hasType()
public Specimen setType(CodeableConcept value)
value - type (The kind of material that forms the specimen.)public List<Reference> getParent()
parent (Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.)public boolean hasParent()
public Reference addParent()
parent (Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.)public List<Specimen> getParentTarget()
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.)public Specimen addParentTarget()
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.)public Reference getSubject()
subject (Where the specimen came from. This may be from the patient(s) or from the environment or a device.)public boolean hasSubject()
public Specimen setSubject(Reference value)
value - subject (Where the specimen came from. This may be from the patient(s) or from the environment or a device.)public Resource getSubjectTarget()
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.)public Specimen setSubjectTarget(Resource value)
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.)public Identifier getAccessionIdentifier()
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.)public boolean hasAccessionIdentifier()
public Specimen setAccessionIdentifier(Identifier value)
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.)public DateTimeType getReceivedTimeElement()
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 valuepublic boolean hasReceivedTimeElement()
public boolean hasReceivedTime()
public Specimen setReceivedTimeElement(DateTimeType value)
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 valuepublic Date getReceivedTime()
public Specimen setReceivedTime(Date value)
value - Time when specimen was received for processing or testing.public Specimen.SpecimenCollectionComponent getCollection()
collection (Details concerning the specimen collection.)public boolean hasCollection()
public Specimen setCollection(Specimen.SpecimenCollectionComponent value)
value - collection (Details concerning the specimen collection.)public List<Specimen.SpecimenTreatmentComponent> getTreatment()
treatment (Details concerning treatment and processing steps for the specimen.)public boolean hasTreatment()
public Specimen.SpecimenTreatmentComponent addTreatment()
treatment (Details concerning treatment and processing steps for the specimen.)public Specimen addTreatment(Specimen.SpecimenTreatmentComponent t)
public List<Specimen.SpecimenContainerComponent> getContainer()
container (The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.)public boolean hasContainer()
public Specimen.SpecimenContainerComponent addContainer()
container (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.SpecimenContainerComponent t)
protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Specimen copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.