Class AuditEvent.Source

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.AuditEvent.Source
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:
AuditEvent

public static class AuditEvent.Source
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: AuditEvent.source ()

Definition:

See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    Source()  
  • Method Summary

    Modifier and Type Method Description
    CodingDt addType()
    Adds and returns a new value for type ()
    AuditEvent.Source addType​(CodingDt theValue)
    Adds a given new value for type ()
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
    getAllPopulatedChildElementsOfType​(Class<T> theType)  
    IdentifierDt getIdentifier()
    Gets the value(s) for identifier ().
    String getSite()
    Gets the value(s) for site ().
    ca.uhn.fhir.model.primitive.StringDt getSiteElement()
    Gets the value(s) for site ().
    List<CodingDt> getType()
    Gets the value(s) for type ().
    CodingDt getTypeFirstRep()
    Gets the first repetition for type (), creating it if it does not already exist.
    boolean isEmpty()  
    AuditEvent.Source setIdentifier​(IdentifierDt theValue)
    Sets the value(s) for identifier ()
    AuditEvent.Source setSite​(ca.uhn.fhir.model.primitive.StringDt theValue)
    Sets the value(s) for site ()
    AuditEvent.Source setSite​(String theString)
    Sets the value for site ()
    AuditEvent.Source setType​(List<CodingDt> theValue)
    Sets the value(s) for type ()

    Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId

    Methods inherited from class ca.uhn.fhir.model.api.BaseElement

    addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData

    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.IBase

    fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData

    Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId
  • 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
    • getSiteElement

      public ca.uhn.fhir.model.primitive.StringDt getSiteElement()
      Gets the value(s) for site (). creating it if it does not exist. Will not return null.

      Definition: Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group

    • getSite

      public String getSite()
      Gets the value(s) for site (). creating it if it does not exist. This method may return null.

      Definition: Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group

    • setSite

      public AuditEvent.Source setSite​(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for site ()

      Definition: Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group

    • setSite

      public AuditEvent.Source setSite​(String theString)
      Sets the value for site ()

      Definition: Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group

    • getIdentifier

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

      Definition: Identifier of the source where the event was detected

    • setIdentifier

      Sets the value(s) for identifier ()

      Definition: Identifier of the source where the event was detected

    • getType

      public List<CodingDt> getType()
      Gets the value(s) for type (). creating it if it does not exist. Will not return null.

      Definition: Code specifying the type of source where event originated

    • setType

      public AuditEvent.Source setType​(List<CodingDt> theValue)
      Sets the value(s) for type ()

      Definition: Code specifying the type of source where event originated

    • addType

      public CodingDt addType()
      Adds and returns a new value for type ()

      Definition: Code specifying the type of source where event originated

    • addType

      public AuditEvent.Source addType​(CodingDt theValue)
      Adds a given new value for type ()

      Definition: Code specifying the type of source where event originated

      Parameters:
      theValue - The type to add (must not be null)
    • getTypeFirstRep

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

      Definition: Code specifying the type of source where event originated