Package org.hl7.fhir

Class DiagnosticOrder

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class DiagnosticOrder
    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 DiagnosticOrder complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="DiagnosticOrder">
       <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}DiagnosticOrderStatus" minOccurs="0"/>
             <element name="priority" type="{http://hl7.org/fhir}DiagnosticOrderPriority" minOccurs="0"/>
             <element name="subject" type="{http://hl7.org/fhir}Reference"/>
             <element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="orderer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="reason" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
             <element name="supportingInformation" 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="event" type="{http://hl7.org/fhir}DiagnosticOrder.Event" maxOccurs="unbounded" minOccurs="0"/>
             <element name="item" type="{http://hl7.org/fhir}DiagnosticOrder.Item" maxOccurs="unbounded" minOccurs="0"/>
             <element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • DiagnosticOrder

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

      • 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
      • getOrderer

        public Reference getOrderer()
        Gets the value of the orderer property.
        Returns:
        possible object is Reference
      • setOrderer

        public void setOrderer​(Reference value)
        Sets the value of the orderer property.
        Parameters:
        value - allowed object is Reference
      • getReason

        public java.util.List<CodeableConcept> getReason()
        Gets the value of the reason 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 reason property.

        For example, to add a new item, do as follows:

            getReason().add(newItem);
         

        Objects of the following type(s) are allowed in the list CodeableConcept

      • getSupportingInformation

        public java.util.List<Reference> getSupportingInformation()
        Gets the value of the supportingInformation 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 supportingInformation property.

        For example, to add a new item, do as follows:

            getSupportingInformation().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

      • getEvent

        public java.util.List<DiagnosticOrderEvent> getEvent()
        Gets the value of the event 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 event property.

        For example, to add a new item, do as follows:

            getEvent().add(newItem);
         

        Objects of the following type(s) are allowed in the list DiagnosticOrderEvent

      • getItem

        public java.util.List<DiagnosticOrderItem> getItem()
        Gets the value of the item 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 item property.

        For example, to add a new item, do as follows:

            getItem().add(newItem);
         

        Objects of the following type(s) are allowed in the list DiagnosticOrderItem

      • getNote

        public java.util.List<Annotation> getNote()
        Gets the value of the note 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 note property.

        For example, to add a new item, do as follows:

            getNote().add(newItem);
         

        Objects of the following type(s) are allowed in the list Annotation

      • withSupportingInformation

        public DiagnosticOrder withSupportingInformation​(java.util.Collection<Reference> values)
      • 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