
Package org.hl7.fhir.dstu3.model
Class StructureMap.StructureMapGroupRuleSourceComponent
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.Element
-
- org.hl7.fhir.dstu3.model.BackboneElement
-
- org.hl7.fhir.dstu3.model.StructureMap.StructureMapGroupRuleSourceComponent
-
- 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:
- StructureMap
public static class StructureMap.StructureMapGroupRuleSourceComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringType
check
FHIRPath expression - must be true or the mapping engine throws an error instead of completing.protected StringType
condition
FHIRPath expression - must be true or the rule does not apply.protected IdType
context
Type or variable this rule applies to.protected Type
defaultValue
A value to use if there is no existing value in the source object.protected StringType
element
Optional field for this source.protected Enumeration<StructureMap.StructureMapSourceListMode>
listMode
How to handle the list mode for this element.protected StringType
max
Specified maximum cardinality for the element - a number or a "*".protected IntegerType
min
Specified minimum cardinality for the element.protected StringType
type
Specified type for the element.protected IdType
variable
Named context for field, if a field is specified.-
Fields inherited from class org.hl7.fhir.dstu3.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description StructureMapGroupRuleSourceComponent()
ConstructorStructureMapGroupRuleSourceComponent(IdType context)
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, 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, 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
-
min
protected IntegerType min
Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.
-
max
protected StringType max
Specified maximum cardinality for the element - a number or a "*". This is optional; if present, it acts an implicit check on the input content (* just serves as documentation; it's the default value).
-
type
protected StringType type
Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.
-
defaultValue
protected Type defaultValue
A value to use if there is no existing value in the source object.
-
element
protected StringType element
Optional field for this source.
-
listMode
protected Enumeration<StructureMap.StructureMapSourceListMode> listMode
How to handle the list mode for this element.
-
condition
protected StringType condition
FHIRPath expression - must be true or the rule does not apply.
-
check
protected StringType check
FHIRPath expression - must be true or the mapping engine throws an error instead of completing.
-
-
Constructor Detail
-
StructureMapGroupRuleSourceComponent
public StructureMapGroupRuleSourceComponent()
Constructor
-
StructureMapGroupRuleSourceComponent
public StructureMapGroupRuleSourceComponent(IdType context)
Constructor
-
-
Method Detail
-
getContextElement
public IdType getContextElement()
- Returns:
context
(Type or variable this rule applies to.). This is the underlying object with id, value and extensions. The accessor "getContext" gives direct access to the value
-
hasContextElement
public boolean hasContextElement()
-
hasContext
public boolean hasContext()
-
setContextElement
public StructureMap.StructureMapGroupRuleSourceComponent setContextElement(IdType value)
- Parameters:
value
-context
(Type or variable this rule applies to.). This is the underlying object with id, value and extensions. The accessor "getContext" gives direct access to the value
-
getContext
public String getContext()
- Returns:
- Type or variable this rule applies to.
-
setContext
public StructureMap.StructureMapGroupRuleSourceComponent setContext(String value)
- Parameters:
value
- Type or variable this rule applies to.
-
getMinElement
public IntegerType getMinElement()
- Returns:
min
(Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the value
-
hasMinElement
public boolean hasMinElement()
-
hasMin
public boolean hasMin()
-
setMinElement
public StructureMap.StructureMapGroupRuleSourceComponent setMinElement(IntegerType value)
- Parameters:
value
-min
(Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the value
-
getMin
public int getMin()
- Returns:
- Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.
-
setMin
public StructureMap.StructureMapGroupRuleSourceComponent setMin(int value)
- Parameters:
value
- Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.
-
getMaxElement
public StringType getMaxElement()
- Returns:
max
(Specified maximum cardinality for the element - a number or a "*". This is optional; if present, it acts an implicit check on the input content (* just serves as documentation; it's the default value).). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the value
-
hasMaxElement
public boolean hasMaxElement()
-
hasMax
public boolean hasMax()
-
setMaxElement
public StructureMap.StructureMapGroupRuleSourceComponent setMaxElement(StringType value)
- Parameters:
value
-max
(Specified maximum cardinality for the element - a number or a "*". This is optional; if present, it acts an implicit check on the input content (* just serves as documentation; it's the default value).). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the value
-
getMax
public String getMax()
- Returns:
- Specified maximum cardinality for the element - a number or a "*". This is optional; if present, it acts an implicit check on the input content (* just serves as documentation; it's the default value).
-
setMax
public StructureMap.StructureMapGroupRuleSourceComponent setMax(String value)
- Parameters:
value
- Specified maximum cardinality for the element - a number or a "*". This is optional; if present, it acts an implicit check on the input content (* just serves as documentation; it's the default value).
-
getTypeElement
public StringType getTypeElement()
- Returns:
type
(Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
hasTypeElement
public boolean hasTypeElement()
-
hasType
public boolean hasType()
-
setTypeElement
public StructureMap.StructureMapGroupRuleSourceComponent setTypeElement(StringType value)
- Parameters:
value
-type
(Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
getType
public String getType()
- Returns:
- Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.
-
setType
public StructureMap.StructureMapGroupRuleSourceComponent setType(String value)
- Parameters:
value
- Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.
-
getDefaultValue
public Type getDefaultValue()
- Returns:
defaultValue
(A value to use if there is no existing value in the source object.)
-
hasDefaultValue
public boolean hasDefaultValue()
-
setDefaultValue
public StructureMap.StructureMapGroupRuleSourceComponent setDefaultValue(Type value)
- Parameters:
value
-defaultValue
(A value to use if there is no existing value in the source object.)
-
getElementElement
public StringType getElementElement()
- Returns:
element
(Optional field for this source.). This is the underlying object with id, value and extensions. The accessor "getElement" gives direct access to the value
-
hasElementElement
public boolean hasElementElement()
-
hasElement
public boolean hasElement()
-
setElementElement
public StructureMap.StructureMapGroupRuleSourceComponent setElementElement(StringType value)
- Parameters:
value
-element
(Optional field for this source.). This is the underlying object with id, value and extensions. The accessor "getElement" gives direct access to the value
-
getElement
public String getElement()
- Returns:
- Optional field for this source.
-
setElement
public StructureMap.StructureMapGroupRuleSourceComponent setElement(String value)
- Parameters:
value
- Optional field for this source.
-
getListModeElement
public Enumeration<StructureMap.StructureMapSourceListMode> getListModeElement()
- Returns:
listMode
(How to handle the list mode for this element.). This is the underlying object with id, value and extensions. The accessor "getListMode" gives direct access to the value
-
hasListModeElement
public boolean hasListModeElement()
-
hasListMode
public boolean hasListMode()
-
setListModeElement
public StructureMap.StructureMapGroupRuleSourceComponent setListModeElement(Enumeration<StructureMap.StructureMapSourceListMode> value)
- Parameters:
value
-listMode
(How to handle the list mode for this element.). This is the underlying object with id, value and extensions. The accessor "getListMode" gives direct access to the value
-
getListMode
public StructureMap.StructureMapSourceListMode getListMode()
- Returns:
- How to handle the list mode for this element.
-
setListMode
public StructureMap.StructureMapGroupRuleSourceComponent setListMode(StructureMap.StructureMapSourceListMode value)
- Parameters:
value
- How to handle the list mode for this element.
-
getVariableElement
public IdType getVariableElement()
- Returns:
variable
(Named context for field, if a field is specified.). This is the underlying object with id, value and extensions. The accessor "getVariable" gives direct access to the value
-
hasVariableElement
public boolean hasVariableElement()
-
hasVariable
public boolean hasVariable()
-
setVariableElement
public StructureMap.StructureMapGroupRuleSourceComponent setVariableElement(IdType value)
- Parameters:
value
-variable
(Named context for field, if a field is specified.). This is the underlying object with id, value and extensions. The accessor "getVariable" gives direct access to the value
-
getVariable
public String getVariable()
- Returns:
- Named context for field, if a field is specified.
-
setVariable
public StructureMap.StructureMapGroupRuleSourceComponent setVariable(String value)
- Parameters:
value
- Named context for field, if a field is specified.
-
getConditionElement
public StringType getConditionElement()
- Returns:
condition
(FHIRPath expression - must be true or the rule does not apply.). This is the underlying object with id, value and extensions. The accessor "getCondition" gives direct access to the value
-
hasConditionElement
public boolean hasConditionElement()
-
hasCondition
public boolean hasCondition()
-
setConditionElement
public StructureMap.StructureMapGroupRuleSourceComponent setConditionElement(StringType value)
- Parameters:
value
-condition
(FHIRPath expression - must be true or the rule does not apply.). This is the underlying object with id, value and extensions. The accessor "getCondition" gives direct access to the value
-
getCondition
public String getCondition()
- Returns:
- FHIRPath expression - must be true or the rule does not apply.
-
setCondition
public StructureMap.StructureMapGroupRuleSourceComponent setCondition(String value)
- Parameters:
value
- FHIRPath expression - must be true or the rule does not apply.
-
getCheckElement
public StringType getCheckElement()
- Returns:
check
(FHIRPath expression - must be true or the mapping engine throws an error instead of completing.). This is the underlying object with id, value and extensions. The accessor "getCheck" gives direct access to the value
-
hasCheckElement
public boolean hasCheckElement()
-
hasCheck
public boolean hasCheck()
-
setCheckElement
public StructureMap.StructureMapGroupRuleSourceComponent setCheckElement(StringType value)
- Parameters:
value
-check
(FHIRPath expression - must be true or the mapping engine throws an error instead of completing.). This is the underlying object with id, value and extensions. The accessor "getCheck" gives direct access to the value
-
getCheck
public String getCheck()
- Returns:
- FHIRPath expression - must be true or the mapping engine throws an error instead of completing.
-
setCheck
public StructureMap.StructureMapGroupRuleSourceComponent setCheck(String value)
- Parameters:
value
- FHIRPath expression - must be true or the mapping engine throws an error instead of completing.
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public StructureMap.StructureMapGroupRuleSourceComponent copy()
- Specified by:
copy
in classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-
-