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 |
|---|---|
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<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<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 DateTimeType |
receivedTime
Time when specimen was received for processing or testing.
|
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_SUBJECT
Search parameter: subject
|
static String |
SP_TYPE
Search parameter: type
|
protected Enumeration<Specimen.SpecimenStatus> |
status
The availability of the specimen.
|
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 List<Specimen.SpecimenTreatmentComponent> |
treatment
Details concerning treatment and processing steps for the specimen.
|
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
|
Specimen(Reference subject)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, 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 Specimen.SpecimenCollectionComponent collection
protected List<Specimen.SpecimenTreatmentComponent> treatment
protected List<Specimen.SpecimenContainerComponent> container
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_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_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_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_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_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_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_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_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_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_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 Specimen()
public List<Identifier> getIdentifier()
identifier (Id for specimen.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Id for specimen.)public Specimen addIdentifier(Identifier t)
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 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 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 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 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 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 Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void 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 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.