public class AllergyIntolerance
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AllergyIntolerance.Builder
RecordBuilder for AllergyIntolerance instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
AllergyIntolerance()
Default constructor.
|
AllergyIntolerance(String id,
Meta meta,
String implicitRules,
String language,
Narrative text,
List<Resource> contained,
List<Identifier> identifier,
String clinicalStatus,
String verificationStatus,
String type,
List<String> category,
String criticality,
CodeableConcept code,
PatientReference patient,
ChoiceAgePeriodRangeDateTimeString onset,
String assertedDate,
PatientPractitionerReference recorder,
PatientPractitionerRelatedPersonReference asserter,
String lastOccurrence,
List<Annotation> note,
List<AllergyIntoleranceReaction> reaction)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<AllergyIntolerance> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static AllergyIntolerance |
fromByteBuffer(ByteBuffer b)
Deserializes a AllergyIntolerance from a ByteBuffer.
|
Object |
get(int field$) |
String |
getAssertedDate()
Gets the value of the 'assertedDate' field.
|
PatientPractitionerRelatedPersonReference |
getAsserter()
Gets the value of the 'asserter' field.
|
List<String> |
getCategory()
Gets the value of the 'category' field.
|
static org.apache.avro.Schema |
getClassSchema() |
String |
getClinicalStatus()
Gets the value of the 'clinicalStatus' field.
|
CodeableConcept |
getCode()
Gets the value of the 'code' field.
|
List<Resource> |
getContained()
Gets the value of the 'contained' field.
|
String |
getCriticality()
Gets the value of the 'criticality' field.
|
static org.apache.avro.message.BinaryMessageDecoder<AllergyIntolerance> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
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.
|
String |
getLastOccurrence()
Gets the value of the 'lastOccurrence' field.
|
Meta |
getMeta()
Gets the value of the 'meta' field.
|
List<Annotation> |
getNote()
Gets the value of the 'note' field.
|
ChoiceAgePeriodRangeDateTimeString |
getOnset()
Gets the value of the 'onset' field.
|
PatientReference |
getPatient()
Gets the value of the 'patient' field.
|
List<AllergyIntoleranceReaction> |
getReaction()
Gets the value of the 'reaction' field.
|
PatientPractitionerReference |
getRecorder()
Gets the value of the 'recorder' field.
|
org.apache.avro.Schema |
getSchema() |
Narrative |
getText()
Gets the value of the 'text' field.
|
String |
getType()
Gets the value of the 'type' field.
|
String |
getVerificationStatus()
Gets the value of the 'verificationStatus' field.
|
static AllergyIntolerance.Builder |
newBuilder()
Creates a new AllergyIntolerance RecordBuilder.
|
static AllergyIntolerance.Builder |
newBuilder(AllergyIntolerance.Builder other)
Creates a new AllergyIntolerance RecordBuilder by copying an existing Builder.
|
static AllergyIntolerance.Builder |
newBuilder(AllergyIntolerance other)
Creates a new AllergyIntolerance RecordBuilder by copying an existing AllergyIntolerance instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setAssertedDate(String value)
Sets the value of the 'assertedDate' field.
|
void |
setAsserter(PatientPractitionerRelatedPersonReference value)
Sets the value of the 'asserter' field.
|
void |
setCategory(List<String> value)
Sets the value of the 'category' field.
|
void |
setClinicalStatus(String value)
Sets the value of the 'clinicalStatus' field.
|
void |
setCode(CodeableConcept value)
Sets the value of the 'code' field.
|
void |
setContained(List<Resource> value)
Sets the value of the 'contained' field.
|
void |
setCriticality(String value)
Sets the value of the 'criticality' 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 |
setLastOccurrence(String value)
Sets the value of the 'lastOccurrence' 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 |
setOnset(ChoiceAgePeriodRangeDateTimeString value)
Sets the value of the 'onset' field.
|
void |
setPatient(PatientReference value)
Sets the value of the 'patient' field.
|
void |
setReaction(List<AllergyIntoleranceReaction> value)
Sets the value of the 'reaction' field.
|
void |
setRecorder(PatientPractitionerReference value)
Sets the value of the 'recorder' field.
|
void |
setText(Narrative value)
Sets the value of the 'text' field.
|
void |
setType(String value)
Sets the value of the 'type' field.
|
void |
setVerificationStatus(String value)
Sets the value of the 'verificationStatus' field.
|
ByteBuffer |
toByteBuffer()
Serializes this AllergyIntolerance to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public AllergyIntolerance()
newBuilder().public AllergyIntolerance(String id, Meta meta, String implicitRules, String language, Narrative text, List<Resource> contained, List<Identifier> identifier, String clinicalStatus, String verificationStatus, String type, List<String> category, String criticality, CodeableConcept code, PatientReference patient, ChoiceAgePeriodRangeDateTimeString onset, String assertedDate, PatientPractitionerReference recorder, PatientPractitionerRelatedPersonReference asserter, String lastOccurrence, List<Annotation> note, List<AllergyIntoleranceReaction> reaction)
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 identifierclinicalStatus - Field for FHIR property clinicalStatusverificationStatus - Field for FHIR property verificationStatustype - Field for FHIR property typecategory - Field for FHIR property categorycriticality - Field for FHIR property criticalitycode - Field for FHIR property codepatient - Field for FHIR property patientonset - Field for FHIR property onsetassertedDate - Field for FHIR property assertedDaterecorder - Field for FHIR property recorderasserter - Field for FHIR property asserterlastOccurrence - Field for FHIR property lastOccurrencenote - Field for FHIR property notereaction - Field for FHIR property reactionpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<AllergyIntolerance> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<AllergyIntolerance> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static AllergyIntolerance 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 getClinicalStatus()
public void setClinicalStatus(String value)
value - the value to set.public String getVerificationStatus()
public void setVerificationStatus(String value)
value - the value to set.public String getType()
public void setType(String value)
value - the value to set.public List<String> getCategory()
public void setCategory(List<String> value)
value - the value to set.public String getCriticality()
public void setCriticality(String value)
value - the value to set.public CodeableConcept getCode()
public void setCode(CodeableConcept value)
value - the value to set.public PatientReference getPatient()
public void setPatient(PatientReference value)
value - the value to set.public ChoiceAgePeriodRangeDateTimeString getOnset()
public void setOnset(ChoiceAgePeriodRangeDateTimeString value)
value - the value to set.public String getAssertedDate()
public void setAssertedDate(String value)
value - the value to set.public PatientPractitionerReference getRecorder()
public void setRecorder(PatientPractitionerReference value)
value - the value to set.public PatientPractitionerRelatedPersonReference getAsserter()
public void setAsserter(PatientPractitionerRelatedPersonReference value)
value - the value to set.public String getLastOccurrence()
public void setLastOccurrence(String value)
value - the value to set.public List<Annotation> getNote()
public void setNote(List<Annotation> value)
value - the value to set.public List<AllergyIntoleranceReaction> getReaction()
public void setReaction(List<AllergyIntoleranceReaction> value)
value - the value to set.public static AllergyIntolerance.Builder newBuilder()
public static AllergyIntolerance.Builder newBuilder(AllergyIntolerance.Builder other)
other - The existing builder to copy.public static AllergyIntolerance.Builder newBuilder(AllergyIntolerance 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.