Class DiagnosticOrder.Item
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
DiagnosticOrder
Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddEvent()
Adds and returns a new value for event ()addEvent
(DiagnosticOrder.Event theValue) Adds a given new value for event ()Adds and returns a new value for specimen ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for bodySite ().getCode()
Gets the value(s) for code ().getEvent()
Gets the value(s) for event ().Gets the first repetition for event (), creating it if it does not already exist.Gets the value(s) for specimen ().Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt
<DiagnosticOrderStatusEnum> Gets the value(s) for status ().boolean
isEmpty()
setBodySite
(CodeableConceptDt theValue) Sets the value(s) for bodySite ()setCode
(CodeableConceptDt theValue) Sets the value(s) for code ()setEvent
(List<DiagnosticOrder.Event> theValue) Sets the value(s) for event ()setSpecimen
(List<ResourceReferenceDt> theValue) Sets the value(s) for specimen ()setStatus
(DiagnosticOrderStatusEnum theValue) Sets the value(s) for status ()setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderStatusEnum> theValue) Sets the value(s) for status ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Item
public Item()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCode
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.Definition: A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested
-
setCode
Sets the value(s) for code ()Definition: A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested
-
getSpecimen
Gets the value(s) for specimen (). creating it if it does not exist. Will not returnnull
.Definition: If the item is related to a specific specimen
-
setSpecimen
Sets the value(s) for specimen ()Definition: If the item is related to a specific specimen
-
addSpecimen
Adds and returns a new value for specimen ()Definition: If the item is related to a specific specimen
-
getBodySite
Gets the value(s) for bodySite (). creating it if it does not exist. Will not returnnull
.Definition: Anatomical location where the request test should be performed. This is the target site.
-
setBodySite
Sets the value(s) for bodySite ()Definition: Anatomical location where the request test should be performed. This is the target site.
-
getStatusElement
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull
.Definition: The status of this individual item within the order
-
getStatus
Gets the value(s) for status (). creating it if it does not exist. This method may returnnull
.Definition: The status of this individual item within the order
-
setStatus
public DiagnosticOrder.Item setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderStatusEnum> theValue) Sets the value(s) for status ()Definition: The status of this individual item within the order
-
setStatus
Sets the value(s) for status ()Definition: The status of this individual item within the order
-
getEvent
Gets the value(s) for event (). creating it if it does not exist. Will not returnnull
.Definition: A summary of the events of interest that have occurred as this item of the request is processed
-
setEvent
Sets the value(s) for event ()Definition: A summary of the events of interest that have occurred as this item of the request is processed
-
addEvent
Adds and returns a new value for event ()Definition: A summary of the events of interest that have occurred as this item of the request is processed
-
addEvent
Adds a given new value for event ()Definition: A summary of the events of interest that have occurred as this item of the request is processed
- Parameters:
theValue
- The event to add (must not benull
)
-
getEventFirstRep
Gets the first repetition for event (), creating it if it does not already exist.Definition: A summary of the events of interest that have occurred as this item of the request is processed
-