Class 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:
  • Field Details

  • Constructor Details

  • 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

      public boolean hasUrlElement()
    • hasUrl

      public boolean 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

      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

      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

      public boolean hasVersionElement()
    • hasVersion

      public boolean 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

      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

      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

      public boolean hasNameElement()
    • hasName

      public boolean 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

      public String 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

      public boolean hasStatusElement()
    • hasStatus

      public boolean hasStatus()
    • setStatusElement

      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

      public boolean hasKindElement()
    • hasKind

      public boolean 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

      public boolean hasExperimentalElement()
    • hasExperimental

      public boolean 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

      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

      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

      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

      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

      public boolean 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

      public boolean hasDateElement()
    • hasDate

      public boolean 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

      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

      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

      public boolean hasDescriptionElement()
    • hasDescription

      public boolean 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

      public boolean hasRequirementsElement()
    • hasRequirements

      public boolean 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

      public boolean hasIdempotentElement()
    • hasIdempotent

      public boolean 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

      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

      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

      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

      public String 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

      public boolean hasNotesElement()
    • hasNotes

      public boolean 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

      public String 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

      public Reference getBase()
      Returns:
      base (Indicates that this operation definition is a constraining profile on the base.)
    • hasBase

      public boolean 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

      public boolean hasSystemElement()
    • hasSystem

      public boolean 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

      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

      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

      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

      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

      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

      Returns:
      parameter (The parameters for the operation/query.)
    • hasParameter

      public boolean hasParameter()
    • addParameter

      Returns:
      parameter (The parameters for the operation/query.)
    • addParameter

    • listChildren

      protected void listChildren(List<Property> childrenList)
      Overrides:
      listChildren in class DomainResource
    • setProperty

      public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class DomainResource
    • copy

      Specified by:
      copy in class DomainResource
    • typedCopy

    • equalsDeep

      public boolean equalsDeep(Base other)
      Overrides:
      equalsDeep in class DomainResource
    • equalsShallow

      public boolean equalsShallow(Base other)
      Overrides:
      equalsShallow in class DomainResource
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class DomainResource
    • getResourceType

      Specified by:
      getResourceType in class Resource