public class Account extends BaseResource implements IResource
Definition: A financial tool for tracking value accrued for a particular purpose. In the healthcare field, used to track charges for a patient, cost centres, etc.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Account
| Modifier and Type | Field and Description |
|---|---|
static QuantityClientParam |
BALANCE
Fluent Client search parameter constant for balance
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_OWNER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
static ReferenceClientParam |
OWNER
Fluent Client search parameter constant for owner
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static DateClientParam |
PERIOD
Fluent Client search parameter constant for period
|
static String |
SP_BALANCE
Search parameter constant for balance
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_NAME
Search parameter constant for name
|
static String |
SP_OWNER
Search parameter constant for owner
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_PERIOD
Search parameter constant for period
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static String |
SP_TYPE
Search parameter constant for type
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Account() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier ()
|
Account |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()
|
PeriodDt |
getActivePeriod()
Gets the value(s) for activePeriod ().
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
MoneyDt |
getBalance()
Gets the value(s) for balance ().
|
PeriodDt |
getCoveragePeriod()
Gets the value(s) for coveragePeriod ().
|
CodingDt |
getCurrency()
Gets the value(s) for currency ().
|
String |
getDescription()
Gets the value(s) for description ().
|
StringDt |
getDescriptionElement()
Gets the value(s) for description ().
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier ().
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (),
creating it if it does not already exist.
|
String |
getName()
Gets the value(s) for name ().
|
StringDt |
getNameElement()
Gets the value(s) for name ().
|
ResourceReferenceDt |
getOwner()
Gets the value(s) for owner ().
|
String |
getResourceName() |
String |
getStatus()
Gets the value(s) for status ().
|
BoundCodeDt<AccountStatusEnum> |
getStatusElement()
Gets the value(s) for status ().
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject ().
|
CodeableConceptDt |
getType()
Gets the value(s) for type ().
|
boolean |
isEmpty() |
Account |
setActivePeriod(PeriodDt theValue)
Sets the value(s) for activePeriod ()
|
Account |
setBalance(MoneyDt theValue)
Sets the value(s) for balance ()
|
Account |
setCoveragePeriod(PeriodDt theValue)
Sets the value(s) for coveragePeriod ()
|
Account |
setCurrency(CodingDt theValue)
Sets the value(s) for currency ()
|
Account |
setDescription(String theString)
Sets the value for description ()
|
Account |
setDescription(StringDt theValue)
Sets the value(s) for description ()
|
Account |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()
|
Account |
setName(String theString)
Sets the value for name ()
|
Account |
setName(StringDt theValue)
Sets the value(s) for name ()
|
Account |
setOwner(ResourceReferenceDt theValue)
Sets the value(s) for owner ()
|
Account |
setStatus(AccountStatusEnum theValue)
Sets the value(s) for status ()
|
Account |
setStatus(BoundCodeDt<AccountStatusEnum> theValue)
Sets the value(s) for status ()
|
Account |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject ()
|
Account |
setType(CodeableConceptDt theValue)
Sets the value(s) for type ()
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, 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, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_IDENTIFIER
Description:
Type: token
Path: Account.identifier
public static final TokenClientParam IDENTIFIER
Description:
Type: token
Path: Account.identifier
public static final String SP_NAME
Description:
Type: string
Path: Account.name
public static final StringClientParam NAME
Description:
Type: string
Path: Account.name
public static final String SP_TYPE
Description:
Type: token
Path: Account.type
public static final TokenClientParam TYPE
Description:
Type: token
Path: Account.type
public static final String SP_STATUS
Description:
Type: token
Path: Account.status
public static final TokenClientParam STATUS
Description:
Type: token
Path: Account.status
public static final String SP_BALANCE
Description:
Type: quantity
Path: Account.balance
public static final QuantityClientParam BALANCE
Description:
Type: quantity
Path: Account.balance
public static final String SP_PERIOD
Description:
Type: date
Path: Account.coveragePeriod
public static final DateClientParam PERIOD
Description:
Type: date
Path: Account.coveragePeriod
public static final String SP_SUBJECT
Description:
Type: reference
Path: Account.subject
public static final ReferenceClientParam SUBJECT
Description:
Type: reference
Path: Account.subject
public static final String SP_OWNER
Description:
Type: reference
Path: Account.owner
public static final ReferenceClientParam OWNER
Description:
Type: reference
Path: Account.owner
public static final String SP_PATIENT
Description:
Type: reference
Path: Account.subject
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: Account.subject
public static final Include INCLUDE_OWNER
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_SUBJECT
public Account()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition: Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number)
public Account setIdentifier(List<IdentifierDt> theValue)
Definition: Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number)
public IdentifierDt addIdentifier()
Definition: Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number)
public Account addIdentifier(IdentifierDt theValue)
Definition: Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number)
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number)
public StringDt getNameElement()
null.
Definition: Name used for the account when displaying it to humans in reports, etc.
public String getName()
null.
Definition: Name used for the account when displaying it to humans in reports, etc.
public Account setName(StringDt theValue)
Definition: Name used for the account when displaying it to humans in reports, etc.
public Account setName(String theString)
Definition: Name used for the account when displaying it to humans in reports, etc.
public CodeableConceptDt getType()
null.
Definition: Categorizes the account for reporting and searching purposes
public Account setType(CodeableConceptDt theValue)
Definition: Categorizes the account for reporting and searching purposes
public BoundCodeDt<AccountStatusEnum> getStatusElement()
null.
Definition: Indicates whether the account is presently used/useable or not
public String getStatus()
null.
Definition: Indicates whether the account is presently used/useable or not
public Account setStatus(BoundCodeDt<AccountStatusEnum> theValue)
Definition: Indicates whether the account is presently used/useable or not
public Account setStatus(AccountStatusEnum theValue)
Definition: Indicates whether the account is presently used/useable or not
public PeriodDt getActivePeriod()
null.
Definition: Indicates the period of time over which the account is allowed
public Account setActivePeriod(PeriodDt theValue)
Definition: Indicates the period of time over which the account is allowed
public CodingDt getCurrency()
null.
Definition: Identifies the currency to which transactions must be converted when crediting or debiting the account.
public Account setCurrency(CodingDt theValue)
Definition: Identifies the currency to which transactions must be converted when crediting or debiting the account.
public MoneyDt getBalance()
null.
Definition: Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative.
public Account setBalance(MoneyDt theValue)
Definition: Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative.
public PeriodDt getCoveragePeriod()
null.
Definition: Identifies the period of time the account applies to; e.g. accounts created per fiscal year, quarter, etc.
public Account setCoveragePeriod(PeriodDt theValue)
Definition: Identifies the period of time the account applies to; e.g. accounts created per fiscal year, quarter, etc.
public ResourceReferenceDt getSubject()
null.
Definition: Identifies the patient, device, practitioner, location or other object the account is associated with
public Account setSubject(ResourceReferenceDt theValue)
Definition: Identifies the patient, device, practitioner, location or other object the account is associated with
public ResourceReferenceDt getOwner()
null.
Definition: Indicates the organization, department, etc. with responsibility for the account.
public Account setOwner(ResourceReferenceDt theValue)
Definition: Indicates the organization, department, etc. with responsibility for the account.
public StringDt getDescriptionElement()
null.
Definition: Provides additional information about what the account tracks and how it is used
public String getDescription()
null.
Definition: Provides additional information about what the account tracks and how it is used
public Account setDescription(StringDt theValue)
Definition: Provides additional information about what the account tracks and how it is used
public Account setDescription(String theString)
Definition: Provides additional information about what the account tracks and how it is used
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.