public class BodySite extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for BodySite complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BodySite">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="patient" type="{http://hl7.org/fhir}Reference"/>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="modifier" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="image" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
code |
protected String |
description |
protected java.util.List<Identifier> |
identifier |
protected java.util.List<Attachment> |
image |
protected java.util.List<CodeableConcept> |
modifier |
protected Reference |
patient |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
BodySite() |
| 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 |
getCode()
Gets the value of the code property.
|
String |
getDescription()
Gets the value of the description property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
java.util.List<Attachment> |
getImage()
Gets the value of the image property.
|
java.util.List<CodeableConcept> |
getModifier()
Gets the value of the modifier property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
java.lang.String |
toString() |
BodySite |
withCode(CodeableConcept value) |
BodySite |
withContained(java.util.Collection<ResourceContainer> values) |
BodySite |
withContained(ResourceContainer... values) |
BodySite |
withDescription(String value) |
BodySite |
withExtension(java.util.Collection<Extension> values) |
BodySite |
withExtension(Extension... values) |
BodySite |
withId(Id value) |
BodySite |
withIdentifier(java.util.Collection<Identifier> values) |
BodySite |
withIdentifier(Identifier... values) |
BodySite |
withImage(Attachment... values) |
BodySite |
withImage(java.util.Collection<Attachment> values) |
BodySite |
withImplicitRules(Uri value) |
BodySite |
withLanguage(Code value) |
BodySite |
withMeta(Meta value) |
BodySite |
withModifier(CodeableConcept... values) |
BodySite |
withModifier(java.util.Collection<CodeableConcept> values) |
BodySite |
withModifierExtension(java.util.Collection<Extension> values) |
BodySite |
withModifierExtension(Extension... values) |
BodySite |
withPatient(Reference value) |
BodySite |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Reference patient
protected java.util.List<Identifier> identifier
protected CodeableConcept code
protected java.util.List<CodeableConcept> modifier
protected String description
protected java.util.List<Attachment> image
public Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic java.util.List<Identifier> getIdentifier()
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 identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
Identifier
public CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<CodeableConcept> getModifier()
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 modifier property.
For example, to add a new item, do as follows:
getModifier().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic java.util.List<Attachment> getImage()
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 image property.
For example, to add a new item, do as follows:
getImage().add(newItem);
Objects of the following type(s) are allowed in the list
Attachment
public BodySite withIdentifier(Identifier... values)
public BodySite withIdentifier(java.util.Collection<Identifier> values)
public BodySite withCode(CodeableConcept value)
public BodySite withModifier(CodeableConcept... values)
public BodySite withModifier(java.util.Collection<CodeableConcept> values)
public BodySite withImage(Attachment... values)
public BodySite withImage(java.util.Collection<Attachment> values)
public BodySite withText(Narrative value)
withText in class DomainResourcepublic BodySite withContained(ResourceContainer... values)
withContained in class DomainResourcepublic BodySite withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic BodySite withExtension(Extension... values)
withExtension in class DomainResourcepublic BodySite withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic BodySite withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic BodySite withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic BodySite withId(Id value)
withId in class DomainResourcepublic BodySite withMeta(Meta value)
withMeta in class DomainResourcepublic BodySite withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic BodySite withLanguage(Code value)
withLanguage in class DomainResourcepublic 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 DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic 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 DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic 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 DomainResourcepublic 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 DomainResource