Class Provenance.Agent

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.Provenance.Agent
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
Enclosing class:
Provenance

public static class Provenance.Agent extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Provenance.agent (who)

Definition: An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, an organization, software, or other entities that may be ascribed responsibility

See Also:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getRole

      public CodingDt getRole()
      Gets the value(s) for role (). creating it if it does not exist. Will not return null.

      Definition: The function of the agent with respect to the activity.

    • setRole

      public Provenance.Agent setRole(CodingDt theValue)
      Sets the value(s) for role ()

      Definition: The function of the agent with respect to the activity.

    • getActor

      Gets the value(s) for actor (who.actor). creating it if it does not exist. Will not return null.

      Definition: The individual, device or organization that participated in the event

    • setActor

      Sets the value(s) for actor (who.actor)

      Definition: The individual, device or organization that participated in the event

    • getUserId

      Gets the value(s) for userId (who.actor). creating it if it does not exist. Will not return null.

      Definition: The identity of the agent as known by the authorization system

    • setUserId

      Sets the value(s) for userId (who.actor)

      Definition: The identity of the agent as known by the authorization system

    • getRelatedAgent

      Gets the value(s) for relatedAgent (). creating it if it does not exist. Will not return null.

      Definition: A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest

    • setRelatedAgent

      Sets the value(s) for relatedAgent ()

      Definition: A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest

    • addRelatedAgent

      Adds and returns a new value for relatedAgent ()

      Definition: A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest

    • addRelatedAgent

      Adds a given new value for relatedAgent ()

      Definition: A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest

      Parameters:
      theValue - The relatedAgent to add (must not be null)
    • getRelatedAgentFirstRep

      Gets the first repetition for relatedAgent (), creating it if it does not already exist.

      Definition: A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest