Class ProcedureRequest
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.ProcedureRequest
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ProcedureRequest 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 ProcedureRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ProcedureRequest"> <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="code" type="{http://hl7.org/fhir}CodeableConcept"/> <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> <choice minOccurs="0"> <element name="scheduledDateTime" type="{http://hl7.org/fhir}dateTime"/> <element name="scheduledPeriod" type="{http://hl7.org/fhir}Period"/> <element name="scheduledTiming" type="{http://hl7.org/fhir}Timing"/> </choice> <element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="performer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="status" type="{http://hl7.org/fhir}ProcedureRequestStatus" minOccurs="0"/> <element name="notes" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/> <choice minOccurs="0"> <element name="asNeededBoolean" type="{http://hl7.org/fhir}boolean"/> <element name="asNeededCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/> </choice> <element name="orderedOn" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/> <element name="orderer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="priority" type="{http://hl7.org/fhir}ProcedureRequestPriority" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanasNeededBooleanprotected CodeableConceptasNeededCodeableConceptprotected java.util.List<CodeableConcept>bodySiteprotected CodeableConceptcodeprotected Referenceencounterprotected java.util.List<Identifier>identifierprotected java.util.List<Annotation>notesprotected DateTimeorderedOnprotected Referenceordererprotected Referenceperformerprotected ProcedureRequestPrioritypriorityprotected CodeableConceptreasonCodeableConceptprotected ReferencereasonReferenceprotected DateTimescheduledDateTimeprotected PeriodscheduledPeriodprotected TimingscheduledTimingprotected ProcedureRequestStatusstatusprotected Referencesubject-
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 ProcedureRequest()
-
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)BooleangetAsNeededBoolean()Gets the value of the asNeededBoolean property.CodeableConceptgetAsNeededCodeableConcept()Gets the value of the asNeededCodeableConcept property.java.util.List<CodeableConcept>getBodySite()Gets the value of the bodySite property.CodeableConceptgetCode()Gets the value of the code property.ReferencegetEncounter()Gets the value of the encounter property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.java.util.List<Annotation>getNotes()Gets the value of the notes property.DateTimegetOrderedOn()Gets the value of the orderedOn property.ReferencegetOrderer()Gets the value of the orderer property.ReferencegetPerformer()Gets the value of the performer property.ProcedureRequestPrioritygetPriority()Gets the value of the priority property.CodeableConceptgetReasonCodeableConcept()Gets the value of the reasonCodeableConcept property.ReferencegetReasonReference()Gets the value of the reasonReference property.DateTimegetScheduledDateTime()Gets the value of the scheduledDateTime property.PeriodgetScheduledPeriod()Gets the value of the scheduledPeriod property.TiminggetScheduledTiming()Gets the value of the scheduledTiming property.ProcedureRequestStatusgetStatus()Gets the value of the status property.ReferencegetSubject()Gets the value of the subject property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAsNeededBoolean(Boolean value)Sets the value of the asNeededBoolean property.voidsetAsNeededCodeableConcept(CodeableConcept value)Sets the value of the asNeededCodeableConcept property.voidsetCode(CodeableConcept value)Sets the value of the code property.voidsetEncounter(Reference value)Sets the value of the encounter property.voidsetOrderedOn(DateTime value)Sets the value of the orderedOn property.voidsetOrderer(Reference value)Sets the value of the orderer property.voidsetPerformer(Reference value)Sets the value of the performer property.voidsetPriority(ProcedureRequestPriority value)Sets the value of the priority property.voidsetReasonCodeableConcept(CodeableConcept value)Sets the value of the reasonCodeableConcept property.voidsetReasonReference(Reference value)Sets the value of the reasonReference property.voidsetScheduledDateTime(DateTime value)Sets the value of the scheduledDateTime property.voidsetScheduledPeriod(Period value)Sets the value of the scheduledPeriod property.voidsetScheduledTiming(Timing value)Sets the value of the scheduledTiming property.voidsetStatus(ProcedureRequestStatus value)Sets the value of the status property.voidsetSubject(Reference value)Sets the value of the subject property.java.lang.StringtoString()ProcedureRequestwithAsNeededBoolean(Boolean value)ProcedureRequestwithAsNeededCodeableConcept(CodeableConcept value)ProcedureRequestwithBodySite(java.util.Collection<CodeableConcept> values)ProcedureRequestwithBodySite(CodeableConcept... values)ProcedureRequestwithCode(CodeableConcept value)ProcedureRequestwithContained(java.util.Collection<ResourceContainer> values)ProcedureRequestwithContained(ResourceContainer... values)ProcedureRequestwithEncounter(Reference value)ProcedureRequestwithExtension(java.util.Collection<Extension> values)ProcedureRequestwithExtension(Extension... values)ProcedureRequestwithId(Id value)ProcedureRequestwithIdentifier(java.util.Collection<Identifier> values)ProcedureRequestwithIdentifier(Identifier... values)ProcedureRequestwithImplicitRules(Uri value)ProcedureRequestwithLanguage(Code value)ProcedureRequestwithMeta(Meta value)ProcedureRequestwithModifierExtension(java.util.Collection<Extension> values)ProcedureRequestwithModifierExtension(Extension... values)ProcedureRequestwithNotes(java.util.Collection<Annotation> values)ProcedureRequestwithNotes(Annotation... values)ProcedureRequestwithOrderedOn(DateTime value)ProcedureRequestwithOrderer(Reference value)ProcedureRequestwithPerformer(Reference value)ProcedureRequestwithPriority(ProcedureRequestPriority value)ProcedureRequestwithReasonCodeableConcept(CodeableConcept value)ProcedureRequestwithReasonReference(Reference value)ProcedureRequestwithScheduledDateTime(DateTime value)ProcedureRequestwithScheduledPeriod(Period value)ProcedureRequestwithScheduledTiming(Timing value)ProcedureRequestwithStatus(ProcedureRequestStatus value)ProcedureRequestwithSubject(Reference value)ProcedureRequestwithText(Narrative value)-
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
-
code
protected CodeableConcept code
-
bodySite
protected java.util.List<CodeableConcept> bodySite
-
reasonCodeableConcept
protected CodeableConcept reasonCodeableConcept
-
reasonReference
protected Reference reasonReference
-
scheduledDateTime
protected DateTime scheduledDateTime
-
scheduledPeriod
protected Period scheduledPeriod
-
scheduledTiming
protected Timing scheduledTiming
-
encounter
protected Reference encounter
-
performer
protected Reference performer
-
status
protected ProcedureRequestStatus status
-
notes
protected java.util.List<Annotation> notes
-
asNeededBoolean
protected Boolean asNeededBoolean
-
asNeededCodeableConcept
protected CodeableConcept asNeededCodeableConcept
-
orderedOn
protected DateTime orderedOn
-
orderer
protected Reference orderer
-
priority
protected ProcedureRequestPriority priority
-
-
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
-
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
-
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
-
getScheduledDateTime
public DateTime getScheduledDateTime()
Gets the value of the scheduledDateTime property.- Returns:
- possible object is
DateTime
-
setScheduledDateTime
public void setScheduledDateTime(DateTime value)
Sets the value of the scheduledDateTime property.- Parameters:
value- allowed object isDateTime
-
getScheduledPeriod
public Period getScheduledPeriod()
Gets the value of the scheduledPeriod property.- Returns:
- possible object is
Period
-
setScheduledPeriod
public void setScheduledPeriod(Period value)
Sets the value of the scheduledPeriod property.- Parameters:
value- allowed object isPeriod
-
getScheduledTiming
public Timing getScheduledTiming()
Gets the value of the scheduledTiming property.- Returns:
- possible object is
Timing
-
setScheduledTiming
public void setScheduledTiming(Timing value)
Sets the value of the scheduledTiming property.- Parameters:
value- allowed object isTiming
-
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
-
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 isReference
-
getStatus
public ProcedureRequestStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
ProcedureRequestStatus
-
setStatus
public void setStatus(ProcedureRequestStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isProcedureRequestStatus
-
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
-
getAsNeededBoolean
public Boolean getAsNeededBoolean()
Gets the value of the asNeededBoolean property.- Returns:
- possible object is
Boolean
-
setAsNeededBoolean
public void setAsNeededBoolean(Boolean value)
Sets the value of the asNeededBoolean property.- Parameters:
value- allowed object isBoolean
-
getAsNeededCodeableConcept
public CodeableConcept getAsNeededCodeableConcept()
Gets the value of the asNeededCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setAsNeededCodeableConcept
public void setAsNeededCodeableConcept(CodeableConcept value)
Sets the value of the asNeededCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getOrderedOn
public DateTime getOrderedOn()
Gets the value of the orderedOn property.- Returns:
- possible object is
DateTime
-
setOrderedOn
public void setOrderedOn(DateTime value)
Sets the value of the orderedOn property.- Parameters:
value- allowed object isDateTime
-
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 isReference
-
getPriority
public ProcedureRequestPriority getPriority()
Gets the value of the priority property.- Returns:
- possible object is
ProcedureRequestPriority
-
setPriority
public void setPriority(ProcedureRequestPriority value)
Sets the value of the priority property.- Parameters:
value- allowed object isProcedureRequestPriority
-
withIdentifier
public ProcedureRequest withIdentifier(Identifier... values)
-
withIdentifier
public ProcedureRequest withIdentifier(java.util.Collection<Identifier> values)
-
withSubject
public ProcedureRequest withSubject(Reference value)
-
withCode
public ProcedureRequest withCode(CodeableConcept value)
-
withBodySite
public ProcedureRequest withBodySite(CodeableConcept... values)
-
withBodySite
public ProcedureRequest withBodySite(java.util.Collection<CodeableConcept> values)
-
withReasonCodeableConcept
public ProcedureRequest withReasonCodeableConcept(CodeableConcept value)
-
withReasonReference
public ProcedureRequest withReasonReference(Reference value)
-
withScheduledDateTime
public ProcedureRequest withScheduledDateTime(DateTime value)
-
withScheduledPeriod
public ProcedureRequest withScheduledPeriod(Period value)
-
withScheduledTiming
public ProcedureRequest withScheduledTiming(Timing value)
-
withEncounter
public ProcedureRequest withEncounter(Reference value)
-
withPerformer
public ProcedureRequest withPerformer(Reference value)
-
withStatus
public ProcedureRequest withStatus(ProcedureRequestStatus value)
-
withNotes
public ProcedureRequest withNotes(Annotation... values)
-
withNotes
public ProcedureRequest withNotes(java.util.Collection<Annotation> values)
-
withAsNeededBoolean
public ProcedureRequest withAsNeededBoolean(Boolean value)
-
withAsNeededCodeableConcept
public ProcedureRequest withAsNeededCodeableConcept(CodeableConcept value)
-
withOrderedOn
public ProcedureRequest withOrderedOn(DateTime value)
-
withOrderer
public ProcedureRequest withOrderer(Reference value)
-
withPriority
public ProcedureRequest withPriority(ProcedureRequestPriority value)
-
withText
public ProcedureRequest withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public ProcedureRequest withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public ProcedureRequest withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public ProcedureRequest withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public ProcedureRequest withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public ProcedureRequest withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public ProcedureRequest withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public ProcedureRequest withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public ProcedureRequest withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public ProcedureRequest withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public ProcedureRequest 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
-
-