public class RiskAssessment extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for RiskAssessment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RiskAssessment">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="condition" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="performer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="method" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="basis" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="prediction" type="{http://hl7.org/fhir}RiskAssessment.Prediction" maxOccurs="unbounded" minOccurs="0"/>
<element name="mitigation" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Reference> |
basis |
protected Reference |
condition |
protected DateTime |
date |
protected Reference |
encounter |
protected Identifier |
identifier |
protected CodeableConcept |
method |
protected String |
mitigation |
protected Reference |
performer |
protected java.util.List<RiskAssessmentPrediction> |
prediction |
protected Reference |
subject |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
RiskAssessment() |
| 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) |
java.util.List<Reference> |
getBasis()
Gets the value of the basis property.
|
Reference |
getCondition()
Gets the value of the condition property.
|
DateTime |
getDate()
Gets the value of the date property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
Identifier |
getIdentifier()
Gets the value of the identifier property.
|
CodeableConcept |
getMethod()
Gets the value of the method property.
|
String |
getMitigation()
Gets the value of the mitigation property.
|
Reference |
getPerformer()
Gets the value of the performer property.
|
java.util.List<RiskAssessmentPrediction> |
getPrediction()
Gets the value of the prediction property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCondition(Reference value)
Sets the value of the condition property.
|
void |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setIdentifier(Identifier value)
Sets the value of the identifier property.
|
void |
setMethod(CodeableConcept value)
Sets the value of the method property.
|
void |
setMitigation(String value)
Sets the value of the mitigation property.
|
void |
setPerformer(Reference value)
Sets the value of the performer property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
java.lang.String |
toString() |
RiskAssessment |
withBasis(java.util.Collection<Reference> values) |
RiskAssessment |
withBasis(Reference... values) |
RiskAssessment |
withCondition(Reference value) |
RiskAssessment |
withContained(java.util.Collection<ResourceContainer> values) |
RiskAssessment |
withContained(ResourceContainer... values) |
RiskAssessment |
withDate(DateTime value) |
RiskAssessment |
withEncounter(Reference value) |
RiskAssessment |
withExtension(java.util.Collection<Extension> values) |
RiskAssessment |
withExtension(Extension... values) |
RiskAssessment |
withId(Id value) |
RiskAssessment |
withIdentifier(Identifier value) |
RiskAssessment |
withImplicitRules(Uri value) |
RiskAssessment |
withLanguage(Code value) |
RiskAssessment |
withMeta(Meta value) |
RiskAssessment |
withMethod(CodeableConcept value) |
RiskAssessment |
withMitigation(String value) |
RiskAssessment |
withModifierExtension(java.util.Collection<Extension> values) |
RiskAssessment |
withModifierExtension(Extension... values) |
RiskAssessment |
withPerformer(Reference value) |
RiskAssessment |
withPrediction(java.util.Collection<RiskAssessmentPrediction> values) |
RiskAssessment |
withPrediction(RiskAssessmentPrediction... values) |
RiskAssessment |
withSubject(Reference value) |
RiskAssessment |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Reference subject
protected DateTime date
protected Reference condition
protected Reference encounter
protected Reference performer
protected Identifier identifier
protected CodeableConcept method
protected java.util.List<Reference> basis
protected java.util.List<RiskAssessmentPrediction> prediction
protected String mitigation
public Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic Reference getCondition()
Referencepublic void setCondition(Reference value)
value - allowed object is
Referencepublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic Reference getPerformer()
Referencepublic void setPerformer(Reference value)
value - allowed object is
Referencepublic Identifier getIdentifier()
Identifierpublic void setIdentifier(Identifier value)
value - allowed object is
Identifierpublic CodeableConcept getMethod()
CodeableConceptpublic void setMethod(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<Reference> getBasis()
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 basis property.
For example, to add a new item, do as follows:
getBasis().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<RiskAssessmentPrediction> getPrediction()
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 prediction property.
For example, to add a new item, do as follows:
getPrediction().add(newItem);
Objects of the following type(s) are allowed in the list
RiskAssessmentPrediction
public String getMitigation()
Stringpublic void setMitigation(String value)
value - allowed object is
Stringpublic RiskAssessment withSubject(Reference value)
public RiskAssessment withDate(DateTime value)
public RiskAssessment withCondition(Reference value)
public RiskAssessment withEncounter(Reference value)
public RiskAssessment withPerformer(Reference value)
public RiskAssessment withIdentifier(Identifier value)
public RiskAssessment withMethod(CodeableConcept value)
public RiskAssessment withBasis(Reference... values)
public RiskAssessment withBasis(java.util.Collection<Reference> values)
public RiskAssessment withPrediction(RiskAssessmentPrediction... values)
public RiskAssessment withPrediction(java.util.Collection<RiskAssessmentPrediction> values)
public RiskAssessment withMitigation(String value)
public RiskAssessment withText(Narrative value)
withText in class DomainResourcepublic RiskAssessment withContained(ResourceContainer... values)
withContained in class DomainResourcepublic RiskAssessment withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic RiskAssessment withExtension(Extension... values)
withExtension in class DomainResourcepublic RiskAssessment withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic RiskAssessment withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic RiskAssessment withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic RiskAssessment withId(Id value)
withId in class DomainResourcepublic RiskAssessment withMeta(Meta value)
withMeta in class DomainResourcepublic RiskAssessment withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic RiskAssessment 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