Package org.hl7.fhir

Class 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 extensions

Java 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 Details

  • Constructor Details

    • DiagnosticReport

      public DiagnosticReport()
  • Method Details

    • getIdentifier

      public 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 Jakarta XML Binding 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

    • 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 is DiagnosticReportStatus
    • 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 is CodeableConcept
    • 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 is CodeableConcept
    • 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 is Reference
    • 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 is Reference
    • 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 is DateTime
    • 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 is Period
    • 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 is Instant
    • 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 is Reference
    • getRequest

      public 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 Jakarta XML Binding object. This is why there is not a set method 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 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 Jakarta XML Binding object. This is why there is not a set method 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 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 Jakarta XML Binding object. This is why there is not a set method 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 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 Jakarta XML Binding object. This is why there is not a set method 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 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 Jakarta XML Binding object. This is why there is not a set method 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 is String
    • getCodedDiagnosis

      public 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 Jakarta XML Binding object. This is why there is not a set method 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 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 Jakarta XML Binding object. This is why there is not a set method 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(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(Collection<Reference> values)
    • withSpecimen

      public DiagnosticReport withSpecimen(Reference... values)
    • withSpecimen

      public DiagnosticReport withSpecimen(Collection<Reference> values)
    • withResult

      public DiagnosticReport withResult(Reference... values)
    • withResult

      public DiagnosticReport withResult(Collection<Reference> values)
    • withImagingStudy

      public DiagnosticReport withImagingStudy(Reference... values)
    • withImagingStudy

      public DiagnosticReport withImagingStudy(Collection<Reference> values)
    • withImage

      public DiagnosticReport withImage(DiagnosticReportImage... values)
    • withImage

    • withConclusion

      public DiagnosticReport withConclusion(String value)
    • withCodedDiagnosis

      public DiagnosticReport withCodedDiagnosis(CodeableConcept... values)
    • withCodedDiagnosis

      public DiagnosticReport withCodedDiagnosis(Collection<CodeableConcept> values)
    • withPresentedForm

      public DiagnosticReport withPresentedForm(Attachment... values)
    • withPresentedForm

      public DiagnosticReport withPresentedForm(Collection<Attachment> values)
    • withText

      public DiagnosticReport withText(Narrative value)
      Overrides:
      withText in class DomainResource
    • withContained

      public DiagnosticReport withContained(ResourceContainer... values)
      Overrides:
      withContained in class DomainResource
    • withContained

      public DiagnosticReport withContained(Collection<ResourceContainer> values)
      Overrides:
      withContained in class DomainResource
    • withExtension

      public DiagnosticReport withExtension(Extension... values)
      Overrides:
      withExtension in class DomainResource
    • withExtension

      public DiagnosticReport withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class DomainResource
    • withModifierExtension

      public DiagnosticReport withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class DomainResource
    • withModifierExtension

      public DiagnosticReport withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class DomainResource
    • withId

      public DiagnosticReport withId(Id value)
      Overrides:
      withId in class DomainResource
    • withMeta

      public DiagnosticReport withMeta(Meta value)
      Overrides:
      withMeta in class DomainResource
    • withImplicitRules

      public DiagnosticReport withImplicitRules(Uri value)
      Overrides:
      withImplicitRules in class DomainResource
    • withLanguage

      public DiagnosticReport withLanguage(Code value)
      Overrides:
      withLanguage in class DomainResource
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class DomainResource
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class DomainResource
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class DomainResource
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class DomainResource
    • toString

      public String toString()
      Overrides:
      toString in class DomainResource
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class DomainResource
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class DomainResource
    • setIdentifier

      public void setIdentifier(List<Identifier> value)
    • setRequest

      public void setRequest(List<Reference> value)
    • setSpecimen

      public void setSpecimen(List<Reference> value)
    • setResult

      public void setResult(List<Reference> value)
    • setImagingStudy

      public void setImagingStudy(List<Reference> value)
    • setImage

      public void setImage(List<DiagnosticReportImage> value)
    • setCodedDiagnosis

      public void setCodedDiagnosis(List<CodeableConcept> value)
    • setPresentedForm

      public void setPresentedForm(List<Attachment> value)