Class RiskAssessment
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.RiskAssessment
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class RiskAssessment extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Reference>basisprotected Referenceconditionprotected DateTimedateprotected Referenceencounterprotected Identifieridentifierprotected CodeableConceptmethodprotected Stringmitigationprotected Referenceperformerprotected java.util.List<RiskAssessmentPrediction>predictionprotected Referencesubject-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description RiskAssessment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<Reference>getBasis()Gets the value of the basis property.ReferencegetCondition()Gets the value of the condition property.DateTimegetDate()Gets the value of the date property.ReferencegetEncounter()Gets the value of the encounter property.IdentifiergetIdentifier()Gets the value of the identifier property.CodeableConceptgetMethod()Gets the value of the method property.StringgetMitigation()Gets the value of the mitigation property.ReferencegetPerformer()Gets the value of the performer property.java.util.List<RiskAssessmentPrediction>getPrediction()Gets the value of the prediction property.ReferencegetSubject()Gets the value of the subject property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCondition(Reference value)Sets the value of the condition property.voidsetDate(DateTime value)Sets the value of the date property.voidsetEncounter(Reference value)Sets the value of the encounter property.voidsetIdentifier(Identifier value)Sets the value of the identifier property.voidsetMethod(CodeableConcept value)Sets the value of the method property.voidsetMitigation(String value)Sets the value of the mitigation property.voidsetPerformer(Reference value)Sets the value of the performer property.voidsetSubject(Reference value)Sets the value of the subject property.java.lang.StringtoString()RiskAssessmentwithBasis(java.util.Collection<Reference> values)RiskAssessmentwithBasis(Reference... values)RiskAssessmentwithCondition(Reference value)RiskAssessmentwithContained(java.util.Collection<ResourceContainer> values)RiskAssessmentwithContained(ResourceContainer... values)RiskAssessmentwithDate(DateTime value)RiskAssessmentwithEncounter(Reference value)RiskAssessmentwithExtension(java.util.Collection<Extension> values)RiskAssessmentwithExtension(Extension... values)RiskAssessmentwithId(Id value)RiskAssessmentwithIdentifier(Identifier value)RiskAssessmentwithImplicitRules(Uri value)RiskAssessmentwithLanguage(Code value)RiskAssessmentwithMeta(Meta value)RiskAssessmentwithMethod(CodeableConcept value)RiskAssessmentwithMitigation(String value)RiskAssessmentwithModifierExtension(java.util.Collection<Extension> values)RiskAssessmentwithModifierExtension(Extension... values)RiskAssessmentwithPerformer(Reference value)RiskAssessmentwithPrediction(java.util.Collection<RiskAssessmentPrediction> values)RiskAssessmentwithPrediction(RiskAssessmentPrediction... values)RiskAssessmentwithSubject(Reference value)RiskAssessmentwithText(Narrative value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
subject
protected Reference subject
-
date
protected DateTime date
-
condition
protected Reference condition
-
encounter
protected Reference encounter
-
performer
protected Reference performer
-
identifier
protected Identifier identifier
-
method
protected CodeableConcept method
-
basis
protected java.util.List<Reference> basis
-
prediction
protected java.util.List<RiskAssessmentPrediction> prediction
-
mitigation
protected String mitigation
-
-
Method Detail
-
getSubject
public Reference getSubject()
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
public void setSubject(Reference value)
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getDate
public DateTime getDate()
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
public void setDate(DateTime value)
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
getCondition
public Reference getCondition()
Gets the value of the condition property.- Returns:
- possible object is
Reference
-
setCondition
public void setCondition(Reference value)
Sets the value of the condition property.- Parameters:
value- allowed object isReference
-
getEncounter
public Reference getEncounter()
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
public void setEncounter(Reference value)
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getPerformer
public Reference getPerformer()
Gets the value of the performer property.- Returns:
- possible object is
Reference
-
setPerformer
public void setPerformer(Reference value)
Sets the value of the performer property.- Parameters:
value- allowed object isReference
-
getIdentifier
public Identifier getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
public void setIdentifier(Identifier value)
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getMethod
public CodeableConcept getMethod()
Gets the value of the method property.- Returns:
- possible object is
CodeableConcept
-
setMethod
public void setMethod(CodeableConcept value)
Sets the value of the method property.- Parameters:
value- allowed object isCodeableConcept
-
getBasis
public java.util.List<Reference> getBasis()
Gets the value of the basis property.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
setmethod 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
-
getPrediction
public java.util.List<RiskAssessmentPrediction> getPrediction()
Gets the value of the prediction property.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
setmethod 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
-
getMitigation
public String getMitigation()
Gets the value of the mitigation property.- Returns:
- possible object is
String
-
setMitigation
public void setMitigation(String value)
Sets the value of the mitigation property.- Parameters:
value- allowed object isString
-
withSubject
public RiskAssessment withSubject(Reference value)
-
withDate
public RiskAssessment withDate(DateTime value)
-
withCondition
public RiskAssessment withCondition(Reference value)
-
withEncounter
public RiskAssessment withEncounter(Reference value)
-
withPerformer
public RiskAssessment withPerformer(Reference value)
-
withIdentifier
public RiskAssessment withIdentifier(Identifier value)
-
withMethod
public RiskAssessment withMethod(CodeableConcept value)
-
withBasis
public RiskAssessment withBasis(Reference... values)
-
withBasis
public RiskAssessment withBasis(java.util.Collection<Reference> values)
-
withPrediction
public RiskAssessment withPrediction(RiskAssessmentPrediction... values)
-
withPrediction
public RiskAssessment withPrediction(java.util.Collection<RiskAssessmentPrediction> values)
-
withMitigation
public RiskAssessment withMitigation(String value)
-
withText
public RiskAssessment withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public RiskAssessment withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public RiskAssessment withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public RiskAssessment withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public RiskAssessment withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public RiskAssessment withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public RiskAssessment withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public RiskAssessment withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public RiskAssessment withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public RiskAssessment withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public RiskAssessment withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public 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.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-