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>
     
    • Constructor Detail

      • DiagnosticReport

        public DiagnosticReport()
    • 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 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

      • setCategory

        public void setCategory​(CodeableConcept value)
        Sets the value of the category 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

      • 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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class DomainResource
      • equals

        public boolean equals​(java.lang.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
      • 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:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class DomainResource
      • 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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class DomainResource