Class Coverage
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.Coverage
-
- 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 Coverage extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR Coverage Resource ()Definition: Financial instrument which may be used to pay for or reimburse health care products and services.
Requirements: Health care programs and insurers are significant payors of health service costs
Profile Definition: http://hl7.org/fhir/profiles/Coverage
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamDEPENDENTFluent Client search parameter constant for dependentstatic ca.uhn.fhir.rest.gclient.TokenClientParamGROUPFluent Client search parameter constant for groupstatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ISSUERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamISSUERFluent Client search parameter constant for issuerstatic ca.uhn.fhir.rest.gclient.TokenClientParamPLANFluent Client search parameter constant for planstatic ca.uhn.fhir.rest.gclient.TokenClientParamSEQUENCEFluent Client search parameter constant for sequencestatic StringSP_DEPENDENTSearch parameter constant for dependentstatic StringSP_GROUPSearch parameter constant for groupstatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_ISSUERSearch parameter constant for issuerstatic StringSP_PLANSearch parameter constant for planstatic StringSP_SEQUENCESearch parameter constant for sequencestatic StringSP_SUBPLANSearch parameter constant for subplanstatic StringSP_TYPESearch parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParamSUBPLANFluent Client search parameter constant for subplanstatic 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 Coverage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceDtaddContract()Adds and returns a new value for contract ()IdentifierDtaddIdentifier()Adds and returns a new value for identifier ()CoverageaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)IdentifierDtgetBin()Gets the value(s) for bin ().List<ResourceReferenceDt>getContract()Gets the value(s) for contract ().IntegergetDependent()Gets the value(s) for dependent ().ca.uhn.fhir.model.primitive.PositiveIntDtgetDependentElement()Gets the value(s) for dependent ().StringgetGroup()Gets the value(s) for group ().ca.uhn.fhir.model.primitive.StringDtgetGroupElement()Gets the value(s) for group ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier ().IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (), creating it if it does not already exist.ResourceReferenceDtgetIssuer()Gets the value(s) for issuer ().IdentifierDtgetNetwork()Gets the value(s) for network ().PeriodDtgetPeriod()Gets the value(s) for period ().StringgetPlan()Gets the value(s) for plan ().ca.uhn.fhir.model.primitive.StringDtgetPlanElement()Gets the value(s) for plan ().StringgetResourceName()IntegergetSequence()Gets the value(s) for sequence ().ca.uhn.fhir.model.primitive.PositiveIntDtgetSequenceElement()Gets the value(s) for sequence ().ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()StringgetSubPlan()Gets the value(s) for subPlan ().ca.uhn.fhir.model.primitive.StringDtgetSubPlanElement()Gets the value(s) for subPlan ().ResourceReferenceDtgetSubscriber()Gets the value(s) for subscriber ().IdentifierDtgetSubscriberId()Gets the value(s) for subscriberId ().CodingDtgetType()Gets the value(s) for type ().booleanisEmpty()CoveragesetBin(IdentifierDt theValue)Sets the value(s) for bin ()CoveragesetContract(List<ResourceReferenceDt> theValue)Sets the value(s) for contract ()CoveragesetDependent(int theInteger)Sets the value for dependent ()CoveragesetDependent(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)Sets the value(s) for dependent ()CoveragesetGroup(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for group ()CoveragesetGroup(String theString)Sets the value for group ()CoveragesetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier ()CoveragesetIssuer(ResourceReferenceDt theValue)Sets the value(s) for issuer ()CoveragesetNetwork(IdentifierDt theValue)Sets the value(s) for network ()CoveragesetPeriod(PeriodDt theValue)Sets the value(s) for period ()CoveragesetPlan(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for plan ()CoveragesetPlan(String theString)Sets the value for plan ()CoveragesetSequence(int theInteger)Sets the value for sequence ()CoveragesetSequence(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)Sets the value(s) for sequence ()CoveragesetSubPlan(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for subPlan ()CoveragesetSubPlan(String theString)Sets the value for subPlan ()CoveragesetSubscriber(ResourceReferenceDt theValue)Sets the value(s) for subscriber ()CoveragesetSubscriberId(IdentifierDt theValue)Sets the value(s) for subscriberId ()CoveragesetType(CodingDt 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_ISSUER
public static final String SP_ISSUER
Search parameter constant for issuerDescription: The identity of the insurer
Type: reference
Path: Coverage.issuer
- See Also:
- Constant Field Values
-
ISSUER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ISSUER
Fluent Client search parameter constant for issuerDescription: The identity of the insurer
Type: reference
Path: Coverage.issuer
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription: The primary identifier of the insured
Type: token
Path: Coverage.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The primary identifier of the insured
Type: token
Path: Coverage.identifier
-
SP_TYPE
public static final String SP_TYPE
Search parameter constant for typeDescription: The kind of coverage
Type: token
Path: Coverage.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: The kind of coverage
Type: token
Path: Coverage.type
-
SP_PLAN
public static final String SP_PLAN
Search parameter constant for planDescription: A plan or policy identifier
Type: token
Path: Coverage.plan
- See Also:
- Constant Field Values
-
PLAN
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PLAN
Fluent Client search parameter constant for planDescription: A plan or policy identifier
Type: token
Path: Coverage.plan
-
SP_SUBPLAN
public static final String SP_SUBPLAN
Search parameter constant for subplanDescription: Sub-plan identifier
Type: token
Path: Coverage.subPlan
- See Also:
- Constant Field Values
-
SUBPLAN
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SUBPLAN
Fluent Client search parameter constant for subplanDescription: Sub-plan identifier
Type: token
Path: Coverage.subPlan
-
SP_GROUP
public static final String SP_GROUP
Search parameter constant for groupDescription: Group identifier
Type: token
Path: Coverage.group
- See Also:
- Constant Field Values
-
GROUP
public static final ca.uhn.fhir.rest.gclient.TokenClientParam GROUP
Fluent Client search parameter constant for groupDescription: Group identifier
Type: token
Path: Coverage.group
-
SP_DEPENDENT
public static final String SP_DEPENDENT
Search parameter constant for dependentDescription: Dependent number
Type: token
Path: Coverage.dependent
- See Also:
- Constant Field Values
-
DEPENDENT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam DEPENDENT
Fluent Client search parameter constant for dependentDescription: Dependent number
Type: token
Path: Coverage.dependent
-
SP_SEQUENCE
public static final String SP_SEQUENCE
Search parameter constant for sequenceDescription: Sequence number
Type: token
Path: Coverage.sequence
- See Also:
- Constant Field Values
-
SEQUENCE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SEQUENCE
Fluent Client search parameter constant for sequenceDescription: Sequence number
Type: token
Path: Coverage.sequence
-
INCLUDE_ISSUER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ISSUER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Coverage:issuer".
-
-
Constructor Detail
-
Coverage
public Coverage()
-
-
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
-
getIssuer
public ResourceReferenceDt getIssuer()
Gets the value(s) for issuer (). creating it if it does not exist. Will not returnnull.Definition: The program or plan underwriter or payor.
-
setIssuer
public Coverage setIssuer(ResourceReferenceDt theValue)
Sets the value(s) for issuer ()Definition: The program or plan underwriter or payor.
-
getBin
public IdentifierDt getBin()
Gets the value(s) for bin (). creating it if it does not exist. Will not returnnull.Definition: Business Identification Number (BIN number) used to identify the routing of eclaims if the insurer themselves don't have a BIN number for all of their business.
-
setBin
public Coverage setBin(IdentifierDt theValue)
Sets the value(s) for bin ()Definition: Business Identification Number (BIN number) used to identify the routing of eclaims if the insurer themselves don't have a BIN number for all of their business.
-
getPeriod
public PeriodDt getPeriod()
Gets the value(s) for period (). creating it if it does not exist. Will not returnnull.Definition: Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force.
-
setPeriod
public Coverage setPeriod(PeriodDt theValue)
Sets the value(s) for period ()Definition: Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force.
-
getType
public CodingDt getType()
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull.Definition: The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health.
-
setType
public Coverage setType(CodingDt theValue)
Sets the value(s) for type ()Definition: The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health.
-
getSubscriberId
public IdentifierDt getSubscriberId()
Gets the value(s) for subscriberId (). creating it if it does not exist. Will not returnnull.Definition: The id issued to the subscriber.
-
setSubscriberId
public Coverage setSubscriberId(IdentifierDt theValue)
Sets the value(s) for subscriberId ()Definition: The id issued to the subscriber.
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull.Definition: The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID.
-
setIdentifier
public Coverage setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()Definition: The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID.
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier ()Definition: The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID.
-
addIdentifier
public Coverage addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()Definition: The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID.
- 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: The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID.
-
getGroupElement
public ca.uhn.fhir.model.primitive.StringDt getGroupElement()
Gets the value(s) for group (). creating it if it does not exist. Will not returnnull.Definition: Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
-
getGroup
public String getGroup()
Gets the value(s) for group (). creating it if it does not exist. This method may returnnull.Definition: Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
-
setGroup
public Coverage setGroup(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for group ()Definition: Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
-
setGroup
public Coverage setGroup(String theString)
Sets the value for group ()Definition: Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
-
getPlanElement
public ca.uhn.fhir.model.primitive.StringDt getPlanElement()
Gets the value(s) for plan (). creating it if it does not exist. Will not returnnull.Definition: Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
-
getPlan
public String getPlan()
Gets the value(s) for plan (). creating it if it does not exist. This method may returnnull.Definition: Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
-
setPlan
public Coverage setPlan(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for plan ()Definition: Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
-
setPlan
public Coverage setPlan(String theString)
Sets the value for plan ()Definition: Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
-
getSubPlanElement
public ca.uhn.fhir.model.primitive.StringDt getSubPlanElement()
Gets the value(s) for subPlan (). creating it if it does not exist. Will not returnnull.Definition: Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID.
-
getSubPlan
public String getSubPlan()
Gets the value(s) for subPlan (). creating it if it does not exist. This method may returnnull.Definition: Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID.
-
setSubPlan
public Coverage setSubPlan(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for subPlan ()Definition: Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID.
-
setSubPlan
public Coverage setSubPlan(String theString)
Sets the value for subPlan ()Definition: Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID.
-
getDependentElement
public ca.uhn.fhir.model.primitive.PositiveIntDt getDependentElement()
Gets the value(s) for dependent (). creating it if it does not exist. Will not returnnull.Definition: A unique identifier for a dependent under the coverage.
-
getDependent
public Integer getDependent()
Gets the value(s) for dependent (). creating it if it does not exist. This method may returnnull.Definition: A unique identifier for a dependent under the coverage.
-
setDependent
public Coverage setDependent(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)
Sets the value(s) for dependent ()Definition: A unique identifier for a dependent under the coverage.
-
setDependent
public Coverage setDependent(int theInteger)
Sets the value for dependent ()Definition: A unique identifier for a dependent under the coverage.
-
getSequenceElement
public ca.uhn.fhir.model.primitive.PositiveIntDt getSequenceElement()
Gets the value(s) for sequence (). creating it if it does not exist. Will not returnnull.Definition: An optional counter for a particular instance of the identified coverage which increments upon each renewal.
-
getSequence
public Integer getSequence()
Gets the value(s) for sequence (). creating it if it does not exist. This method may returnnull.Definition: An optional counter for a particular instance of the identified coverage which increments upon each renewal.
-
setSequence
public Coverage setSequence(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)
Sets the value(s) for sequence ()Definition: An optional counter for a particular instance of the identified coverage which increments upon each renewal.
-
setSequence
public Coverage setSequence(int theInteger)
Sets the value for sequence ()Definition: An optional counter for a particular instance of the identified coverage which increments upon each renewal.
-
getSubscriber
public ResourceReferenceDt getSubscriber()
Gets the value(s) for subscriber (). creating it if it does not exist. Will not returnnull.Definition: The party who 'owns' the insurance contractual relationship to the policy or to whom the benefit of the policy is due.
-
setSubscriber
public Coverage setSubscriber(ResourceReferenceDt theValue)
Sets the value(s) for subscriber ()Definition: The party who 'owns' the insurance contractual relationship to the policy or to whom the benefit of the policy is due.
-
getNetwork
public IdentifierDt getNetwork()
Gets the value(s) for network (). creating it if it does not exist. Will not returnnull.Definition: The identifier for a community of providers.
-
setNetwork
public Coverage setNetwork(IdentifierDt theValue)
Sets the value(s) for network ()Definition: The identifier for a community of providers.
-
getContract
public List<ResourceReferenceDt> getContract()
Gets the value(s) for contract (). creating it if it does not exist. Will not returnnull.Definition: The policy(s) which constitute this insurance coverage.
-
setContract
public Coverage setContract(List<ResourceReferenceDt> theValue)
Sets the value(s) for contract ()Definition: The policy(s) which constitute this insurance coverage.
-
addContract
public ResourceReferenceDt addContract()
Adds and returns a new value for contract ()Definition: The policy(s) which constitute this insurance coverage.
-
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
-
-