Package org.hl7.fhir.r4.model
Class ParameterDefinition
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.Type
-
- org.hl7.fhir.r4.model.ParameterDefinition
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.ICompositeType
public class ParameterDefinition extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParameterDefinition.ParameterUsestatic classParameterDefinition.ParameterUseEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected StringTypedocumentationA brief discussion of what the parameter is for and how it is used by the module.protected StringTypemaxThe maximum number of times this element is permitted to appear in the request or response.protected IntegerTypeminThe minimum number of times this parameter SHALL appear in the request or response.protected CodeTypenameThe name of the parameter used to allow access to the value of the parameter in evaluation contexts.protected CanonicalTypeprofileIf specified, this indicates a profile that the input data must conform to, or that the output data will conform to.protected CodeTypetypeThe type of the parameter.protected Enumeration<ParameterDefinition.ParameterUse>useWhether the parameter is input or output for the module.
-
Constructor Summary
Constructors Constructor Description ParameterDefinition()ConstructorParameterDefinition(Enumeration<ParameterDefinition.ParameterUse> use, CodeType type)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, 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
-
name
protected CodeType name
The name of the parameter used to allow access to the value of the parameter in evaluation contexts.
-
use
protected Enumeration<ParameterDefinition.ParameterUse> use
Whether the parameter is input or output for the module.
-
min
protected IntegerType min
The minimum number of times this parameter SHALL appear in the request or response.
-
max
protected StringType max
The maximum number of times this element is permitted to appear in the request or response.
-
documentation
protected StringType documentation
A brief discussion of what the parameter is for and how it is used by the module.
-
profile
protected CanonicalType profile
If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.
-
-
Constructor Detail
-
ParameterDefinition
public ParameterDefinition()
Constructor
-
ParameterDefinition
public ParameterDefinition(Enumeration<ParameterDefinition.ParameterUse> use, CodeType type)
Constructor
-
-
Method Detail
-
getNameElement
public CodeType getNameElement()
- Returns:
name(The name of the parameter used to allow access to the value of the parameter in evaluation contexts.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
public boolean hasNameElement()
-
hasName
public boolean hasName()
-
setNameElement
public ParameterDefinition setNameElement(CodeType value)
- Parameters:
value-name(The name of the parameter used to allow access to the value of the parameter in evaluation contexts.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
public String getName()
- Returns:
- The name of the parameter used to allow access to the value of the parameter in evaluation contexts.
-
setName
public ParameterDefinition setName(String value)
- Parameters:
value- The name of the parameter used to allow access to the value of the parameter in evaluation contexts.
-
getUseElement
public Enumeration<ParameterDefinition.ParameterUse> getUseElement()
- Returns:
use(Whether the parameter is input or output for the module.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the value
-
hasUseElement
public boolean hasUseElement()
-
hasUse
public boolean hasUse()
-
setUseElement
public ParameterDefinition setUseElement(Enumeration<ParameterDefinition.ParameterUse> value)
- Parameters:
value-use(Whether the parameter is input or output for the module.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the value
-
getUse
public ParameterDefinition.ParameterUse getUse()
- Returns:
- Whether the parameter is input or output for the module.
-
setUse
public ParameterDefinition setUse(ParameterDefinition.ParameterUse value)
- Parameters:
value- Whether the parameter is input or output for the module.
-
getMinElement
public IntegerType getMinElement()
- Returns:
min(The minimum number of times this parameter SHALL appear in the request or response.). 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 ParameterDefinition setMinElement(IntegerType value)
- Parameters:
value-min(The minimum number of times this parameter SHALL appear in the request or response.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the value
-
getMin
public int getMin()
- Returns:
- The minimum number of times this parameter SHALL appear in the request or response.
-
setMin
public ParameterDefinition setMin(int value)
- Parameters:
value- The minimum number of times this parameter SHALL appear in the request or response.
-
getMaxElement
public StringType getMaxElement()
- Returns:
max(The maximum number of times this element is permitted to appear in the request or response.). 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 ParameterDefinition setMaxElement(StringType value)
- Parameters:
value-max(The maximum number of times this element is permitted to appear in the request or response.). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the value
-
getMax
public String getMax()
- Returns:
- The maximum number of times this element is permitted to appear in the request or response.
-
setMax
public ParameterDefinition setMax(String value)
- Parameters:
value- The maximum number of times this element is permitted to appear in the request or response.
-
getDocumentationElement
public StringType getDocumentationElement()
- Returns:
documentation(A brief discussion of what the parameter is for and how it is used by the module.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the value
-
hasDocumentationElement
public boolean hasDocumentationElement()
-
hasDocumentation
public boolean hasDocumentation()
-
setDocumentationElement
public ParameterDefinition setDocumentationElement(StringType value)
- Parameters:
value-documentation(A brief discussion of what the parameter is for and how it is used by the module.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the value
-
getDocumentation
public String getDocumentation()
- Returns:
- A brief discussion of what the parameter is for and how it is used by the module.
-
setDocumentation
public ParameterDefinition setDocumentation(String value)
- Parameters:
value- A brief discussion of what the parameter is for and how it is used by the module.
-
getTypeElement
public CodeType getTypeElement()
- Returns:
type(The type of the parameter.). 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 ParameterDefinition setTypeElement(CodeType value)
- Parameters:
value-type(The type of the parameter.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
setType
public ParameterDefinition setType(String value)
- Parameters:
value- The type of the parameter.
-
getProfileElement
public CanonicalType getProfileElement()
- Returns:
profile(If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value
-
hasProfileElement
public boolean hasProfileElement()
-
hasProfile
public boolean hasProfile()
-
setProfileElement
public ParameterDefinition setProfileElement(CanonicalType value)
- Parameters:
value-profile(If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value
-
getProfile
public String getProfile()
- Returns:
- If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.
-
setProfile
public ParameterDefinition setProfile(String value)
- Parameters:
value- If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.
-
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 ParameterDefinition copy()
-
copyValues
public void copyValues(ParameterDefinition dst)
-
typedCopy
protected ParameterDefinition typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classElement
-
-