public class OperationDefinition extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
OperationDefinition.OperationDefinitionContactComponent |
static class |
OperationDefinition.OperationDefinitionParameterBindingComponent |
static class |
OperationDefinition.OperationDefinitionParameterComponent |
static class |
OperationDefinition.OperationKind |
static class |
OperationDefinition.OperationKindEnumFactory |
static class |
OperationDefinition.OperationParameterUse |
static class |
OperationDefinition.OperationParameterUseEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
base
Indicates that this operation definition is a constraining profile on the base.
|
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.)
|
protected CodeType |
code
The name used to invoke the operation.
|
protected List<OperationDefinition.OperationDefinitionContactComponent> |
contact
Contacts to assist a user in finding and communicating with the publisher.
|
protected DateTimeType |
date
The date this version of the operation definition was published.
|
protected StringType |
description
A free text natural language description of the profile and its use.
|
protected BooleanType |
experimental
This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
|
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.
|
protected BooleanType |
instance
Indicates whether this operation can be invoked on a particular instance of one of the given types.
|
protected Enumeration<OperationDefinition.OperationKind> |
kind
Whether this is an operation or a named query.
|
protected StringType |
name
A free text natural language name identifying the operation.
|
protected StringType |
notes
Additional information about how to use this operation or named query.
|
protected List<OperationDefinition.OperationDefinitionParameterComponent> |
parameter
The parameters for the operation/query.
|
protected StringType |
publisher
The name of the individual or organization that published the operation definition.
|
protected StringType |
requirements
Explains why this operation definition is needed and why it's been constrained as it has.
|
static String |
SP_BASE |
static String |
SP_CODE |
static String |
SP_DATE |
static String |
SP_INSTANCE |
static String |
SP_KIND |
static String |
SP_NAME |
static String |
SP_PROFILE |
static String |
SP_PUBLISHER |
static String |
SP_STATUS |
static String |
SP_SYSTEM |
static String |
SP_TYPE |
static String |
SP_URL |
static String |
SP_VERSION |
protected Enumeration<Enumerations.ConformanceResourceStatus> |
status
The status of the profile.
|
protected BooleanType |
system
Indicates whether this operation or named query can be invoked at the system level (e.g.
|
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.
|
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.
|
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.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
OperationDefinition() |
OperationDefinition(StringType name,
Enumeration<Enumerations.ConformanceResourceStatus> status,
Enumeration<OperationDefinition.OperationKind> kind,
CodeType code,
BooleanType system,
BooleanType instance) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected UriType url
protected StringType version
protected StringType name
protected Enumeration<Enumerations.ConformanceResourceStatus> status
protected Enumeration<OperationDefinition.OperationKind> kind
protected BooleanType experimental
protected StringType publisher
protected List<OperationDefinition.OperationDefinitionContactComponent> contact
protected DateTimeType date
protected StringType description
protected StringType requirements
protected BooleanType idempotent
protected StringType notes
protected Reference base
protected OperationDefinition baseTarget
protected BooleanType system
protected List<CodeType> type
protected BooleanType instance
protected List<OperationDefinition.OperationDefinitionParameterComponent> parameter
public static final String SP_DATE
public static final String SP_CODE
public static final String SP_INSTANCE
public static final String SP_KIND
public static final String SP_PROFILE
public static final String SP_TYPE
public static final String SP_VERSION
public static final String SP_URL
public static final String SP_SYSTEM
public static final String SP_NAME
public static final String SP_PUBLISHER
public static final String SP_STATUS
public static final String SP_BASE
public OperationDefinition()
public OperationDefinition(StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status, Enumeration<OperationDefinition.OperationKind> kind, CodeType code, BooleanType system, BooleanType instance)
public UriType getUrlElement()
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 valuepublic boolean hasUrlElement()
public boolean hasUrl()
public OperationDefinition setUrlElement(UriType value)
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 valuepublic String getUrl()
public OperationDefinition setUrl(String value)
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.public StringType getVersionElement()
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 valuepublic boolean hasVersionElement()
public boolean hasVersion()
public OperationDefinition setVersionElement(StringType value)
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 valuepublic String getVersion()
public OperationDefinition setVersion(String value)
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.public StringType getNameElement()
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 valuepublic boolean hasNameElement()
public boolean hasName()
public OperationDefinition setNameElement(StringType value)
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 valuepublic String getName()
public OperationDefinition setName(String value)
value - A free text natural language name identifying the operation.public Enumeration<Enumerations.ConformanceResourceStatus> getStatusElement()
status (The status of the profile.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public OperationDefinition setStatusElement(Enumeration<Enumerations.ConformanceResourceStatus> value)
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 valuepublic Enumerations.ConformanceResourceStatus getStatus()
public OperationDefinition setStatus(Enumerations.ConformanceResourceStatus value)
value - The status of the profile.public Enumeration<OperationDefinition.OperationKind> getKindElement()
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 valuepublic boolean hasKindElement()
public boolean hasKind()
public OperationDefinition setKindElement(Enumeration<OperationDefinition.OperationKind> value)
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 valuepublic OperationDefinition.OperationKind getKind()
public OperationDefinition setKind(OperationDefinition.OperationKind value)
value - Whether this is an operation or a named query.public BooleanType getExperimentalElement()
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 valuepublic boolean hasExperimentalElement()
public boolean hasExperimental()
public OperationDefinition setExperimentalElement(BooleanType value)
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 valuepublic boolean getExperimental()
public OperationDefinition setExperimental(boolean value)
value - This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.public StringType getPublisherElement()
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 valuepublic boolean hasPublisherElement()
public boolean hasPublisher()
public OperationDefinition setPublisherElement(StringType value)
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 valuepublic String getPublisher()
public OperationDefinition setPublisher(String value)
value - The name of the individual or organization that published the operation definition.public List<OperationDefinition.OperationDefinitionContactComponent> getContact()
contact (Contacts to assist a user in finding and communicating with the publisher.)public boolean hasContact()
public OperationDefinition.OperationDefinitionContactComponent addContact()
contact (Contacts to assist a user in finding and communicating with the publisher.)public OperationDefinition addContact(OperationDefinition.OperationDefinitionContactComponent t)
public DateTimeType getDateElement()
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 valuepublic boolean hasDateElement()
public boolean hasDate()
public OperationDefinition setDateElement(DateTimeType value)
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 valuepublic Date getDate()
public OperationDefinition setDate(Date value)
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.public StringType getDescriptionElement()
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 valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public OperationDefinition setDescriptionElement(StringType value)
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 valuepublic String getDescription()
public OperationDefinition setDescription(String value)
value - A free text natural language description of the profile and its use.public StringType getRequirementsElement()
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 valuepublic boolean hasRequirementsElement()
public boolean hasRequirements()
public OperationDefinition setRequirementsElement(StringType value)
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 valuepublic String getRequirements()
public OperationDefinition setRequirements(String value)
value - Explains why this operation definition is needed and why it's been constrained as it has.public BooleanType getIdempotentElement()
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 valuepublic boolean hasIdempotentElement()
public boolean hasIdempotent()
public OperationDefinition setIdempotentElement(BooleanType value)
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 valuepublic boolean getIdempotent()
public OperationDefinition setIdempotent(boolean value)
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.public CodeType getCodeElement()
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 valuepublic boolean hasCodeElement()
public boolean hasCode()
public OperationDefinition setCodeElement(CodeType value)
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 valuepublic OperationDefinition setCode(String value)
value - The name used to invoke the operation.public StringType getNotesElement()
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 valuepublic boolean hasNotesElement()
public boolean hasNotes()
public OperationDefinition setNotesElement(StringType value)
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 valuepublic String getNotes()
public OperationDefinition setNotes(String value)
value - Additional information about how to use this operation or named query.public Reference getBase()
base (Indicates that this operation definition is a constraining profile on the base.)public boolean hasBase()
public OperationDefinition setBase(Reference value)
value - base (Indicates that this operation definition is a constraining profile on the base.)public OperationDefinition getBaseTarget()
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.)public OperationDefinition setBaseTarget(OperationDefinition value)
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.)public BooleanType getSystemElement()
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 valuepublic boolean hasSystemElement()
public boolean hasSystem()
public OperationDefinition setSystemElement(BooleanType value)
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 valuepublic boolean getSystem()
public OperationDefinition setSystem(boolean value)
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).public List<CodeType> getType()
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).)public boolean hasType()
public CodeType addTypeElement()
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).)public OperationDefinition addType(String value)
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).)public boolean hasType(String value)
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).)public BooleanType getInstanceElement()
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 valuepublic boolean hasInstanceElement()
public boolean hasInstance()
public OperationDefinition setInstanceElement(BooleanType value)
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 valuepublic boolean getInstance()
public OperationDefinition setInstance(boolean value)
value - Indicates whether this operation can be invoked on a particular instance of one of the given types.public List<OperationDefinition.OperationDefinitionParameterComponent> getParameter()
parameter (The parameters for the operation/query.)public boolean hasParameter()
public OperationDefinition.OperationDefinitionParameterComponent addParameter()
parameter (The parameters for the operation/query.)public OperationDefinition addParameter(OperationDefinition.OperationDefinitionParameterComponent t)
protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic OperationDefinition copy()
copy in class DomainResourceprotected OperationDefinition typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.