public class Account extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Account.AccountStatus |
static class |
Account.AccountStatusEnumFactory |
static class |
Account.CoverageComponent |
static class |
Account.GuarantorComponent |
| Modifier and Type | Field and Description |
|---|---|
protected Period |
active
Indicates the period of time over which the account is allowed to have transactions posted to it.
|
protected Money |
balance
Represents the sum of all credits less all debits associated with the account.
|
static QuantityClientParam |
BALANCE
Fluent Client search parameter constant for balance
|
protected List<Account.CoverageComponent> |
coverage
The party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account.
|
protected StringType |
description
Provides additional information about what the account tracks and how it is used.
|
protected List<Account.GuarantorComponent> |
guarantor
Parties financially responsible for the account.
|
protected List<Identifier> |
identifier
Unique identifier used to reference the account.
|
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.
|
protected StringType |
name
Name used for the account when displaying it to humans in reports, etc.
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
protected Reference |
owner
Indicates the organization, department, etc.
|
static ReferenceClientParam |
OWNER
Fluent Client search parameter constant for owner
|
protected Organization |
ownerTarget
The actual object that is the target of the reference (Indicates the organization, department, etc.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Period |
period
Identifies the period of time the account applies to; e.g.
|
static DateClientParam |
PERIOD
Fluent Client search parameter constant for period
|
static String |
SP_BALANCE
Search parameter: balance
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_NAME
Search parameter: name
|
static String |
SP_OWNER
Search parameter: owner
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PERIOD
Search parameter: period
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUBJECT
Search parameter: subject
|
static String |
SP_TYPE
Search parameter: type
|
protected Enumeration<Account.AccountStatus> |
status
Indicates whether the account is presently used/usable or not.
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected Reference |
subject
Identifies the patient, device, practitioner, location or other object the account is associated with.
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (Identifies the patient, device, practitioner, location or other object the account is associated with.)
|
protected CodeableConcept |
type
Categorizes the account for reporting and searching purposes.
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Account()
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Identifier> identifier
protected Enumeration<Account.AccountStatus> status
protected CodeableConcept type
protected StringType name
protected Reference subject
protected Resource subjectTarget
protected Period period
protected Period active
protected Money balance
protected List<Account.CoverageComponent> coverage
protected Reference owner
protected Organization ownerTarget
protected StringType description
protected List<Account.GuarantorComponent> guarantor
public static final String SP_OWNER
Description: Who is responsible?
Type: reference
Path: Account.owner
public static final ReferenceClientParam OWNER
Description: Who is responsible?
Type: reference
Path: Account.owner
public static final Include INCLUDE_OWNER
public static final String SP_IDENTIFIER
Description: Account number
Type: token
Path: Account.identifier
public static final TokenClientParam IDENTIFIER
Description: Account number
Type: token
Path: Account.identifier
public static final String SP_PERIOD
Description: Transaction window
Type: date
Path: Account.period
public static final DateClientParam PERIOD
Description: Transaction window
Type: date
Path: Account.period
public static final String SP_BALANCE
Description: How much is in account?
Type: quantity
Path: Account.balance
public static final QuantityClientParam BALANCE
Description: How much is in account?
Type: quantity
Path: Account.balance
public static final String SP_SUBJECT
Description: What is account tied to?
Type: reference
Path: Account.subject
public static final ReferenceClientParam SUBJECT
Description: What is account tied to?
Type: reference
Path: Account.subject
public static final Include INCLUDE_SUBJECT
public static final String SP_PATIENT
Description: What is account tied to?
Type: reference
Path: Account.subject
public static final ReferenceClientParam PATIENT
Description: What is account tied to?
Type: reference
Path: Account.subject
public static final Include INCLUDE_PATIENT
public static final String SP_NAME
Description: Human-readable label
Type: string
Path: Account.name
public static final StringClientParam NAME
Description: Human-readable label
Type: string
Path: Account.name
public static final String SP_TYPE
Description: E.g. patient, expense, depreciation
Type: token
Path: Account.type
public static final TokenClientParam TYPE
Description: E.g. patient, expense, depreciation
Type: token
Path: Account.type
public static final String SP_STATUS
Description: active | inactive | entered-in-error
Type: token
Path: Account.status
public static final TokenClientParam STATUS
Description: active | inactive | entered-in-error
Type: token
Path: Account.status
public Account()
public List<Identifier> getIdentifier()
identifier (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<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Account addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Enumeration<Account.AccountStatus> getStatusElement()
status (Indicates whether the account is presently used/usable or not.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Account setStatusElement(Enumeration<Account.AccountStatus> value)
value - status (Indicates whether the account is presently used/usable or not.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Account.AccountStatus getStatus()
public Account setStatus(Account.AccountStatus value)
value - Indicates whether the account is presently used/usable or not.public CodeableConcept getType()
type (Categorizes the account for reporting and searching purposes.)public boolean hasType()
public Account setType(CodeableConcept value)
value - type (Categorizes the account for reporting and searching purposes.)public StringType getNameElement()
name (Name used for the account when displaying it to humans in reports, etc.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public Account setNameElement(StringType value)
value - name (Name used for the account when displaying it to humans in reports, etc.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic String getName()
public Account setName(String value)
value - Name used for the account when displaying it to humans in reports, etc.public Reference getSubject()
subject (Identifies the patient, device, practitioner, location or other object the account is associated with.)public boolean hasSubject()
public Account setSubject(Reference value)
value - subject (Identifies the patient, device, practitioner, location or other object the account is associated with.)public Resource getSubjectTarget()
subject 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. (Identifies the patient, device, practitioner, location or other object the account is associated with.)public Account setSubjectTarget(Resource value)
value - subject 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. (Identifies the patient, device, practitioner, location or other object the account is associated with.)public Period getPeriod()
period (Identifies the period of time the account applies to; e.g. accounts created per fiscal year, quarter, etc.)public boolean hasPeriod()
public Account setPeriod(Period value)
value - period (Identifies the period of time the account applies to; e.g. accounts created per fiscal year, quarter, etc.)public Period getActive()
active (Indicates the period of time over which the account is allowed to have transactions posted to it.
This period may be different to the coveragePeriod which is the duration of time that services may occur.)public boolean hasActive()
public Account setActive(Period value)
value - active (Indicates the period of time over which the account is allowed to have transactions posted to it.
This period may be different to the coveragePeriod which is the duration of time that services may occur.)public Money getBalance()
balance (Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative.)public boolean hasBalance()
public Account setBalance(Money value)
value - balance (Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative.)public List<Account.CoverageComponent> getCoverage()
coverage (The party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account.)public Account setCoverage(List<Account.CoverageComponent> theCoverage)
this for easy method chainingpublic boolean hasCoverage()
public Account.CoverageComponent addCoverage()
public Account addCoverage(Account.CoverageComponent t)
public Account.CoverageComponent getCoverageFirstRep()
coverage, creating it if it does not already existpublic Reference getOwner()
owner (Indicates the organization, department, etc. with responsibility for the account.)public boolean hasOwner()
public Account setOwner(Reference value)
value - owner (Indicates the organization, department, etc. with responsibility for the account.)public Organization getOwnerTarget()
owner 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. (Indicates the organization, department, etc. with responsibility for the account.)public Account setOwnerTarget(Organization value)
value - owner 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. (Indicates the organization, department, etc. with responsibility for the account.)public StringType getDescriptionElement()
description (Provides additional information about what the account tracks and how it is used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public Account setDescriptionElement(StringType value)
value - description (Provides additional information about what the account tracks and how it is used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
public Account setDescription(String value)
value - Provides additional information about what the account tracks and how it is used.public List<Account.GuarantorComponent> getGuarantor()
guarantor (Parties financially responsible for the account.)public Account setGuarantor(List<Account.GuarantorComponent> theGuarantor)
this for easy method chainingpublic boolean hasGuarantor()
public Account.GuarantorComponent addGuarantor()
public Account addGuarantor(Account.GuarantorComponent t)
public Account.GuarantorComponent getGuarantorFirstRep()
guarantor, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Account copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.