public class UserSession extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
UserSession.UserSessionContextComponent |
static class |
UserSession.UserSessionStatus |
static class |
UserSession.UserSessionStatusComponent |
static class |
UserSession.UserSessionStatusEnumFactory |
static class |
UserSession.UserSessionStatusSource |
static class |
UserSession.UserSessionStatusSourceEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected List<UserSession.UserSessionContextComponent> |
context
Provides additional information associated with the context.
|
protected InstantType |
created
Indicates the timestamp when the user session was first created.
|
protected InstantType |
expires
Indicates the timestamp when the user session will expire (i.e.
|
protected List<Reference> |
focus
The current focus of the user's session.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
FOCUS
Fluent Client search parameter constant for focus
|
protected List<Resource> |
focusTarget
The actual objects that are the target of the reference (The current focus of the user's session.
|
protected Identifier |
identifier
Allows a service to provide a unique, business identifier for the session.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_FOCUS
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_USER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_FOCUS
Search parameter: focus
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_USER
Search parameter: user
|
static String |
SP_WORKSTATION
Search parameter: workstation
|
protected UserSession.UserSessionStatusComponent |
status
Status of the session.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected Reference |
user
A practitioner, patient, device, or related person engaged in the session.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
USER
Fluent Client search parameter constant for user
|
protected Resource |
userTarget
The actual object that is the target of the reference (A practitioner, patient, device, or related person engaged in the session.)
|
protected Identifier |
workstation
Location that identifies the physical place at which the user's session is occurring.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
WORKSTATION
Fluent Client search parameter constant for workstation
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
UserSession()
Constructor
|
UserSession(Reference user)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected Identifier identifier
protected Reference user
protected Resource userTarget
protected UserSession.UserSessionStatusComponent status
protected Identifier workstation
protected List<Reference> focus
protected List<Resource> focusTarget
protected InstantType created
protected InstantType expires
protected List<UserSession.UserSessionContextComponent> context
public static final String SP_IDENTIFIER
Description: External identifiers for the user session
Type: token
Path: UserSession.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: External identifiers for the user session
Type: token
Path: UserSession.identifier
public static final String SP_PATIENT
Description: The identity of a patient to search for user sessions
Type: reference
Path: UserSession.focus
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: The identity of a patient to search for user sessions
Type: reference
Path: UserSession.focus
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_FOCUS
Description: The focus of the user session
Type: reference
Path: UserSession.focus
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FOCUS
Description: The focus of the user session
Type: reference
Path: UserSession.focus
public static final ca.uhn.fhir.model.api.Include INCLUDE_FOCUS
public static final String SP_WORKSTATION
Description: The workstation of the session
Type: token
Path: UserSession.workstation
public static final ca.uhn.fhir.rest.gclient.TokenClientParam WORKSTATION
Description: The workstation of the session
Type: token
Path: UserSession.workstation
public static final String SP_USER
Description: The user of the session
Type: reference
Path: UserSession.user
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam USER
Description: The user of the session
Type: reference
Path: UserSession.user
public static final ca.uhn.fhir.model.api.Include INCLUDE_USER
public static final String SP_STATUS
Description: The status of the user session
Type: token
Path: UserSession.status.code
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: The status of the user session
Type: token
Path: UserSession.status.code
public UserSession()
public UserSession(Reference user)
public Identifier getIdentifier()
identifier (Allows a service to provide a unique, business identifier for the session.)public boolean hasIdentifier()
public UserSession setIdentifier(Identifier value)
value - identifier (Allows a service to provide a unique, business identifier for the session.)public Reference getUser()
user (A practitioner, patient, device, or related person engaged in the session.)public boolean hasUser()
public UserSession setUser(Reference value)
value - user (A practitioner, patient, device, or related person engaged in the session.)public Resource getUserTarget()
user 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. (A practitioner, patient, device, or related person engaged in the session.)public UserSession setUserTarget(Resource value)
value - user 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. (A practitioner, patient, device, or related person engaged in the session.)public UserSession.UserSessionStatusComponent getStatus()
status (Status of the session.)public boolean hasStatus()
public UserSession setStatus(UserSession.UserSessionStatusComponent value)
value - status (Status of the session.)public Identifier getWorkstation()
workstation (Location that identifies the physical place at which the user's session is occurring. For the purposes of context synchronization, this is intended to represent the user's workstation.)public boolean hasWorkstation()
public UserSession setWorkstation(Identifier value)
value - workstation (Location that identifies the physical place at which the user's session is occurring. For the purposes of context synchronization, this is intended to represent the user's workstation.)public List<Reference> getFocus()
focus (The current focus of the user's session. Common values are a reference to a Patient, Encounter, ImagingStudy, etc.)public UserSession setFocus(List<Reference> theFocus)
this for easy method chainingpublic boolean hasFocus()
public UserSession addFocus(Reference t)
public Reference getFocusFirstRep()
focus, creating it if it does not already exist@Deprecated public List<Resource> getFocusTarget()
public InstantType getCreatedElement()
created (Indicates the timestamp when the user session was first created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the valuepublic boolean hasCreatedElement()
public boolean hasCreated()
public UserSession setCreatedElement(InstantType value)
value - created (Indicates the timestamp when the user session was first created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the valuepublic Date getCreated()
public UserSession setCreated(Date value)
value - Indicates the timestamp when the user session was first created.public InstantType getExpiresElement()
expires (Indicates the timestamp when the user session will expire (i.e. no longer be valid).). This is the underlying object with id, value and extensions. The accessor "getExpires" gives direct access to the valuepublic boolean hasExpiresElement()
public boolean hasExpires()
public UserSession setExpiresElement(InstantType value)
value - expires (Indicates the timestamp when the user session will expire (i.e. no longer be valid).). This is the underlying object with id, value and extensions. The accessor "getExpires" gives direct access to the valuepublic Date getExpires()
public UserSession setExpires(Date value)
value - Indicates the timestamp when the user session will expire (i.e. no longer be valid).public List<UserSession.UserSessionContextComponent> getContext()
context (Provides additional information associated with the context.)public UserSession setContext(List<UserSession.UserSessionContextComponent> theContext)
this for easy method chainingpublic boolean hasContext()
public UserSession.UserSessionContextComponent addContext()
public UserSession addContext(UserSession.UserSessionContextComponent t)
public UserSession.UserSessionContextComponent getContextFirstRep()
context, creating it if it does not already existprotected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty 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 UserSession copy()
copy in class DomainResourceprotected UserSession 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.