public class ClaimItem
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
ClaimItem.Builder
RecordBuilder for ClaimItem instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
ClaimItem()
Default constructor.
|
ClaimItem(String id,
Integer sequence,
List<Integer> careTeamLinkId,
List<Integer> diagnosisLinkId,
List<Integer> procedureLinkId,
List<Integer> informationLinkId,
CodeableConcept revenue,
CodeableConcept category,
CodeableConcept service,
List<CodeableConcept> modifier,
List<CodeableConcept> programCode,
ChoicePeriodDate serviced,
ChoiceAddressCodeableConceptLocationReference location,
Quantity quantity,
Money unitPrice,
BigDecimal factor,
Money net,
List<DeviceReference> udi,
CodeableConcept bodySite,
List<CodeableConcept> subSite,
List<EncounterReference> encounter,
List<ClaimItemDetail> detail)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<ClaimItem> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static ClaimItem |
fromByteBuffer(ByteBuffer b)
Deserializes a ClaimItem from a ByteBuffer.
|
Object |
get(int field$) |
CodeableConcept |
getBodySite()
Gets the value of the 'bodySite' field.
|
List<Integer> |
getCareTeamLinkId()
Gets the value of the 'careTeamLinkId' field.
|
CodeableConcept |
getCategory()
Gets the value of the 'category' field.
|
static org.apache.avro.Schema |
getClassSchema() |
static org.apache.avro.message.BinaryMessageDecoder<ClaimItem> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
List<ClaimItemDetail> |
getDetail()
Gets the value of the 'detail' field.
|
List<Integer> |
getDiagnosisLinkId()
Gets the value of the 'diagnosisLinkId' field.
|
List<EncounterReference> |
getEncounter()
Gets the value of the 'encounter' field.
|
BigDecimal |
getFactor()
Gets the value of the 'factor' field.
|
String |
getId()
Gets the value of the 'id' field.
|
List<Integer> |
getInformationLinkId()
Gets the value of the 'informationLinkId' field.
|
ChoiceAddressCodeableConceptLocationReference |
getLocation()
Gets the value of the 'location' field.
|
List<CodeableConcept> |
getModifier()
Gets the value of the 'modifier' field.
|
Money |
getNet()
Gets the value of the 'net' field.
|
List<Integer> |
getProcedureLinkId()
Gets the value of the 'procedureLinkId' field.
|
List<CodeableConcept> |
getProgramCode()
Gets the value of the 'programCode' field.
|
Quantity |
getQuantity()
Gets the value of the 'quantity' field.
|
CodeableConcept |
getRevenue()
Gets the value of the 'revenue' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getSequence()
Gets the value of the 'sequence' field.
|
CodeableConcept |
getService()
Gets the value of the 'service' field.
|
ChoicePeriodDate |
getServiced()
Gets the value of the 'serviced' field.
|
List<CodeableConcept> |
getSubSite()
Gets the value of the 'subSite' field.
|
List<DeviceReference> |
getUdi()
Gets the value of the 'udi' field.
|
Money |
getUnitPrice()
Gets the value of the 'unitPrice' field.
|
static ClaimItem.Builder |
newBuilder()
Creates a new ClaimItem RecordBuilder.
|
static ClaimItem.Builder |
newBuilder(ClaimItem.Builder other)
Creates a new ClaimItem RecordBuilder by copying an existing Builder.
|
static ClaimItem.Builder |
newBuilder(ClaimItem other)
Creates a new ClaimItem RecordBuilder by copying an existing ClaimItem instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setBodySite(CodeableConcept value)
Sets the value of the 'bodySite' field.
|
void |
setCareTeamLinkId(List<Integer> value)
Sets the value of the 'careTeamLinkId' field.
|
void |
setCategory(CodeableConcept value)
Sets the value of the 'category' field.
|
void |
setDetail(List<ClaimItemDetail> value)
Sets the value of the 'detail' field.
|
void |
setDiagnosisLinkId(List<Integer> value)
Sets the value of the 'diagnosisLinkId' field.
|
void |
setEncounter(List<EncounterReference> value)
Sets the value of the 'encounter' field.
|
void |
setFactor(BigDecimal value)
Sets the value of the 'factor' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setInformationLinkId(List<Integer> value)
Sets the value of the 'informationLinkId' field.
|
void |
setLocation(ChoiceAddressCodeableConceptLocationReference value)
Sets the value of the 'location' field.
|
void |
setModifier(List<CodeableConcept> value)
Sets the value of the 'modifier' field.
|
void |
setNet(Money value)
Sets the value of the 'net' field.
|
void |
setProcedureLinkId(List<Integer> value)
Sets the value of the 'procedureLinkId' field.
|
void |
setProgramCode(List<CodeableConcept> value)
Sets the value of the 'programCode' field.
|
void |
setQuantity(Quantity value)
Sets the value of the 'quantity' field.
|
void |
setRevenue(CodeableConcept value)
Sets the value of the 'revenue' field.
|
void |
setSequence(Integer value)
Sets the value of the 'sequence' field.
|
void |
setService(CodeableConcept value)
Sets the value of the 'service' field.
|
void |
setServiced(ChoicePeriodDate value)
Sets the value of the 'serviced' field.
|
void |
setSubSite(List<CodeableConcept> value)
Sets the value of the 'subSite' field.
|
void |
setUdi(List<DeviceReference> value)
Sets the value of the 'udi' field.
|
void |
setUnitPrice(Money value)
Sets the value of the 'unitPrice' field.
|
ByteBuffer |
toByteBuffer()
Serializes this ClaimItem to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public ClaimItem()
newBuilder().public ClaimItem(String id, Integer sequence, List<Integer> careTeamLinkId, List<Integer> diagnosisLinkId, List<Integer> procedureLinkId, List<Integer> informationLinkId, CodeableConcept revenue, CodeableConcept category, CodeableConcept service, List<CodeableConcept> modifier, List<CodeableConcept> programCode, ChoicePeriodDate serviced, ChoiceAddressCodeableConceptLocationReference location, Quantity quantity, Money unitPrice, BigDecimal factor, Money net, List<DeviceReference> udi, CodeableConcept bodySite, List<CodeableConcept> subSite, List<EncounterReference> encounter, List<ClaimItemDetail> detail)
id - Field for FHIR property idsequence - Field for FHIR property sequencecareTeamLinkId - Field for FHIR property careTeamLinkIddiagnosisLinkId - Field for FHIR property diagnosisLinkIdprocedureLinkId - Field for FHIR property procedureLinkIdinformationLinkId - Field for FHIR property informationLinkIdrevenue - Field for FHIR property revenuecategory - Field for FHIR property categoryservice - Field for FHIR property servicemodifier - Field for FHIR property modifierprogramCode - Field for FHIR property programCodeserviced - Field for FHIR property servicedlocation - Field for FHIR property locationquantity - Field for FHIR property quantityunitPrice - Field for FHIR property unitPricefactor - Field for FHIR property factornet - Field for FHIR property netudi - Field for FHIR property udibodySite - Field for FHIR property bodySitesubSite - Field for FHIR property subSiteencounter - Field for FHIR property encounterdetail - Field for FHIR property detailpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<ClaimItem> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<ClaimItem> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static ClaimItem 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 Integer getSequence()
public void setSequence(Integer value)
value - the value to set.public List<Integer> getCareTeamLinkId()
public void setCareTeamLinkId(List<Integer> value)
value - the value to set.public List<Integer> getDiagnosisLinkId()
public void setDiagnosisLinkId(List<Integer> value)
value - the value to set.public List<Integer> getProcedureLinkId()
public void setProcedureLinkId(List<Integer> value)
value - the value to set.public List<Integer> getInformationLinkId()
public void setInformationLinkId(List<Integer> value)
value - the value to set.public CodeableConcept getRevenue()
public void setRevenue(CodeableConcept value)
value - the value to set.public CodeableConcept getCategory()
public void setCategory(CodeableConcept value)
value - the value to set.public CodeableConcept getService()
public void setService(CodeableConcept value)
value - the value to set.public List<CodeableConcept> getModifier()
public void setModifier(List<CodeableConcept> value)
value - the value to set.public List<CodeableConcept> getProgramCode()
public void setProgramCode(List<CodeableConcept> value)
value - the value to set.public ChoicePeriodDate getServiced()
public void setServiced(ChoicePeriodDate value)
value - the value to set.public ChoiceAddressCodeableConceptLocationReference getLocation()
public void setLocation(ChoiceAddressCodeableConceptLocationReference value)
value - the value to set.public Quantity getQuantity()
public void setQuantity(Quantity value)
value - the value to set.public Money getUnitPrice()
public void setUnitPrice(Money value)
value - the value to set.public BigDecimal getFactor()
public void setFactor(BigDecimal value)
value - the value to set.public Money getNet()
public void setNet(Money value)
value - the value to set.public List<DeviceReference> getUdi()
public void setUdi(List<DeviceReference> value)
value - the value to set.public CodeableConcept getBodySite()
public void setBodySite(CodeableConcept value)
value - the value to set.public List<CodeableConcept> getSubSite()
public void setSubSite(List<CodeableConcept> value)
value - the value to set.public List<EncounterReference> getEncounter()
public void setEncounter(List<EncounterReference> value)
value - the value to set.public List<ClaimItemDetail> getDetail()
public void setDetail(List<ClaimItemDetail> value)
value - the value to set.public static ClaimItem.Builder newBuilder()
public static ClaimItem.Builder newBuilder(ClaimItem.Builder other)
other - The existing builder to copy.public static ClaimItem.Builder newBuilder(ClaimItem 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.