Package org.hl7.fhir

Class Procedure

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

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

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

     <complexType name="Procedure">
       <complexContent>
         <extension base="{http://hl7.org/fhir}DomainResource">
           <sequence>
             <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
             <element name="subject" type="{http://hl7.org/fhir}Reference"/>
             <element name="status" type="{http://hl7.org/fhir}ProcedureStatus"/>
             <element name="category" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="code" type="{http://hl7.org/fhir}CodeableConcept"/>
             <element name="notPerformed" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
             <element name="reasonNotPerformed" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
             <element name="bodySite" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
             <choice minOccurs="0">
               <element name="reasonCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
               <element name="reasonReference" type="{http://hl7.org/fhir}Reference"/>
             </choice>
             <element name="performer" type="{http://hl7.org/fhir}Procedure.Performer" maxOccurs="unbounded" minOccurs="0"/>
             <choice minOccurs="0">
               <element name="performedDateTime" type="{http://hl7.org/fhir}dateTime"/>
               <element name="performedPeriod" type="{http://hl7.org/fhir}Period"/>
             </choice>
             <element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="location" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="outcome" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="report" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
             <element name="complication" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
             <element name="followUp" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
             <element name="request" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="notes" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
             <element name="focalDevice" type="{http://hl7.org/fhir}Procedure.FocalDevice" maxOccurs="unbounded" minOccurs="0"/>
             <element name="used" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Procedure

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

        public void setStatus​(ProcedureStatus value)
        Sets the value of the status property.
        Parameters:
        value - allowed object is ProcedureStatus
      • setCategory

        public void setCategory​(CodeableConcept value)
        Sets the value of the category property.
        Parameters:
        value - allowed object is CodeableConcept
      • getNotPerformed

        public Boolean getNotPerformed()
        Gets the value of the notPerformed property.
        Returns:
        possible object is Boolean
      • setNotPerformed

        public void setNotPerformed​(Boolean value)
        Sets the value of the notPerformed property.
        Parameters:
        value - allowed object is Boolean
      • getReasonNotPerformed

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

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

            getReasonNotPerformed().add(newItem);
         

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

      • getBodySite

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

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

            getBodySite().add(newItem);
         

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

      • getReasonCodeableConcept

        public CodeableConcept getReasonCodeableConcept()
        Gets the value of the reasonCodeableConcept property.
        Returns:
        possible object is CodeableConcept
      • setReasonCodeableConcept

        public void setReasonCodeableConcept​(CodeableConcept value)
        Sets the value of the reasonCodeableConcept property.
        Parameters:
        value - allowed object is CodeableConcept
      • getReasonReference

        public Reference getReasonReference()
        Gets the value of the reasonReference property.
        Returns:
        possible object is Reference
      • setReasonReference

        public void setReasonReference​(Reference value)
        Sets the value of the reasonReference property.
        Parameters:
        value - allowed object is Reference
      • getPerformer

        public java.util.List<ProcedurePerformer> getPerformer()
        Gets the value of the performer 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 performer property.

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

            getPerformer().add(newItem);
         

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

      • getPerformedDateTime

        public DateTime getPerformedDateTime()
        Gets the value of the performedDateTime property.
        Returns:
        possible object is DateTime
      • setPerformedDateTime

        public void setPerformedDateTime​(DateTime value)
        Sets the value of the performedDateTime property.
        Parameters:
        value - allowed object is DateTime
      • getPerformedPeriod

        public Period getPerformedPeriod()
        Gets the value of the performedPeriod property.
        Returns:
        possible object is Period
      • setPerformedPeriod

        public void setPerformedPeriod​(Period value)
        Sets the value of the performedPeriod property.
        Parameters:
        value - allowed object is Period
      • 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
      • getLocation

        public Reference getLocation()
        Gets the value of the location property.
        Returns:
        possible object is Reference
      • setLocation

        public void setLocation​(Reference value)
        Sets the value of the location property.
        Parameters:
        value - allowed object is Reference
      • setOutcome

        public void setOutcome​(CodeableConcept value)
        Sets the value of the outcome property.
        Parameters:
        value - allowed object is CodeableConcept
      • getReport

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

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

            getReport().add(newItem);
         

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

      • getComplication

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

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

            getComplication().add(newItem);
         

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

      • getFollowUp

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

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

            getFollowUp().add(newItem);
         

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

      • getRequest

        public Reference getRequest()
        Gets the value of the request property.
        Returns:
        possible object is Reference
      • setRequest

        public void setRequest​(Reference value)
        Sets the value of the request property.
        Parameters:
        value - allowed object is Reference
      • getNotes

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

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

            getNotes().add(newItem);
         

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

      • getFocalDevice

        public java.util.List<ProcedureFocalDevice> getFocalDevice()
        Gets the value of the focalDevice 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 focalDevice property.

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

            getFocalDevice().add(newItem);
         

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

      • getUsed

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

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

            getUsed().add(newItem);
         

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

      • withIdentifier

        public Procedure withIdentifier​(java.util.Collection<Identifier> values)
      • withPerformedPeriod

        public Procedure withPerformedPeriod​(Period value)
      • 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