public class User extends BaseResource implements IResource
Definition:
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/User
| Modifier and Type | Field and Description |
|---|---|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static TokenClientParam |
LEVEL
Fluent Client search parameter constant for level
|
static StringClientParam |
LOGIN
Fluent Client search parameter constant for login
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static TokenClientParam |
PROVIDER
Fluent Client search parameter constant for provider
|
static String |
SP_LEVEL
Search parameter constant for level
|
static String |
SP_LOGIN
Search parameter constant for login
|
static String |
SP_NAME
Search parameter constant for name
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_PROVIDER
Search parameter constant for provider
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
ContactDt |
addContact()
Adds and returns a new value for contact (Contact details for the user)
|
User |
addContact(ContactUseEnum theContactUse,
String theValue)
Adds a new value for contact (Contact details for the user)
|
User |
addContact(String theValue)
Adds a new value for contact (Contact details for the user)
|
ResourceReferenceDt |
addPatient()
Adds and returns a new value for patient (Patient compartments the user has access to (if level is patient/family))
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<ContactDt> |
getContact()
Gets the value(s) for contact (Contact details for the user).
|
ContactDt |
getContactFirstRep()
Gets the first repetition for contact (Contact details for the user),
creating it if it does not already exist.
|
CodeDt |
getLevel()
Gets the value(s) for level (The level access for this user).
|
StringDt |
getLogin()
Gets the value(s) for login (The login by which this user is known).
|
HumanNameDt |
getName()
Gets the value(s) for name (The name of this user).
|
StringDt |
getPassword()
Gets the value(s) for password (If internal login, the password hash (SHA 256, Hex, lowercase)).
|
List<ResourceReferenceDt> |
getPatient()
Gets the value(s) for patient (Patient compartments the user has access to (if level is patient/family)).
|
UriDt |
getProvider()
Gets the value(s) for provider (Which system authenticates the user.
|
IntegerDt |
getSessionLength()
Gets the value(s) for sessionLength (How long a session lasts for).
|
boolean |
isEmpty() |
User |
setContact(List<ContactDt> theValue)
Sets the value(s) for contact (Contact details for the user)
|
User |
setLevel(CodeDt theValue)
Sets the value(s) for level (The level access for this user)
|
User |
setLevel(String theCode)
Sets the value for level (The level access for this user)
|
User |
setLogin(String theString)
Sets the value for login (The login by which this user is known)
|
User |
setLogin(StringDt theValue)
Sets the value(s) for login (The login by which this user is known)
|
User |
setName(HumanNameDt theValue)
Sets the value(s) for name (The name of this user)
|
User |
setPassword(String theString)
Sets the value for password (If internal login, the password hash (SHA 256, Hex, lowercase))
|
User |
setPassword(StringDt theValue)
Sets the value(s) for password (If internal login, the password hash (SHA 256, Hex, lowercase))
|
User |
setPatient(List<ResourceReferenceDt> theValue)
Sets the value(s) for patient (Patient compartments the user has access to (if level is patient/family))
|
User |
setProvider(String theUri)
Sets the value for provider (Which system authenticates the user.
|
User |
setProvider(UriDt theValue)
Sets the value(s) for provider (Which system authenticates the user.
|
User |
setSessionLength(int theInteger)
Sets the value for sessionLength (How long a session lasts for)
|
User |
setSessionLength(IntegerDt theValue)
Sets the value(s) for sessionLength (How long a session lasts for)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_NAME
Description:
Type: string
Path: User.name
public static final StringClientParam NAME
Description:
Type: string
Path: User.name
public static final String SP_PROVIDER
Description:
Type: token
Path: User.provider
public static final TokenClientParam PROVIDER
Description:
Type: token
Path: User.provider
public static final String SP_LOGIN
Description:
Type: string
Path: User.login
public static final StringClientParam LOGIN
Description:
Type: string
Path: User.login
public static final String SP_LEVEL
Description:
Type: token
Path: User.level
public static final TokenClientParam LEVEL
Description:
Type: token
Path: User.level
public static final String SP_PATIENT
Description:
Type: reference
Path: User.patient
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: User.patient
public static final Include INCLUDE_PATIENT
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic HumanNameDt getName()
null.
Definition:
public User setName(HumanNameDt theValue)
Definition:
public UriDt getProvider()
null.
Definition:
public User setProvider(UriDt theValue)
Definition:
public User setProvider(String theUri)
Definition:
public StringDt getLogin()
null.
Definition:
public User setLogin(StringDt theValue)
Definition:
public User setLogin(String theString)
Definition:
public StringDt getPassword()
null.
Definition:
public User setPassword(StringDt theValue)
Definition:
public User setPassword(String theString)
Definition:
public CodeDt getLevel()
null.
Definition:
public User setLevel(CodeDt theValue)
Definition:
public User setLevel(String theCode)
Definition:
public IntegerDt getSessionLength()
null.
Definition:
public User setSessionLength(IntegerDt theValue)
Definition:
public User setSessionLength(int theInteger)
Definition:
public List<ContactDt> getContact()
null.
Definition:
public User setContact(List<ContactDt> theValue)
Definition:
public ContactDt addContact()
Definition:
public ContactDt getContactFirstRep()
Definition:
public User addContact(ContactUseEnum theContactUse, String theValue)
Definition:
public User addContact(String theValue)
Definition:
public List<ResourceReferenceDt> getPatient()
null.
Definition:
public User setPatient(List<ResourceReferenceDt> theValue)
Definition:
public ResourceReferenceDt addPatient()
Definition:
Copyright © 2014 University Health Network. All rights reserved.