Package org.hl7.fhir.dstu2.model
Class OperationDefinition
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.OperationDefinition
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
A formal computable definition of an operation (on the RESTful interface) or
a named query (using the search interaction).
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Reference
Indicates that this operation definition is a constraining profile on the base.protected OperationDefinition
The actual object that is the target of the reference (Indicates that this operation definition is a constraining profile on the base.)protected CodeType
The name used to invoke the operation.Contacts to assist a user in finding and communicating with the publisher.protected DateTimeType
The date this version of the operation definition was published.protected StringType
A free text natural language description of the profile and its use.protected BooleanType
This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.protected BooleanType
Operations that are idempotent (see [HTTP specification definition of idempotent](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)) may be invoked by performing an HTTP GET operation instead of a POST.protected BooleanType
Indicates whether this operation can be invoked on a particular instance of one of the given types.protected Enumeration
<OperationDefinition.OperationKind> Whether this is an operation or a named query.protected StringType
A free text natural language name identifying the operation.protected StringType
Additional information about how to use this operation or named query.The parameters for the operation/query.protected StringType
The name of the individual or organization that published the operation definition.protected StringType
Explains why this operation definition is needed and why it's been constrained as it has.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
The status of the profile.protected BooleanType
Indicates whether this operation or named query can be invoked at the system level (e.g.Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g.protected UriType
An absolute URL that is used to identify this operation definition when it is referenced in a specification, model, design or an instance.protected StringType
The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionOperationDefinition
(StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status, Enumeration<OperationDefinition.OperationKind> kind, CodeType code, BooleanType system, BooleanType instance) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getBase()
getCode()
getDate()
boolean
boolean
boolean
getKind()
getName()
getNotes()
boolean
getType()
getUrl()
boolean
hasBase()
boolean
hasCode()
boolean
boolean
boolean
hasDate()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasKind()
boolean
boolean
hasName()
boolean
boolean
hasNotes()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
boolean
hasUrl()
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setBaseTarget
(OperationDefinition value) setCodeElement
(CodeType value) setDateElement
(DateTimeType value) setDescription
(String value) setDescriptionElement
(StringType value) setExperimental
(boolean value) setIdempotent
(boolean value) setIdempotentElement
(BooleanType value) setInstance
(boolean value) setInstanceElement
(BooleanType value) setNameElement
(StringType value) setNotesElement
(StringType value) void
setProperty
(String name, Base value) setPublisher
(String value) setPublisherElement
(StringType value) setRequirements
(String value) setRequirementsElement
(StringType value) setSystem
(boolean value) setSystemElement
(BooleanType value) setUrlElement
(UriType value) setVersion
(String value) setVersionElement
(StringType value) protected OperationDefinition
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
url
An absolute URL that is used to identify this operation definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this operation definition is (or will be) published. -
version
The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. -
name
A free text natural language name identifying the operation. -
status
The status of the profile. -
kind
Whether this is an operation or a named query. -
experimental
This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. -
publisher
The name of the individual or organization that published the operation definition. -
contact
Contacts to assist a user in finding and communicating with the publisher. -
date
The date this version of the operation definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the Operation Definition changes. -
description
A free text natural language description of the profile and its use. -
requirements
Explains why this operation definition is needed and why it's been constrained as it has. -
idempotent
Operations that are idempotent (see [HTTP specification definition of idempotent](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)) may be invoked by performing an HTTP GET operation instead of a POST. -
code
The name used to invoke the operation. -
notes
Additional information about how to use this operation or named query. -
base
Indicates that this operation definition is a constraining profile on the base. -
baseTarget
The actual object that is the target of the reference (Indicates that this operation definition is a constraining profile on the base.) -
system
Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context). -
type
Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context). -
instance
Indicates whether this operation can be invoked on a particular instance of one of the given types. -
parameter
The parameters for the operation/query. -
SP_DATE
- See Also:
-
SP_CODE
- See Also:
-
SP_INSTANCE
- See Also:
-
SP_KIND
- See Also:
-
SP_PROFILE
- See Also:
-
SP_TYPE
- See Also:
-
SP_VERSION
- See Also:
-
SP_URL
- See Also:
-
SP_SYSTEM
- See Also:
-
SP_NAME
- See Also:
-
SP_PUBLISHER
- See Also:
-
SP_STATUS
- See Also:
-
SP_BASE
- See Also:
-
-
Constructor Details
-
OperationDefinition
public OperationDefinition() -
OperationDefinition
public OperationDefinition(StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status, Enumeration<OperationDefinition.OperationKind> kind, CodeType code, BooleanType system, BooleanType instance)
-
-
Method Details
-
getUrlElement
- Returns:
url
(An absolute URL that is used to identify this operation definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this operation definition is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
hasUrlElement
-
hasUrl
-
setUrlElement
- Parameters:
value
-url
(An absolute URL that is used to identify this operation definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this operation definition is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
getUrl
- Returns:
- An absolute URL that is used to identify this operation definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this operation definition is (or will be) published.
-
setUrl
- Parameters:
value
- An absolute URL that is used to identify this operation definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this operation definition is (or will be) published.
-
getVersionElement
- Returns:
version
(The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
hasVersionElement
-
hasVersion
-
setVersionElement
- Parameters:
value
-version
(The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
getVersion
- Returns:
- The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.
-
setVersion
- Parameters:
value
- The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.
-
getNameElement
- Returns:
name
(A free text natural language name identifying the operation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
-
hasName
-
setNameElement
- Parameters:
value
-name
(A free text natural language name identifying the operation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
- Returns:
- A free text natural language name identifying the operation.
-
setName
- Parameters:
value
- A free text natural language name identifying the operation.
-
getStatusElement
- Returns:
status
(The status of the profile.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
public OperationDefinition setStatusElement(Enumeration<Enumerations.ConformanceResourceStatus> value) - Parameters:
value
-status
(The status of the profile.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The status of the profile.
-
setStatus
- Parameters:
value
- The status of the profile.
-
getKindElement
- Returns:
kind
(Whether this is an operation or a named query.). This is the underlying object with id, value and extensions. The accessor "getKind" gives direct access to the value
-
hasKindElement
-
hasKind
-
setKindElement
- Parameters:
value
-kind
(Whether this is an operation or a named query.). This is the underlying object with id, value and extensions. The accessor "getKind" gives direct access to the value
-
getKind
- Returns:
- Whether this is an operation or a named query.
-
setKind
- Parameters:
value
- Whether this is an operation or a named query.
-
getExperimentalElement
- Returns:
experimental
(This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
-
hasExperimentalElement
-
hasExperimental
-
setExperimentalElement
- Parameters:
value
-experimental
(This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
-
getExperimental
- Returns:
- This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
setExperimental
- Parameters:
value
- This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
getPublisherElement
- Returns:
publisher
(The name of the individual or organization that published the operation definition.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
-
hasPublisherElement
-
hasPublisher
-
setPublisherElement
- Parameters:
value
-publisher
(The name of the individual or organization that published the operation definition.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
-
getPublisher
- Returns:
- The name of the individual or organization that published the operation definition.
-
setPublisher
- Parameters:
value
- The name of the individual or organization that published the operation definition.
-
getContact
- Returns:
contact
(Contacts to assist a user in finding and communicating with the publisher.)
-
hasContact
-
addContact
- Returns:
contact
(Contacts to assist a user in finding and communicating with the publisher.)
-
addContact
-
getDateElement
- Returns:
date
(The date this version of the operation definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the Operation Definition changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
-
hasDate
-
setDateElement
- Parameters:
value
-date
(The date this version of the operation definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the Operation Definition changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
- Returns:
- The date this version of the operation definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the Operation Definition changes.
-
setDate
- Parameters:
value
- The date this version of the operation definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the Operation Definition changes.
-
getDescriptionElement
- Returns:
description
(A free text natural language description of the profile and its use.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
-
hasDescription
-
setDescriptionElement
- Parameters:
value
-description
(A free text natural language description of the profile and its use.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
- Returns:
- A free text natural language description of the profile and its use.
-
setDescription
- Parameters:
value
- A free text natural language description of the profile and its use.
-
getRequirementsElement
- Returns:
requirements
(Explains why this operation definition is needed and why it's been constrained as it has.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value
-
hasRequirementsElement
-
hasRequirements
-
setRequirementsElement
- Parameters:
value
-requirements
(Explains why this operation definition is needed and why it's been constrained as it has.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value
-
getRequirements
- Returns:
- Explains why this operation definition is needed and why it's been constrained as it has.
-
setRequirements
- Parameters:
value
- Explains why this operation definition is needed and why it's been constrained as it has.
-
getIdempotentElement
- Returns:
idempotent
(Operations that are idempotent (see [HTTP specification definition of idempotent](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)) may be invoked by performing an HTTP GET operation instead of a POST.). This is the underlying object with id, value and extensions. The accessor "getIdempotent" gives direct access to the value
-
hasIdempotentElement
-
hasIdempotent
-
setIdempotentElement
- Parameters:
value
-idempotent
(Operations that are idempotent (see [HTTP specification definition of idempotent](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)) may be invoked by performing an HTTP GET operation instead of a POST.). This is the underlying object with id, value and extensions. The accessor "getIdempotent" gives direct access to the value
-
getIdempotent
- Returns:
- Operations that are idempotent (see [HTTP specification definition of idempotent](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)) may be invoked by performing an HTTP GET operation instead of a POST.
-
setIdempotent
- Parameters:
value
- Operations that are idempotent (see [HTTP specification definition of idempotent](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)) may be invoked by performing an HTTP GET operation instead of a POST.
-
getCodeElement
- Returns:
code
(The name used to invoke the operation.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
hasCodeElement
-
hasCode
-
setCodeElement
- Parameters:
value
-code
(The name used to invoke the operation.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
getCode
- Returns:
- The name used to invoke the operation.
-
setCode
- Parameters:
value
- The name used to invoke the operation.
-
getNotesElement
- Returns:
notes
(Additional information about how to use this operation or named query.). This is the underlying object with id, value and extensions. The accessor "getNotes" gives direct access to the value
-
hasNotesElement
-
hasNotes
-
setNotesElement
- Parameters:
value
-notes
(Additional information about how to use this operation or named query.). This is the underlying object with id, value and extensions. The accessor "getNotes" gives direct access to the value
-
getNotes
- Returns:
- Additional information about how to use this operation or named query.
-
setNotes
- Parameters:
value
- Additional information about how to use this operation or named query.
-
getBase
- Returns:
base
(Indicates that this operation definition is a constraining profile on the base.)
-
hasBase
-
setBase
- Parameters:
value
-base
(Indicates that this operation definition is a constraining profile on the base.)
-
getBaseTarget
- Returns:
base
The 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. (Indicates that this operation definition is a constraining profile on the base.)
-
setBaseTarget
- Parameters:
value
-base
The 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. (Indicates that this operation definition is a constraining profile on the base.)
-
getSystemElement
- Returns:
system
(Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context).). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value
-
hasSystemElement
-
hasSystem
-
setSystemElement
- Parameters:
value
-system
(Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context).). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value
-
getSystem
- Returns:
- Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context).
-
setSystem
- Parameters:
value
- Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context).
-
getType
- Returns:
type
(Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context).)
-
hasType
-
addTypeElement
- Returns:
type
(Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context).)
-
addType
- Parameters:
value
-type
(Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context).)
-
hasType
- Parameters:
value
-type
(Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context).)
-
getInstanceElement
- Returns:
instance
(Indicates whether this operation can be invoked on a particular instance of one of the given types.). This is the underlying object with id, value and extensions. The accessor "getInstance" gives direct access to the value
-
hasInstanceElement
-
hasInstance
-
setInstanceElement
- Parameters:
value
-instance
(Indicates whether this operation can be invoked on a particular instance of one of the given types.). This is the underlying object with id, value and extensions. The accessor "getInstance" gives direct access to the value
-
getInstance
- Returns:
- Indicates whether this operation can be invoked on a particular instance of one of the given types.
-
setInstance
- Parameters:
value
- Indicates whether this operation can be invoked on a particular instance of one of the given types.
-
getParameter
- Returns:
parameter
(The parameters for the operation/query.)
-
hasParameter
-
addParameter
- Returns:
parameter
(The parameters for the operation/query.)
-
addParameter
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-