Class DetectedIssue
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.DetectedIssue
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class DetectedIssue 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 DetectedIssue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DetectedIssue"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="patient" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="category" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="severity" type="{http://hl7.org/fhir}DetectedIssueSeverity" minOccurs="0"/> <element name="implicated" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="detail" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/> <element name="author" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/> <element name="reference" type="{http://hl7.org/fhir}uri" minOccurs="0"/> <element name="mitigation" type="{http://hl7.org/fhir}DetectedIssue.Mitigation" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Referenceauthorprotected CodeableConceptcategoryprotected DateTimedateprotected Stringdetailprotected Identifieridentifierprotected java.util.List<Reference>implicatedprotected java.util.List<DetectedIssueMitigation>mitigationprotected Referencepatientprotected Urireferenceprotected DetectedIssueSeverityseverity-
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 DetectedIssue()
-
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)ReferencegetAuthor()Gets the value of the author property.CodeableConceptgetCategory()Gets the value of the category property.DateTimegetDate()Gets the value of the date property.StringgetDetail()Gets the value of the detail property.IdentifiergetIdentifier()Gets the value of the identifier property.java.util.List<Reference>getImplicated()Gets the value of the implicated property.java.util.List<DetectedIssueMitigation>getMitigation()Gets the value of the mitigation property.ReferencegetPatient()Gets the value of the patient property.UrigetReference()Gets the value of the reference property.DetectedIssueSeveritygetSeverity()Gets the value of the severity property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAuthor(Reference value)Sets the value of the author property.voidsetCategory(CodeableConcept value)Sets the value of the category property.voidsetDate(DateTime value)Sets the value of the date property.voidsetDetail(String value)Sets the value of the detail property.voidsetIdentifier(Identifier value)Sets the value of the identifier property.voidsetPatient(Reference value)Sets the value of the patient property.voidsetReference(Uri value)Sets the value of the reference property.voidsetSeverity(DetectedIssueSeverity value)Sets the value of the severity property.java.lang.StringtoString()DetectedIssuewithAuthor(Reference value)DetectedIssuewithCategory(CodeableConcept value)DetectedIssuewithContained(java.util.Collection<ResourceContainer> values)DetectedIssuewithContained(ResourceContainer... values)DetectedIssuewithDate(DateTime value)DetectedIssuewithDetail(String value)DetectedIssuewithExtension(java.util.Collection<Extension> values)DetectedIssuewithExtension(Extension... values)DetectedIssuewithId(Id value)DetectedIssuewithIdentifier(Identifier value)DetectedIssuewithImplicated(java.util.Collection<Reference> values)DetectedIssuewithImplicated(Reference... values)DetectedIssuewithImplicitRules(Uri value)DetectedIssuewithLanguage(Code value)DetectedIssuewithMeta(Meta value)DetectedIssuewithMitigation(java.util.Collection<DetectedIssueMitigation> values)DetectedIssuewithMitigation(DetectedIssueMitigation... values)DetectedIssuewithModifierExtension(java.util.Collection<Extension> values)DetectedIssuewithModifierExtension(Extension... values)DetectedIssuewithPatient(Reference value)DetectedIssuewithReference(Uri value)DetectedIssuewithSeverity(DetectedIssueSeverity value)DetectedIssuewithText(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
-
patient
protected Reference patient
-
category
protected CodeableConcept category
-
severity
protected DetectedIssueSeverity severity
-
implicated
protected java.util.List<Reference> implicated
-
detail
protected String detail
-
date
protected DateTime date
-
author
protected Reference author
-
identifier
protected Identifier identifier
-
reference
protected Uri reference
-
mitigation
protected java.util.List<DetectedIssueMitigation> mitigation
-
-
Method Detail
-
getPatient
public Reference getPatient()
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
public void setPatient(Reference value)
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getCategory
public CodeableConcept getCategory()
Gets the value of the category property.- Returns:
- possible object is
CodeableConcept
-
setCategory
public void setCategory(CodeableConcept value)
Sets the value of the category property.- Parameters:
value- allowed object isCodeableConcept
-
getSeverity
public DetectedIssueSeverity getSeverity()
Gets the value of the severity property.- Returns:
- possible object is
DetectedIssueSeverity
-
setSeverity
public void setSeverity(DetectedIssueSeverity value)
Sets the value of the severity property.- Parameters:
value- allowed object isDetectedIssueSeverity
-
getImplicated
public java.util.List<Reference> getImplicated()
Gets the value of the implicated 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 implicated property.For example, to add a new item, do as follows:
getImplicated().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getDetail
public String getDetail()
Gets the value of the detail property.- Returns:
- possible object is
String
-
setDetail
public void setDetail(String value)
Sets the value of the detail property.- Parameters:
value- allowed object isString
-
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
-
getAuthor
public Reference getAuthor()
Gets the value of the author property.- Returns:
- possible object is
Reference
-
setAuthor
public void setAuthor(Reference value)
Sets the value of the author 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
-
getReference
public Uri getReference()
Gets the value of the reference property.- Returns:
- possible object is
Uri
-
setReference
public void setReference(Uri value)
Sets the value of the reference property.- Parameters:
value- allowed object isUri
-
getMitigation
public java.util.List<DetectedIssueMitigation> getMitigation()
Gets the value of the mitigation 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 mitigation property.For example, to add a new item, do as follows:
getMitigation().add(newItem);Objects of the following type(s) are allowed in the list
DetectedIssueMitigation
-
withPatient
public DetectedIssue withPatient(Reference value)
-
withCategory
public DetectedIssue withCategory(CodeableConcept value)
-
withSeverity
public DetectedIssue withSeverity(DetectedIssueSeverity value)
-
withImplicated
public DetectedIssue withImplicated(Reference... values)
-
withImplicated
public DetectedIssue withImplicated(java.util.Collection<Reference> values)
-
withDetail
public DetectedIssue withDetail(String value)
-
withDate
public DetectedIssue withDate(DateTime value)
-
withAuthor
public DetectedIssue withAuthor(Reference value)
-
withIdentifier
public DetectedIssue withIdentifier(Identifier value)
-
withReference
public DetectedIssue withReference(Uri value)
-
withMitigation
public DetectedIssue withMitigation(DetectedIssueMitigation... values)
-
withMitigation
public DetectedIssue withMitigation(java.util.Collection<DetectedIssueMitigation> values)
-
withText
public DetectedIssue withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public DetectedIssue withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public DetectedIssue withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public DetectedIssue withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public DetectedIssue withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public DetectedIssue withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public DetectedIssue withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public DetectedIssue withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public DetectedIssue withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public DetectedIssue withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public DetectedIssue 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
-
-