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>
 
  • Field Details

  • Constructor Details

    • Procedure

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

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

      public ProcedureStatus getStatus()
      Gets the value of the status property.
      Returns:
      possible object is ProcedureStatus
    • setStatus

      public void setStatus(ProcedureStatus value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is ProcedureStatus
    • 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
    • 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 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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
    • getOutcome

      public CodeableConcept getOutcome()
      Gets the value of the outcome property.
      Returns:
      possible object is CodeableConcept
    • setOutcome

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

      public 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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(Identifier... values)
    • withIdentifier

      public Procedure withIdentifier(Collection<Identifier> values)
    • withSubject

      public Procedure withSubject(Reference value)
    • withStatus

      public Procedure withStatus(ProcedureStatus value)
    • withCategory

      public Procedure withCategory(CodeableConcept value)
    • withCode

      public Procedure withCode(CodeableConcept value)
    • withNotPerformed

      public Procedure withNotPerformed(Boolean value)
    • withReasonNotPerformed

      public Procedure withReasonNotPerformed(CodeableConcept... values)
    • withReasonNotPerformed

      public Procedure withReasonNotPerformed(Collection<CodeableConcept> values)
    • withBodySite

      public Procedure withBodySite(CodeableConcept... values)
    • withBodySite

      public Procedure withBodySite(Collection<CodeableConcept> values)
    • withReasonCodeableConcept

      public Procedure withReasonCodeableConcept(CodeableConcept value)
    • withReasonReference

      public Procedure withReasonReference(Reference value)
    • withPerformer

      public Procedure withPerformer(ProcedurePerformer... values)
    • withPerformer

      public Procedure withPerformer(Collection<ProcedurePerformer> values)
    • withPerformedDateTime

      public Procedure withPerformedDateTime(DateTime value)
    • withPerformedPeriod

      public Procedure withPerformedPeriod(Period value)
    • withEncounter

      public Procedure withEncounter(Reference value)
    • withLocation

      public Procedure withLocation(Reference value)
    • withOutcome

      public Procedure withOutcome(CodeableConcept value)
    • withReport

      public Procedure withReport(Reference... values)
    • withReport

      public Procedure withReport(Collection<Reference> values)
    • withComplication

      public Procedure withComplication(CodeableConcept... values)
    • withComplication

      public Procedure withComplication(Collection<CodeableConcept> values)
    • withFollowUp

      public Procedure withFollowUp(CodeableConcept... values)
    • withFollowUp

      public Procedure withFollowUp(Collection<CodeableConcept> values)
    • withRequest

      public Procedure withRequest(Reference value)
    • withNotes

      public Procedure withNotes(Annotation... values)
    • withNotes

      public Procedure withNotes(Collection<Annotation> values)
    • withFocalDevice

      public Procedure withFocalDevice(ProcedureFocalDevice... values)
    • withFocalDevice

      public Procedure withFocalDevice(Collection<ProcedureFocalDevice> values)
    • withUsed

      public Procedure withUsed(Reference... values)
    • withUsed

      public Procedure withUsed(Collection<Reference> values)
    • withText

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

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

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

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

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

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

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

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

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

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

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

      public void setReasonNotPerformed(List<CodeableConcept> value)
    • setBodySite

      public void setBodySite(List<CodeableConcept> value)
    • setPerformer

      public void setPerformer(List<ProcedurePerformer> value)
    • setReport

      public void setReport(List<Reference> value)
    • setComplication

      public void setComplication(List<CodeableConcept> value)
    • setFollowUp

      public void setFollowUp(List<CodeableConcept> value)
    • setNotes

      public void setNotes(List<Annotation> value)
    • setFocalDevice

      public void setFocalDevice(List<ProcedureFocalDevice> value)
    • setUsed

      public void setUsed(List<Reference> value)