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
FieldsModifier and TypeFieldDescriptionprotected ActivityDefinitionCategoryprotected CodeableConceptprotected Stringprotected Referenceprotected Referenceprotected SimpleQuantityprotected CodeableConceptprotected TimingFields inherited from class org.hl7.fhir.BackboneElement
modifierExtension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the category property.getCode()Gets the value of the code property.Gets the value of the description property.Gets the value of the location property.Gets the value of the performer property.Gets the value of the product property.Gets the value of the quantity property.Gets the value of the timingCodeableConcept property.Gets the value of the timingTiming property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets 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.voidsetPerformer(List<Reference> value) voidsetProduct(Reference value) Sets the value of the product property.voidsetQuantity(SimpleQuantity value) Sets the value of the quantity property.voidSets the value of the timingCodeableConcept property.voidsetTimingTiming(Timing value) Sets the value of the timingTiming property.toString()withCode(CodeableConcept value) withDescription(String value) withExtension(Collection<Extension> values) withExtension(Extension... values) withLocation(Reference value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPerformer(Collection<Reference> values) withPerformer(Reference... values) withProduct(Reference value) withQuantity(SimpleQuantity value) withTimingTiming(Timing value) Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
category
-
code
-
timingCodeableConcept
-
timingTiming
-
location
-
performer
-
product
-
quantity
-
description
-
-
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 Jakarta XML Binding 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, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
- 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
- Overrides:
toStringin classBackboneElement
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
setPerformer
-