public class Claim
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
Claim.Builder
RecordBuilder for Claim instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<Claim> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static Claim |
fromByteBuffer(ByteBuffer b)
Deserializes a Claim from a ByteBuffer.
|
Object |
get(int field$) |
ClaimAccident |
getAccident()
Gets the value of the 'accident' field.
|
Period |
getBillablePeriod()
Gets the value of the 'billablePeriod' field.
|
List<ClaimCareTeam> |
getCareTeam()
Gets the value of the 'careTeam' field.
|
static org.apache.avro.Schema |
getClassSchema() |
List<Resource> |
getContained()
Gets the value of the 'contained' field.
|
String |
getCreated()
Gets the value of the 'created' field.
|
static org.apache.avro.message.BinaryMessageDecoder<Claim> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
List<ClaimDiagnosis> |
getDiagnosis()
Gets the value of the 'diagnosis' field.
|
Period |
getEmploymentImpacted()
Gets the value of the 'employmentImpacted' field.
|
PractitionerReference |
getEnterer()
Gets the value of the 'enterer' field.
|
LocationReference |
getFacility()
Gets the value of the 'facility' field.
|
CodeableConcept |
getFundsReserve()
Gets the value of the 'fundsReserve' field.
|
Period |
getHospitalization()
Gets the value of the 'hospitalization' field.
|
String |
getId()
Gets the value of the 'id' field.
|
List<Identifier> |
getIdentifier()
Gets the value of the 'identifier' field.
|
String |
getImplicitRules()
Gets the value of the 'implicitRules' field.
|
List<ClaimInformation> |
getInformation()
Gets the value of the 'information' field.
|
List<ClaimInsurance> |
getInsurance()
Gets the value of the 'insurance' field.
|
OrganizationReference |
getInsurer()
Gets the value of the 'insurer' field.
|
List<ClaimItem> |
getItem()
Gets the value of the 'item' field.
|
String |
getLanguage()
Gets the value of the 'language' field.
|
Meta |
getMeta()
Gets the value of the 'meta' field.
|
OrganizationReference |
getOrganization()
Gets the value of the 'organization' field.
|
MedicationRequestReference |
getOriginalPrescription()
Gets the value of the 'originalPrescription' field.
|
PatientReference |
getPatient()
Gets the value of the 'patient' field.
|
ClaimPayee |
getPayee()
Gets the value of the 'payee' field.
|
MedicationRequestVisionPrescriptionReference |
getPrescription()
Gets the value of the 'prescription' field.
|
CodeableConcept |
getPriority()
Gets the value of the 'priority' field.
|
List<ClaimProcedure> |
getProcedure()
Gets the value of the 'procedure' field.
|
PractitionerReference |
getProvider()
Gets the value of the 'provider' field.
|
ReferralRequestReference |
getReferral()
Gets the value of the 'referral' field.
|
List<ClaimRelated> |
getRelated()
Gets the value of the 'related' field.
|
org.apache.avro.Schema |
getSchema() |
String |
getStatus()
Gets the value of the 'status' field.
|
List<CodeableConcept> |
getSubType()
Gets the value of the 'subType' field.
|
Narrative |
getText()
Gets the value of the 'text' field.
|
Money |
getTotal()
Gets the value of the 'total' field.
|
CodeableConcept |
getType()
Gets the value of the 'type' field.
|
String |
getUse()
Gets the value of the 'use' field.
|
static Claim.Builder |
newBuilder()
Creates a new Claim RecordBuilder.
|
static Claim.Builder |
newBuilder(Claim.Builder other)
Creates a new Claim RecordBuilder by copying an existing Builder.
|
static Claim.Builder |
newBuilder(Claim other)
Creates a new Claim RecordBuilder by copying an existing Claim instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setAccident(ClaimAccident value)
Sets the value of the 'accident' field.
|
void |
setBillablePeriod(Period value)
Sets the value of the 'billablePeriod' field.
|
void |
setCareTeam(List<ClaimCareTeam> value)
Sets the value of the 'careTeam' field.
|
void |
setContained(List<Resource> value)
Sets the value of the 'contained' field.
|
void |
setCreated(String value)
Sets the value of the 'created' field.
|
void |
setDiagnosis(List<ClaimDiagnosis> value)
Sets the value of the 'diagnosis' field.
|
void |
setEmploymentImpacted(Period value)
Sets the value of the 'employmentImpacted' field.
|
void |
setEnterer(PractitionerReference value)
Sets the value of the 'enterer' field.
|
void |
setFacility(LocationReference value)
Sets the value of the 'facility' field.
|
void |
setFundsReserve(CodeableConcept value)
Sets the value of the 'fundsReserve' field.
|
void |
setHospitalization(Period value)
Sets the value of the 'hospitalization' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setIdentifier(List<Identifier> value)
Sets the value of the 'identifier' field.
|
void |
setImplicitRules(String value)
Sets the value of the 'implicitRules' field.
|
void |
setInformation(List<ClaimInformation> value)
Sets the value of the 'information' field.
|
void |
setInsurance(List<ClaimInsurance> value)
Sets the value of the 'insurance' field.
|
void |
setInsurer(OrganizationReference value)
Sets the value of the 'insurer' field.
|
void |
setItem(List<ClaimItem> value)
Sets the value of the 'item' field.
|
void |
setLanguage(String value)
Sets the value of the 'language' field.
|
void |
setMeta(Meta value)
Sets the value of the 'meta' field.
|
void |
setOrganization(OrganizationReference value)
Sets the value of the 'organization' field.
|
void |
setOriginalPrescription(MedicationRequestReference value)
Sets the value of the 'originalPrescription' field.
|
void |
setPatient(PatientReference value)
Sets the value of the 'patient' field.
|
void |
setPayee(ClaimPayee value)
Sets the value of the 'payee' field.
|
void |
setPrescription(MedicationRequestVisionPrescriptionReference value)
Sets the value of the 'prescription' field.
|
void |
setPriority(CodeableConcept value)
Sets the value of the 'priority' field.
|
void |
setProcedure(List<ClaimProcedure> value)
Sets the value of the 'procedure' field.
|
void |
setProvider(PractitionerReference value)
Sets the value of the 'provider' field.
|
void |
setReferral(ReferralRequestReference value)
Sets the value of the 'referral' field.
|
void |
setRelated(List<ClaimRelated> value)
Sets the value of the 'related' field.
|
void |
setStatus(String value)
Sets the value of the 'status' field.
|
void |
setSubType(List<CodeableConcept> value)
Sets the value of the 'subType' field.
|
void |
setText(Narrative value)
Sets the value of the 'text' field.
|
void |
setTotal(Money value)
Sets the value of the 'total' field.
|
void |
setType(CodeableConcept value)
Sets the value of the 'type' field.
|
void |
setUse(String value)
Sets the value of the 'use' field.
|
ByteBuffer |
toByteBuffer()
Serializes this Claim to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public Claim()
newBuilder().public Claim(String id, Meta meta, String implicitRules, String language, Narrative text, List<Resource> contained, List<Identifier> identifier, String status, CodeableConcept type, List<CodeableConcept> subType, String use, PatientReference patient, Period billablePeriod, String created, PractitionerReference enterer, OrganizationReference insurer, PractitionerReference provider, OrganizationReference organization, CodeableConcept priority, CodeableConcept fundsReserve, List<ClaimRelated> related, MedicationRequestVisionPrescriptionReference prescription, MedicationRequestReference originalPrescription, ClaimPayee payee, ReferralRequestReference referral, LocationReference facility, List<ClaimCareTeam> careTeam, List<ClaimInformation> information, List<ClaimDiagnosis> diagnosis, List<ClaimProcedure> procedure, List<ClaimInsurance> insurance, ClaimAccident accident, Period employmentImpacted, Period hospitalization, List<ClaimItem> item, Money total)
id - Field for FHIR property idmeta - Field for FHIR property metaimplicitRules - Field for FHIR property implicitRuleslanguage - Field for FHIR property languagetext - Field for FHIR property textcontained - Field for FHIR property containedidentifier - Field for FHIR property identifierstatus - Field for FHIR property statustype - Field for FHIR property typesubType - Field for FHIR property subTypeuse - Field for FHIR property usepatient - Field for FHIR property patientbillablePeriod - Field for FHIR property billablePeriodcreated - Field for FHIR property createdenterer - Field for FHIR property entererinsurer - Field for FHIR property insurerprovider - Field for FHIR property providerorganization - Field for FHIR property organizationpriority - Field for FHIR property priorityfundsReserve - Field for FHIR property fundsReserverelated - Field for FHIR property relatedprescription - Field for FHIR property prescriptionoriginalPrescription - Field for FHIR property originalPrescriptionpayee - Field for FHIR property payeereferral - Field for FHIR property referralfacility - Field for FHIR property facilitycareTeam - Field for FHIR property careTeaminformation - Field for FHIR property informationdiagnosis - Field for FHIR property diagnosisprocedure - Field for FHIR property procedureinsurance - Field for FHIR property insuranceaccident - Field for FHIR property accidentemploymentImpacted - Field for FHIR property employmentImpactedhospitalization - Field for FHIR property hospitalizationitem - Field for FHIR property itemtotal - Field for FHIR property totalpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<Claim> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<Claim> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static Claim fromByteBuffer(ByteBuffer b) throws IOException
IOExceptionpublic org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic String getId()
public void setId(String value)
value - the value to set.public Meta getMeta()
public void setMeta(Meta value)
value - the value to set.public String getImplicitRules()
public void setImplicitRules(String value)
value - the value to set.public String getLanguage()
public void setLanguage(String value)
value - the value to set.public Narrative getText()
public void setText(Narrative value)
value - the value to set.public List<Resource> getContained()
public void setContained(List<Resource> value)
value - the value to set.public List<Identifier> getIdentifier()
public void setIdentifier(List<Identifier> value)
value - the value to set.public String getStatus()
public void setStatus(String value)
value - the value to set.public CodeableConcept getType()
public void setType(CodeableConcept value)
value - the value to set.public List<CodeableConcept> getSubType()
public void setSubType(List<CodeableConcept> value)
value - the value to set.public String getUse()
public void setUse(String value)
value - the value to set.public PatientReference getPatient()
public void setPatient(PatientReference value)
value - the value to set.public Period getBillablePeriod()
public void setBillablePeriod(Period value)
value - the value to set.public String getCreated()
public void setCreated(String value)
value - the value to set.public PractitionerReference getEnterer()
public void setEnterer(PractitionerReference value)
value - the value to set.public OrganizationReference getInsurer()
public void setInsurer(OrganizationReference value)
value - the value to set.public PractitionerReference getProvider()
public void setProvider(PractitionerReference value)
value - the value to set.public OrganizationReference getOrganization()
public void setOrganization(OrganizationReference value)
value - the value to set.public CodeableConcept getPriority()
public void setPriority(CodeableConcept value)
value - the value to set.public CodeableConcept getFundsReserve()
public void setFundsReserve(CodeableConcept value)
value - the value to set.public List<ClaimRelated> getRelated()
public void setRelated(List<ClaimRelated> value)
value - the value to set.public MedicationRequestVisionPrescriptionReference getPrescription()
public void setPrescription(MedicationRequestVisionPrescriptionReference value)
value - the value to set.public MedicationRequestReference getOriginalPrescription()
public void setOriginalPrescription(MedicationRequestReference value)
value - the value to set.public ClaimPayee getPayee()
public void setPayee(ClaimPayee value)
value - the value to set.public ReferralRequestReference getReferral()
public void setReferral(ReferralRequestReference value)
value - the value to set.public LocationReference getFacility()
public void setFacility(LocationReference value)
value - the value to set.public List<ClaimCareTeam> getCareTeam()
public void setCareTeam(List<ClaimCareTeam> value)
value - the value to set.public List<ClaimInformation> getInformation()
public void setInformation(List<ClaimInformation> value)
value - the value to set.public List<ClaimDiagnosis> getDiagnosis()
public void setDiagnosis(List<ClaimDiagnosis> value)
value - the value to set.public List<ClaimProcedure> getProcedure()
public void setProcedure(List<ClaimProcedure> value)
value - the value to set.public List<ClaimInsurance> getInsurance()
public void setInsurance(List<ClaimInsurance> value)
value - the value to set.public ClaimAccident getAccident()
public void setAccident(ClaimAccident value)
value - the value to set.public Period getEmploymentImpacted()
public void setEmploymentImpacted(Period value)
value - the value to set.public Period getHospitalization()
public void setHospitalization(Period value)
value - the value to set.public List<ClaimItem> getItem()
public void setItem(List<ClaimItem> value)
value - the value to set.public Money getTotal()
public void setTotal(Money value)
value - the value to set.public static Claim.Builder newBuilder()
public static Claim.Builder newBuilder(Claim.Builder other)
other - The existing builder to copy.public static Claim.Builder newBuilder(Claim other)
other - The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionCopyright © 2020. All rights reserved.