Class Procedure
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.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 extensionsJava 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 Summary
Fields Modifier and Type Field Description protected java.util.List<CodeableConcept>bodySiteprotected CodeableConceptcategoryprotected CodeableConceptcodeprotected java.util.List<CodeableConcept>complicationprotected Referenceencounterprotected java.util.List<ProcedureFocalDevice>focalDeviceprotected java.util.List<CodeableConcept>followUpprotected java.util.List<Identifier>identifierprotected Referencelocationprotected java.util.List<Annotation>notesprotected BooleannotPerformedprotected CodeableConceptoutcomeprotected DateTimeperformedDateTimeprotected PeriodperformedPeriodprotected java.util.List<ProcedurePerformer>performerprotected CodeableConceptreasonCodeableConceptprotected java.util.List<CodeableConcept>reasonNotPerformedprotected ReferencereasonReferenceprotected java.util.List<Reference>reportprotected Referencerequestprotected ProcedureStatusstatusprotected Referencesubjectprotected java.util.List<Reference>used-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Procedure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(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)java.util.List<CodeableConcept>getBodySite()Gets the value of the bodySite property.CodeableConceptgetCategory()Gets the value of the category property.CodeableConceptgetCode()Gets the value of the code property.java.util.List<CodeableConcept>getComplication()Gets the value of the complication property.ReferencegetEncounter()Gets the value of the encounter property.java.util.List<ProcedureFocalDevice>getFocalDevice()Gets the value of the focalDevice property.java.util.List<CodeableConcept>getFollowUp()Gets the value of the followUp property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.ReferencegetLocation()Gets the value of the location property.java.util.List<Annotation>getNotes()Gets the value of the notes property.BooleangetNotPerformed()Gets the value of the notPerformed property.CodeableConceptgetOutcome()Gets the value of the outcome property.DateTimegetPerformedDateTime()Gets the value of the performedDateTime property.PeriodgetPerformedPeriod()Gets the value of the performedPeriod property.java.util.List<ProcedurePerformer>getPerformer()Gets the value of the performer property.CodeableConceptgetReasonCodeableConcept()Gets the value of the reasonCodeableConcept property.java.util.List<CodeableConcept>getReasonNotPerformed()Gets the value of the reasonNotPerformed property.ReferencegetReasonReference()Gets the value of the reasonReference property.java.util.List<Reference>getReport()Gets the value of the report property.ReferencegetRequest()Gets the value of the request property.ProcedureStatusgetStatus()Gets the value of the status property.ReferencegetSubject()Gets the value of the subject property.java.util.List<Reference>getUsed()Gets the value of the used property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCategory(CodeableConcept value)Sets the value of the category property.voidsetCode(CodeableConcept value)Sets the value of the code property.voidsetEncounter(Reference value)Sets the value of the encounter property.voidsetLocation(Reference value)Sets the value of the location property.voidsetNotPerformed(Boolean value)Sets the value of the notPerformed property.voidsetOutcome(CodeableConcept value)Sets the value of the outcome property.voidsetPerformedDateTime(DateTime value)Sets the value of the performedDateTime property.voidsetPerformedPeriod(Period value)Sets the value of the performedPeriod property.voidsetReasonCodeableConcept(CodeableConcept value)Sets the value of the reasonCodeableConcept property.voidsetReasonReference(Reference value)Sets the value of the reasonReference property.voidsetRequest(Reference value)Sets the value of the request property.voidsetStatus(ProcedureStatus value)Sets the value of the status property.voidsetSubject(Reference value)Sets the value of the subject property.java.lang.StringtoString()ProcedurewithBodySite(java.util.Collection<CodeableConcept> values)ProcedurewithBodySite(CodeableConcept... values)ProcedurewithCategory(CodeableConcept value)ProcedurewithCode(CodeableConcept value)ProcedurewithComplication(java.util.Collection<CodeableConcept> values)ProcedurewithComplication(CodeableConcept... values)ProcedurewithContained(java.util.Collection<ResourceContainer> values)ProcedurewithContained(ResourceContainer... values)ProcedurewithEncounter(Reference value)ProcedurewithExtension(java.util.Collection<Extension> values)ProcedurewithExtension(Extension... values)ProcedurewithFocalDevice(java.util.Collection<ProcedureFocalDevice> values)ProcedurewithFocalDevice(ProcedureFocalDevice... values)ProcedurewithFollowUp(java.util.Collection<CodeableConcept> values)ProcedurewithFollowUp(CodeableConcept... values)ProcedurewithId(Id value)ProcedurewithIdentifier(java.util.Collection<Identifier> values)ProcedurewithIdentifier(Identifier... values)ProcedurewithImplicitRules(Uri value)ProcedurewithLanguage(Code value)ProcedurewithLocation(Reference value)ProcedurewithMeta(Meta value)ProcedurewithModifierExtension(java.util.Collection<Extension> values)ProcedurewithModifierExtension(Extension... values)ProcedurewithNotes(java.util.Collection<Annotation> values)ProcedurewithNotes(Annotation... values)ProcedurewithNotPerformed(Boolean value)ProcedurewithOutcome(CodeableConcept value)ProcedurewithPerformedDateTime(DateTime value)ProcedurewithPerformedPeriod(Period value)ProcedurewithPerformer(java.util.Collection<ProcedurePerformer> values)ProcedurewithPerformer(ProcedurePerformer... values)ProcedurewithReasonCodeableConcept(CodeableConcept value)ProcedurewithReasonNotPerformed(java.util.Collection<CodeableConcept> values)ProcedurewithReasonNotPerformed(CodeableConcept... values)ProcedurewithReasonReference(Reference value)ProcedurewithReport(java.util.Collection<Reference> values)ProcedurewithReport(Reference... values)ProcedurewithRequest(Reference value)ProcedurewithStatus(ProcedureStatus value)ProcedurewithSubject(Reference value)ProcedurewithText(Narrative value)ProcedurewithUsed(java.util.Collection<Reference> values)ProcedurewithUsed(Reference... values)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
subject
protected Reference subject
-
status
protected ProcedureStatus status
-
category
protected CodeableConcept category
-
code
protected CodeableConcept code
-
notPerformed
protected Boolean notPerformed
-
reasonNotPerformed
protected java.util.List<CodeableConcept> reasonNotPerformed
-
bodySite
protected java.util.List<CodeableConcept> bodySite
-
reasonCodeableConcept
protected CodeableConcept reasonCodeableConcept
-
reasonReference
protected Reference reasonReference
-
performer
protected java.util.List<ProcedurePerformer> performer
-
performedDateTime
protected DateTime performedDateTime
-
performedPeriod
protected Period performedPeriod
-
encounter
protected Reference encounter
-
location
protected Reference location
-
outcome
protected CodeableConcept outcome
-
report
protected java.util.List<Reference> report
-
complication
protected java.util.List<CodeableConcept> complication
-
followUp
protected java.util.List<CodeableConcept> followUp
-
request
protected Reference request
-
notes
protected java.util.List<Annotation> notes
-
focalDevice
protected java.util.List<ProcedureFocalDevice> focalDevice
-
used
protected java.util.List<Reference> used
-
-
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
setmethod 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 isReference
-
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 isProcedureStatus
-
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 isCodeableConcept
-
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 isCodeableConcept
-
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 isBoolean
-
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
setmethod 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
setmethod 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 isCodeableConcept
-
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 isReference
-
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
setmethod 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 isDateTime
-
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 isPeriod
-
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 isReference
-
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 isReference
-
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 isCodeableConcept
-
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
setmethod 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
setmethod 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
setmethod 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 isReference
-
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
setmethod 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
setmethod 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
setmethod 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(java.util.Collection<Identifier> values)
-
withStatus
public Procedure withStatus(ProcedureStatus value)
-
withCategory
public Procedure withCategory(CodeableConcept value)
-
withCode
public Procedure withCode(CodeableConcept value)
-
withReasonNotPerformed
public Procedure withReasonNotPerformed(CodeableConcept... values)
-
withReasonNotPerformed
public Procedure withReasonNotPerformed(java.util.Collection<CodeableConcept> values)
-
withBodySite
public Procedure withBodySite(CodeableConcept... values)
-
withBodySite
public Procedure withBodySite(java.util.Collection<CodeableConcept> values)
-
withReasonCodeableConcept
public Procedure withReasonCodeableConcept(CodeableConcept value)
-
withPerformer
public Procedure withPerformer(ProcedurePerformer... values)
-
withPerformer
public Procedure withPerformer(java.util.Collection<ProcedurePerformer> values)
-
withOutcome
public Procedure withOutcome(CodeableConcept value)
-
withComplication
public Procedure withComplication(CodeableConcept... values)
-
withComplication
public Procedure withComplication(java.util.Collection<CodeableConcept> values)
-
withFollowUp
public Procedure withFollowUp(CodeableConcept... values)
-
withFollowUp
public Procedure withFollowUp(java.util.Collection<CodeableConcept> values)
-
withNotes
public Procedure withNotes(Annotation... values)
-
withNotes
public Procedure withNotes(java.util.Collection<Annotation> values)
-
withFocalDevice
public Procedure withFocalDevice(ProcedureFocalDevice... values)
-
withFocalDevice
public Procedure withFocalDevice(java.util.Collection<ProcedureFocalDevice> values)
-
withText
public Procedure withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public Procedure withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public Procedure withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public Procedure withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public Procedure withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public Procedure withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public Procedure withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public Procedure withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public Procedure withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public Procedure withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public Procedure withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
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:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
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:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-