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
public class OperationDefinition extends DomainResource
A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationDefinition.OperationDefinitionContactComponentstatic classOperationDefinition.OperationDefinitionParameterBindingComponentstatic classOperationDefinition.OperationDefinitionParameterComponentstatic classOperationDefinition.OperationKindstatic classOperationDefinition.OperationKindEnumFactorystatic classOperationDefinition.OperationParameterUsestatic classOperationDefinition.OperationParameterUseEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected ReferencebaseIndicates that this operation definition is a constraining profile on the base.protected OperationDefinitionbaseTargetThe actual object that is the target of the reference (Indicates that this operation definition is a constraining profile on the base.)protected CodeTypecodeThe name used to invoke the operation.protected List<OperationDefinition.OperationDefinitionContactComponent>contactContacts to assist a user in finding and communicating with the publisher.protected DateTimeTypedateThe date this version of the operation definition was published.protected StringTypedescriptionA free text natural language description of the profile and its use.protected BooleanTypeexperimentalThis profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.protected BooleanTypeidempotentOperations 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 BooleanTypeinstanceIndicates whether this operation can be invoked on a particular instance of one of the given types.protected Enumeration<OperationDefinition.OperationKind>kindWhether this is an operation or a named query.protected StringTypenameA free text natural language name identifying the operation.protected StringTypenotesAdditional information about how to use this operation or named query.protected List<OperationDefinition.OperationDefinitionParameterComponent>parameterThe parameters for the operation/query.protected StringTypepublisherThe name of the individual or organization that published the operation definition.protected StringTyperequirementsExplains why this operation definition is needed and why it's been constrained as it has.static StringSP_BASEstatic StringSP_CODEstatic StringSP_DATEstatic StringSP_INSTANCEstatic StringSP_KINDstatic StringSP_NAMEstatic StringSP_PROFILEstatic StringSP_PUBLISHERstatic StringSP_STATUSstatic StringSP_SYSTEMstatic StringSP_TYPEstatic StringSP_URLstatic StringSP_VERSIONprotected Enumeration<Enumerations.ConformanceResourceStatus>statusThe status of the profile.protected BooleanTypesystemIndicates whether this operation or named query can be invoked at the system level (e.g.protected List<CodeType>typeIndicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g.protected UriTypeurlAn absolute URL that is used to identify this operation definition when it is referenced in a specification, model, design or an instance.protected StringTypeversionThe 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
-
-
Constructor Summary
Constructors Constructor Description OperationDefinition()OperationDefinition(StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status, Enumeration<OperationDefinition.OperationKind> kind, CodeType code, BooleanType system, BooleanType instance)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, 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
-
-
-
-
Field Detail
-
url
protected UriType 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
protected StringType 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
protected StringType name
A free text natural language name identifying the operation.
-
status
protected Enumeration<Enumerations.ConformanceResourceStatus> status
The status of the profile.
-
kind
protected Enumeration<OperationDefinition.OperationKind> kind
Whether this is an operation or a named query.
-
experimental
protected BooleanType experimental
This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
publisher
protected StringType publisher
The name of the individual or organization that published the operation definition.
-
contact
protected List<OperationDefinition.OperationDefinitionContactComponent> contact
Contacts to assist a user in finding and communicating with the publisher.
-
date
protected DateTimeType 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
protected StringType description
A free text natural language description of the profile and its use.
-
requirements
protected StringType requirements
Explains why this operation definition is needed and why it's been constrained as it has.
-
idempotent
protected BooleanType 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.
-
notes
protected StringType notes
Additional information about how to use this operation or named query.
-
base
protected Reference base
Indicates that this operation definition is a constraining profile on the base.
-
baseTarget
protected OperationDefinition baseTarget
The actual object that is the target of the reference (Indicates that this operation definition is a constraining profile on the base.)
-
system
protected BooleanType 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
protected List<CodeType> 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
protected BooleanType instance
Indicates whether this operation can be invoked on a particular instance of one of the given types.
-
parameter
protected List<OperationDefinition.OperationDefinitionParameterComponent> parameter
The parameters for the operation/query.
-
SP_DATE
public static final String SP_DATE
- See Also:
- Constant Field Values
-
SP_CODE
public static final String SP_CODE
- See Also:
- Constant Field Values
-
SP_INSTANCE
public static final String SP_INSTANCE
- See Also:
- Constant Field Values
-
SP_KIND
public static final String SP_KIND
- See Also:
- Constant Field Values
-
SP_PROFILE
public static final String SP_PROFILE
- See Also:
- Constant Field Values
-
SP_TYPE
public static final String SP_TYPE
- See Also:
- Constant Field Values
-
SP_VERSION
public static final String SP_VERSION
- See Also:
- Constant Field Values
-
SP_URL
public static final String SP_URL
- See Also:
- Constant Field Values
-
SP_SYSTEM
public static final String SP_SYSTEM
- See Also:
- Constant Field Values
-
SP_NAME
public static final String SP_NAME
- See Also:
- Constant Field Values
-
SP_PUBLISHER
public static final String SP_PUBLISHER
- See Also:
- Constant Field Values
-
SP_STATUS
public static final String SP_STATUS
- See Also:
- Constant Field Values
-
SP_BASE
public static final String SP_BASE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OperationDefinition
public OperationDefinition()
-
OperationDefinition
public OperationDefinition(StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status, Enumeration<OperationDefinition.OperationKind> kind, CodeType code, BooleanType system, BooleanType instance)
-
-
Method Detail
-
getUrlElement
public UriType 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
public boolean hasUrlElement()
-
hasUrl
public boolean hasUrl()
-
setUrlElement
public OperationDefinition setUrlElement(UriType value)
- 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
public String 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
public OperationDefinition setUrl(String value)
- 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
public StringType 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
public boolean hasVersionElement()
-
hasVersion
public boolean hasVersion()
-
setVersionElement
public OperationDefinition setVersionElement(StringType value)
- 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
public String 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
public OperationDefinition setVersion(String value)
- 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
public StringType 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
public boolean hasNameElement()
-
hasName
public boolean hasName()
-
setNameElement
public OperationDefinition setNameElement(StringType value)
- 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
public String getName()
- Returns:
- A free text natural language name identifying the operation.
-
setName
public OperationDefinition setName(String value)
- Parameters:
value- A free text natural language name identifying the operation.
-
getStatusElement
public Enumeration<Enumerations.ConformanceResourceStatus> 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
public boolean hasStatusElement()
-
hasStatus
public boolean 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
public Enumerations.ConformanceResourceStatus getStatus()
- Returns:
- The status of the profile.
-
setStatus
public OperationDefinition setStatus(Enumerations.ConformanceResourceStatus value)
- Parameters:
value- The status of the profile.
-
getKindElement
public Enumeration<OperationDefinition.OperationKind> 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
public boolean hasKindElement()
-
hasKind
public boolean hasKind()
-
setKindElement
public OperationDefinition setKindElement(Enumeration<OperationDefinition.OperationKind> value)
- 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
public OperationDefinition.OperationKind getKind()
- Returns:
- Whether this is an operation or a named query.
-
setKind
public OperationDefinition setKind(OperationDefinition.OperationKind value)
- Parameters:
value- Whether this is an operation or a named query.
-
getExperimentalElement
public BooleanType 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
public boolean hasExperimentalElement()
-
hasExperimental
public boolean hasExperimental()
-
setExperimentalElement
public OperationDefinition setExperimentalElement(BooleanType value)
- 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
public boolean getExperimental()
- Returns:
- This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
setExperimental
public OperationDefinition setExperimental(boolean value)
- Parameters:
value- This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
getPublisherElement
public StringType 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
public boolean hasPublisherElement()
-
hasPublisher
public boolean hasPublisher()
-
setPublisherElement
public OperationDefinition setPublisherElement(StringType value)
- 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
public String getPublisher()
- Returns:
- The name of the individual or organization that published the operation definition.
-
setPublisher
public OperationDefinition setPublisher(String value)
- Parameters:
value- The name of the individual or organization that published the operation definition.
-
getContact
public List<OperationDefinition.OperationDefinitionContactComponent> getContact()
- Returns:
contact(Contacts to assist a user in finding and communicating with the publisher.)
-
hasContact
public boolean hasContact()
-
addContact
public OperationDefinition.OperationDefinitionContactComponent addContact()
- Returns:
contact(Contacts to assist a user in finding and communicating with the publisher.)
-
addContact
public OperationDefinition addContact(OperationDefinition.OperationDefinitionContactComponent t)
-
getDateElement
public DateTimeType 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
public boolean hasDateElement()
-
hasDate
public boolean hasDate()
-
setDateElement
public OperationDefinition setDateElement(DateTimeType value)
- 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
public Date 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
public OperationDefinition setDate(Date value)
- 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
public StringType 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
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public OperationDefinition setDescriptionElement(StringType value)
- 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
public String getDescription()
- Returns:
- A free text natural language description of the profile and its use.
-
setDescription
public OperationDefinition setDescription(String value)
- Parameters:
value- A free text natural language description of the profile and its use.
-
getRequirementsElement
public StringType 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
public boolean hasRequirementsElement()
-
hasRequirements
public boolean hasRequirements()
-
setRequirementsElement
public OperationDefinition setRequirementsElement(StringType value)
- 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
public String getRequirements()
- Returns:
- Explains why this operation definition is needed and why it's been constrained as it has.
-
setRequirements
public OperationDefinition setRequirements(String value)
- Parameters:
value- Explains why this operation definition is needed and why it's been constrained as it has.
-
getIdempotentElement
public BooleanType 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
public boolean hasIdempotentElement()
-
hasIdempotent
public boolean hasIdempotent()
-
setIdempotentElement
public OperationDefinition setIdempotentElement(BooleanType value)
- 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
public boolean 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
public OperationDefinition setIdempotent(boolean value)
- 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
public CodeType 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
public boolean hasCodeElement()
-
hasCode
public boolean hasCode()
-
setCodeElement
public OperationDefinition setCodeElement(CodeType value)
- 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
-
setCode
public OperationDefinition setCode(String value)
- Parameters:
value- The name used to invoke the operation.
-
getNotesElement
public StringType 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
public boolean hasNotesElement()
-
hasNotes
public boolean hasNotes()
-
setNotesElement
public OperationDefinition setNotesElement(StringType value)
- 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
public String getNotes()
- Returns:
- Additional information about how to use this operation or named query.
-
setNotes
public OperationDefinition setNotes(String value)
- Parameters:
value- Additional information about how to use this operation or named query.
-
getBase
public Reference getBase()
- Returns:
base(Indicates that this operation definition is a constraining profile on the base.)
-
hasBase
public boolean hasBase()
-
setBase
public OperationDefinition setBase(Reference value)
- Parameters:
value-base(Indicates that this operation definition is a constraining profile on the base.)
-
getBaseTarget
public OperationDefinition getBaseTarget()
- Returns:
baseThe 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
public OperationDefinition setBaseTarget(OperationDefinition value)
- Parameters:
value-baseThe 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
public BooleanType 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
public boolean hasSystemElement()
-
hasSystem
public boolean hasSystem()
-
setSystemElement
public OperationDefinition setSystemElement(BooleanType value)
- 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
public boolean 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
public OperationDefinition setSystem(boolean value)
- 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
public List<CodeType> 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
public boolean hasType()
-
addTypeElement
public CodeType 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
public OperationDefinition addType(String value)
- 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
public boolean hasType(String value)
- 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
public BooleanType 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
public boolean hasInstanceElement()
-
hasInstance
public boolean hasInstance()
-
setInstanceElement
public OperationDefinition setInstanceElement(BooleanType value)
- 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
public boolean getInstance()
- Returns:
- Indicates whether this operation can be invoked on a particular instance of one of the given types.
-
setInstance
public OperationDefinition setInstance(boolean value)
- Parameters:
value- Indicates whether this operation can be invoked on a particular instance of one of the given types.
-
getParameter
public List<OperationDefinition.OperationDefinitionParameterComponent> getParameter()
- Returns:
parameter(The parameters for the operation/query.)
-
hasParameter
public boolean hasParameter()
-
addParameter
public OperationDefinition.OperationDefinitionParameterComponent addParameter()
- Returns:
parameter(The parameters for the operation/query.)
-
addParameter
public OperationDefinition addParameter(OperationDefinition.OperationDefinitionParameterComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public OperationDefinition copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected OperationDefinition typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-