Package org.hl7.fhir.dstu2016may.model
Class Protocol.ProtocolStepActivityDetailComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.Element
-
- org.hl7.fhir.dstu2016may.model.BackboneElement
-
- org.hl7.fhir.dstu2016may.model.Protocol.ProtocolStepActivityDetailComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- Protocol
public static class Protocol.ProtocolStepActivityDetailComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Enumeration<Protocol.ActivityDefinitionCategory>categoryHigh-level categorization of the type of activity.protected CodeableConceptcodeDetailed description of the type of activity; e.g.protected StringTypedescriptionThis provides a textual description of constraints on the activity occurrence, including relation to other activities.protected ReferencelocationIdentifies the facility where the activity will occur; e.g.protected LocationlocationTargetThe actual object that is the target of the reference (Identifies the facility where the activity will occur; e.g.protected List<Reference>performerIdentifies who's expected to be involved in the activity.protected List<Resource>performerTargetThe actual objects that are the target of the reference (Identifies who's expected to be involved in the activity.)protected ReferenceproductIdentifies the food, drug or other product being consumed or supplied in the activity.protected ResourceproductTargetThe actual object that is the target of the reference (Identifies the food, drug or other product being consumed or supplied in the activity.)protected SimpleQuantityquantityIdentifies the quantity expected to be consumed at once (per dose, per meal, etc.).protected TypetimingThe period, timing or frequency upon which the described activity is to occur.-
Fields inherited from class org.hl7.fhir.dstu2016may.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ProtocolStepActivityDetailComponent()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
category
protected Enumeration<Protocol.ActivityDefinitionCategory> category
High-level categorization of the type of activity.
-
code
protected CodeableConcept code
Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.
-
timing
protected Type timing
The period, timing or frequency upon which the described activity is to occur.
-
location
protected Reference location
Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.
-
locationTarget
protected Location locationTarget
The actual object that is the target of the reference (Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.)
-
performer
protected List<Reference> performer
Identifies who's expected to be involved in the activity.
-
performerTarget
protected List<Resource> performerTarget
The actual objects that are the target of the reference (Identifies who's expected to be involved in the activity.)
-
product
protected Reference product
Identifies the food, drug or other product being consumed or supplied in the activity.
-
productTarget
protected Resource productTarget
The actual object that is the target of the reference (Identifies the food, drug or other product being consumed or supplied in the activity.)
-
quantity
protected SimpleQuantity quantity
Identifies the quantity expected to be consumed at once (per dose, per meal, etc.).
-
description
protected StringType description
This provides a textual description of constraints on the activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.
-
-
Constructor Detail
-
ProtocolStepActivityDetailComponent
public ProtocolStepActivityDetailComponent()
Constructor
-
-
Method Detail
-
getCategoryElement
public Enumeration<Protocol.ActivityDefinitionCategory> getCategoryElement()
- Returns:
category(High-level categorization of the type of activity.). This is the underlying object with id, value and extensions. The accessor "getCategory" gives direct access to the value
-
hasCategoryElement
public boolean hasCategoryElement()
-
hasCategory
public boolean hasCategory()
-
setCategoryElement
public Protocol.ProtocolStepActivityDetailComponent setCategoryElement(Enumeration<Protocol.ActivityDefinitionCategory> value)
- Parameters:
value-category(High-level categorization of the type of activity.). This is the underlying object with id, value and extensions. The accessor "getCategory" gives direct access to the value
-
getCategory
public Protocol.ActivityDefinitionCategory getCategory()
- Returns:
- High-level categorization of the type of activity.
-
setCategory
public Protocol.ProtocolStepActivityDetailComponent setCategory(Protocol.ActivityDefinitionCategory value)
- Parameters:
value- High-level categorization of the type of activity.
-
getCode
public CodeableConcept getCode()
- Returns:
code(Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.)
-
hasCode
public boolean hasCode()
-
setCode
public Protocol.ProtocolStepActivityDetailComponent setCode(CodeableConcept value)
- Parameters:
value-code(Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.)
-
getTiming
public Type getTiming()
- Returns:
timing(The period, timing or frequency upon which the described activity is to occur.)
-
getTimingCodeableConcept
public CodeableConcept getTimingCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
timing(The period, timing or frequency upon which the described activity is to occur.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingCodeableConcept
public boolean hasTimingCodeableConcept()
-
getTimingTiming
public Timing getTimingTiming() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
timing(The period, timing or frequency upon which the described activity is to occur.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingTiming
public boolean hasTimingTiming()
-
hasTiming
public boolean hasTiming()
-
setTiming
public Protocol.ProtocolStepActivityDetailComponent setTiming(Type value)
- Parameters:
value-timing(The period, timing or frequency upon which the described activity is to occur.)
-
getLocation
public Reference getLocation()
- Returns:
location(Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.)
-
hasLocation
public boolean hasLocation()
-
setLocation
public Protocol.ProtocolStepActivityDetailComponent setLocation(Reference value)
- Parameters:
value-location(Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.)
-
getLocationTarget
public Location getLocationTarget()
- Returns:
locationThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.)
-
setLocationTarget
public Protocol.ProtocolStepActivityDetailComponent setLocationTarget(Location value)
- Parameters:
value-locationThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.)
-
getPerformer
public List<Reference> getPerformer()
- Returns:
performer(Identifies who's expected to be involved in the activity.)
-
hasPerformer
public boolean hasPerformer()
-
addPerformer
public Reference addPerformer()
- Returns:
performer(Identifies who's expected to be involved in the activity.)
-
addPerformer
public Protocol.ProtocolStepActivityDetailComponent addPerformer(Reference t)
-
getPerformerTarget
public List<Resource> getPerformerTarget()
- Returns:
performer(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Identifies who's expected to be involved in the activity.)
-
getProduct
public Reference getProduct()
- Returns:
product(Identifies the food, drug or other product being consumed or supplied in the activity.)
-
hasProduct
public boolean hasProduct()
-
setProduct
public Protocol.ProtocolStepActivityDetailComponent setProduct(Reference value)
- Parameters:
value-product(Identifies the food, drug or other product being consumed or supplied in the activity.)
-
getProductTarget
public Resource getProductTarget()
- Returns:
productThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies the food, drug or other product being consumed or supplied in the activity.)
-
setProductTarget
public Protocol.ProtocolStepActivityDetailComponent setProductTarget(Resource value)
- Parameters:
value-productThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies the food, drug or other product being consumed or supplied in the activity.)
-
getQuantity
public SimpleQuantity getQuantity()
- Returns:
quantity(Identifies the quantity expected to be consumed at once (per dose, per meal, etc.).)
-
hasQuantity
public boolean hasQuantity()
-
setQuantity
public Protocol.ProtocolStepActivityDetailComponent setQuantity(SimpleQuantity value)
- Parameters:
value-quantity(Identifies the quantity expected to be consumed at once (per dose, per meal, etc.).)
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
description(This provides a textual description of constraints on the activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public Protocol.ProtocolStepActivityDetailComponent setDescriptionElement(StringType value)
- Parameters:
value-description(This provides a textual description of constraints on the activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- This provides a textual description of constraints on the activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.
-
setDescription
public Protocol.ProtocolStepActivityDetailComponent setDescription(String value)
- Parameters:
value- This provides a textual description of constraints on the activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classBackboneElement- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Protocol.ProtocolStepActivityDetailComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-