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-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ProtocolDetail()
-
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)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)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
category
protected ActivityDefinitionCategory category
-
code
protected CodeableConcept code
-
timingCodeableConcept
protected CodeableConcept timingCodeableConcept
-
timingTiming
protected Timing timingTiming
-
location
protected Reference location
-
performer
protected java.util.List<Reference> performer
-
product
protected Reference product
-
quantity
protected SimpleQuantity quantity
-
description
protected String description
-
-
Method Detail
-
getCategory
public ActivityDefinitionCategory getCategory()
Gets the value of the category property.- Returns:
- possible object is
ActivityDefinitionCategory
-
setCategory
public void setCategory(ActivityDefinitionCategory value)
Sets the value of the category property.- Parameters:
value- allowed object isActivityDefinitionCategory
-
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
-
getTimingCodeableConcept
public CodeableConcept getTimingCodeableConcept()
Gets the value of the timingCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setTimingCodeableConcept
public void setTimingCodeableConcept(CodeableConcept value)
Sets the value of the timingCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getTimingTiming
public Timing getTimingTiming()
Gets the value of the timingTiming property.- Returns:
- possible object is
Timing
-
setTimingTiming
public void setTimingTiming(Timing value)
Sets the value of the timingTiming property.- Parameters:
value- allowed object isTiming
-
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
-
getPerformer
public java.util.List<Reference> 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
public Reference getProduct()
Gets the value of the product property.- Returns:
- possible object is
Reference
-
setProduct
public void setProduct(Reference value)
Sets the value of the product property.- Parameters:
value- allowed object isReference
-
getQuantity
public SimpleQuantity getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
SimpleQuantity
-
setQuantity
public void setQuantity(SimpleQuantity value)
Sets the value of the quantity property.- Parameters:
value- allowed object isSimpleQuantity
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
withCategory
public ProtocolDetail withCategory(ActivityDefinitionCategory value)
-
withCode
public ProtocolDetail withCode(CodeableConcept value)
-
withTimingCodeableConcept
public ProtocolDetail withTimingCodeableConcept(CodeableConcept value)
-
withTimingTiming
public ProtocolDetail withTimingTiming(Timing value)
-
withLocation
public ProtocolDetail withLocation(Reference value)
-
withPerformer
public ProtocolDetail withPerformer(Reference... values)
-
withPerformer
public ProtocolDetail withPerformer(java.util.Collection<Reference> values)
-
withProduct
public ProtocolDetail withProduct(Reference value)
-
withQuantity
public ProtocolDetail withQuantity(SimpleQuantity value)
-
withDescription
public ProtocolDetail withDescription(String value)
-
withModifierExtension
public ProtocolDetail withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public ProtocolDetail withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public ProtocolDetail withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public ProtocolDetail withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public ProtocolDetail withId(java.lang.String value)
- 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
-
-