Class Account
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.Account
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
public class Account extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR Account Resource ()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
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.QuantityClientParamBALANCEFluent Client search parameter constant for balancestatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_OWNERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.StringClientParamNAMEFluent Client search parameter constant for namestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamOWNERFluent Client search parameter constant for ownerstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.DateClientParamPERIODFluent Client search parameter constant for periodstatic StringSP_BALANCESearch parameter constant for balancestatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_NAMESearch parameter constant for namestatic StringSP_OWNERSearch parameter constant for ownerstatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_PERIODSearch parameter constant for periodstatic StringSP_STATUSSearch parameter constant for statusstatic StringSP_SUBJECTSearch parameter constant for subjectstatic StringSP_TYPESearch parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectstatic ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description Account()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierDtaddIdentifier()Adds and returns a new value for identifier ()AccountaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier ()PeriodDtgetActivePeriod()Gets the value(s) for activePeriod ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)MoneyDtgetBalance()Gets the value(s) for balance ().PeriodDtgetCoveragePeriod()Gets the value(s) for coveragePeriod ().CodingDtgetCurrency()Gets the value(s) for currency ().StringgetDescription()Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDtgetDescriptionElement()Gets the value(s) for description ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier ().IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (), creating it if it does not already exist.StringgetName()Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDtgetNameElement()Gets the value(s) for name ().ResourceReferenceDtgetOwner()Gets the value(s) for owner ().StringgetResourceName()StringgetStatus()Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt<AccountStatusEnum>getStatusElement()Gets the value(s) for status ().ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()ResourceReferenceDtgetSubject()Gets the value(s) for subject ().CodeableConceptDtgetType()Gets the value(s) for type ().booleanisEmpty()AccountsetActivePeriod(PeriodDt theValue)Sets the value(s) for activePeriod ()AccountsetBalance(MoneyDt theValue)Sets the value(s) for balance ()AccountsetCoveragePeriod(PeriodDt theValue)Sets the value(s) for coveragePeriod ()AccountsetCurrency(CodingDt theValue)Sets the value(s) for currency ()AccountsetDescription(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for description ()AccountsetDescription(String theString)Sets the value for description ()AccountsetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier ()AccountsetName(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for name ()AccountsetName(String theString)Sets the value for name ()AccountsetOwner(ResourceReferenceDt theValue)Sets the value(s) for owner ()AccountsetStatus(AccountStatusEnum theValue)Sets the value(s) for status ()AccountsetStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<AccountStatusEnum> theValue)Sets the value(s) for status ()AccountsetSubject(ResourceReferenceDt theValue)Sets the value(s) for subject ()AccountsetType(CodeableConceptDt theValue)Sets the value(s) for type ()-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: Account.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: Account.identifier
-
SP_NAME
public static final String SP_NAME
Search parameter constant for nameDescription:
Type: string
Path: Account.name
- See Also:
- Constant Field Values
-
NAME
public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
Fluent Client search parameter constant for nameDescription:
Type: string
Path: Account.name
-
SP_TYPE
public static final String SP_TYPE
Search parameter constant for typeDescription:
Type: token
Path: Account.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription:
Type: token
Path: Account.type
-
SP_STATUS
public static final String SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: Account.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: Account.status
-
SP_BALANCE
public static final String SP_BALANCE
Search parameter constant for balanceDescription:
Type: quantity
Path: Account.balance
- See Also:
- Constant Field Values
-
BALANCE
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam BALANCE
Fluent Client search parameter constant for balanceDescription:
Type: quantity
Path: Account.balance
-
SP_PERIOD
public static final String SP_PERIOD
Search parameter constant for periodDescription:
Type: date
Path: Account.coveragePeriod
- See Also:
- Constant Field Values
-
PERIOD
public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD
Fluent Client search parameter constant for periodDescription:
Type: date
Path: Account.coveragePeriod
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter constant for subjectDescription:
Type: reference
Path: Account.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription:
Type: reference
Path: Account.subject
-
SP_OWNER
public static final String SP_OWNER
Search parameter constant for ownerDescription:
Type: reference
Path: Account.owner
- See Also:
- Constant Field Values
-
OWNER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OWNER
Fluent Client search parameter constant for ownerDescription:
Type: reference
Path: Account.owner
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: Account.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: Account.subject
-
INCLUDE_OWNER
public static final ca.uhn.fhir.model.api.Include INCLUDE_OWNER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Account:owner".
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Account:patient".
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Account:subject".
-
-
Constructor Detail
-
Account
public Account()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull.Definition: Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number)
-
setIdentifier
public Account setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()Definition: Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number)
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier ()Definition: Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number)
-
addIdentifier
public Account addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()Definition: Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number)
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (), creating it if it does not already exist.Definition: Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number)
-
getNameElement
public ca.uhn.fhir.model.primitive.StringDt getNameElement()
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull.Definition: Name used for the account when displaying it to humans in reports, etc.
-
getName
public String getName()
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull.Definition: Name used for the account when displaying it to humans in reports, etc.
-
setName
public Account setName(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for name ()Definition: Name used for the account when displaying it to humans in reports, etc.
-
setName
public Account setName(String theString)
Sets the value for name ()Definition: Name used for the account when displaying it to humans in reports, etc.
-
getType
public CodeableConceptDt getType()
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull.Definition: Categorizes the account for reporting and searching purposes
-
setType
public Account setType(CodeableConceptDt theValue)
Sets the value(s) for type ()Definition: Categorizes the account for reporting and searching purposes
-
getStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<AccountStatusEnum> getStatusElement()
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull.Definition: Indicates whether the account is presently used/useable or not
-
getStatus
public String getStatus()
Gets the value(s) for status (). creating it if it does not exist. This method may returnnull.Definition: Indicates whether the account is presently used/useable or not
-
setStatus
public Account setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<AccountStatusEnum> theValue)
Sets the value(s) for status ()Definition: Indicates whether the account is presently used/useable or not
-
setStatus
public Account setStatus(AccountStatusEnum theValue)
Sets the value(s) for status ()Definition: Indicates whether the account is presently used/useable or not
-
getActivePeriod
public PeriodDt getActivePeriod()
Gets the value(s) for activePeriod (). creating it if it does not exist. Will not returnnull.Definition: Indicates the period of time over which the account is allowed
-
setActivePeriod
public Account setActivePeriod(PeriodDt theValue)
Sets the value(s) for activePeriod ()Definition: Indicates the period of time over which the account is allowed
-
getCurrency
public CodingDt getCurrency()
Gets the value(s) for currency (). creating it if it does not exist. Will not returnnull.Definition: Identifies the currency to which transactions must be converted when crediting or debiting the account.
-
setCurrency
public Account setCurrency(CodingDt theValue)
Sets the value(s) for currency ()Definition: Identifies the currency to which transactions must be converted when crediting or debiting the account.
-
getBalance
public MoneyDt getBalance()
Gets the value(s) for balance (). creating it if it does not exist. Will not returnnull.Definition: Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative.
-
setBalance
public Account setBalance(MoneyDt theValue)
Sets the value(s) for balance ()Definition: Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative.
-
getCoveragePeriod
public PeriodDt getCoveragePeriod()
Gets the value(s) for coveragePeriod (). creating it if it does not exist. Will not returnnull.Definition: Identifies the period of time the account applies to; e.g. accounts created per fiscal year, quarter, etc.
-
setCoveragePeriod
public Account setCoveragePeriod(PeriodDt theValue)
Sets the value(s) for coveragePeriod ()Definition: Identifies the period of time the account applies to; e.g. accounts created per fiscal year, quarter, etc.
-
getSubject
public ResourceReferenceDt getSubject()
Gets the value(s) for subject (). creating it if it does not exist. Will not returnnull.Definition: Identifies the patient, device, practitioner, location or other object the account is associated with
-
setSubject
public Account setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject ()Definition: Identifies the patient, device, practitioner, location or other object the account is associated with
-
getOwner
public ResourceReferenceDt getOwner()
Gets the value(s) for owner (). creating it if it does not exist. Will not returnnull.Definition: Indicates the organization, department, etc. with responsibility for the account.
-
setOwner
public Account setOwner(ResourceReferenceDt theValue)
Sets the value(s) for owner ()Definition: Indicates the organization, department, etc. with responsibility for the account.
-
getDescriptionElement
public ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull.Definition: Provides additional information about what the account tracks and how it is used
-
getDescription
public String getDescription()
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull.Definition: Provides additional information about what the account tracks and how it is used
-
setDescription
public Account setDescription(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for description ()Definition: Provides additional information about what the account tracks and how it is used
-
setDescription
public Account setDescription(String theString)
Sets the value for description ()Definition: Provides additional information about what the account tracks and how it is used
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-