Class DiagnosticReport
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.DiagnosticReport
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class DiagnosticReport 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 DiagnosticReport complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DiagnosticReport"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/> <element name="status" type="{http://hl7.org/fhir}DiagnosticReportStatus"/> <element name="category" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="code" type="{http://hl7.org/fhir}CodeableConcept"/> <element name="subject" type="{http://hl7.org/fhir}Reference"/> <element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <choice> <element name="effectiveDateTime" type="{http://hl7.org/fhir}dateTime"/> <element name="effectivePeriod" type="{http://hl7.org/fhir}Period"/> </choice> <element name="issued" type="{http://hl7.org/fhir}instant"/> <element name="performer" type="{http://hl7.org/fhir}Reference"/> <element name="request" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="specimen" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="result" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="imagingStudy" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="image" type="{http://hl7.org/fhir}DiagnosticReport.Image" maxOccurs="unbounded" minOccurs="0"/> <element name="conclusion" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="codedDiagnosis" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="presentedForm" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptcategoryprotected CodeableConceptcodeprotected java.util.List<CodeableConcept>codedDiagnosisprotected Stringconclusionprotected DateTimeeffectiveDateTimeprotected PeriodeffectivePeriodprotected Referenceencounterprotected java.util.List<Identifier>identifierprotected java.util.List<DiagnosticReportImage>imageprotected java.util.List<Reference>imagingStudyprotected Instantissuedprotected Referenceperformerprotected java.util.List<Attachment>presentedFormprotected java.util.List<Reference>requestprotected java.util.List<Reference>resultprotected java.util.List<Reference>specimenprotected DiagnosticReportStatusstatusprotected 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 DiagnosticReport()
-
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)CodeableConceptgetCategory()Gets the value of the category property.CodeableConceptgetCode()Gets the value of the code property.java.util.List<CodeableConcept>getCodedDiagnosis()Gets the value of the codedDiagnosis property.StringgetConclusion()Gets the value of the conclusion property.DateTimegetEffectiveDateTime()Gets the value of the effectiveDateTime property.PeriodgetEffectivePeriod()Gets the value of the effectivePeriod property.ReferencegetEncounter()Gets the value of the encounter property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.java.util.List<DiagnosticReportImage>getImage()Gets the value of the image property.java.util.List<Reference>getImagingStudy()Gets the value of the imagingStudy property.InstantgetIssued()Gets the value of the issued property.ReferencegetPerformer()Gets the value of the performer property.java.util.List<Attachment>getPresentedForm()Gets the value of the presentedForm property.java.util.List<Reference>getRequest()Gets the value of the request property.java.util.List<Reference>getResult()Gets the value of the result property.java.util.List<Reference>getSpecimen()Gets the value of the specimen property.DiagnosticReportStatusgetStatus()Gets the value of the status 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)voidsetCategory(CodeableConcept value)Sets the value of the category property.voidsetCode(CodeableConcept value)Sets the value of the code property.voidsetConclusion(String value)Sets the value of the conclusion property.voidsetEffectiveDateTime(DateTime value)Sets the value of the effectiveDateTime property.voidsetEffectivePeriod(Period value)Sets the value of the effectivePeriod property.voidsetEncounter(Reference value)Sets the value of the encounter property.voidsetIssued(Instant value)Sets the value of the issued property.voidsetPerformer(Reference value)Sets the value of the performer property.voidsetStatus(DiagnosticReportStatus value)Sets the value of the status property.voidsetSubject(Reference value)Sets the value of the subject property.java.lang.StringtoString()DiagnosticReportwithCategory(CodeableConcept value)DiagnosticReportwithCode(CodeableConcept value)DiagnosticReportwithCodedDiagnosis(java.util.Collection<CodeableConcept> values)DiagnosticReportwithCodedDiagnosis(CodeableConcept... values)DiagnosticReportwithConclusion(String value)DiagnosticReportwithContained(java.util.Collection<ResourceContainer> values)DiagnosticReportwithContained(ResourceContainer... values)DiagnosticReportwithEffectiveDateTime(DateTime value)DiagnosticReportwithEffectivePeriod(Period value)DiagnosticReportwithEncounter(Reference value)DiagnosticReportwithExtension(java.util.Collection<Extension> values)DiagnosticReportwithExtension(Extension... values)DiagnosticReportwithId(Id value)DiagnosticReportwithIdentifier(java.util.Collection<Identifier> values)DiagnosticReportwithIdentifier(Identifier... values)DiagnosticReportwithImage(java.util.Collection<DiagnosticReportImage> values)DiagnosticReportwithImage(DiagnosticReportImage... values)DiagnosticReportwithImagingStudy(java.util.Collection<Reference> values)DiagnosticReportwithImagingStudy(Reference... values)DiagnosticReportwithImplicitRules(Uri value)DiagnosticReportwithIssued(Instant value)DiagnosticReportwithLanguage(Code value)DiagnosticReportwithMeta(Meta value)DiagnosticReportwithModifierExtension(java.util.Collection<Extension> values)DiagnosticReportwithModifierExtension(Extension... values)DiagnosticReportwithPerformer(Reference value)DiagnosticReportwithPresentedForm(java.util.Collection<Attachment> values)DiagnosticReportwithPresentedForm(Attachment... values)DiagnosticReportwithRequest(java.util.Collection<Reference> values)DiagnosticReportwithRequest(Reference... values)DiagnosticReportwithResult(java.util.Collection<Reference> values)DiagnosticReportwithResult(Reference... values)DiagnosticReportwithSpecimen(java.util.Collection<Reference> values)DiagnosticReportwithSpecimen(Reference... values)DiagnosticReportwithStatus(DiagnosticReportStatus value)DiagnosticReportwithSubject(Reference value)DiagnosticReportwithText(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
-
identifier
protected java.util.List<Identifier> identifier
-
status
protected DiagnosticReportStatus status
-
category
protected CodeableConcept category
-
code
protected CodeableConcept code
-
subject
protected Reference subject
-
encounter
protected Reference encounter
-
effectiveDateTime
protected DateTime effectiveDateTime
-
effectivePeriod
protected Period effectivePeriod
-
issued
protected Instant issued
-
performer
protected Reference performer
-
request
protected java.util.List<Reference> request
-
specimen
protected java.util.List<Reference> specimen
-
result
protected java.util.List<Reference> result
-
imagingStudy
protected java.util.List<Reference> imagingStudy
-
image
protected java.util.List<DiagnosticReportImage> image
-
conclusion
protected String conclusion
-
codedDiagnosis
protected java.util.List<CodeableConcept> codedDiagnosis
-
presentedForm
protected java.util.List<Attachment> presentedForm
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Gets the value of the identifier 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 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
-
getStatus
public DiagnosticReportStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
DiagnosticReportStatus
-
setStatus
public void setStatus(DiagnosticReportStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isDiagnosticReportStatus
-
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
-
getCode
public CodeableConcept getCode()
Gets the value of the code property.- Returns:
- possible object is
CodeableConcept
-
setCode
public void setCode(CodeableConcept value)
Sets the value of the code property.- Parameters:
value- allowed object isCodeableConcept
-
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
-
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
-
getEffectiveDateTime
public DateTime getEffectiveDateTime()
Gets the value of the effectiveDateTime property.- Returns:
- possible object is
DateTime
-
setEffectiveDateTime
public void setEffectiveDateTime(DateTime value)
Sets the value of the effectiveDateTime property.- Parameters:
value- allowed object isDateTime
-
getEffectivePeriod
public Period getEffectivePeriod()
Gets the value of the effectivePeriod property.- Returns:
- possible object is
Period
-
setEffectivePeriod
public void setEffectivePeriod(Period value)
Sets the value of the effectivePeriod property.- Parameters:
value- allowed object isPeriod
-
getIssued
public Instant getIssued()
Gets the value of the issued property.- Returns:
- possible object is
Instant
-
setIssued
public void setIssued(Instant value)
Sets the value of the issued property.- Parameters:
value- allowed object isInstant
-
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
-
getRequest
public java.util.List<Reference> getRequest()
Gets the value of the request 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 request property.For example, to add a new item, do as follows:
getRequest().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getSpecimen
public java.util.List<Reference> getSpecimen()
Gets the value of the specimen 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 specimen property.For example, to add a new item, do as follows:
getSpecimen().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getResult
public java.util.List<Reference> getResult()
Gets the value of the result 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 result property.For example, to add a new item, do as follows:
getResult().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getImagingStudy
public java.util.List<Reference> getImagingStudy()
Gets the value of the imagingStudy 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 imagingStudy property.For example, to add a new item, do as follows:
getImagingStudy().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getImage
public java.util.List<DiagnosticReportImage> getImage()
Gets the value of the image 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 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
DiagnosticReportImage
-
getConclusion
public String getConclusion()
Gets the value of the conclusion property.- Returns:
- possible object is
String
-
setConclusion
public void setConclusion(String value)
Sets the value of the conclusion property.- Parameters:
value- allowed object isString
-
getCodedDiagnosis
public java.util.List<CodeableConcept> getCodedDiagnosis()
Gets the value of the codedDiagnosis 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 codedDiagnosis property.For example, to add a new item, do as follows:
getCodedDiagnosis().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getPresentedForm
public java.util.List<Attachment> getPresentedForm()
Gets the value of the presentedForm 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 presentedForm property.For example, to add a new item, do as follows:
getPresentedForm().add(newItem);Objects of the following type(s) are allowed in the list
Attachment
-
withIdentifier
public DiagnosticReport withIdentifier(Identifier... values)
-
withIdentifier
public DiagnosticReport withIdentifier(java.util.Collection<Identifier> values)
-
withStatus
public DiagnosticReport withStatus(DiagnosticReportStatus value)
-
withCategory
public DiagnosticReport withCategory(CodeableConcept value)
-
withCode
public DiagnosticReport withCode(CodeableConcept value)
-
withSubject
public DiagnosticReport withSubject(Reference value)
-
withEncounter
public DiagnosticReport withEncounter(Reference value)
-
withEffectiveDateTime
public DiagnosticReport withEffectiveDateTime(DateTime value)
-
withEffectivePeriod
public DiagnosticReport withEffectivePeriod(Period value)
-
withIssued
public DiagnosticReport withIssued(Instant value)
-
withPerformer
public DiagnosticReport withPerformer(Reference value)
-
withRequest
public DiagnosticReport withRequest(Reference... values)
-
withRequest
public DiagnosticReport withRequest(java.util.Collection<Reference> values)
-
withSpecimen
public DiagnosticReport withSpecimen(Reference... values)
-
withSpecimen
public DiagnosticReport withSpecimen(java.util.Collection<Reference> values)
-
withResult
public DiagnosticReport withResult(Reference... values)
-
withResult
public DiagnosticReport withResult(java.util.Collection<Reference> values)
-
withImagingStudy
public DiagnosticReport withImagingStudy(Reference... values)
-
withImagingStudy
public DiagnosticReport withImagingStudy(java.util.Collection<Reference> values)
-
withImage
public DiagnosticReport withImage(DiagnosticReportImage... values)
-
withImage
public DiagnosticReport withImage(java.util.Collection<DiagnosticReportImage> values)
-
withConclusion
public DiagnosticReport withConclusion(String value)
-
withCodedDiagnosis
public DiagnosticReport withCodedDiagnosis(CodeableConcept... values)
-
withCodedDiagnosis
public DiagnosticReport withCodedDiagnosis(java.util.Collection<CodeableConcept> values)
-
withPresentedForm
public DiagnosticReport withPresentedForm(Attachment... values)
-
withPresentedForm
public DiagnosticReport withPresentedForm(java.util.Collection<Attachment> values)
-
withText
public DiagnosticReport withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public DiagnosticReport withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public DiagnosticReport withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public DiagnosticReport withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public DiagnosticReport withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public DiagnosticReport withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public DiagnosticReport withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public DiagnosticReport withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public DiagnosticReport withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public DiagnosticReport withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public DiagnosticReport 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
-
-