Package org.hl7.fhir.dstu3.model
Class DataRequirement.DataRequirementCodeFilterComponent
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.Element
-
- org.hl7.fhir.dstu3.model.DataRequirement.DataRequirementCodeFilterComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatypeElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions
- Enclosing class:
- DataRequirement
public static class DataRequirement.DataRequirementCodeFilterComponent extends Element implements org.hl7.fhir.instance.model.api.IBaseDatatypeElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringTypepathThe code-valued attribute of the filter.protected List<CodeType>valueCodeThe codes for the code filter.protected List<CodeableConcept>valueCodeableConceptThe CodeableConcepts for the code filter.protected List<Coding>valueCodingThe Codings for the code filter.protected TypevalueSetThe valueset for the code filter.
-
Constructor Summary
Constructors Constructor Description DataRequirementCodeFilterComponent()ConstructorDataRequirementCodeFilterComponent(StringType path)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
path
protected StringType path
The code-valued attribute of the filter. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.
-
valueSet
protected Type valueSet
The valueset for the code filter. The valueSet and value elements are exclusive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.
-
valueCode
protected List<CodeType> valueCode
The codes for the code filter. Only one of valueSet, valueCode, valueCoding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes.
-
valueCoding
protected List<Coding> valueCoding
The Codings for the code filter. Only one of valueSet, valueCode, valueConding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified Codings.
-
valueCodeableConcept
protected List<CodeableConcept> valueCodeableConcept
The CodeableConcepts for the code filter. Only one of valueSet, valueCode, valueConding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified CodeableConcepts.
-
-
Constructor Detail
-
DataRequirementCodeFilterComponent
public DataRequirementCodeFilterComponent()
Constructor
-
DataRequirementCodeFilterComponent
public DataRequirementCodeFilterComponent(StringType path)
Constructor
-
-
Method Detail
-
getPathElement
public StringType getPathElement()
- Returns:
path(The code-valued attribute of the filter. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
-
hasPathElement
public boolean hasPathElement()
-
hasPath
public boolean hasPath()
-
setPathElement
public DataRequirement.DataRequirementCodeFilterComponent setPathElement(StringType value)
- Parameters:
value-path(The code-valued attribute of the filter. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
-
getPath
public String getPath()
- Returns:
- The code-valued attribute of the filter. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.
-
setPath
public DataRequirement.DataRequirementCodeFilterComponent setPath(String value)
- Parameters:
value- The code-valued attribute of the filter. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.
-
getValueSet
public Type getValueSet()
- Returns:
valueSet(The valueset for the code filter. The valueSet and value elements are exclusive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.)
-
getValueSetStringType
public StringType getValueSetStringType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
valueSet(The valueset for the code filter. The valueSet and value elements are exclusive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueSetStringType
public boolean hasValueSetStringType()
-
getValueSetReference
public Reference getValueSetReference() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
valueSet(The valueset for the code filter. The valueSet and value elements are exclusive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueSetReference
public boolean hasValueSetReference()
-
hasValueSet
public boolean hasValueSet()
-
setValueSet
public DataRequirement.DataRequirementCodeFilterComponent setValueSet(Type value) throws org.hl7.fhir.exceptions.FHIRFormatError
- Parameters:
value-valueSet(The valueset for the code filter. The valueSet and value elements are exclusive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
getValueCode
public List<CodeType> getValueCode()
- Returns:
valueCode(The codes for the code filter. Only one of valueSet, valueCode, valueCoding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes.)
-
setValueCode
public DataRequirement.DataRequirementCodeFilterComponent setValueCode(List<CodeType> theValueCode)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasValueCode
public boolean hasValueCode()
-
addValueCodeElement
public CodeType addValueCodeElement()
- Returns:
valueCode(The codes for the code filter. Only one of valueSet, valueCode, valueCoding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes.)
-
addValueCode
public DataRequirement.DataRequirementCodeFilterComponent addValueCode(String value)
- Parameters:
value-valueCode(The codes for the code filter. Only one of valueSet, valueCode, valueCoding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes.)
-
hasValueCode
public boolean hasValueCode(String value)
- Parameters:
value-valueCode(The codes for the code filter. Only one of valueSet, valueCode, valueCoding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes.)
-
getValueCoding
public List<Coding> getValueCoding()
- Returns:
valueCoding(The Codings for the code filter. Only one of valueSet, valueCode, valueConding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified Codings.)
-
setValueCoding
public DataRequirement.DataRequirementCodeFilterComponent setValueCoding(List<Coding> theValueCoding)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasValueCoding
public boolean hasValueCoding()
-
addValueCoding
public Coding addValueCoding()
-
addValueCoding
public DataRequirement.DataRequirementCodeFilterComponent addValueCoding(Coding t)
-
getValueCodingFirstRep
public Coding getValueCodingFirstRep()
- Returns:
- The first repetition of repeating field
valueCoding, creating it if it does not already exist
-
getValueCodeableConcept
public List<CodeableConcept> getValueCodeableConcept()
- Returns:
valueCodeableConcept(The CodeableConcepts for the code filter. Only one of valueSet, valueCode, valueConding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified CodeableConcepts.)
-
setValueCodeableConcept
public DataRequirement.DataRequirementCodeFilterComponent setValueCodeableConcept(List<CodeableConcept> theValueCodeableConcept)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasValueCodeableConcept
public boolean hasValueCodeableConcept()
-
addValueCodeableConcept
public CodeableConcept addValueCodeableConcept()
-
addValueCodeableConcept
public DataRequirement.DataRequirementCodeFilterComponent addValueCodeableConcept(CodeableConcept t)
-
getValueCodeableConceptFirstRep
public CodeableConcept getValueCodeableConceptFirstRep()
- Returns:
- The first repetition of repeating field
valueCodeableConcept, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public DataRequirement.DataRequirementCodeFilterComponent copy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classElement
-
isEmpty
public boolean isEmpty()
-
-