public class Condition extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Condition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Condition">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="patient" type="{http://hl7.org/fhir}Reference"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="asserter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="dateRecorded" type="{http://hl7.org/fhir}date" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="category" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="clinicalStatus" type="{http://hl7.org/fhir}code" minOccurs="0"/>
<element name="verificationStatus" type="{http://hl7.org/fhir}ConditionVerificationStatus"/>
<element name="severity" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<choice minOccurs="0">
<element name="onsetDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="onsetQuantity" type="{http://hl7.org/fhir}Age"/>
<element name="onsetPeriod" type="{http://hl7.org/fhir}Period"/>
<element name="onsetRange" type="{http://hl7.org/fhir}Range"/>
<element name="onsetString" type="{http://hl7.org/fhir}string"/>
</choice>
<choice minOccurs="0">
<element name="abatementDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="abatementQuantity" type="{http://hl7.org/fhir}Age"/>
<element name="abatementBoolean" type="{http://hl7.org/fhir}boolean"/>
<element name="abatementPeriod" type="{http://hl7.org/fhir}Period"/>
<element name="abatementRange" type="{http://hl7.org/fhir}Range"/>
<element name="abatementString" type="{http://hl7.org/fhir}string"/>
</choice>
<element name="stage" type="{http://hl7.org/fhir}Condition.Stage" minOccurs="0"/>
<element name="evidence" type="{http://hl7.org/fhir}Condition.Evidence" maxOccurs="unbounded" minOccurs="0"/>
<element name="bodySite" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="notes" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
abatementBoolean |
protected DateTime |
abatementDateTime |
protected Period |
abatementPeriod |
protected Age |
abatementQuantity |
protected Range |
abatementRange |
protected String |
abatementString |
protected Reference |
asserter |
protected java.util.List<CodeableConcept> |
bodySite |
protected CodeableConcept |
category |
protected Code |
clinicalStatus |
protected CodeableConcept |
code |
protected Date |
dateRecorded |
protected Reference |
encounter |
protected java.util.List<ConditionEvidence> |
evidence |
protected java.util.List<Identifier> |
identifier |
protected String |
notes |
protected DateTime |
onsetDateTime |
protected Period |
onsetPeriod |
protected Age |
onsetQuantity |
protected Range |
onsetRange |
protected String |
onsetString |
protected Reference |
patient |
protected CodeableConcept |
severity |
protected ConditionStage |
stage |
protected ConditionVerificationStatus |
verificationStatus |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Condition() |
| 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) |
Boolean |
getAbatementBoolean()
Gets the value of the abatementBoolean property.
|
DateTime |
getAbatementDateTime()
Gets the value of the abatementDateTime property.
|
Period |
getAbatementPeriod()
Gets the value of the abatementPeriod property.
|
Age |
getAbatementQuantity()
Gets the value of the abatementQuantity property.
|
Range |
getAbatementRange()
Gets the value of the abatementRange property.
|
String |
getAbatementString()
Gets the value of the abatementString property.
|
Reference |
getAsserter()
Gets the value of the asserter property.
|
java.util.List<CodeableConcept> |
getBodySite()
Gets the value of the bodySite property.
|
CodeableConcept |
getCategory()
Gets the value of the category property.
|
Code |
getClinicalStatus()
Gets the value of the clinicalStatus property.
|
CodeableConcept |
getCode()
Gets the value of the code property.
|
Date |
getDateRecorded()
Gets the value of the dateRecorded property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
java.util.List<ConditionEvidence> |
getEvidence()
Gets the value of the evidence property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
String |
getNotes()
Gets the value of the notes property.
|
DateTime |
getOnsetDateTime()
Gets the value of the onsetDateTime property.
|
Period |
getOnsetPeriod()
Gets the value of the onsetPeriod property.
|
Age |
getOnsetQuantity()
Gets the value of the onsetQuantity property.
|
Range |
getOnsetRange()
Gets the value of the onsetRange property.
|
String |
getOnsetString()
Gets the value of the onsetString property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
CodeableConcept |
getSeverity()
Gets the value of the severity property.
|
ConditionStage |
getStage()
Gets the value of the stage property.
|
ConditionVerificationStatus |
getVerificationStatus()
Gets the value of the verificationStatus property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAbatementBoolean(Boolean value)
Sets the value of the abatementBoolean property.
|
void |
setAbatementDateTime(DateTime value)
Sets the value of the abatementDateTime property.
|
void |
setAbatementPeriod(Period value)
Sets the value of the abatementPeriod property.
|
void |
setAbatementQuantity(Age value)
Sets the value of the abatementQuantity property.
|
void |
setAbatementRange(Range value)
Sets the value of the abatementRange property.
|
void |
setAbatementString(String value)
Sets the value of the abatementString property.
|
void |
setAsserter(Reference value)
Sets the value of the asserter property.
|
void |
setCategory(CodeableConcept value)
Sets the value of the category property.
|
void |
setClinicalStatus(Code value)
Sets the value of the clinicalStatus property.
|
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setDateRecorded(Date value)
Sets the value of the dateRecorded property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setNotes(String value)
Sets the value of the notes property.
|
void |
setOnsetDateTime(DateTime value)
Sets the value of the onsetDateTime property.
|
void |
setOnsetPeriod(Period value)
Sets the value of the onsetPeriod property.
|
void |
setOnsetQuantity(Age value)
Sets the value of the onsetQuantity property.
|
void |
setOnsetRange(Range value)
Sets the value of the onsetRange property.
|
void |
setOnsetString(String value)
Sets the value of the onsetString property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setSeverity(CodeableConcept value)
Sets the value of the severity property.
|
void |
setStage(ConditionStage value)
Sets the value of the stage property.
|
void |
setVerificationStatus(ConditionVerificationStatus value)
Sets the value of the verificationStatus property.
|
java.lang.String |
toString() |
Condition |
withAbatementBoolean(Boolean value) |
Condition |
withAbatementDateTime(DateTime value) |
Condition |
withAbatementPeriod(Period value) |
Condition |
withAbatementQuantity(Age value) |
Condition |
withAbatementRange(Range value) |
Condition |
withAbatementString(String value) |
Condition |
withAsserter(Reference value) |
Condition |
withBodySite(CodeableConcept... values) |
Condition |
withBodySite(java.util.Collection<CodeableConcept> values) |
Condition |
withCategory(CodeableConcept value) |
Condition |
withClinicalStatus(Code value) |
Condition |
withCode(CodeableConcept value) |
Condition |
withContained(java.util.Collection<ResourceContainer> values) |
Condition |
withContained(ResourceContainer... values) |
Condition |
withDateRecorded(Date value) |
Condition |
withEncounter(Reference value) |
Condition |
withEvidence(java.util.Collection<ConditionEvidence> values) |
Condition |
withEvidence(ConditionEvidence... values) |
Condition |
withExtension(java.util.Collection<Extension> values) |
Condition |
withExtension(Extension... values) |
Condition |
withId(Id value) |
Condition |
withIdentifier(java.util.Collection<Identifier> values) |
Condition |
withIdentifier(Identifier... values) |
Condition |
withImplicitRules(Uri value) |
Condition |
withLanguage(Code value) |
Condition |
withMeta(Meta value) |
Condition |
withModifierExtension(java.util.Collection<Extension> values) |
Condition |
withModifierExtension(Extension... values) |
Condition |
withNotes(String value) |
Condition |
withOnsetDateTime(DateTime value) |
Condition |
withOnsetPeriod(Period value) |
Condition |
withOnsetQuantity(Age value) |
Condition |
withOnsetRange(Range value) |
Condition |
withOnsetString(String value) |
Condition |
withPatient(Reference value) |
Condition |
withSeverity(CodeableConcept value) |
Condition |
withStage(ConditionStage value) |
Condition |
withText(Narrative value) |
Condition |
withVerificationStatus(ConditionVerificationStatus value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected Reference patient
protected Reference encounter
protected Reference asserter
protected Date dateRecorded
protected CodeableConcept code
protected CodeableConcept category
protected Code clinicalStatus
protected ConditionVerificationStatus verificationStatus
protected CodeableConcept severity
protected DateTime onsetDateTime
protected Age onsetQuantity
protected Period onsetPeriod
protected Range onsetRange
protected String onsetString
protected DateTime abatementDateTime
protected Age abatementQuantity
protected Boolean abatementBoolean
protected Period abatementPeriod
protected Range abatementRange
protected String abatementString
protected ConditionStage stage
protected java.util.List<ConditionEvidence> evidence
protected java.util.List<CodeableConcept> bodySite
protected String notes
public 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 Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic Reference getAsserter()
Referencepublic void setAsserter(Reference value)
value - allowed object is
Referencepublic Date getDateRecorded()
Datepublic void setDateRecorded(Date value)
value - allowed object is
Datepublic CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getCategory()
CodeableConceptpublic void setCategory(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Code getClinicalStatus()
Codepublic void setClinicalStatus(Code value)
value - allowed object is
Codepublic ConditionVerificationStatus getVerificationStatus()
ConditionVerificationStatuspublic void setVerificationStatus(ConditionVerificationStatus value)
value - allowed object is
ConditionVerificationStatuspublic CodeableConcept getSeverity()
CodeableConceptpublic void setSeverity(CodeableConcept value)
value - allowed object is
CodeableConceptpublic DateTime getOnsetDateTime()
DateTimepublic void setOnsetDateTime(DateTime value)
value - allowed object is
DateTimepublic Age getOnsetQuantity()
Agepublic void setOnsetQuantity(Age value)
value - allowed object is
Agepublic Period getOnsetPeriod()
Periodpublic void setOnsetPeriod(Period value)
value - allowed object is
Periodpublic Range getOnsetRange()
Rangepublic void setOnsetRange(Range value)
value - allowed object is
Rangepublic String getOnsetString()
Stringpublic void setOnsetString(String value)
value - allowed object is
Stringpublic DateTime getAbatementDateTime()
DateTimepublic void setAbatementDateTime(DateTime value)
value - allowed object is
DateTimepublic Age getAbatementQuantity()
Agepublic void setAbatementQuantity(Age value)
value - allowed object is
Agepublic Boolean getAbatementBoolean()
Booleanpublic void setAbatementBoolean(Boolean value)
value - allowed object is
Booleanpublic Period getAbatementPeriod()
Periodpublic void setAbatementPeriod(Period value)
value - allowed object is
Periodpublic Range getAbatementRange()
Rangepublic void setAbatementRange(Range value)
value - allowed object is
Rangepublic String getAbatementString()
Stringpublic void setAbatementString(String value)
value - allowed object is
Stringpublic ConditionStage getStage()
ConditionStagepublic void setStage(ConditionStage value)
value - allowed object is
ConditionStagepublic java.util.List<ConditionEvidence> getEvidence()
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 evidence property.
For example, to add a new item, do as follows:
getEvidence().add(newItem);
Objects of the following type(s) are allowed in the list
ConditionEvidence
public java.util.List<CodeableConcept> getBodySite()
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 bodySite property.
For example, to add a new item, do as follows:
getBodySite().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public String getNotes()
Stringpublic void setNotes(String value)
value - allowed object is
Stringpublic Condition withIdentifier(Identifier... values)
public Condition withIdentifier(java.util.Collection<Identifier> values)
public Condition withCode(CodeableConcept value)
public Condition withCategory(CodeableConcept value)
public Condition withVerificationStatus(ConditionVerificationStatus value)
public Condition withSeverity(CodeableConcept value)
public Condition withStage(ConditionStage value)
public Condition withEvidence(ConditionEvidence... values)
public Condition withEvidence(java.util.Collection<ConditionEvidence> values)
public Condition withBodySite(CodeableConcept... values)
public Condition withBodySite(java.util.Collection<CodeableConcept> values)
public Condition withText(Narrative value)
withText in class DomainResourcepublic Condition withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Condition withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Condition withExtension(Extension... values)
withExtension in class DomainResourcepublic Condition withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Condition withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Condition withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Condition withId(Id value)
withId in class DomainResourcepublic Condition withMeta(Meta value)
withMeta in class DomainResourcepublic Condition withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Condition 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