public class DataRequirement extends Type implements ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
DataRequirement.DataRequirementCodeFilterComponent |
static class |
DataRequirement.DataRequirementDateFilterComponent |
| Modifier and Type | Field and Description |
|---|---|
protected List<DataRequirement.DataRequirementCodeFilterComponent> |
codeFilter
Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data.
|
protected List<DataRequirement.DataRequirementDateFilterComponent> |
dateFilter
Date filters specify additional constraints on the data in terms of the applicable date range for specific elements.
|
protected List<StringType> |
mustSupport
Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation.
|
protected List<UriType> |
profile
The profile of the required data, specified as the uri of the profile definition.
|
protected CodeType |
type
The type of the required data, specified as the type name of a resource.
|
| Constructor and Description |
|---|
DataRequirement()
Constructor
|
DataRequirement(CodeType type)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, 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, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected CodeType type
protected List<UriType> profile
protected List<StringType> mustSupport
protected List<DataRequirement.DataRequirementCodeFilterComponent> codeFilter
protected List<DataRequirement.DataRequirementDateFilterComponent> dateFilter
public DataRequirement()
public DataRequirement(CodeType type)
public CodeType getTypeElement()
type (The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public DataRequirement setTypeElement(CodeType value)
value - type (The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic String getType()
public DataRequirement setType(String value)
value - The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.public List<UriType> getProfile()
profile (The profile of the required data, specified as the uri of the profile definition.)public DataRequirement setProfile(List<UriType> theProfile)
this for easy method chainingpublic boolean hasProfile()
public UriType addProfileElement()
profile (The profile of the required data, specified as the uri of the profile definition.)public DataRequirement addProfile(String value)
value - profile (The profile of the required data, specified as the uri of the profile definition.)public boolean hasProfile(String value)
value - profile (The profile of the required data, specified as the uri of the profile definition.)public List<StringType> getMustSupport()
mustSupport (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. Note that the value for this element can be a path to allow references to nested elements. In that case, all the elements along the path must be supported.)public DataRequirement setMustSupport(List<StringType> theMustSupport)
this for easy method chainingpublic boolean hasMustSupport()
public StringType addMustSupportElement()
mustSupport (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. Note that the value for this element can be a path to allow references to nested elements. In that case, all the elements along the path must be supported.)public DataRequirement addMustSupport(String value)
value - mustSupport (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. Note that the value for this element can be a path to allow references to nested elements. In that case, all the elements along the path must be supported.)public boolean hasMustSupport(String value)
value - mustSupport (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. Note that the value for this element can be a path to allow references to nested elements. In that case, all the elements along the path must be supported.)public List<DataRequirement.DataRequirementCodeFilterComponent> getCodeFilter()
codeFilter (Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data.)public DataRequirement setCodeFilter(List<DataRequirement.DataRequirementCodeFilterComponent> theCodeFilter)
this for easy method chainingpublic boolean hasCodeFilter()
public DataRequirement.DataRequirementCodeFilterComponent addCodeFilter()
public DataRequirement addCodeFilter(DataRequirement.DataRequirementCodeFilterComponent t)
public DataRequirement.DataRequirementCodeFilterComponent getCodeFilterFirstRep()
codeFilter, creating it if it does not already existpublic List<DataRequirement.DataRequirementDateFilterComponent> getDateFilter()
dateFilter (Date filters specify additional constraints on the data in terms of the applicable date range for specific elements.)public DataRequirement setDateFilter(List<DataRequirement.DataRequirementDateFilterComponent> theDateFilter)
this for easy method chainingpublic boolean hasDateFilter()
public DataRequirement.DataRequirementDateFilterComponent addDateFilter()
public DataRequirement addDateFilter(DataRequirement.DataRequirementDateFilterComponent t)
public DataRequirement.DataRequirementDateFilterComponent getDateFilterFirstRep()
dateFilter, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic DataRequirement copy()
protected DataRequirement typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.