public class EncounterHospitalization
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
EncounterHospitalization.Builder
RecordBuilder for EncounterHospitalization instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
EncounterHospitalization()
Default constructor.
|
EncounterHospitalization(String id,
Identifier preAdmissionIdentifier,
LocationReference origin,
CodeableConcept admitSource,
CodeableConcept reAdmission,
List<CodeableConcept> dietPreference,
List<CodeableConcept> specialCourtesy,
List<CodeableConcept> specialArrangement,
LocationReference destination,
CodeableConcept dischargeDisposition)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<EncounterHospitalization> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static EncounterHospitalization |
fromByteBuffer(ByteBuffer b)
Deserializes a EncounterHospitalization from a ByteBuffer.
|
Object |
get(int field$) |
CodeableConcept |
getAdmitSource()
Gets the value of the 'admitSource' field.
|
static org.apache.avro.Schema |
getClassSchema() |
static org.apache.avro.message.BinaryMessageDecoder<EncounterHospitalization> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
LocationReference |
getDestination()
Gets the value of the 'destination' field.
|
List<CodeableConcept> |
getDietPreference()
Gets the value of the 'dietPreference' field.
|
CodeableConcept |
getDischargeDisposition()
Gets the value of the 'dischargeDisposition' field.
|
String |
getId()
Gets the value of the 'id' field.
|
LocationReference |
getOrigin()
Gets the value of the 'origin' field.
|
Identifier |
getPreAdmissionIdentifier()
Gets the value of the 'preAdmissionIdentifier' field.
|
CodeableConcept |
getReAdmission()
Gets the value of the 'reAdmission' field.
|
org.apache.avro.Schema |
getSchema() |
List<CodeableConcept> |
getSpecialArrangement()
Gets the value of the 'specialArrangement' field.
|
List<CodeableConcept> |
getSpecialCourtesy()
Gets the value of the 'specialCourtesy' field.
|
static EncounterHospitalization.Builder |
newBuilder()
Creates a new EncounterHospitalization RecordBuilder.
|
static EncounterHospitalization.Builder |
newBuilder(EncounterHospitalization.Builder other)
Creates a new EncounterHospitalization RecordBuilder by copying an existing Builder.
|
static EncounterHospitalization.Builder |
newBuilder(EncounterHospitalization other)
Creates a new EncounterHospitalization RecordBuilder by copying an existing EncounterHospitalization instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setAdmitSource(CodeableConcept value)
Sets the value of the 'admitSource' field.
|
void |
setDestination(LocationReference value)
Sets the value of the 'destination' field.
|
void |
setDietPreference(List<CodeableConcept> value)
Sets the value of the 'dietPreference' field.
|
void |
setDischargeDisposition(CodeableConcept value)
Sets the value of the 'dischargeDisposition' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setOrigin(LocationReference value)
Sets the value of the 'origin' field.
|
void |
setPreAdmissionIdentifier(Identifier value)
Sets the value of the 'preAdmissionIdentifier' field.
|
void |
setReAdmission(CodeableConcept value)
Sets the value of the 'reAdmission' field.
|
void |
setSpecialArrangement(List<CodeableConcept> value)
Sets the value of the 'specialArrangement' field.
|
void |
setSpecialCourtesy(List<CodeableConcept> value)
Sets the value of the 'specialCourtesy' field.
|
ByteBuffer |
toByteBuffer()
Serializes this EncounterHospitalization to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public EncounterHospitalization()
newBuilder().public EncounterHospitalization(String id, Identifier preAdmissionIdentifier, LocationReference origin, CodeableConcept admitSource, CodeableConcept reAdmission, List<CodeableConcept> dietPreference, List<CodeableConcept> specialCourtesy, List<CodeableConcept> specialArrangement, LocationReference destination, CodeableConcept dischargeDisposition)
id - Field for FHIR property idpreAdmissionIdentifier - Field for FHIR property preAdmissionIdentifierorigin - Field for FHIR property originadmitSource - Field for FHIR property admitSourcereAdmission - Field for FHIR property reAdmissiondietPreference - Field for FHIR property dietPreferencespecialCourtesy - Field for FHIR property specialCourtesyspecialArrangement - Field for FHIR property specialArrangementdestination - Field for FHIR property destinationdischargeDisposition - Field for FHIR property dischargeDispositionpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<EncounterHospitalization> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<EncounterHospitalization> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static EncounterHospitalization 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 Identifier getPreAdmissionIdentifier()
public void setPreAdmissionIdentifier(Identifier value)
value - the value to set.public LocationReference getOrigin()
public void setOrigin(LocationReference value)
value - the value to set.public CodeableConcept getAdmitSource()
public void setAdmitSource(CodeableConcept value)
value - the value to set.public CodeableConcept getReAdmission()
public void setReAdmission(CodeableConcept value)
value - the value to set.public List<CodeableConcept> getDietPreference()
public void setDietPreference(List<CodeableConcept> value)
value - the value to set.public List<CodeableConcept> getSpecialCourtesy()
public void setSpecialCourtesy(List<CodeableConcept> value)
value - the value to set.public List<CodeableConcept> getSpecialArrangement()
public void setSpecialArrangement(List<CodeableConcept> value)
value - the value to set.public LocationReference getDestination()
public void setDestination(LocationReference value)
value - the value to set.public CodeableConcept getDischargeDisposition()
public void setDischargeDisposition(CodeableConcept value)
value - the value to set.public static EncounterHospitalization.Builder newBuilder()
public static EncounterHospitalization.Builder newBuilder(EncounterHospitalization.Builder other)
other - The existing builder to copy.public static EncounterHospitalization.Builder newBuilder(EncounterHospitalization 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.