public class Immunization
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
Immunization.Builder
RecordBuilder for Immunization instances.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
Immunization()
Default constructor.
|
Immunization(String id,
Meta meta,
String implicitRules,
String language,
Narrative text,
List<Resource> contained,
List<Identifier> identifier,
String status,
Boolean notGiven,
CodeableConcept vaccineCode,
PatientReference patient,
EncounterReference encounter,
String date,
Boolean primarySource,
CodeableConcept reportOrigin,
LocationReference location,
OrganizationReference manufacturer,
String lotNumber,
String expirationDate,
CodeableConcept site,
CodeableConcept route,
Quantity doseQuantity,
List<ImmunizationPractitioner> practitioner,
List<Annotation> note,
ImmunizationExplanation explanation,
List<ImmunizationReaction> reaction,
List<ImmunizationVaccinationProtocol> vaccinationProtocol)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.avro.message.BinaryMessageDecoder<Immunization> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore . |
static Immunization |
fromByteBuffer(ByteBuffer b)
Deserializes a Immunization from a ByteBuffer.
|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
List<Resource> |
getContained()
Gets the value of the 'contained' field.
|
String |
getDate()
Gets the value of the 'date' field.
|
static org.apache.avro.message.BinaryMessageDecoder<Immunization> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
Quantity |
getDoseQuantity()
Gets the value of the 'doseQuantity' field.
|
EncounterReference |
getEncounter()
Gets the value of the 'encounter' field.
|
String |
getExpirationDate()
Gets the value of the 'expirationDate' field.
|
ImmunizationExplanation |
getExplanation()
Gets the value of the 'explanation' 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.
|
String |
getLanguage()
Gets the value of the 'language' field.
|
LocationReference |
getLocation()
Gets the value of the 'location' field.
|
String |
getLotNumber()
Gets the value of the 'lotNumber' field.
|
OrganizationReference |
getManufacturer()
Gets the value of the 'manufacturer' field.
|
Meta |
getMeta()
Gets the value of the 'meta' field.
|
List<Annotation> |
getNote()
Gets the value of the 'note' field.
|
Boolean |
getNotGiven()
Gets the value of the 'notGiven' field.
|
PatientReference |
getPatient()
Gets the value of the 'patient' field.
|
List<ImmunizationPractitioner> |
getPractitioner()
Gets the value of the 'practitioner' field.
|
Boolean |
getPrimarySource()
Gets the value of the 'primarySource' field.
|
List<ImmunizationReaction> |
getReaction()
Gets the value of the 'reaction' field.
|
CodeableConcept |
getReportOrigin()
Gets the value of the 'reportOrigin' field.
|
CodeableConcept |
getRoute()
Gets the value of the 'route' field.
|
org.apache.avro.Schema |
getSchema() |
CodeableConcept |
getSite()
Gets the value of the 'site' field.
|
String |
getStatus()
Gets the value of the 'status' field.
|
Narrative |
getText()
Gets the value of the 'text' field.
|
List<ImmunizationVaccinationProtocol> |
getVaccinationProtocol()
Gets the value of the 'vaccinationProtocol' field.
|
CodeableConcept |
getVaccineCode()
Gets the value of the 'vaccineCode' field.
|
static Immunization.Builder |
newBuilder()
Creates a new Immunization RecordBuilder.
|
static Immunization.Builder |
newBuilder(Immunization.Builder other)
Creates a new Immunization RecordBuilder by copying an existing Builder.
|
static Immunization.Builder |
newBuilder(Immunization other)
Creates a new Immunization RecordBuilder by copying an existing Immunization instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setContained(List<Resource> value)
Sets the value of the 'contained' field.
|
void |
setDate(String value)
Sets the value of the 'date' field.
|
void |
setDoseQuantity(Quantity value)
Sets the value of the 'doseQuantity' field.
|
void |
setEncounter(EncounterReference value)
Sets the value of the 'encounter' field.
|
void |
setExpirationDate(String value)
Sets the value of the 'expirationDate' field.
|
void |
setExplanation(ImmunizationExplanation value)
Sets the value of the 'explanation' 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 |
setLanguage(String value)
Sets the value of the 'language' field.
|
void |
setLocation(LocationReference value)
Sets the value of the 'location' field.
|
void |
setLotNumber(String value)
Sets the value of the 'lotNumber' field.
|
void |
setManufacturer(OrganizationReference value)
Sets the value of the 'manufacturer' field.
|
void |
setMeta(Meta value)
Sets the value of the 'meta' field.
|
void |
setNote(List<Annotation> value)
Sets the value of the 'note' field.
|
void |
setNotGiven(Boolean value)
Sets the value of the 'notGiven' field.
|
void |
setPatient(PatientReference value)
Sets the value of the 'patient' field.
|
void |
setPractitioner(List<ImmunizationPractitioner> value)
Sets the value of the 'practitioner' field.
|
void |
setPrimarySource(Boolean value)
Sets the value of the 'primarySource' field.
|
void |
setReaction(List<ImmunizationReaction> value)
Sets the value of the 'reaction' field.
|
void |
setReportOrigin(CodeableConcept value)
Sets the value of the 'reportOrigin' field.
|
void |
setRoute(CodeableConcept value)
Sets the value of the 'route' field.
|
void |
setSite(CodeableConcept value)
Sets the value of the 'site' field.
|
void |
setStatus(String value)
Sets the value of the 'status' field.
|
void |
setText(Narrative value)
Sets the value of the 'text' field.
|
void |
setVaccinationProtocol(List<ImmunizationVaccinationProtocol> value)
Sets the value of the 'vaccinationProtocol' field.
|
void |
setVaccineCode(CodeableConcept value)
Sets the value of the 'vaccineCode' field.
|
ByteBuffer |
toByteBuffer()
Serializes this Immunization to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public Immunization()
newBuilder()
.public Immunization(String id, Meta meta, String implicitRules, String language, Narrative text, List<Resource> contained, List<Identifier> identifier, String status, Boolean notGiven, CodeableConcept vaccineCode, PatientReference patient, EncounterReference encounter, String date, Boolean primarySource, CodeableConcept reportOrigin, LocationReference location, OrganizationReference manufacturer, String lotNumber, String expirationDate, CodeableConcept site, CodeableConcept route, Quantity doseQuantity, List<ImmunizationPractitioner> practitioner, List<Annotation> note, ImmunizationExplanation explanation, List<ImmunizationReaction> reaction, List<ImmunizationVaccinationProtocol> vaccinationProtocol)
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 statusnotGiven
- Field for FHIR property notGivenvaccineCode
- Field for FHIR property vaccineCodepatient
- Field for FHIR property patientencounter
- Field for FHIR property encounterdate
- Field for FHIR property dateprimarySource
- Field for FHIR property primarySourcereportOrigin
- Field for FHIR property reportOriginlocation
- Field for FHIR property locationmanufacturer
- Field for FHIR property manufacturerlotNumber
- Field for FHIR property lotNumberexpirationDate
- Field for FHIR property expirationDatesite
- Field for FHIR property siteroute
- Field for FHIR property routedoseQuantity
- Field for FHIR property doseQuantitypractitioner
- Field for FHIR property practitionernote
- Field for FHIR property noteexplanation
- Field for FHIR property explanationreaction
- Field for FHIR property reactionvaccinationProtocol
- Field for FHIR property vaccinationProtocolpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<Immunization> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<Immunization> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore
.resolver
- a SchemaStore
used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOException
public static Immunization fromByteBuffer(ByteBuffer b) throws IOException
IOException
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public 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 Boolean getNotGiven()
public void setNotGiven(Boolean value)
value
- the value to set.public CodeableConcept getVaccineCode()
public void setVaccineCode(CodeableConcept value)
value
- the value to set.public PatientReference getPatient()
public void setPatient(PatientReference value)
value
- the value to set.public EncounterReference getEncounter()
public void setEncounter(EncounterReference value)
value
- the value to set.public String getDate()
public void setDate(String value)
value
- the value to set.public Boolean getPrimarySource()
public void setPrimarySource(Boolean value)
value
- the value to set.public CodeableConcept getReportOrigin()
public void setReportOrigin(CodeableConcept value)
value
- the value to set.public LocationReference getLocation()
public void setLocation(LocationReference value)
value
- the value to set.public OrganizationReference getManufacturer()
public void setManufacturer(OrganizationReference value)
value
- the value to set.public String getLotNumber()
public void setLotNumber(String value)
value
- the value to set.public String getExpirationDate()
public void setExpirationDate(String value)
value
- the value to set.public CodeableConcept getSite()
public void setSite(CodeableConcept value)
value
- the value to set.public CodeableConcept getRoute()
public void setRoute(CodeableConcept value)
value
- the value to set.public Quantity getDoseQuantity()
public void setDoseQuantity(Quantity value)
value
- the value to set.public List<ImmunizationPractitioner> getPractitioner()
public void setPractitioner(List<ImmunizationPractitioner> value)
value
- the value to set.public List<Annotation> getNote()
public void setNote(List<Annotation> value)
value
- the value to set.public ImmunizationExplanation getExplanation()
public void setExplanation(ImmunizationExplanation value)
value
- the value to set.public List<ImmunizationReaction> getReaction()
public void setReaction(List<ImmunizationReaction> value)
value
- the value to set.public List<ImmunizationVaccinationProtocol> getVaccinationProtocol()
public void setVaccinationProtocol(List<ImmunizationVaccinationProtocol> value)
value
- the value to set.public static Immunization.Builder newBuilder()
public static Immunization.Builder newBuilder(Immunization.Builder other)
other
- The existing builder to copy.public static Immunization.Builder newBuilder(Immunization other)
other
- The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
public void readExternal(ObjectInput in) throws IOException
readExternal
in interface Externalizable
readExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
Copyright © 2020. All rights reserved.