Class DiagnosticOrder.Item
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class DiagnosticOrder.Item extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: DiagnosticOrder.item ()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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Item()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiagnosticOrder.EventaddEvent()Adds and returns a new value for event ()DiagnosticOrder.ItemaddEvent(DiagnosticOrder.Event theValue)Adds a given new value for event ()ResourceReferenceDtaddSpecimen()Adds and returns a new value for specimen ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)CodeableConceptDtgetBodySite()Gets the value(s) for bodySite ().CodeableConceptDtgetCode()Gets the value(s) for code ().List<DiagnosticOrder.Event>getEvent()Gets the value(s) for event ().DiagnosticOrder.EventgetEventFirstRep()Gets the first repetition for event (), creating it if it does not already exist.List<ResourceReferenceDt>getSpecimen()Gets the value(s) for specimen ().StringgetStatus()Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderStatusEnum>getStatusElement()Gets the value(s) for status ().booleanisEmpty()DiagnosticOrder.ItemsetBodySite(CodeableConceptDt theValue)Sets the value(s) for bodySite ()DiagnosticOrder.ItemsetCode(CodeableConceptDt theValue)Sets the value(s) for code ()DiagnosticOrder.ItemsetEvent(List<DiagnosticOrder.Event> theValue)Sets the value(s) for event ()DiagnosticOrder.ItemsetSpecimen(List<ResourceReferenceDt> theValue)Sets the value(s) for specimen ()DiagnosticOrder.ItemsetStatus(DiagnosticOrderStatusEnum theValue)Sets the value(s) for status ()DiagnosticOrder.ItemsetStatus(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
-
-
-
-
Constructor Detail
-
Item
public Item()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCode
public CodeableConceptDt 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
public DiagnosticOrder.Item setCode(CodeableConceptDt theValue)
Sets the value(s) for code ()Definition: A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested
-
getSpecimen
public List<ResourceReferenceDt> 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
public DiagnosticOrder.Item setSpecimen(List<ResourceReferenceDt> theValue)
Sets the value(s) for specimen ()Definition: If the item is related to a specific specimen
-
addSpecimen
public ResourceReferenceDt addSpecimen()
Adds and returns a new value for specimen ()Definition: If the item is related to a specific specimen
-
getBodySite
public CodeableConceptDt 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
public DiagnosticOrder.Item setBodySite(CodeableConceptDt theValue)
Sets the value(s) for bodySite ()Definition: Anatomical location where the request test should be performed. This is the target site.
-
getStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderStatusEnum> 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
public String 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
public DiagnosticOrder.Item setStatus(DiagnosticOrderStatusEnum theValue)
Sets the value(s) for status ()Definition: The status of this individual item within the order
-
getEvent
public List<DiagnosticOrder.Event> 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
public DiagnosticOrder.Item setEvent(List<DiagnosticOrder.Event> theValue)
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
public DiagnosticOrder.Event 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
public DiagnosticOrder.Item addEvent(DiagnosticOrder.Event theValue)
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
public DiagnosticOrder.Event 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
-
-