Package org.hl7.fhir
Class ProtocolDetail
java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.BackboneElement
org.hl7.fhir.ProtocolDetail
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ProtocolDetail extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A definition of behaviors to be taken in particular circumstances, often including conditions, options and other decision points.
Java class for Protocol.Detail complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Protocol.Detail">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="category" type="{http://hl7.org/fhir}ActivityDefinitionCategory" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<choice minOccurs="0">
<element name="timingCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="timingTiming" type="{http://hl7.org/fhir}Timing"/>
</choice>
<element name="location" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="performer" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="product" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="quantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected ActivityDefinitionCategorycategoryprotected CodeableConceptcodeprotected Stringdescriptionprotected Referencelocationprotected java.util.List<Reference>performerprotected Referenceproductprotected SimpleQuantityquantityprotected CodeableConcepttimingCodeableConceptprotected TimingtimingTiming -
Constructor Summary
Constructors Constructor Description ProtocolDetail() -
Method Summary
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)ActivityDefinitionCategorygetCategory()Gets the value of the category property.CodeableConceptgetCode()Gets the value of the code property.StringgetDescription()Gets the value of the description property.ReferencegetLocation()Gets the value of the location property.java.util.List<Reference>getPerformer()Gets the value of the performer property.ReferencegetProduct()Gets the value of the product property.SimpleQuantitygetQuantity()Gets the value of the quantity property.CodeableConceptgetTimingCodeableConcept()Gets the value of the timingCodeableConcept property.TiminggetTimingTiming()Gets the value of the timingTiming property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCategory(ActivityDefinitionCategory value)Sets the value of the category property.voidsetCode(CodeableConcept value)Sets the value of the code property.voidsetDescription(String value)Sets the value of the description property.voidsetLocation(Reference value)Sets the value of the location property.voidsetProduct(Reference value)Sets the value of the product property.voidsetQuantity(SimpleQuantity value)Sets the value of the quantity property.voidsetTimingCodeableConcept(CodeableConcept value)Sets the value of the timingCodeableConcept property.voidsetTimingTiming(Timing value)Sets the value of the timingTiming property.java.lang.StringtoString()ProtocolDetailwithCategory(ActivityDefinitionCategory value)ProtocolDetailwithCode(CodeableConcept value)ProtocolDetailwithDescription(String value)ProtocolDetailwithExtension(java.util.Collection<Extension> values)ProtocolDetailwithExtension(Extension... values)ProtocolDetailwithId(java.lang.String value)ProtocolDetailwithLocation(Reference value)ProtocolDetailwithModifierExtension(java.util.Collection<Extension> values)ProtocolDetailwithModifierExtension(Extension... values)ProtocolDetailwithPerformer(java.util.Collection<Reference> values)ProtocolDetailwithPerformer(Reference... values)ProtocolDetailwithProduct(Reference value)ProtocolDetailwithQuantity(SimpleQuantity value)ProtocolDetailwithTimingCodeableConcept(CodeableConcept value)ProtocolDetailwithTimingTiming(Timing value)
-
Field Details
-
Constructor Details
-
ProtocolDetail
public ProtocolDetail()
-
-
Method Details
-
getCategory
Gets the value of the category property.- Returns:
- possible object is
ActivityDefinitionCategory
-
setCategory
Sets the value of the category property.- Parameters:
value- allowed object isActivityDefinitionCategory
-
getCode
Gets the value of the code property.- Returns:
- possible object is
CodeableConcept
-
setCode
Sets the value of the code property.- Parameters:
value- allowed object isCodeableConcept
-
getTimingCodeableConcept
Gets the value of the timingCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setTimingCodeableConcept
Sets the value of the timingCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getTimingTiming
Gets the value of the timingTiming property.- Returns:
- possible object is
Timing
-
setTimingTiming
Sets the value of the timingTiming property.- Parameters:
value- allowed object isTiming
-
getLocation
Gets the value of the location property.- Returns:
- possible object is
Reference
-
setLocation
Sets the value of the location property.- Parameters:
value- allowed object isReference
-
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
Reference -
getProduct
Gets the value of the product property.- Returns:
- possible object is
Reference
-
setProduct
Sets the value of the product property.- Parameters:
value- allowed object isReference
-
getQuantity
Gets the value of the quantity property.- Returns:
- possible object is
SimpleQuantity
-
setQuantity
Sets the value of the quantity property.- Parameters:
value- allowed object isSimpleQuantity
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
withCategory
-
withCode
-
withTimingCodeableConcept
-
withTimingTiming
-
withLocation
-
withPerformer
-
withPerformer
-
withProduct
-
withQuantity
-
withDescription
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- Overrides:
withIdin classBackboneElement
-
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 classBackboneElement
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equalsin classBackboneElement
-
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 classBackboneElement
-
hashCode
public int hashCode()- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()- Overrides:
toStringin classBackboneElement
-
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 classBackboneElement
-
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 classBackboneElement
-