public class DiagnosticOrderItem extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for DiagnosticOrder.Item complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DiagnosticOrder.Item">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="specimen" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="bodySite" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}DiagnosticOrderStatus" minOccurs="0"/>
<element name="event" type="{http://hl7.org/fhir}DiagnosticOrder.Event" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
bodySite |
protected CodeableConcept |
code |
protected java.util.List<DiagnosticOrderEvent> |
event |
protected java.util.List<Reference> |
specimen |
protected DiagnosticOrderStatus |
status |
modifierExtension| Constructor and Description |
|---|
DiagnosticOrderItem() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
CodeableConcept |
getBodySite()
Gets the value of the bodySite property.
|
CodeableConcept |
getCode()
Gets the value of the code property.
|
java.util.List<DiagnosticOrderEvent> |
getEvent()
Gets the value of the event property.
|
java.util.List<Reference> |
getSpecimen()
Gets the value of the specimen property.
|
DiagnosticOrderStatus |
getStatus()
Gets the value of the status property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setBodySite(CodeableConcept value)
Sets the value of the bodySite property.
|
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setStatus(DiagnosticOrderStatus value)
Sets the value of the status property.
|
java.lang.String |
toString() |
DiagnosticOrderItem |
withBodySite(CodeableConcept value) |
DiagnosticOrderItem |
withCode(CodeableConcept value) |
DiagnosticOrderItem |
withEvent(java.util.Collection<DiagnosticOrderEvent> values) |
DiagnosticOrderItem |
withEvent(DiagnosticOrderEvent... values) |
DiagnosticOrderItem |
withExtension(java.util.Collection<Extension> values) |
DiagnosticOrderItem |
withExtension(Extension... values) |
DiagnosticOrderItem |
withId(java.lang.String value) |
DiagnosticOrderItem |
withModifierExtension(java.util.Collection<Extension> values) |
DiagnosticOrderItem |
withModifierExtension(Extension... values) |
DiagnosticOrderItem |
withSpecimen(java.util.Collection<Reference> values) |
DiagnosticOrderItem |
withSpecimen(Reference... values) |
DiagnosticOrderItem |
withStatus(DiagnosticOrderStatus value) |
getModifierExtensiongetExtension, getId, setIdprotected CodeableConcept code
protected java.util.List<Reference> specimen
protected CodeableConcept bodySite
protected DiagnosticOrderStatus status
protected java.util.List<DiagnosticOrderEvent> event
public CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<Reference> getSpecimen()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the specimen property.
For example, to add a new item, do as follows:
getSpecimen().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public CodeableConcept getBodySite()
CodeableConceptpublic void setBodySite(CodeableConcept value)
value - allowed object is
CodeableConceptpublic DiagnosticOrderStatus getStatus()
DiagnosticOrderStatuspublic void setStatus(DiagnosticOrderStatus value)
value - allowed object is
DiagnosticOrderStatuspublic java.util.List<DiagnosticOrderEvent> getEvent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the event property.
For example, to add a new item, do as follows:
getEvent().add(newItem);
Objects of the following type(s) are allowed in the list
DiagnosticOrderEvent
public DiagnosticOrderItem withCode(CodeableConcept value)
public DiagnosticOrderItem withSpecimen(Reference... values)
public DiagnosticOrderItem withSpecimen(java.util.Collection<Reference> values)
public DiagnosticOrderItem withBodySite(CodeableConcept value)
public DiagnosticOrderItem withStatus(DiagnosticOrderStatus value)
public DiagnosticOrderItem withEvent(DiagnosticOrderEvent... values)
public DiagnosticOrderItem withEvent(java.util.Collection<DiagnosticOrderEvent> values)
public DiagnosticOrderItem withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic DiagnosticOrderItem withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic DiagnosticOrderItem withExtension(Extension... values)
withExtension in class BackboneElementpublic DiagnosticOrderItem withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic DiagnosticOrderItem withId(java.lang.String value)
withId in class BackboneElementpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class BackboneElement