public class Account extends BaseResource implements ca.uhn.fhir.model.api.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 ca.uhn.fhir.rest.gclient.QuantityClientParam |
BALANCE
Fluent Client search parameter constant for balance
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_OWNER
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_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
NAME
Fluent Client search parameter constant for name
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
OWNER
Fluent Client search parameter constant for owner
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGE| 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 ca.uhn.fhir.model.api.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 ().
|
ca.uhn.fhir.model.primitive.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 ().
|
ca.uhn.fhir.model.primitive.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 ().
|
ca.uhn.fhir.model.primitive.BoundCodeDt<AccountStatusEnum> |
getStatusElement()
Gets the value(s) for status ().
|
ca.uhn.fhir.context.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(ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String SP_IDENTIFIER
Description:
Type: token
Path: Account.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description:
Type: token
Path: Account.identifier
public static final String SP_NAME
Description:
Type: string
Path: Account.name
public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
Description:
Type: string
Path: Account.name
public static final String SP_TYPE
Description:
Type: token
Path: Account.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description:
Type: token
Path: Account.type
public static final String SP_STATUS
Description:
Type: token
Path: Account.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description:
Type: token
Path: Account.status
public static final String SP_BALANCE
Description:
Type: quantity
Path: Account.balance
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam BALANCE
Description:
Type: quantity
Path: Account.balance
public static final String SP_PERIOD
Description:
Type: date
Path: Account.coveragePeriod
public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD
Description:
Type: date
Path: Account.coveragePeriod
public static final String SP_SUBJECT
Description:
Type: reference
Path: Account.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description:
Type: reference
Path: Account.subject
public static final String SP_OWNER
Description:
Type: reference
Path: Account.owner
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OWNER
Description:
Type: reference
Path: Account.owner
public static final String SP_PATIENT
Description:
Type: reference
Path: Account.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description:
Type: reference
Path: Account.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_OWNER
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public Account()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.api.IResourcepublic ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResourcegetStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResourceCopyright © 2014–2018 University Health Network. All rights reserved.