public class Specimen extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Specimen.SpecimenCollectionComponent |
static class |
Specimen.SpecimenContainerComponent |
static class |
Specimen.SpecimenProcessingComponent |
static class |
Specimen.SpecimenStatus |
static class |
Specimen.SpecimenStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
ACCESSION
Fluent Client search parameter constant for accession
|
protected Identifier |
accessionIdentifier
The identifier assigned by the lab when accessioning specimen(s).
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
BODYSITE
Fluent Client search parameter constant for bodysite
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
COLLECTED
Fluent Client search parameter constant for collected
|
protected Specimen.SpecimenCollectionComponent |
collection
Details concerning the specimen collection.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
COLLECTOR
Fluent Client search parameter constant for collector
|
protected List<CodeableConcept> |
condition
A mode or state of being that describes the nature of the specimen.
|
protected List<Specimen.SpecimenContainerComponent> |
container
The container holding the specimen.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CONTAINER
Fluent Client search parameter constant for container
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CONTAINER_ID
Fluent Client search parameter constant for container-id
|
protected List<Identifier> |
identifier
Id for specimen.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_COLLECTOR
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PARENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected List<Annotation> |
note
To communicate any details or issues about the specimen or during the specimen collection.
|
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.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PARENT
Fluent Client search parameter constant for parent
|
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.)
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected List<Specimen.SpecimenProcessingComponent> |
processing
Details concerning processing and processing steps for the specimen.
|
protected DateTimeType |
receivedTime
Time when specimen was received for processing or testing.
|
protected List<Reference> |
request
Details concerning a service request that required a specimen to be collected.
|
protected List<ServiceRequest> |
requestTarget
The actual objects that are the target of the reference (Details concerning a service request that required a specimen to be collected.)
|
static String |
SP_ACCESSION
Search parameter: accession
|
static String |
SP_BODYSITE
Search parameter: bodysite
|
static String |
SP_COLLECTED
Search parameter: collected
|
static String |
SP_COLLECTOR
Search parameter: collector
|
static String |
SP_CONTAINER
Search parameter: container
|
static String |
SP_CONTAINER_ID
Search parameter: container-id
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_PARENT
Search parameter: parent
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUBJECT
Search parameter: subject
|
static String |
SP_TYPE
Search parameter: type
|
protected Enumeration<Specimen.SpecimenStatus> |
status
The availability of the specimen.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected Reference |
subject
Where the specimen came from.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (Where the specimen came from.
|
protected CodeableConcept |
type
The kind of material that forms the specimen.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Specimen()
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Identifier accessionIdentifier
protected Enumeration<Specimen.SpecimenStatus> status
protected CodeableConcept type
protected Reference subject
protected Resource subjectTarget
protected DateTimeType receivedTime
protected List<Reference> parent
protected List<Specimen> parentTarget
protected List<Reference> request
protected List<ServiceRequest> requestTarget
protected Specimen.SpecimenCollectionComponent collection
protected List<Specimen.SpecimenProcessingComponent> processing
protected List<Specimen.SpecimenContainerComponent> container
protected List<CodeableConcept> condition
protected List<Annotation> note
public static final String SP_CONTAINER
Description: The kind of specimen container
Type: token
Path: Specimen.container.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTAINER
Description: The kind of specimen container
Type: token
Path: Specimen.container.type
public static final String SP_IDENTIFIER
Description: The unique identifier associated with the specimen
Type: token
Path: Specimen.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: The unique identifier associated with the specimen
Type: token
Path: Specimen.identifier
public static final String SP_PARENT
Description: The parent of the specimen
Type: reference
Path: Specimen.parent
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARENT
Description: The parent of the specimen
Type: reference
Path: Specimen.parent
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARENT
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 ca.uhn.fhir.rest.gclient.TokenClientParam CONTAINER_ID
Description: The unique identifier associated with the specimen container
Type: token
Path: Specimen.container.identifier
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 ca.uhn.fhir.rest.gclient.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_SUBJECT
Description: The subject of the specimen
Type: reference
Path: Specimen.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: The subject of the specimen
Type: reference
Path: Specimen.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_PATIENT
Description: The patient the specimen comes from
Type: reference
Path: Specimen.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: The patient the specimen comes from
Type: reference
Path: Specimen.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_COLLECTED
Description: The date the specimen was collected
Type: date
Path: Specimen.collection.collected[x]
public static final ca.uhn.fhir.rest.gclient.DateClientParam COLLECTED
Description: The date the specimen was collected
Type: date
Path: Specimen.collection.collected[x]
public static final String SP_ACCESSION
Description: The accession number associated with the specimen
Type: token
Path: Specimen.accessionIdentifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACCESSION
Description: The accession number associated with the specimen
Type: token
Path: Specimen.accessionIdentifier
public static final String SP_TYPE
Description: The specimen type
Type: token
Path: Specimen.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description: The specimen type
Type: token
Path: Specimen.type
public static final String SP_COLLECTOR
Description: Who collected the specimen
Type: reference
Path: Specimen.collection.collector
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COLLECTOR
Description: Who collected the specimen
Type: reference
Path: Specimen.collection.collector
public static final ca.uhn.fhir.model.api.Include INCLUDE_COLLECTOR
public static final String SP_STATUS
Description: available | unavailable | unsatisfactory | entered-in-error
Type: token
Path: Specimen.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: available | unavailable | unsatisfactory | entered-in-error
Type: token
Path: Specimen.status
public Specimen()
public List<Identifier> getIdentifier()
identifier (Id for specimen.)public Specimen setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Specimen addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic 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 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 Reference getSubject()
subject (Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device.)public boolean hasSubject()
public Specimen setSubject(Reference value)
value - subject (Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance 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 patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance 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 patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device.)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 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 Specimen setParent(List<Reference> theParent)
this for easy method chainingpublic boolean hasParent()
public Reference getParentFirstRep()
parent, creating it if it does not already exist@Deprecated public List<Specimen> getParentTarget()
@Deprecated public Specimen addParentTarget()
public List<Reference> getRequest()
request (Details concerning a service request that required a specimen to be collected.)public Specimen setRequest(List<Reference> theRequest)
this for easy method chainingpublic boolean hasRequest()
public Reference addRequest()
public Specimen addRequest(Reference t)
public Reference getRequestFirstRep()
request, creating it if it does not already exist@Deprecated public List<ServiceRequest> getRequestTarget()
@Deprecated public ServiceRequest addRequestTarget()
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.SpecimenProcessingComponent> getProcessing()
processing (Details concerning processing and processing steps for the specimen.)public Specimen setProcessing(List<Specimen.SpecimenProcessingComponent> theProcessing)
this for easy method chainingpublic boolean hasProcessing()
public Specimen.SpecimenProcessingComponent addProcessing()
public Specimen addProcessing(Specimen.SpecimenProcessingComponent t)
public Specimen.SpecimenProcessingComponent getProcessingFirstRep()
processing, creating it if it does not already existpublic 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 Specimen setContainer(List<Specimen.SpecimenContainerComponent> theContainer)
this for easy method chainingpublic boolean hasContainer()
public Specimen.SpecimenContainerComponent addContainer()
public Specimen addContainer(Specimen.SpecimenContainerComponent t)
public Specimen.SpecimenContainerComponent getContainerFirstRep()
container, creating it if it does not already existpublic List<CodeableConcept> getCondition()
condition (A mode or state of being that describes the nature of the specimen.)public Specimen setCondition(List<CodeableConcept> theCondition)
this for easy method chainingpublic boolean hasCondition()
public CodeableConcept addCondition()
public Specimen addCondition(CodeableConcept t)
public CodeableConcept getConditionFirstRep()
condition, creating it if it does not already existpublic List<Annotation> getNote()
note (To communicate any details or issues about the specimen or during the specimen collection. (for example: broken vial, sent with patient, frozen).)public Specimen setNote(List<Annotation> theNote)
this for easy method chainingpublic boolean hasNote()
public Annotation addNote()
public Specimen addNote(Annotation t)
public Annotation getNoteFirstRep()
note, creating it if it does not already existprotected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty 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 interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic Specimen copy()
copy in class DomainResourcepublic void copyValues(Specimen dst)
public 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–2021 Health Level 7. All rights reserved.