public class DataRequirement extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
DataRequirement.DataRequirementCodeFilterComponent |
static class |
DataRequirement.DataRequirementDateFilterComponent |
static class |
DataRequirement.DataRequirementSortComponent |
static class |
DataRequirement.SortDirection |
static class |
DataRequirement.SortDirectionEnumFactory |
| 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 PositiveIntType |
limit
Specifies a maximum number of results that are required (uses the _count search parameter).
|
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<CanonicalType> |
profile
The profile of the required data, specified as the uri of the profile definition.
|
protected List<DataRequirement.DataRequirementSortComponent> |
sort
Specifies the order of the results to be returned.
|
protected Type |
subject
The intended subjects of the data requirement.
|
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, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected CodeType type
protected List<CanonicalType> profile
protected Type subject
protected List<StringType> mustSupport
protected List<DataRequirement.DataRequirementCodeFilterComponent> codeFilter
protected List<DataRequirement.DataRequirementDateFilterComponent> dateFilter
protected PositiveIntType limit
protected List<DataRequirement.DataRequirementSortComponent> sort
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<CanonicalType> getProfile()
profile (The profile of the required data, specified as the uri of the profile definition.)public DataRequirement setProfile(List<CanonicalType> theProfile)
this for easy method chainingpublic boolean hasProfile()
public CanonicalType 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 Type getSubject()
subject (The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.)public CodeableConcept getSubjectCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
subject (The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasSubjectCodeableConcept()
public Reference getSubjectReference() throws org.hl7.fhir.exceptions.FHIRException
subject (The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasSubjectReference()
public boolean hasSubject()
public DataRequirement setSubject(Type value)
value - subject (The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.)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.
The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).)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.
The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).)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.
The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).)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.
The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).)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. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.)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. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.)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 existpublic PositiveIntType getLimitElement()
limit (Specifies a maximum number of results that are required (uses the _count search parameter).). This is the underlying object with id, value and extensions. The accessor "getLimit" gives direct access to the valuepublic boolean hasLimitElement()
public boolean hasLimit()
public DataRequirement setLimitElement(PositiveIntType value)
value - limit (Specifies a maximum number of results that are required (uses the _count search parameter).). This is the underlying object with id, value and extensions. The accessor "getLimit" gives direct access to the valuepublic int getLimit()
public DataRequirement setLimit(int value)
value - Specifies a maximum number of results that are required (uses the _count search parameter).public List<DataRequirement.DataRequirementSortComponent> getSort()
sort (Specifies the order of the results to be returned.)public DataRequirement setSort(List<DataRequirement.DataRequirementSortComponent> theSort)
this for easy method chainingpublic boolean hasSort()
public DataRequirement.DataRequirementSortComponent addSort()
public DataRequirement addSort(DataRequirement.DataRequirementSortComponent t)
public DataRequirement.DataRequirementSortComponent getSortFirstRep()
sort, creating it if it does not already existprotected void listChildren(List<Property> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic DataRequirement copy()
public void copyValues(DataRequirement dst)
protected DataRequirement typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class ElementCopyright © 2014–2021 Health Level 7. All rights reserved.