public class Condition
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
Condition.Builder
RecordBuilder for Condition instances.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
Condition()
Default constructor.
|
Condition(String id,
Meta meta,
String implicitRules,
String language,
Narrative text,
List<Resource> contained,
List<Identifier> identifier,
String clinicalStatus,
String verificationStatus,
List<CodeableConcept> category,
CodeableConcept severity,
CodeableConcept code,
List<CodeableConcept> bodySite,
PatientReference subject,
EncounterEpisodeOfCareReference context,
ChoiceAgePeriodRangeDateTimeString onset,
ChoiceAgePeriodRangeBooleanDateTimeString abatement,
String assertedDate,
PatientPractitionerRelatedPersonReference asserter,
ConditionStage stage,
List<ConditionEvidence> evidence,
List<Annotation> note)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.avro.message.BinaryMessageDecoder<Condition> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore . |
static Condition |
fromByteBuffer(ByteBuffer b)
Deserializes a Condition from a ByteBuffer.
|
Object |
get(int field$) |
ChoiceAgePeriodRangeBooleanDateTimeString |
getAbatement()
Gets the value of the 'abatement' field.
|
String |
getAssertedDate()
Gets the value of the 'assertedDate' field.
|
PatientPractitionerRelatedPersonReference |
getAsserter()
Gets the value of the 'asserter' field.
|
List<CodeableConcept> |
getBodySite()
Gets the value of the 'bodySite' field.
|
List<CodeableConcept> |
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.
|
EncounterEpisodeOfCareReference |
getContext()
Gets the value of the 'context' field.
|
static org.apache.avro.message.BinaryMessageDecoder<Condition> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
List<ConditionEvidence> |
getEvidence()
Gets the value of the 'evidence' 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.
|
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.
|
org.apache.avro.Schema |
getSchema() |
CodeableConcept |
getSeverity()
Gets the value of the 'severity' field.
|
ConditionStage |
getStage()
Gets the value of the 'stage' field.
|
PatientReference |
getSubject()
Gets the value of the 'subject' field.
|
Narrative |
getText()
Gets the value of the 'text' field.
|
String |
getVerificationStatus()
Gets the value of the 'verificationStatus' field.
|
static Condition.Builder |
newBuilder()
Creates a new Condition RecordBuilder.
|
static Condition.Builder |
newBuilder(Condition.Builder other)
Creates a new Condition RecordBuilder by copying an existing Builder.
|
static Condition.Builder |
newBuilder(Condition other)
Creates a new Condition RecordBuilder by copying an existing Condition instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setAbatement(ChoiceAgePeriodRangeBooleanDateTimeString value)
Sets the value of the 'abatement' field.
|
void |
setAssertedDate(String value)
Sets the value of the 'assertedDate' field.
|
void |
setAsserter(PatientPractitionerRelatedPersonReference value)
Sets the value of the 'asserter' field.
|
void |
setBodySite(List<CodeableConcept> value)
Sets the value of the 'bodySite' field.
|
void |
setCategory(List<CodeableConcept> 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 |
setContext(EncounterEpisodeOfCareReference value)
Sets the value of the 'context' field.
|
void |
setEvidence(List<ConditionEvidence> value)
Sets the value of the 'evidence' 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 |
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 |
setSeverity(CodeableConcept value)
Sets the value of the 'severity' field.
|
void |
setStage(ConditionStage value)
Sets the value of the 'stage' field.
|
void |
setSubject(PatientReference value)
Sets the value of the 'subject' field.
|
void |
setText(Narrative value)
Sets the value of the 'text' field.
|
void |
setVerificationStatus(String value)
Sets the value of the 'verificationStatus' field.
|
ByteBuffer |
toByteBuffer()
Serializes this Condition to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public Condition()
newBuilder()
.public Condition(String id, Meta meta, String implicitRules, String language, Narrative text, List<Resource> contained, List<Identifier> identifier, String clinicalStatus, String verificationStatus, List<CodeableConcept> category, CodeableConcept severity, CodeableConcept code, List<CodeableConcept> bodySite, PatientReference subject, EncounterEpisodeOfCareReference context, ChoiceAgePeriodRangeDateTimeString onset, ChoiceAgePeriodRangeBooleanDateTimeString abatement, String assertedDate, PatientPractitionerRelatedPersonReference asserter, ConditionStage stage, List<ConditionEvidence> evidence, List<Annotation> note)
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 verificationStatuscategory
- Field for FHIR property categoryseverity
- Field for FHIR property severitycode
- Field for FHIR property codebodySite
- Field for FHIR property bodySitesubject
- Field for FHIR property subjectcontext
- Field for FHIR property contextonset
- Field for FHIR property onsetabatement
- Field for FHIR property abatementassertedDate
- Field for FHIR property assertedDateasserter
- Field for FHIR property asserterstage
- Field for FHIR property stageevidence
- Field for FHIR property evidencenote
- Field for FHIR property notepublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<Condition> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<Condition> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore
.resolver
- a SchemaStore
used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOException
public static Condition 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 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 List<CodeableConcept> getCategory()
public void setCategory(List<CodeableConcept> value)
value
- the value to set.public CodeableConcept getSeverity()
public void setSeverity(CodeableConcept value)
value
- the value to set.public CodeableConcept getCode()
public void setCode(CodeableConcept value)
value
- the value to set.public List<CodeableConcept> getBodySite()
public void setBodySite(List<CodeableConcept> value)
value
- the value to set.public PatientReference getSubject()
public void setSubject(PatientReference value)
value
- the value to set.public EncounterEpisodeOfCareReference getContext()
public void setContext(EncounterEpisodeOfCareReference value)
value
- the value to set.public ChoiceAgePeriodRangeDateTimeString getOnset()
public void setOnset(ChoiceAgePeriodRangeDateTimeString value)
value
- the value to set.public ChoiceAgePeriodRangeBooleanDateTimeString getAbatement()
public void setAbatement(ChoiceAgePeriodRangeBooleanDateTimeString value)
value
- the value to set.public String getAssertedDate()
public void setAssertedDate(String value)
value
- the value to set.public PatientPractitionerRelatedPersonReference getAsserter()
public void setAsserter(PatientPractitionerRelatedPersonReference value)
value
- the value to set.public ConditionStage getStage()
public void setStage(ConditionStage value)
value
- the value to set.public List<ConditionEvidence> getEvidence()
public void setEvidence(List<ConditionEvidence> value)
value
- the value to set.public List<Annotation> getNote()
public void setNote(List<Annotation> value)
value
- the value to set.public static Condition.Builder newBuilder()
public static Condition.Builder newBuilder(Condition.Builder other)
other
- The existing builder to copy.public static Condition.Builder newBuilder(Condition 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.