Class Conformance.RestResource
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
Conformance
Definition: A specification of the restful capabilities of the solution for a specific resource type
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for interaction ()Adds a given new value for interaction ()ca.uhn.fhir.model.primitive.StringDt
Adds and returns a new value for searchInclude ()addSearchInclude
(ca.uhn.fhir.model.primitive.StringDt theValue) Adds a given new value for searchInclude ()addSearchInclude
(String theString) Adds a new value for searchInclude ()Adds and returns a new value for searchParam ()Adds a given new value for searchParam ()ca.uhn.fhir.model.primitive.StringDt
Adds and returns a new value for searchRevInclude ()addSearchRevInclude
(ca.uhn.fhir.model.primitive.StringDt theValue) Adds a given new value for searchRevInclude ()addSearchRevInclude
(String theString) Adds a new value for searchRevInclude ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for conditionalCreate ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for conditionalCreate ().Gets the value(s) for conditionalDelete ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ConditionalDeleteStatusEnum> Gets the value(s) for conditionalDelete ().Gets the value(s) for conditionalUpdate ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for conditionalUpdate ().Gets the value(s) for interaction ().Gets the first repetition for interaction (), creating it if it does not already exist.Gets the value(s) for profile ().Gets the value(s) for readHistory ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for readHistory ().List
<ca.uhn.fhir.model.primitive.StringDt> Gets the value(s) for searchInclude ().ca.uhn.fhir.model.primitive.StringDt
Gets the first repetition for searchInclude (), creating it if it does not already exist.Gets the value(s) for searchParam ().Gets the first repetition for searchParam (), creating it if it does not already exist.List
<ca.uhn.fhir.model.primitive.StringDt> Gets the value(s) for searchRevInclude ().ca.uhn.fhir.model.primitive.StringDt
Gets the first repetition for searchRevInclude (), creating it if it does not already exist.getType()
Gets the value(s) for type ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ResourceTypeEnum> Gets the value(s) for type ().Gets the value(s) for updateCreate ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for updateCreate ().Gets the value(s) for versioning ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ResourceVersionPolicyEnum> Gets the value(s) for versioning ().boolean
isEmpty()
setConditionalCreate
(boolean theBoolean) Sets the value for conditionalCreate ()setConditionalCreate
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for conditionalCreate ()Sets the value(s) for conditionalDelete ()setConditionalDelete
(ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionalDeleteStatusEnum> theValue) Sets the value(s) for conditionalDelete ()setConditionalUpdate
(boolean theBoolean) Sets the value for conditionalUpdate ()setConditionalUpdate
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for conditionalUpdate ()Sets the value(s) for interaction ()setProfile
(ResourceReferenceDt theValue) Sets the value(s) for profile ()setReadHistory
(boolean theBoolean) Sets the value for readHistory ()setReadHistory
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for readHistory ()setSearchInclude
(List<ca.uhn.fhir.model.primitive.StringDt> theValue) Sets the value(s) for searchInclude ()Sets the value(s) for searchParam ()setSearchRevInclude
(List<ca.uhn.fhir.model.primitive.StringDt> theValue) Sets the value(s) for searchRevInclude ()setType
(ResourceTypeEnum theValue) Sets the value(s) for type ()setType
(ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum> theValue) Sets the value(s) for type ()setUpdateCreate
(boolean theBoolean) Sets the value for updateCreate ()setUpdateCreate
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for updateCreate ()setVersioning
(ResourceVersionPolicyEnum theValue) Sets the value(s) for versioning ()setVersioning
(ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceVersionPolicyEnum> theValue) Sets the value(s) for versioning ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
RestResource
public RestResource()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getTypeElement
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: A type of resource exposed via the restful interface
-
getType
Gets the value(s) for type (). creating it if it does not exist. This method may returnnull
.Definition: A type of resource exposed via the restful interface
-
setType
public Conformance.RestResource setType(ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum> theValue) Sets the value(s) for type ()Definition: A type of resource exposed via the restful interface
-
setType
Sets the value(s) for type ()Definition: A type of resource exposed via the restful interface
-
getProfile
Gets the value(s) for profile (). creating it if it does not exist. Will not returnnull
.Definition: A specification of the profile that describes the solution's overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses}
-
setProfile
Sets the value(s) for profile ()Definition: A specification of the profile that describes the solution's overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses}
-
getInteraction
Gets the value(s) for interaction (). creating it if it does not exist. Will not returnnull
.Definition: Identifies a restful operation supported by the solution
-
setInteraction
Sets the value(s) for interaction ()Definition: Identifies a restful operation supported by the solution
-
addInteraction
Adds and returns a new value for interaction ()Definition: Identifies a restful operation supported by the solution
-
addInteraction
Adds a given new value for interaction ()Definition: Identifies a restful operation supported by the solution
- Parameters:
theValue
- The interaction to add (must not benull
)
-
getInteractionFirstRep
Gets the first repetition for interaction (), creating it if it does not already exist.Definition: Identifies a restful operation supported by the solution
-
getVersioningElement
Gets the value(s) for versioning (). creating it if it does not exist. Will not returnnull
.Definition: This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API
-
getVersioning
Gets the value(s) for versioning (). creating it if it does not exist. This method may returnnull
.Definition: This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API
-
setVersioning
public Conformance.RestResource setVersioning(ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceVersionPolicyEnum> theValue) Sets the value(s) for versioning ()Definition: This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API
-
setVersioning
Sets the value(s) for versioning ()Definition: This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API
-
getReadHistoryElement
Gets the value(s) for readHistory (). creating it if it does not exist. Will not returnnull
.Definition: A flag for whether the server is able to return past versions as part of the vRead operation
-
getReadHistory
Gets the value(s) for readHistory (). creating it if it does not exist. This method may returnnull
.Definition: A flag for whether the server is able to return past versions as part of the vRead operation
-
setReadHistory
Sets the value(s) for readHistory ()Definition: A flag for whether the server is able to return past versions as part of the vRead operation
-
setReadHistory
Sets the value for readHistory ()Definition: A flag for whether the server is able to return past versions as part of the vRead operation
-
getUpdateCreateElement
Gets the value(s) for updateCreate (). creating it if it does not exist. Will not returnnull
.Definition: A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server
-
getUpdateCreate
Gets the value(s) for updateCreate (). creating it if it does not exist. This method may returnnull
.Definition: A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server
-
setUpdateCreate
Sets the value(s) for updateCreate ()Definition: A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server
-
setUpdateCreate
Sets the value for updateCreate ()Definition: A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server
-
getConditionalCreateElement
Gets the value(s) for conditionalCreate (). creating it if it does not exist. Will not returnnull
.Definition: A flag that indicates that the server supports conditional create
-
getConditionalCreate
Gets the value(s) for conditionalCreate (). creating it if it does not exist. This method may returnnull
.Definition: A flag that indicates that the server supports conditional create
-
setConditionalCreate
public Conformance.RestResource setConditionalCreate(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for conditionalCreate ()Definition: A flag that indicates that the server supports conditional create
-
setConditionalCreate
Sets the value for conditionalCreate ()Definition: A flag that indicates that the server supports conditional create
-
getConditionalUpdateElement
Gets the value(s) for conditionalUpdate (). creating it if it does not exist. Will not returnnull
.Definition: A flag that indicates that the server supports conditional update
-
getConditionalUpdate
Gets the value(s) for conditionalUpdate (). creating it if it does not exist. This method may returnnull
.Definition: A flag that indicates that the server supports conditional update
-
setConditionalUpdate
public Conformance.RestResource setConditionalUpdate(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for conditionalUpdate ()Definition: A flag that indicates that the server supports conditional update
-
setConditionalUpdate
Sets the value for conditionalUpdate ()Definition: A flag that indicates that the server supports conditional update
-
getConditionalDeleteElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionalDeleteStatusEnum> getConditionalDeleteElement()Gets the value(s) for conditionalDelete (). creating it if it does not exist. Will not returnnull
.Definition: A code that indicates how the server supports conditional delete
-
getConditionalDelete
Gets the value(s) for conditionalDelete (). creating it if it does not exist. This method may returnnull
.Definition: A code that indicates how the server supports conditional delete
-
setConditionalDelete
public Conformance.RestResource setConditionalDelete(ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionalDeleteStatusEnum> theValue) Sets the value(s) for conditionalDelete ()Definition: A code that indicates how the server supports conditional delete
-
setConditionalDelete
Sets the value(s) for conditionalDelete ()Definition: A code that indicates how the server supports conditional delete
-
getSearchInclude
Gets the value(s) for searchInclude (). creating it if it does not exist. Will not returnnull
.Definition: A list of _include values supported by the server
-
setSearchInclude
public Conformance.RestResource setSearchInclude(List<ca.uhn.fhir.model.primitive.StringDt> theValue) Sets the value(s) for searchInclude ()Definition: A list of _include values supported by the server
-
addSearchInclude
Adds and returns a new value for searchInclude ()Definition: A list of _include values supported by the server
-
addSearchInclude
Adds a given new value for searchInclude ()Definition: A list of _include values supported by the server
- Parameters:
theValue
- The searchInclude to add (must not benull
)
-
getSearchIncludeFirstRep
Gets the first repetition for searchInclude (), creating it if it does not already exist.Definition: A list of _include values supported by the server
-
addSearchInclude
Adds a new value for searchInclude ()Definition: A list of _include values supported by the server
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getSearchRevInclude
Gets the value(s) for searchRevInclude (). creating it if it does not exist. Will not returnnull
.Definition: A list of _revinclude (reverse include) values supported by the server
-
setSearchRevInclude
public Conformance.RestResource setSearchRevInclude(List<ca.uhn.fhir.model.primitive.StringDt> theValue) Sets the value(s) for searchRevInclude ()Definition: A list of _revinclude (reverse include) values supported by the server
-
addSearchRevInclude
Adds and returns a new value for searchRevInclude ()Definition: A list of _revinclude (reverse include) values supported by the server
-
addSearchRevInclude
Adds a given new value for searchRevInclude ()Definition: A list of _revinclude (reverse include) values supported by the server
- Parameters:
theValue
- The searchRevInclude to add (must not benull
)
-
getSearchRevIncludeFirstRep
Gets the first repetition for searchRevInclude (), creating it if it does not already exist.Definition: A list of _revinclude (reverse include) values supported by the server
-
addSearchRevInclude
Adds a new value for searchRevInclude ()Definition: A list of _revinclude (reverse include) values supported by the server
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getSearchParam
Gets the value(s) for searchParam (). creating it if it does not exist. Will not returnnull
.Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
-
setSearchParam
Sets the value(s) for searchParam ()Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
-
addSearchParam
Adds and returns a new value for searchParam ()Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
-
addSearchParam
Adds a given new value for searchParam ()Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
- Parameters:
theValue
- The searchParam to add (must not benull
)
-
getSearchParamFirstRep
Gets the first repetition for searchParam (), creating it if it does not already exist.Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
-