Package org.hl7.fhir.dstu2016may.model
Class ParameterDefinition
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.Element
-
- org.hl7.fhir.dstu2016may.model.Type
-
- org.hl7.fhir.dstu2016may.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
-
-
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.protected ReferenceprofileIf specified, this indicates a profile that the input data must conform to, or that the output data will conform to.protected StructureDefinitionprofileTargetThe actual object that is the target of the reference (If 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 CodeTypeuseWhether the parameter is input or output for the module.
-
Constructor Summary
Constructors Constructor Description ParameterDefinition()ConstructorParameterDefinition(CodeType use, CodeType type)Constructor
-
Method Summary
-
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
-
-
-
-
Field Detail
-
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 Reference profile
If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.
-
profileTarget
protected StructureDefinition profileTarget
The actual object that is the target of the reference (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(CodeType use, CodeType type)
Constructor
-
-
Method Detail
-
getNameElement
public CodeType getNameElement()
- Returns:
name(The name of the parameter.). 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.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
setName
public ParameterDefinition setName(String value)
- Parameters:
value- The name of the parameter.
-
getUseElement
public CodeType 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(CodeType 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
-
setUse
public ParameterDefinition setUse(String 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.
-
getProfile
public Reference getProfile()
- Returns:
profile(If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.)
-
hasProfile
public boolean hasProfile()
-
setProfile
public ParameterDefinition setProfile(Reference 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.)
-
getProfileTarget
public StructureDefinition getProfileTarget()
- Returns:
profileThe 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. (If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.)
-
setProfileTarget
public ParameterDefinition setProfileTarget(StructureDefinition value)
- Parameters:
value-profileThe 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. (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> childrenList)
- Overrides:
listChildrenin classElement
-
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 void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void 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
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 classElement- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public ParameterDefinition copy()
-
typedCopy
protected ParameterDefinition typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classElement
-
-